/* Global Styles */
html, body {
  margin: 0; padding: 0;
  width: 100%; height: 100%;
}

body {
  position: relative;
  color: white;
  font-family: "Arial", sans-serif;
  overflow: auto;
}

/* Le "vrai" background fixe */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -99;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
              url("../images/1.jpg") center/cover no-repeat;
}

html {
    scroll-behavior: smooth;
}



canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -10;
}


#photobooth {
    width: 230px !important;
    border-radius: 15px; /* Coins arrondis pour un style moderne */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); 
    margin: 5px !important; 
    transition: opacity 0.8s ease-in-out; /* Animation pour effet au survol */
    display: block;
    max-width: 300px;

    opacity: 1;
}

#photobooth:hover {
    transform: scale(1.05); /* Zoom léger au survol */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8); /* Accentuation de l'ombre */
}


/* Classe pour la transition de sortie */
.fade-out {
    opacity: 0;
}


#animationPhoto {
    text-align: center !important;
    margin: 5px !important;
    font-size: 18px;
    line-height: 1.6; 
    color: white; 
}






/* Banner Section */


#banner {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

#banner h1 {
    font-size: 48px;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
}

#banner h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 10px;
}

#banner p {
    font-size: 18px;
    margin-bottom: 30px;
}

#banner img {
    width: 300px;
    max-width: 90%;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

/* Phone Number Link */
.numdetel {
    text-align: center;
    margin: 15px 0;
}

.numdetel a {
    font-size: 15px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border: 2px solid white;
    border-radius: 5px;
    transition: all 0.3s ease;

}

.numdetel a:hover {
    background-color: white;
    color: black;
}

/* Scrolly Button */
a.more.scrolly {
    display: inline-block;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

a.more.scrolly:hover {
    background-color: white;
    color: black;
}



* {box-sizing: border-box;}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
    max-width: 300px;
    position: relative;
    margin: auto;
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .text {font-size: 11px}
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #banner h1 {
        font-size: 36px;
    }
    #banner h2 {
        font-size: 24px;
    }
    #header h3 {
        font-size: 16px;
    }
}




/* Global styles for the sections */
.wrapper {
    padding: 50px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    color: white;
}

.wrapper.alt.style2 {
    background-color: rgba(0, 0, 0, 0.7);
}

h2 {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    color: white;
}

p {
    font-size: 16px;
    line-height: 1.6;
    color: #ddd;
    text-align: justify;
    margin-bottom: 20px;
}

/* Slideshow container */
.slideshow-container {
    position: relative;
    margin: 0 auto;
    max-width: 350px;
    border-radius: 15px;
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

/* Slides (images) */
.mySlides {
    display: none;
    width: 100%;
}

.mySlides img {
    width: 100%;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.mySlides img:hover {
    transform: scale(1.05); /* Zoom au survol */
}

/* Dots for navigation */
.slideshow-container .dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.slideshow-container .dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slideshow-container .dots span.active {
    background-color: white;
}

.slideshow-container .dots span:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

@media (max-height: 900px) {
    #banner h1 {
        font-size: 28px;
    }
    #banner h2 {
        font-size: 18px;
    }
    #header h3 {
        font-size: 12px;
    }

    #banner .slideshow-container {
        max-width: 180px;
    }
}

@media (max-height: 700px) {
    #banner h1 {
        font-size: 24px;
        font-weight: bold;
        text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
        margin-bottom: 6px;
    }

    #banner .slideshow-container {
        max-width: 100px;
    }

    #banner h1 {
        font-size: 20px;
    }
    #banner h2 {
        font-size: 10px;
    }
    #header h3 {
        font-size: 6px;
    }
}





/* Spotlight sections */
.spotlight {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 50px;
    gap: 20px;
}

.spotlight .image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.spotlight .content {
    flex: 2;
    min-width: 300px;
    padding: 20px;
}

.spotlight .content h2 {
    margin-top: 0;
    font-size: 25px;
    color: white;
}

.spotlight {
    font-size: 16px;
    color: #ccc;
}

.content p {
    text-align: center;
    font-size: 22px;
    color: #ccc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .spotlight {
        flex-direction: column;
    }

    .spotlight .image,
    .spotlight .content {
        flex: 1;
        text-align: center;
    }

    .slideshow-container {
        border-radius: 10px;
    }
}




/* ============================= */
/*         LISTE DE PRIX         */
/* ============================= */
.liste-de-prix {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7); /* fond semi-transparent */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    color: #fff;
}

/* Titre de la liste de prix */
.liste-de-prix h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* Table des tarifs */
.liste-de-prix table {
    width: 100%;
    border-collapse: collapse;
}

/* Lignes et colonnes */
.liste-de-prix th,
.liste-de-prix td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
    color: #ddd;
}

/* En-têtes du tableau */
.liste-de-prix th {
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: 700;
    color: #fff;
}



/* ======== HEADER STYLES ======== */


#header a {
    color: #000;          /* Lien en noir */
    text-decoration: none; /* Pas de soulignement */
}
#header {
    border-radius: 5px;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    color: #fff;
    z-index: 1000;

    /* Animation d’apparition si besoin */
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;

    /* Mise en page centrée */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 7px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#header.active {
    opacity: 1;
    transform: translateY(0);
}

/* Zone logo + titre */
#header .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

/* Image du logo */
#header .logo img {
    height: 30px;
    border-radius: 50%;
}

/* Titre */
#header .logo h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

/* Lien dans le titre */
#header .logo h3 a, .contact {
    color: #000000;
    text-decoration: none;
}

/* Contact */
#header .contact {
    margin-top: 5px;
    font-size: 16px;
}






/* Section Machines */
#machines {
    text-align: center;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    color: white;
}

/* Onglets */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-link {
    background: none;
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.tab-link:hover, .tab-link.active {
    background-color: white;
    color: black;
}

/* Contenu des onglets */
/* Amélioration du style de .tab-content */
.tab-content {
    display: none;
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15); /* Effet semi-transparent */
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.5s ease-in-out;
    backdrop-filter: blur(10px); /* Effet de flou moderne */
}

/* Affichage actif */
.tab-content.active {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

/* Image bien intégrée dans la carte */
.tab-content img {
    width: 45%;
    max-width: 300px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.tab-content img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Texte intégré */
.tab-content p {
    width: 50%;
    font-size: 18px;
    color: #fff;
    padding: 10px;
    font-weight: 500;
    text-align: center;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    display: flex;
    align-items: center;  /* Centre verticalement */
    justify-content: center;  /* Centre horizontalement */
}

/* Responsive : ajustement pour petits écrans */
@media (max-width: 600px) {

    /* Section Machines */
    #machines {
        margin: 20px;
        padding: 10px;
    }

    /* Onglets */
    .tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-link {
        margin: 5px 0;
        width: 80%;
        font-size: 14px;
    }

    /* Contenu des onglets */
    .tab-content.active {
        flex-direction: column;
        align-items: center;
    }

    .tab-content img {
        width: 80%;
        max-width: 250px;
        margin-bottom: 15px;
    }

    .tab-content p {
        width: 90%;
        font-size: 16px;
    }
}



/* Formulaire */

/* Section globale */
#contact-form {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background-color: rgb(26, 26, 46); /* Fond sombre semi-transparent */
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); /* Ombre pour un effet de profondeur */
    color: white;
    text-align: left;
}

/* Titres */
#contact-form h2, #contact-form h3 {
    text-align: center;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8); /* Effet de texte lumineux */
    font-size: 24px;
}

/* Champs de formulaire */
#contact-form label {
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
    color: white; /* Même couleur que le texte principal */
}

#contact-form input,
#contact-form select,
#contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1); /* Fond semi-transparent */
    color: white;
    font-size: 16px;
    font-family: "Arial", sans-serif;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s ease;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
    border-color: white; /* Bordure blanche au focus */
    outline: none;
}

/* Bouton d'envoi */
.form-actions {
    text-align: center;
    margin-top: 20px;
}

#contact-form button {
    padding: 12px 30px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

#contact-form button:hover {
    background-color: white;
    color: black;
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.3); /* Ombre légère au survol */
}

/* Consentement */
#contact-form label a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

#contact-form label a:hover {
    color: rgba(200, 200, 200, 1); /* Couleur légèrement plus claire au survol */
}



/* Style des options dans le menu déroulant */
#contact-form select option {
    background-color: rgba(0, 0, 0, 0.9); /* Fond sombre pour les options */
    color: white; /* Couleur du texte */
    padding: 10px;
}

/* Survol des options */
#contact-form select option:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Légère lumière en survol */
    color: white; /* Conserve la couleur du texte */
}

/* Pour les navigateurs qui ne supportent pas entièrement le style des options */
#contact-form select:focus {
    border-color: white; /* Bordure blanche au focus */
    outline: none;
}



/* Footer */
#footer {
  text-align: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 14px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

#footer p {
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

