/**
 * HERO ÉPURÉ - VIDÉO PARALLAXE ÉLÉGANTE
 * Sans 3D, focus sur lisibilité et performance
 */

/* Hero avec vidéo parallaxe subtile */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Vidéo background avec parallaxe */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.1);
    z-index: -2;
    object-fit: cover;
    /* Parallaxe subtile */
    will-change: transform;
    transition: transform 0.3s ease-out;
}

/* Overlay gradient élégant */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(17, 17, 17, 0.4) 0%,
        rgba(17, 17, 17, 0.6) 50%,
        rgba(17, 17, 17, 0.8) 100%
    );
    z-index: -1;
}

/* Contenu hero centré et lisible */
.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    text-align: center;
}

/* Titre principal - TRÈS LISIBLE */
.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(255, 183, 3, 0.3);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
}

/* Sous-titre lisible */
.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #FFB703;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

/* Tagline */
.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #F7F3ED;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Quick info - fond semi-transparent pour lisibilité */
.quick-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 183, 3, 0.2);
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFFFFF;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.info-item i {
    color: #FFB703;
    font-size: 1.2rem;
}

.info-item a {
    color: #FFB703;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #FFA500;
    text-decoration: underline;
}

/* Bannière livraison gratuite - très visible */
.free-delivery-banner {
    background: linear-gradient(135deg, #FFB703, #FFA500);
    color: #111111;
    padding: 1rem 2rem;
    border-radius: 50px;
    margin: 2rem auto;
    max-width: 500px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 
        0 10px 30px rgba(255, 183, 3, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease-out 0.8s backwards;
    text-align: center;
}

/* Boutons CTA - bien contrastés */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 1s backwards;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-transform: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #FFB703, #FFA500);
    color: #111111;
    border: none;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 183, 3, 0.5);
}

.hero-buttons .btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFB703;
    transform: translateY(-3px);
}

/* Texte des boutons en 2 lignes */
.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-text strong {
    font-size: 1.1rem;
    line-height: 1.2;
}

.btn-text small {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #FFFFFF;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: #FFB703;
    text-shadow: 0 2px 10px rgba(255, 183, 3, 0.5);
}

.scroll-indicator p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Animations simples */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Parallaxe subtile au scroll */
@media (min-width: 768px) {
    .hero-video.parallax-active {
        transform: translate(-50%, calc(-50% + var(--parallax-offset))) scale(1.1);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .quick-info {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .free-delivery-banner {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* Fix pour textes illisibles dans contact */
#contact .section-content {
    background: rgba(247, 243, 237, 0.05);
    padding: 2rem;
    border-radius: 15px;
}

#contact h3 {
    color: #FFB703 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#contact p,
#contact .contact-info p {
    color: #F7F3ED !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

#contact .contact-info i {
    color: #FFB703 !important;
}

/* Fix pour formulaire de réservation */
#reservation .form-group label {
    color: #111111 !important;
    font-weight: 600;
}

#reservation input,
#reservation select,
#reservation textarea {
    background: #FFFFFF;
    color: #111111;
    border: 2px solid #E5E5E5;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 1rem;
}

#reservation input:focus,
#reservation select:focus,
#reservation textarea:focus {
    border-color: #FFB703;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.2);
}

/* Supprimer tout élément 3D résiduel */
.hero-3d-canvas,
.blob-container,
.mesh-gradient-3d {
    display: none !important;
}

/* S'assurer que les sections sont lisibles */
section {
    position: relative;
    background: #F7F3ED;
}

section.dark-section {
    background: #111111;
    color: #F7F3ED;
}

section.dark-section h2,
section.dark-section h3 {
    color: #FFB703;
}

/* Améliorer la lisibilité des cartes menu */
.menu-item,
.menu-item-card {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.menu-item-name,
.item-name {
    color: #111111;
    font-weight: 600;
}

.menu-item-description,
.item-description {
    color: #666666;
}

.menu-item-price,
.item-price {
    color: #D86B45;
    font-weight: 700;
    font-size: 1.2rem;
}
