/* Définition des polices personnalisées */
@font-face {
    font-family: 'Mangiola';
    src: url('fonts/Mangiola-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Mondapick';
    src: url('fonts/Mondapick.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SabonB';
    src: url('fonts/SabonBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'SabonI';
    src: url('fonts/SabonItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'SabonBI';
    src: url('fonts/SabonBoldItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



/* Configuration de base */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #f4f4f4;
    overflow-x: hidden; /* Éviter le défilement horizontal */
}

/* En-tête fixe avec menu de navigation */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0);
    border-bottom: 0px solid #ddd;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.8s, box-shadow 0.8s; /* Transition fluide */
}

/* === BOUTON HAMBURGER === */
.menu-toggle {
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    position: absolute;
    top: auto;
    right:75px;
}

/* Menu séries */
.series-menu {
    position: absolute;
    top: 0px;
    right: 90px;
    border: 0px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
    padding: 10px 0;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 1s ease, transform 1s ease;
    z-index: 1099;
}

#series-menu.active {
    display: block;
    opacity: 2;
    transform: translateY(0);
}

.series-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.series-menu li {
    padding: 10px 40px;
}

.series-menu li a {
    color: #fff;
    text-decoration: none;
    font-family: 'Mondapick', sans-serif;
    font-size: 16px;
    transition: background 0.3s;
}

.series-menu li a:hover {
    color: #f9f5d8;
    display: block;
}




.navbar {
    flex: 1;
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-list li {
    margin-right: 20px;
}

.nav-list li a {
    text-decoration: none;
    color: #333;
    font-family: 'Mondapick', sans-serif; 
    font-size: 16px;
    transition: color 0.3s;
}

.nav-list li a:hover {
    color: #f9f5d8; /* Changer la couleur du texte au survol */
}

.site-title {
    flex: 2;
    text-align: center;
}

.site-title h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

/* Section du slideshow */
.slideshow-background {
    position: relative;
    height: 100vh;  /* Occuper tout l'écran */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slideshow-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
    opacity: 0;
}
.slideshow-background .hero-content {
    position: relative;
    z-index: 1; /* Placer le texte au-dessus des images */
    text-align: center;
    color: #fff;
}

.slideshow-background .hero-content h2 {
    font-size: 28px;
    font-family: 'Mondapick', sans-serif; 
    margin: 0;
    padding: 0;
}

.slideshow-background .hero-content h21 {
    font-size: 28px;
    font-family: 'Mondapick', sans-serif;
    color : #aafcf7;
    margin: 0;
    padding: 0;
}

.slideshow-background .hero-content p {
    font-size: 25px;
    margin: 0;
    padding: 0;
    color: #f9f5d8;
    font-family: 'Mondapick', sans-serif; 
}


/* Transition pour le slideshow */
.slideshow-background .slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slideshow-background .slideshow-image.active {
    opacity: 1;
}

/* Section d'Informations */
.info-section {
    padding: 0px 0px;
    background-color: #fff;
    text-align: center;
}

.info-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Typold', sans-serif; /* Application de la police Typold */
}

.info-section p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Section Galerie */
.gallery-section {
    padding: 50px 20px;
    background-color: #fff;
}

.gallery-section h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Mangiola', sans-serif; /* Application de la police Mangiola */
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Animation pour faire apparaître les éléments au défilement */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item.visible {
    opacity: 1;
    animation: fadeInUp 0.6s forwards;
}

/* Pour les écrans mobiles */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}



/* Styles de base pour le header */
.main-header {
    background-color: transparent;
    color: #f4f4f4; /* Couleur du texte par défaut */
    transition: background-color 0.8s, box-shadow 0.8s; /* Transition fluide */
    padding: 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Styles pour le header lorsque la page est défilée */
.header-scrolled {
    background-color: #ffffff; /* Couleur de fond lorsque défilé */
    color: #f4f4f4; /* Couleur du texte lorsque défilé */
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1); /* Ombre pour plus de contraste */
}

/* Section Contact */
.contact-section {
    padding: 100px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.contact-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Mondapick', sans-serif; 
}

.contact-section p {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    font-family: 'Mondapick', sans-serif; 
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style pour le formulaire */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    text-align: left;
}

label {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Mondapick', sans-serif; 
    box-sizing: border-box;
}

textarea {
    resize: none;
}

button {
    padding: 15px 30px;
    font-size: 16px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #555;
}

/* Style du bouton Instagram */
.social-media {
    width: 100%;
    margin-left: 10px; /* Le bouton sera poussé à droite */

}

.instagram-btn {
    color: #333; /* Couleur par défaut */
    font-size: 20px; /* Taille de l'icône */
    margin-left: 20px; /* Espacement à gauche */
    text-decoration: none;
    transition: color 0.3s ease;
}

.instagram-btn:hover {
    color: #f9f5d8; /* Couleur Instagram au survol */
}



