/* =========================================================
   S CLEAN AUTO - STYLE PREMIUM NOIR / ROUGE
   Designer : ChatGPT
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    background: #0a0a0a;
    color: #f5f5f5;
    overflow-x: hidden;
    line-height: 1.6;
}
html {
    font-size: 18px; /* Au lieu de 14-16px par défaut */
}

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

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(255, 0, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.site-logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.4));
    transition: 0.3s;
}

.site-logo:hover {
    transform: scale(1.05);
}

.nav-desktop ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-desktop a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-desktop a:hover {
    color: #ff3b3b;
}

/* Sous-menus */
.menu-parent {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    background: #111;
    padding: 10px 0;
    border: 1px solid #222;
    border-radius: 8px;
    top: 30px;
    min-width: 190px;
}

.menu-parent:hover .submenu {
    display: block;
}

.submenu li {
    list-style: none;
}

.submenu a {
    display: block;
    padding: 10px 15px;
    font-size: 0.95rem;
}

.submenu a:hover {
    background: #1a1a1a;
}

/* =========================================================
   MENU MOBILE (HAMBURGER)
   ========================================================= */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 35px;
    height: 4px;
    background: #ff3b3b;
    border-radius: 3px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100vh;
    background: #111;
    padding: 60px 20px;
    transition: 0.35s;
    gap: 18px;
    z-index: 999;
}
.mobile-nav.active {
    right: 0;
}


.mobile-submenu span {
    display: block;
    cursor: pointer;
    font-weight: 700;
}

.mobile-submenu-items {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding-left: 10px;
    margin-top: 6px;
}

.mobile-submenu-items a {
    font-weight: 400;
}

.mobile-submenu.open .mobile-submenu-items {
    display: flex;
}

/* =========================================================
   ACCUEIL : BANNIÈRE
   ========================================================= */
/* =============================== */
/* HERO ULTRA PRO S CLEAN AUTO     */
/* =============================== */

.hero {
    height: 90vh;
    background: url('../img/hero-bg.jpg') center/cover no-repeat;
    background-attachment: fixed; /* Effet parallax */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Assombrissement + effet premium */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
}

/* Dégradé bas élégant */
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(to bottom, rgba(0,0,0,0), #000);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
    animation: fadeInHero 1s ease-out;
}

.hero h1 {
    font-size: 3.8rem;
    color: #ff3b3b;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
}

.hero p {
    font-size: 1.45rem;
    margin-top: 15px;
    color: #fff;
    opacity: 0.95;
}

@keyframes fadeInHero {
    from { opacity: 0; transform: translateY(20px);}
    to   { opacity: 1; transform: translateY(0);}
}

/* Version mobile */
@media (max-width: 600px) {
    .hero {
        background-attachment: scroll; /* plus stable sur iOS */
    }
    .hero h1 {
        font-size: 2.4rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
}

.btn-red {
    display: inline-block;
    padding: 14px 32px;
    background: #ff3b3b;
    color: #fff;
    font-weight: 700;
    border-radius: 40px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-red:hover {
    background: #ff1a1a;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 80px 40px;
    max-width: 1300px;
    margin: auto;
}

.section h2 {
    text-transform: uppercase;
    color: #ff3b3b;
    text-shadow: 0 0 12px rgba(255, 0, 0, 0.35);
    margin-bottom: 25px;
}

/* =========================================================
   PRESTATIONS (CARDS)
   ========================================================= */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: #111;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #1c1c1c;
    transition: 0.35s;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.card:hover {
    transform: translateY(-8px);
    border-color: #ff3b3b;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.35);
}

.card h3 {
    color: #ff3b3b;
    margin-bottom: 10px;
}

.card .price {
    margin: 12px 0;
    font-weight: bold;
    font-size: 1.3rem;
}

/* =========================================================
   FORMULAIRES
   ========================================================= */

form input,
form select,
form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: none;
    background: #1a1a1a;
    color: #fff;
    outline: none;
    transition: 0.3s;
}

form input:focus,
form textarea:focus,
form select:focus {
    border: 1px solid #ff3b3b;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.6);
}

form button {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    background: #ff3b3b;
    border: none;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background: #ff1a1a;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #000;
    padding: 60px 40px 10px;
    border-top: 1px solid #111;
    margin-top: 50px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
}

.footer-col h3 {
    color: #ff3b3b;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    text-decoration: none;
    color: #ddd;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #ff3b3b;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    padding: 10px 15px;
    text-align: center;
    font-weight: 600;
    border-radius: 6px;
}

.insta {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.fb {
    background: #1877f2;
}

.google {
    background: #db4437;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    color: #aaa;
    font-size: 0.9rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {
    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 600px) {
    .site-logo {
        height: 55px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

/* =============================== */
/* GALERIE PRO LIGHTBOX */
/* =============================== */

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.galerie-item img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.galerie-item img:hover {
    transform: scale(1.04);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.5);
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.3);
}

.lightbox .close {
    position: fixed;
    top: 25px;
    right: 30px;
    font-size: 45px;
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
}

.lightbox .close:hover {
    color: #ff3b3b;
}

.lightbox .nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    transition: 0.2s;
}

.lightbox .prev {
    left: 20px;
}

.lightbox .next {
    right: 20px;
}

.lightbox .nav:hover {
    color: #ff3b3b;
}


.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.galerie-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
}

.galerie-item img,
.galerie-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.galerie-item:hover img,
.galerie-item:hover video {
    transform: scale(1.05);
}

.video-item .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 20px;
    font-size: 30px;
    color: white;
}

/* =============================== */
/* LIGHTBOX PRO (FINAL VERSION) */
/* =============================== */

#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lightbox.open {
    display: flex;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    pointer-events: none; /* essentiel pour fermer */
}

#lightbox video {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    pointer-events: auto;
}

#lightbox .close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 45px;
    color: white;
    cursor: pointer;
    z-index: 10000;
    pointer-events: auto;
}
#lightbox-img {
    pointer-events: none !important;
}

h1 {
    font-size: 3.2rem !important;
}

h2 {
    font-size: 2.2rem !important;
}

h3 {
    font-size: 1.5rem !important;
}
body,
p,
a,
li,
label,
input,
textarea,
select {
    font-size: 1.1rem !important;
}
form input,
form select,
form textarea {
    font-size: 1.1rem !important;
    padding: 16px !important;
}
.nav-desktop a {
    font-size: 1.05rem !important;
}

.mobile-nav a,
.mobile-submenu span {
    font-size: 1.2rem !important;
}
