/* =====================================================
   Hi Beirut Marrakech — Feuille de style principale
   Thème : Clair / Glassmorphism / Premium Gourmand
   ===================================================== */

:root {
    /* Glassmorphism */
    --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);
    --glass-bg-strong: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
    --glass-border-light: rgba(255, 255, 255, 0.6);
    --glass-blur: blur(20px);
    --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);

    /* Couleurs (tokens — accessibles aussi via Tailwind) */
    --gold: #D4AF37;
    --gold-light: #E8D48B;
    --gold-dark: #B8960C;
    --green-dark: #113D1B;
    --green-medium: #3D6B22;
    --green-light: #E8F0E4;
    --green-deeper: #1a300d;
    --bg-primary: #FDFBF7;
    --bg-secondary: #F5F1E8;
    --bg-card: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-body: #3D3D3D;
    --text-muted: #7A7A7A;
    --border-light: #E8E4DC;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --glovo: #FFC244;
    --glovo-dark: #F0B030;
}

body {
    background-color: #FDFBF7;
    color: #3D3D3D;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Hero Carousel ---------- */
.hero-carousel-img {
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.hero-carousel-img.active {
    opacity: 1;
}

/* ---------- Texte gradient or animé ---------- */
.text-gradient-gold {
    background: linear-gradient(to right, #E8D48B, #D4AF37, #B8960C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* ---------- Glass Card ---------- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border-light);
    border-top: 1px solid rgba(255,255,255,0.8);
    border-left: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 8px 32px rgba(17, 61, 27, 0.05);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
}

.glass-card:hover {
    background: var(--glass-bg-strong);
    box-shadow: 0 16px 40px rgba(212, 175, 55, 0.12);
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.25);
}

.glass-card:hover::before { opacity: 1; }

/* ---------- Glass Nav ---------- */
.glass-nav {
    background: rgba(253, 251, 247, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-nav.scrolled {
    background: rgba(253, 251, 247, 0.98);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* ---------- Glass Badges ---------- */
.glass-badge {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.03));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 9999px;
    padding: 6px 16px;
    font-family: 'Cinzel', serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #B8960C;
    display: inline-block;
    backdrop-filter: blur(4px);
}

.glass-badge-inverse {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

/* ---------- Hero overlay ---------- */
.hero-overlay {
    background: linear-gradient(
        145deg,
        rgba(26, 48, 13, 0.95) 0%,
        rgba(15, 15, 15, 0.60) 50%,
        rgba(212, 175, 55, 0.40) 100%
    );
}

/* ---------- Hover zoom image ---------- */
.hover-scale-img { overflow: hidden; }
.hover-scale-img img { transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.hover-scale-img:hover img { transform: scale(1.05); }

/* ---------- Nav link underline ---------- */
.nav-link { position: relative; }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after { width: 80%; }

/* ---------- Bouton or (CTA) ---------- */
.btn-gold {
    background: linear-gradient(135deg, #D4AF37, #B8960C);
    position: relative;
    z-index: 1;
    overflow: hidden;
    color: #1A1A1A !important;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #E8D48B, #D4AF37);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-gold:hover::before { opacity: 1; }

/* ---------- Animations ---------- */
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.animate-pulse-wa { animation: pulse-whatsapp 2s infinite; }

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.animate-bounce-slow { animation: bounce-slow 2.5s infinite ease-in-out; }

/* ---------- Utilitaires ---------- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.carousel-container { cursor: grab; }
.carousel-container:active { cursor: grabbing; }

.arch-shape {
    border-top-left-radius: 999px;
    border-top-right-radius: 999px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
