/* 
Styles des pages / LAMUKA / Rodson_desu
 */

 
 /* pael de couleur  */
:root {
    --gold: #c5a059;
    --dark: #0a0a0a;
    --transition: 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #000;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

.home-grid {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.panel {
    position: relative;
    flex: 1;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
    background-size: cover;
    background-position: center;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.panel:hover { flex: 2.5; filter: brightness(1.2); }
.panel:not(:hover) { filter: grayscale(0.1) brightness(0.8); }

.prod { background-image: url('../img/affiche/Affiche\ Yolande.jpg'); }
.premieres { background-image: url('../img/premieres.png'); }
.concierge { background-image: url('../img/conciergerie.png'); }
.actors { background-image: url('../img/apropos.png'); }

.overlay { position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,0.9)); }

.label {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

.label h2 { font-family: 'Oswald'; font-size: 1.8rem; letter-spacing: 4px; }
.label p { font-weight: 200; font-size: 0.8rem; margin-top: 5px; color: var(--gold); }

.audio-control {
    position: fixed;
    top: 20px; right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; cursor: pointer;
}

.viewer {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 100;
    transform: translateY(100%);
    transition: var(--transition);
    padding: 80px 10%;
    overflow-y: auto;
}

.viewer.active { transform: translateY(0); }

.close-btn {
    position: fixed;
    top: 30px; right: 40px;
    background: none; border: 1px solid var(--gold);
    color: var(--gold); padding: 10px 20px;
    cursor: pointer;
}

.concierge-form {
    max-width: 600px;
    margin: 40px 0;
    display: flex; flex-direction: column; gap: 15px;
}

.concierge-form input, .concierge-form textarea {
    background: #151515; border: 1px solid #333;
    padding: 15px; color: white;
}

.concierge-form button {
    background: var(--gold); padding: 15px; border: none; font-weight: bold; cursor: pointer;
}

.trombi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px; margin-top: 40px;
}

.actor-card { border: 1px solid #222; padding: 10px; background: #111; text-align: center; }
.actor-card img { width: 100%; height: 280px; object-fit: cover; filter: grayscale(1); }
.actor-card:hover img { filter: grayscale(0); }
.actor-card h4 { margin-top: 15px; font-family: 'Oswald'; color: var(--gold); }




/* Bouton de retour minimaliste */
.back-link {
    display: inline-flex;
    align-items: center;
    color: #c5a059;
    font-family: 'Oswald';
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    margin-bottom: 25px;
    transition: 0.3s;
}

.back-link .arrow {
    margin-right: 10px;
    transition: transform 0.3s;
}

.back-link:hover .arrow {
    transform: translateX(-5px);
}

.back-link:hover {
    color: #fff;
}

/* Layout Avant-Premières */
.premieres-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.live-indicator {
    background: #ff0000;
    color: #fff;
    padding: 2px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 3px;
    margin-bottom: 10px;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

.next-card {
    background: rgba(255, 255, 255, 0.05);
    border-left: 2px solid #c5a059;
    padding: 15px;
    margin-bottom: 15px;
}

.next-date {
    color: #c5a059;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Vidéo */
.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border: 1px solid #333;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Casting Bubbles */
.mini-cast {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cast-bubble {
    text-align: center;
    width: 65px;
}

.cast-bubble img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #c5a059;
}

.cast-bubble span {
    font-size: 0.6rem;
    display: block;
    margin-top: 5px;
    line-height: 1.1;
}


/* POSITIONNEMENT DU LOGO */
.site-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 80px; /* Ajustez selon vos préférences */
    height: auto;
    z-index: 1001; /* Pour être au-dessus du menu */
    pointer-events: none; /* Ne gêne pas les clics sur les panels */
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

/* Ajustement pour mobile */
@media (max-width: 768px) {
    .site-logo {
        width: 60px;
        top: 10px;
        left: 10px;
    }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

@media (max-width: 900px) {
    .premieres-layout { grid-template-columns: 1fr; }
}


.choice-card:hover {
    border-color: #c5a059 !important;
}
.choice-card:hover .choice-img {
    transform: scale(1.1);
    opacity: 0.7 !important;
}


/* ============================================================
   RESPONSIVE DESIGN (Media Queries)
   ============================================================ */

/* 1. TABLETTES (Largeur max 1024px) */
@media (max-width: 1024px) {
    .home-grid {
        /* On garde le flex mais on réduit l'expansion au survol */
        flex-direction: row;
    }
    
    .panel:hover {
        flex: 1.5; /* Moins agressif que sur desktop */
    }

    .premieres-layout {
        grid-template-columns: 1fr; /* La sidebar repasse en dessous */
        gap: 30px;
    }

    #viewer {
        padding: 60px 30px; /* Moins de padding sur les côtés */
    }
}

/* 2. SMARTPHONES (Largeur max 768px) */
@media (max-width: 768px) {
    /* Menu Principal : On passe de colonnes à lignes */
    .home-grid {
        flex-direction: column; 
        height: auto; /* Permet le défilement si nécessaire */
        min-height: 100vh;
    }

    .panel {
        width: 100%;
        height: 25vh; /* Chaque section prend un quart de l'écran */
        border-right: none;
        border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    }

    .panel:hover {
        flex: 1; /* On désactive l'effet d'expansion sur mobile pour éviter les bugs */
        height: 35vh;
    }

    /* Logo et Contrôles */
    .brand-logo {
        top: 15px;
        left: 15px;
        font-size: 1rem;
    }

    .top-controls {
        top: 15px;
        right: 15px;
    }

    /* Réseaux sociaux - On les centre en bas */
    .social-footer {
        width: 100%;
        justify-content: center;
        right: 0;
        bottom: 10px;
        background: rgba(0,0,0,0.5);
        padding: 10px 0;
    }

    /* Viewer (Le contenu qui s'ouvre) */
    #viewer {
        padding: 80px 20px 40px 20px;
    }

    .oswald-title {
        font-size: 2rem !important; /* Titre plus petit */
    }

    /* Grilles de films et talents */
    .trombi-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }

    /* Détails du film */
    .movie-detail-view h2 {
        font-size: 1.8rem;
    }

    .mini-cast {
        justify-content: center; /* Centre les acteurs sur petit écran */
    }
}

/* 3. PETITS SMARTPHONES (Largeur max 480px) */
@media (max-width: 480px) {
    .panel h2 {
        font-size: 1.2rem;
    }

    .btn-gold {
        width: 100%; /* Boutons en pleine largeur pour faciliter le clic */
        text-align: center;
    }

    .back-link {
        font-size: 0.8rem;
    }
}


/* --- RESPONSIVITÉ SECTION PRODUCTION & DISTRIBUTION --- */

/* Conteneur principal par défaut (Desktop) */
.split-choice-container {
    display: flex;
    gap: 20px;
    height: 60vh;
    margin-top: 30px;
    transition: all 0.4s ease-in-out;
}

/* Écrans Tablettes et Mobiles (Largeur inférieure à 992px) */
@media screen and (max-width: 992px) {
    .split-choice-container {
        height: 70vh; /* On augmente un peu la hauteur totale */
        gap: 15px;
    }
    
    .choice-card h3 {
        font-size: 1.8rem !important;
    }
}

/* --- RESPONSIVITÉ ZONE PRODUCTION & DISTRIBUTION --- */

/* Pour les tablettes et smartphones (en dessous de 768px) */
@media (max-width: 768px) {
    .split-choice-container {
        flex-direction: column !important; /* Empile les blocs verticalement */
        height: auto !important;           /* Permet au conteneur de grandir */
        gap: 15px !important;              /* Réduit l'espace entre les blocs */
    }

    .choice-card {
        flex: none !important;             /* Désactive la répartition flexible */
        width: 100% !important;            /* Prend toute la largeur */
        height: 250px !important;          /* Hauteur fixe pour que chaque bloc soit cliquable */
    }

    .choice-card h3 {
        font-size: 1.5rem !important;      /* Titre plus petit pour mobile */
        letter-spacing: 2px !important;
    }

    .choice-card p {
        font-size: 0.7rem !important;      /* Texte secondaire plus petit */
    }
}

/* Pour les petits mobiles (en dessous de 480px) */
@media (max-width: 480px) {
    .split-choice-container {
        margin-top: 15px !important;
    }

    .choice-card {
        height: 200px !important;
    }
}


/* ============================================================
   BULLE ACTEUR CLIQUABLE
   ============================================================ */
.actor-bubble {
    text-align: center;
    width: 90px;
    cursor: pointer;
    transition: transform 0.25s;
}

.actor-bubble:hover {
    transform: translateY(-4px);
}

.actor-bubble:hover img {
    border-color: #fff !important;
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.5);
}


/* ============================================================
   MOBILE : affiches toujours en couleur, pas de grayscale au hover
   ============================================================ */
@media (max-width: 768px) {
    .actor-card img,
    .movie-card img {
        filter: none !important;
    }

    .actor-card:hover img,
    .movie-card:hover img {
        filter: none !important;
    }
}


.nav-btn {
background: transparent;
border : 1px solid #c5a059;
padding: 10px 20px;
font-family: 'oswlad';
letter-spacing: 2px;
transition:0.3s;
}

.nav-btn:not(:disabled) {
    background: #f0efec00;
    color:black;
}