/* ============================================================
   THEME ENOKOKE — Menu Digital Bistronomie Caribéenne
   Restaurant : ENOKOKE, Baie-Mahault, Guadeloupe
   Direction artistique : Marie
   Intégration : Emma
   Issue : #159
   ============================================================ */

/* ─── VARIABLES ─────────────────────────────────────────────── */
:root {
    /* Palette principale */
    --eno-bordeaux:     #8B1538;
    --eno-bordeaux-dark:#6B0F2A;
    --eno-turquoise:    #6B8E8E;
    --eno-turquoise-lt: #8AABAB;
    --eno-noir:         #1A1A1A;
    --eno-blanc:        #FFFFFF;
    --eno-creme:        #F8F5F0;
    --eno-gris-clair:   #F2EFEA;
    --eno-gris:         #4A4A4A;
    --eno-or:           #C9A84C;

    /* Typographie */
    --eno-font-serif:   'Cormorant Garamond', Georgia, serif;
    --eno-font-sans:    'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --eno-font-body:    'Open Sans', 'Segoe UI', Tahoma, sans-serif;
    --eno-font-script:  'Pacifico', cursive;

    /* Tailles */
    --eno-fs-h1:        clamp(2rem, 6vw, 3.5rem);
    --eno-fs-h2:        clamp(1.4rem, 3.5vw, 2.2rem);
    --eno-fs-h3:        clamp(1.1rem, 2.5vw, 1.5rem);
    --eno-fs-tagline:   clamp(1rem, 2.5vw, 1.5rem);
    --eno-fs-dish:      1rem;
    --eno-fs-price:     1.05rem;
    --eno-fs-body:      0.9rem;

    /* Spacing */
    --eno-sp-xs:  0.5rem;
    --eno-sp-sm:  1rem;
    --eno-sp-md:  1.5rem;
    --eno-sp-lg:  3rem;
    --eno-sp-xl:  6rem;

    /* Misc */
    --eno-radius:       0.5rem;
    --eno-radius-lg:    1rem;
    --eno-shadow-sm:    0 2px 8px rgba(26,26,26,0.10);
    --eno-shadow-md:    0 4px 16px rgba(26,26,26,0.15);
    --eno-shadow-lg:    0 6px 24px rgba(139,21,56,0.20);
    --eno-transition:   0.3s ease;
    --eno-border:       1px solid rgba(107,142,142,0.3);
}

/* ─── RESET / BASE ───────────────────────────────────────────── */
.theme-enokoke {
    font-family: var(--eno-font-body);
    color: var(--eno-noir);
    background-color: var(--eno-creme);
    -webkit-font-smoothing: antialiased;
}

.theme-enokoke *,
.theme-enokoke *::before,
.theme-enokoke *::after {
    box-sizing: border-box;
}

.theme-enokoke a {
    color: var(--eno-bordeaux);
    text-decoration: none;
}

.theme-enokoke a:hover { text-decoration: underline; }

/* ─── HERO ───────────────────────────────────────────────────── */
.eno-hero {
    position: relative;
    min-height: min(70vh, 520px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--eno-noir);
}

.eno-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    transition: opacity 0.8s ease;
}

.eno-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(26,26,26,0.7) 0%,
        rgba(139,21,56,0.3) 60%,
        rgba(107,142,142,0.2) 100%
    );
}

.eno-hero__content {
    position: relative;
    z-index: 2;
    padding: var(--eno-sp-lg) var(--eno-sp-md);
    max-width: 700px;
}

.eno-hero__badge {
    display: inline-block;
    font-family: var(--eno-font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--eno-or);
    border: 1px solid var(--eno-or);
    padding: 0.25rem 0.9rem;
    border-radius: 2rem;
    margin-bottom: var(--eno-sp-md);
}

.eno-hero__title {
    font-family: var(--eno-font-serif);
    font-size: var(--eno-fs-h1);
    font-weight: 700;
    color: var(--eno-blanc);
    line-height: 1.1;
    margin: 0 0 var(--eno-sp-sm);
    letter-spacing: 0.05em;
}

.eno-hero__tagline {
    font-family: var(--eno-font-script);
    font-size: var(--eno-fs-tagline);
    color: var(--eno-turquoise-lt);
    margin: 0 0 var(--eno-sp-sm);
}

.eno-hero__subtitle {
    font-family: var(--eno-font-body);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

.eno-hero__border-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--eno-bordeaux), var(--eno-turquoise), var(--eno-bordeaux));
}

/* ─── CONTAINER PRINCIPAL ─────────────────────────────────────── */
.eno-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--eno-sp-sm);
}

/* ─── SECTIONS ────────────────────────────────────────────────── */
.eno-section {
    padding: var(--eno-sp-lg) 0;
}

.eno-section__header {
    display: flex;
    align-items: center;
    gap: var(--eno-sp-md);
    margin-bottom: var(--eno-sp-lg);
}

.eno-section__title {
    font-family: var(--eno-font-serif);
    font-size: var(--eno-fs-h2);
    font-weight: 700;
    color: var(--eno-bordeaux);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 0;
}

.eno-section__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--eno-turquoise), transparent);
    opacity: 0.5;
}

.eno-section__intro,
.eno-section__outro {
    font-family: var(--eno-font-body);
    font-size: var(--eno-fs-body);
    color: var(--eno-gris);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: var(--eno-sp-sm);
}

/* ─── TABS WRAPPER ────────────────────────────────────────────── */
.eno-tabs-content {}

/* ─── DISHES ──────────────────────────────────────────────────── */
.eno-dishes {
    display: grid;
    gap: var(--eno-sp-sm);
}

/* Override composant plat - style Enokoke */
.theme-enokoke .dish-card-grid {
    background: var(--eno-blanc);
    border: 1px solid var(--eno-turquoise);
    border-radius: var(--eno-radius);
    box-shadow: var(--eno-shadow-sm);
    transition: transform var(--eno-transition), box-shadow var(--eno-transition), border-color var(--eno-transition);
    overflow: hidden;
}

.theme-enokoke .dish-card-grid:hover {
    transform: translateY(-3px);
    box-shadow: var(--eno-shadow-lg);
    border-color: var(--eno-bordeaux);
}

.theme-enokoke .dish-card-grid__name {
    font-family: var(--eno-font-sans);
    font-weight: 500;
    color: var(--eno-noir);
}

.theme-enokoke .dish-card-grid__price {
    font-family: var(--eno-font-sans);
    font-weight: 600;
    color: var(--eno-bordeaux);
}

.theme-enokoke .dish-card-grid__description {
    font-family: var(--eno-font-body);
    color: var(--eno-gris);
    font-size: 0.875rem;
}

/* Classic dish layout override */
.theme-enokoke .dish-classic {
    border-bottom: var(--eno-border);
    padding: var(--eno-sp-sm) 0;
}

.theme-enokoke .dish-classic__name {
    font-family: var(--eno-font-sans);
    font-weight: 500;
}

.theme-enokoke .dish-classic__price {
    font-family: var(--eno-font-sans);
    color: var(--eno-bordeaux);
    font-weight: 600;
}

/* ─── WISHLIST ────────────────────────────────────────────────── */
.eno-wishlist {
    padding: var(--eno-sp-lg) 0;
}

.eno-empty-wishlist {
    font-family: var(--eno-font-body);
    color: var(--eno-gris);
    font-style: italic;
    text-align: center;
    padding: var(--eno-sp-xl) 0;
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
.eno-footer {
    background: var(--eno-noir);
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: var(--eno-sp-lg) var(--eno-sp-md);
    font-family: var(--eno-font-body);
    font-size: 0.8rem;
}

.eno-footer__ornament {
    color: var(--eno-turquoise);
    font-size: 1.2rem;
    margin-bottom: var(--eno-sp-sm);
}

.eno-footer__name {
    font-family: var(--eno-font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--eno-blanc);
    letter-spacing: 0.08em;
    margin: 0 0 var(--eno-sp-xs);
}

.eno-footer__address,
.eno-footer__phone,
.eno-footer__tagline {
    margin: 0 0 var(--eno-sp-xs);
    line-height: 1.5;
}

.eno-footer__tagline {
    font-style: italic;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
}

/* ─── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes eno-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.eno-section { animation: eno-fade-in 0.4s ease both; }

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (min-width: 640px) {
    .eno-dishes { grid-template-columns: repeat(2, 1fr); }
    .eno-container { padding: 0 var(--eno-sp-md); }
}

@media (min-width: 1024px) {
    .eno-dishes { grid-template-columns: repeat(2, 1fr); }
    .eno-container { max-width: 960px; padding: 0 var(--eno-sp-lg); }
}

/* ─── OVERRIDE BOTTOM NAV ─────────────────────────────────────── */
.theme-enokoke .bottom-navigation {
    border-top: 2px solid var(--eno-bordeaux);
}

.theme-enokoke .bottom-nav-tab.active,
.theme-enokoke .bottom-nav-tab:hover {
    color: var(--eno-bordeaux);
}

/* ─── OVERRIDE NAVBAR ─────────────────────────────────────────── */
.theme-enokoke .navbar,
.theme-enokoke .menu-navbar {
    background: var(--eno-blanc);
    border-bottom: 2px solid var(--eno-bordeaux);
}
