/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary: #FF4500;   /* Orange vibrant */
    --secondary: #FFD700; /* Or/Jaune */
    --dark: #1a1a1a; 
    --light: #f4f4f4;
    --gradient: linear-gradient(135deg, #FF4500, #FF8C00, #FFD700);
    --insta-grad: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

* { box-sizing: border-box; }

body { 
    font-family: 'Segoe UI', sans-serif; 
    margin: 0; padding: 0; 
    background: var(--light); 
    color: var(--dark); 
    overflow-x: hidden;
}

/* =========================================
   2. NAVIGATION
   ========================================= */
nav { 
    background: white; 
    padding: 1rem 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}

.logo { 
    font-size: 1.5rem; font-weight: 800; 
    background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; 
    color: var(--primary); text-transform: uppercase; 
}

.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { text-decoration: none; color: #333; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* Bouton Principal (Gradient) */
.btn-cta { 
    background: var(--gradient); 
    color: white !important; 
    padding: 12px 25px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: bold; 
    border: none; cursor: pointer; 
    display: inline-block;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 69, 0, 0.5); }

/* Bouton Secondaire (Contour) */
.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex; align-items: center; gap: 10px;
    transition: 0.3s;
    cursor: pointer;
}
.btn-secondary:hover { background: white; color: #111; }

/* =========================================
   3. HEADER (VIDÉO & DESIGN)
   ========================================= */
header { 
    background: transparent !important; /* Force la transparence */
    padding: 100px 5%; 
    text-align: center; 
    position: relative; 
    min-height: 500px;
    display: flex; align-items: center; justify-content: center;
}

.background-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -1;
}

.video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: transparent !important; 
    z-index: 1;
}

.header-content {
    position: relative; z-index: 2; width: 100%; max-width: 900px;
    background: transparent !important; 
    box-shadow: none !important; border: none !important;
}

.header-content h1 {
    font-size: 4rem; font-weight: 800; margin: 0; line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8); color: white;
}
.header-content p {
    font-size: 1.5rem; font-weight: 500; color: #fff; margin-top: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Réseaux Sociaux */
.hero-socials { margin-top: 40px; animation: fadeIn 1.5s ease-in-out; }
.social-text { color: #ddd; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 2px 4px rgba(0,0,0,0.8); font-size: 0.9rem; }
.social-buttons { display: flex; justify-content: center; gap: 15px; margin-top: 15px; flex-wrap: wrap; }
.social-pill { 
    display: flex; align-items: center; gap: 10px; padding: 10px 20px; 
    border-radius: 50px; text-decoration: none; color: white; font-weight: bold; 
    background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(5px);
    transition: 0.3s; 
}
.social-pill:hover { background: white; color: #111; transform: translateY(-3px); }
.social-pill.insta:hover { color: #cc2366; } 
.social-pill.fb:hover { color: #1877F2; } 
.social-pill.tiktok:hover { color: black; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   4. SECTION PRESTATIONS DJ (FOND NOIR)
   ========================================= */
.dj-section { 
    background-color: #111 !important; 
    color: white !important; 
    padding: 80px 5%; 
    border-bottom: 4px solid var(--secondary); 
}

.dj-container { 
    max-width: 1200px; margin: auto; 
    display: flex; align-items: center; gap: 50px; flex-wrap: wrap-reverse; 
}

.dj-text { flex: 1; min-width: 300px; }
.dj-text h2 { font-size: 2.5rem; color: var(--secondary); margin-bottom: 20px; }
.dj-text p { color: #ccc; line-height: 1.6; font-size: 1.1rem; }

.dj-gear-list { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.gear-tag { 
    background: #222; padding: 8px 15px; border-radius: 20px; 
    font-size: 0.9rem; border: 1px solid #444; color: var(--secondary); 
}

.dj-img { 
    flex: 1; min-width: 300px; height: 400px; 
    background: #222; border-radius: 20px; overflow: hidden; 
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15); 
}
.dj-img img { width: 100%; height: 100%; object-fit: cover; }

.action-buttons { display: flex; gap: 15px; margin-top: 25px; flex-wrap: wrap; }

/* =========================================
   5. DUO & PACKS
   ========================================= */
section { padding: 60px 5%; }

/* Qui sommes nous */
.about-section { background: white; }
.section-header-center { text-align: center; margin-bottom: 50px; }
.section-header-center h2 { font-size: 2.5rem; margin-bottom: 10px; }
.duo-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.duo-card { 
    background: white; width: 350px; border-radius: 20px; overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-top: 5px solid var(--primary); 
    display: flex; flex-direction: column;
}
.duo-card:hover { transform: translateY(-5px); }
.duo-img { height: 250px; background: #ddd; }
.duo-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.duo-card:hover .duo-img img { transform: scale(1.05); }
.duo-content { padding: 25px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; align-items: center;}
.btn-toggle-bio { background: transparent; border: 1px solid #ddd; padding: 5px 15px; border-radius: 20px; margin-top: auto; cursor: pointer; transition: 0.3s; }
.btn-toggle-bio:hover { background: #f9f9f9; border-color: var(--primary); color: var(--primary); }
.bio-hidden { max-height: 0; overflow: hidden; transition: 0.5s; background: #f9f9f9; width: 100%; text-align: left; margin-top: 10px; border-radius: 8px; }
.bio-visible { max-height: 500px; padding: 15px; }

/* Packs */
.packs-section { background: white; }
.packs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.pack-card { border: 2px solid var(--secondary); border-radius: 20px; overflow: hidden; text-align: center; cursor: pointer; transition: 0.3s; background: white; }
.pack-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.pack-header { background: var(--secondary); padding: 15px; font-weight: bold; text-transform: uppercase; }
.card-body { padding: 20px; }

/* =========================================
   6. CARROUSEL & MATERIEL
   ========================================= */
.container { padding: 60px 5%; max-width: 1300px; margin: auto; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 40px; }
.carousel-wrapper { position: relative; height: 450px; overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.5s; list-style: none; padding: 0; margin: 0; }
.carousel-slide { min-width: 320px; margin-right: 30px; height: 100%; }

.card { 
    background: white; border-radius: 15px; overflow: hidden; border: 1px solid #eee; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); height: 100%; display: flex; flex-direction: column; 
    text-align: center; transition: 0.3s;
}
.card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.15); border-color: var(--primary); transform: translateY(-5px); }
.card-header { height: 180px; background: #f8f8f8; display: flex; align-items: center; justify-content: center; }
.btn-details { display: inline-block; margin-top: 15px; padding: 8px 20px; border: 1px solid #ccc; border-radius: 50px; text-decoration: none; color: #555; transition: 0.3s; }
.card:hover .btn-details { background: var(--primary); color: white; border-color: var(--primary); }

.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.6); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; z-index: 10; }
.prev-btn { left: 0; } .next-btn { right: 0; }

/* =========================================
   7. PAGE DEVIS & FORMULAIRES
   ========================================= */
.devis-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; max-width: 1200px; margin: 40px auto; padding: 0 5%; align-items: start; }
.devis-list { background: white; padding: 30px; border-radius: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.devis-summary { background: #1a1a1a; color: white; padding: 30px; border-radius: 20px; position: sticky; top: 100px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 15px; border-bottom: 1px solid #333; padding-bottom: 15px; }
.summary-total { font-size: 2.5rem; font-weight: 800; color: var(--secondary); text-align: center; margin: 20px 0; }
.section-header { font-size: 1.2rem; font-weight: bold; margin: 30px 0 15px; border-left: 4px solid #FF4500; padding-left: 10px; text-transform: uppercase; background: #f4f4f4; padding: 10px; border-radius: 0 10px 10px 0; }

/* Lignes Produits */
.product-row { display: grid; grid-template-columns: 50px 1fr auto 100px; align-items: center; padding: 12px 20px; margin-bottom: 8px; border: 1px solid #eee; border-radius: 12px; background: white; transition: 0.2s; }
.product-row:hover { transform: translateX(5px); border-color: #ccc; }
.product-row.gold-row { border: 2px solid #FFD700; background: linear-gradient(to right, #fff, #fffdf0); box-shadow: 0 5px 15px rgba(255, 215, 0, 0.15); }
.product-row.gold-row .prod-name { color: #d4af37; font-weight: 800; }
.product-row.pack-row { border-left: 6px solid #FF4500; background-color: #fff5f0; }
.product-row.active-row { border-color: var(--primary); background: #fff5f0; }

.chk-item { width: 20px; height: 20px; accent-color: var(--primary); }
.qty-item { padding: 5px; border-radius: 5px; border: 1px solid #ddd; width: 60px; text-align: center; }
.btn-info { background: #eee; color: #666; width: 25px; height: 25px; border-radius: 50%; border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; margin-left: 10px; }
.sim-dates { display: flex; gap: 20px; margin-bottom: 20px; }
.input-group { display: flex; flex-direction: column; width: 100%; margin-bottom: 15px; }
.input-group label { font-weight: bold; margin-bottom: 5px; color: var(--primary); }
.input-group input, .input-group select { padding: 12px; border: 1px solid #ddd; border-radius: 8px; }

/* Page Titre */
.page-title h1 { font-size: 3rem; font-weight: 900; text-transform: uppercase; background: linear-gradient(135deg, #FF4500, #FFD700); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; }

/* =========================================
   8. FOOTER & DIVERS
   ========================================= */
.main-footer { background: #111; color: #bbb; padding: 60px 5% 20px; margin-top: 60px; border-top: 4px solid var(--primary); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1200px; margin: auto; }
.footer-col h3 { color: white; border-bottom: 2px solid var(--primary); display: inline-block; padding-bottom: 5px; margin-bottom: 20px; }
.footer-links a, .contact-info a { color: #bbb; text-decoration: none; display: block; margin-bottom: 10px; transition: 0.3s; }
.footer-links a:hover { color: var(--secondary); }
.social-links { display: flex; gap: 15px; }
.social-links a { width: 40px; height: 40px; background: #222; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: white; transition: 0.3s; }
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }
.google-review-card { background: white; padding: 20px; border-radius: 10px; text-align: center; color: #333; }
.footer-bottom { text-align: center; margin-top: 50px; border-top: 1px solid #333; padding-top: 20px; }

/* Modales */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); }
.product-modal-content { background: white; margin: 5vh auto; border-radius: 20px; width: 90%; max-width: 600px; max-height: 85vh; overflow-y: auto; position: relative; }
.pm-header { background: #1a1a1a; color: white; padding: 30px; text-align: center; border-bottom: 4px solid var(--primary); }
.pm-body { padding: 30px; }
.close { position: absolute; right: 20px; top: 20px; color: white; font-size: 2rem; cursor: pointer; z-index: 100; }

/* Impression */
#printableInvoice { display: none; }
@media print {
    nav, header, section, footer, .container, .carousel-wrapper, #productModal, .hamburger { display: none !important; }
    body { background: white; color: black; font-size: 12pt; }
    #printableInvoice { display: block !important; position: absolute; top: 0; left: 0; width: 100%; padding: 40px; }
    .invoice-header { display: flex; justify-content: space-between; border-bottom: 2px solid #FF4500; margin-bottom: 30px; }
    .invoice-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
    .invoice-table th { background: #eee; padding: 10px; text-align: left; }
    .invoice-table td { padding: 10px; border-bottom: 1px solid #eee; }
}

/* =========================================
   9. RESPONSIVE MOBILE
   ========================================= */
.hamburger { display: none; }

@media screen and (max-width: 992px) {
    .hamburger { display: block; font-size: 1.8rem; cursor: pointer; color: var(--dark); padding: 10px; }
    .nav-links { 
        display: none; position: absolute; top: 100%; left: 0; width: 100%; 
        background: white; flex-direction: column; padding: 20px; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-top: 1px solid #eee; 
    }
    .nav-links.mobile-menu-active { display: flex; }
    .nav-links a { margin: 10px 0; font-size: 1.1rem; width: 100%; text-align: center; }
    
    header { padding: 80px 20px; }
    header h1 { font-size: 2.5rem; }
    .about-section, .dj-container, .duo-container { flex-direction: column; }
    .dj-container { flex-direction: column-reverse; }
    .duo-card, .about-img { width: 100%; }
    
    .devis-layout { grid-template-columns: 1fr; }
    .devis-summary { position: static; order: -1; margin-bottom: 20px; }
    .product-row { grid-template-columns: 40px 1fr; gap: 10px; padding: 15px; }
    .prod-name { grid-column: 2 / -1; }
    .prod-price { grid-column: 2; grid-row: 2; }
    .qty-item { grid-column: 2; grid-row: 2; justify-self: end; }
    .sim-dates { flex-direction: column; }
    
    .carousel-btn { display: none; }
    .carousel-wrapper { overflow-x: auto; }
}