/* ==============================================
   SCI DEUTSCH - COMMON STYLES (common.css)
   Fichier de styles centralisé pour l'ensemble du site
   ============================================== */

/* Reset CSS */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a3a5f;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #c19a5b;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 20px auto 0;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background-color: #c19a5b;
    color: white;
}

.btn-primary:hover {
    background-color: #a88447;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(193, 154, 91, 0.2);
}

.btn-load-more.disabled,
.btn-load-more:disabled {
    background-color: #e0e0e0 !important;
    color: #888 !important;
    cursor: not-allowed !important;
    border-color: #ccc !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ==============================================
   HEADER & NAVIGATION CENTRALISÉS
   ============================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a3a5f;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: #c19a5b;
}

.logo img {
    height: 45px;
    width: auto;
    margin-right: 12px;
    object-fit: contain;
}

/* Navigation Desktop */
.nav-desktop ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-desktop li {
    margin-left: 25px;
}

.nav-desktop a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: #c19a5b;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #c19a5b;
    transition: width 0.3s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
    width: 100%;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: #1a3a5f;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Mobile */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 90px 30px 30px;
    overflow-y: auto;
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile ul {
    list-style: none;
}

.nav-mobile li {
    margin-bottom: 15px;
}

.nav-mobile a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.nav-mobile a:hover,
.nav-mobile a.active {
    color: #c19a5b;
    padding-left: 8px;
}

/* Responsive Breakpoints Header */
@media (min-width: 1025px) and (max-width: 1200px) {
    .nav-desktop li {
        margin-left: 15px;
    }
    .nav-desktop a {
        font-size: 0.88rem;
    }
}

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

    .burger-menu {
        display: flex;
    }

    .logo img {
        height: 38px;
    }
}

/* ==============================================
   SECTION SHOWREEL VIDÉO BANNER (Comme capture)
   ============================================== */

.showreel-section {
    position: relative;
    margin: 40px 0 60px;
}

.showreel-banner {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    background: #0d1b2a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.showreel-bg-video,
.showreel-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    filter: brightness(0.7) contrast(1.1);
}

.showreel-overlay {
    position: relative;
    z-index: 5;
    padding: 30px 20px;
    max-width: 800px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.showreel-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(193, 154, 91, 0.25);
    border: 1px solid rgba(193, 154, 91, 0.6);
    color: #e5c378;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.showreel-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #c19a5b;
    color: #1a3a5f;
    border: none;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 0 0 rgba(193, 154, 91, 0.5);
    animation: pulsePlay 2s infinite;
}

.showreel-play-btn i {
    margin-left: 5px; /* Décalage visuel triangle lecture */
}

.showreel-play-btn:hover {
    transform: scale(1.12);
    background: #e5c378;
    color: #0d1b2a;
    box-shadow: 0 10px 30px rgba(229, 195, 120, 0.5);
}

@keyframes pulsePlay {
    0% {
        box-shadow: 0 0 0 0 rgba(193, 154, 91, 0.6);
    }
    70% {
        box-shadow: 0 0 0 22px rgba(193, 154, 91, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(193, 154, 91, 0);
    }
}

.showreel-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.showreel-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .showreel-banner {
        height: 350px;
        border-radius: 15px;
    }

    .showreel-title {
        font-size: 1.9rem;
    }

    .showreel-subtitle {
        font-size: 0.95rem;
    }

    .showreel-play-btn {
        width: 65px;
        height: 65px;
        font-size: 1.4rem;
    }
}

/* Modal Vidéo (Style Capture) */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.78);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.video-modal.active {
    display: flex;
}

/* Bouton Jaune Fermer en haut à droite (Capture) */
.top-modal-close-yellow {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e5c378;
    color: #1a3a5f;
    border: none;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.top-modal-close-yellow:hover {
    transform: scale(1.1) rotate(90deg);
    background: #ffffff;
    color: #c19a5b;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
}

.video-modal-player {
    width: 100%;
    max-height: 75vh;
    display: block;
    object-fit: contain;
}

/* Barre de Contrôle Vidéo Personnalisée (Capture) */
.custom-video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    z-index: 20;
    backdrop-filter: blur(4px);
}

.vid-controls-left,
.vid-controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vid-btn-gold {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5c378;
    color: #1a3a5f;
    border: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.vid-btn-gold:hover {
    transform: scale(1.1);
    background: #ffffff;
}

.vid-btn-icon {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 4px;
}

.vid-btn-icon:hover {
    color: #e5c378;
}

.vid-timeline {
    flex: 1;
    min-width: 120px;
    height: 6px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.vid-timeline-fill {
    height: 100%;
    width: 0%;
    background: #e5c378;
    border-radius: 3px;
    transition: width 0.1s linear;
}

.vid-time {
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.vid-btn-red-quit {
    background: #e74c3c;
    color: #ffffff;
    border: none;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

.vid-btn-red-quit:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.4);
}

.status-badge.vendu {
    background: rgba(231, 76, 60, 0.95) !important;
    color: white !important;
    font-weight: 700 !important;
}

/* ==============================================
   FOOTER CENTRALISÉ
   ============================================== */

.footer {
    background-color: #1a3a5f;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin: 20px 0;

    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #c19a5b;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #c19a5b;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #c19a5b;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 8px;
}
