/* ------------------------------------------------------
   GLOBAL FIX — NO MORE HORIZONTAL SCROLL
------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ------------------------------------------------------
   MOBILE FIRST — BASE DARK CLEAN
------------------------------------------------------ */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

body.dark-body {
    background: #000;
    color: #fff;
    font-family: "Inter", sans-serif;
    position: relative;
}

/* ------------------------------------------------------
   HEADER — MOBILE FIRST
------------------------------------------------------ */
:root {
    --header-height: 70px;
}

.kl-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid #222;
    z-index: 1000;
}

.kl-logo {
    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
    letter-spacing: 4px;
    color: #fff;
    text-shadow: 0 0 12px #fff;
}

/* ------------------------------------------------------
   BURGER BUTTON — MOBILE ONLY
------------------------------------------------------ */
.kl-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.kl-burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    transition: 0.3s;
}

/* Animation burger -> croix */
.kl-burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.kl-burger.active span:nth-child(2) {
    opacity: 0;
}
.kl-burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ------------------------------------------------------
   NAVIGATION MOBILE
------------------------------------------------------ */
.kl-nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 70%;
    height: calc(100vh - var(--header-height));
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    gap: 25px;
    transition: 0.4s ease;
    overflow-y: auto;
    z-index: 1050;
}

.kl-nav a {
    color: #fff;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

/* Menu ouvert */
.kl-nav.open {
    right: 0;
}

/* ------------------------------------------------------
   DESKTOP — MENU NORMAL
------------------------------------------------------ */
@media (min-width: 768px) {

    .kl-burger {
        display: none;
    }

    .kl-nav {
        position: static;
        flex-direction: row;
        height: auto;
        width: auto;
        background: none;
        backdrop-filter: none;
        padding: 0;
        gap: 30px;
        overflow: visible;
        right: 0;
    }

    .kl-nav a {
        border: none;
        font-size: 0.9rem;
        margin-left: 30px;
    }
}

/* ------------------------------------------------------
   HERO — VIDÉO ENTIÈRE SUR MOBILE
------------------------------------------------------ */
.kl-hero {
    position: relative;
    width: 100%;
    margin-top: var(--header-height);
    background: #000;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
}

.kl-hero-shadowbox {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kl-hero-video {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
    filter: none;
}

.kl-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
    z-index: 2;
    pointer-events: none;
}

.kl-hero-content {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
}

.kl-title {
    opacity: 0 !important;
    visibility: hidden !important;
}

.kl-subtitle {
    margin-top: 10px;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 3px;
}

/* ------------------------------------------------------
   HERO BELOW — TEXTE SOUS LA VIDÉO
------------------------------------------------------ */
.kl-hero-below {
    text-align: center;
    padding: 40px 20px;
}

.kl-hero-below-subtitle {
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 0 0 8px #fff;
}

/* CTA corrigé — plus de cadre, juste souligné */
.kl-hero-below-cta {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 24px;
    border: none;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: underline;
    transition: 0.3s;
}

.kl-hero-below-cta:hover {
    background: none;
    color: #fff;
    text-decoration: underline;
}

/* ------------------------------------------------------
   GALERIE — MOBILE FIRST
------------------------------------------------------ */
.kl-gallery {
    padding: 80px 0;
}

.kl-section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #fff;
    letter-spacing: 4px;
    text-shadow: 0 0 12px #fff;
}

.kl-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
}

.kl-photo-card {
    overflow: hidden;
    border: 2px solid #111;
    transition: 0.3s;
}

.kl-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    transition: 0.3s;
}

.kl-photo-card:hover img {
    transform: scale(1.2);
    filter: none;
}

.kl-photo-card:hover {
    border-color: #fff;
    box-shadow: 0 0 25px #fff;
}

/* ------------------------------------------------------
   ABOUT — MOBILE FIRST
------------------------------------------------------ */
.kl-about {
    padding: 80px 0;
    background: #050505;
}

.kl-about-inner {
    display: block;
    padding: 0 20px;
}

.kl-about-text p {
    margin-bottom: 20px;
    color: #ccc;
    line-height: 1.7;
}

.kl-about-img img {
    width: 100%;
    margin-top: 30px;
    border: 2px solid #222;
    filter: none;
    transition: 0.3s;
}

.kl-about-img:hover img {
    filter: none;
    transform: scale(1.05);
}

/* ------------------------------------------------------
   FORMULAIRE — MOBILE FIRST
------------------------------------------------------ */
.kl-contact {
    padding: 80px 0;
    background: #000;
}

.kl-form {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-x: hidden;
}

.kl-form-group label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: #fff;
}

.kl-form-group input,
.kl-form-group textarea {
    width: 100%;
    padding: 14px;
    background: #0a0a0a;
    border: 2px solid #222;
    color: #fff;
    font-size: 1rem;
    transition: 0.2s;
}

.kl-form-group input:focus,
.kl-form-group textarea:focus {
    border-color: #fff;
    box-shadow: 0 0 12px #fff;
}

.kl-submit {
    padding: 14px 28px;
    background: #fff;
    color: #000;
    border: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: 0.2s;
}

.kl-submit:hover {
    background: #000;
    color: #fff;
    border: 1px solid #fff;
}

/* ------------------------------------------------------
   FOOTER
------------------------------------------------------ */
.kl-footer {
    padding: 30px;
    text-align: center;
    background: #000;
    border-top: 1px solid #111;
    color: #666;
    letter-spacing: 2px;
}

/* ------------------------------------------------------
   DESKTOP BREAKPOINTS
------------------------------------------------------ */
@media (min-width: 768px) {

    :root {
        --header-height: 80px;
    }

    .kl-header {
        padding: 18px 40px;
    }

    .kl-logo {
        font-size: 2rem;
        letter-spacing: 6px;
    }

    .kl-nav a {
        font-size: 0.95rem;
        margin-left: 30px;
    }

    .kl-hero {
        height: calc(100vh - var(--header-height));
    }

    .kl-hero-shadowbox {
        height: 100%;
    }

    .kl-hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: none;
    }

    .kl-hero-content {
        bottom: 15%;
    }

    .kl-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 40px;
        gap: 25px;
    }

    .kl-about-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        padding: 0 40px;
    }

    .kl-form {
        width: 60%;
        margin: auto;
        max-width: 100%;
    }
}
