/* fonts.css se încarcă din base.html cu <link>, în paralel cu acest fișier.
   Ca @import aici, browserul trebuia să aducă întâi main.css, să-l parseze și
   abia apoi să ceară fonts.css — un tur suplimentar pe calea critică. */

:root {
    --color-navy: #0f1b60;
    --color-lime: #aecd76;
    --color-orange: #ef9830;
    /* Portocaliul de brand doar ca TEXT pe fundal deschis: #ef9830 dă 2,23:1,
       sub pragul AA. Varianta închisă dă 4,62:1. NU înlocuiește --color-orange
       (fundaluri, borduri, accente) — se folosește exclusiv pentru text mic. */
    --color-orange-text: #b45b09;
    --color-pink: #ffa5ab;
    --color-yellow: #f9de6b;
    --color-cream: #f0e4d7;
    --color-white: #fffcf8;
    --color-brown: #6e4e4b;
    --color-beige: #d19f90;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Brandon Grotesque', sans-serif;
}

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

img {
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--color-white);
    color: var(--color-navy);
    line-height: 1.6;
}

/* Focus vizibil pe tot ce e interactiv. :focus-visible, nu :focus, ca inelul
   să apară la navigarea cu tastatura și nu la click cu mouse-ul. Navy pe fundal
   deschis dă 15,25:1; pe headerul navy trece pe crem (12,3:1), altfel inelul
   s-ar pierde în fundal. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--color-navy);
    outline-offset: 2px;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.nav-drawer :focus-visible {
    outline-color: var(--color-cream);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Header --- */
.site-header {
    background: var(--color-navy);
    padding: 0;
    height: 64px;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}
.logo { display: block; height: 96px; width: auto; }
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}
/* min-height 44px = ținta minimă de atingere (era ~23px, doar înălțimea
   textului). Headerul are 64px și centrează, deci nu se schimbă nimic vizual. */
.main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}
.main-nav a:hover { color: var(--color-lime); }

/* Header transparent pe landing */
.page-landing .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 27, 96, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.page-landing .site-header.is-solid {
    background: rgba(15, 27, 96, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 8px;
    cursor: pointer;
    z-index: 201;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--color-white);
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Language switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 2rem;
}
/* Idem: era ~28px după trecerea de la formular la linkuri <a> (LOT 2). */
.lang-btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    background: none;
    border: none;
    color: var(--color-cream);
    font-family: var(--font-body);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    letter-spacing: 0.05em;
    text-decoration: none;
}
.lang-btn:hover { color: var(--color-lime); }
.lang-active {
    color: var(--color-white);
    font-weight: 700;
}
.lang-separator {
    color: var(--color-cream);
    opacity: 0.5;
    font-size: 0.8rem;
}

/* Nav drawer — desktop */
@media (min-width: 769px) {
    .nav-drawer { display: flex; align-items: center; gap: 2rem; }
}

/* Nav drawer — mobile */
@media (max-width: 768px) {
    .site-header { padding: 0; height: 72px; }
    .logo-link { align-self: center; }
    .nav-toggle { align-self: center; }
    .nav-toggle { display: flex; }
    .nav-drawer {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80vw;
        max-width: 360px;
        height: 100vh;
        background: var(--color-navy);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        transition: right 0.35s ease;
        z-index: 200;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }
    .nav-drawer.is-open { right: 0; }
    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    .main-nav a {
        font-size: 1.5rem;
        font-family: var(--font-display);
        letter-spacing: 0.05em;
    }
    .lang-switcher { margin: 2rem 0 0 0; }
    .header-inner { flex-wrap: wrap; }
}

/* --- Footer --- */
.site-footer {
    background: var(--color-navy);
    color: var(--color-cream);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-col-title {
    color: var(--color-lime);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}
.footer-col-title + p { margin-top: 0; }
.site-footer p { margin-bottom: 0.5rem; line-height: 1.6; }
/* Orarul are 4 rânduri — fără asta coloana footer-ului se lungește inutil. */
.site-footer .footer-orar { margin-bottom: 0.1rem; }
.footer-intrare { font-size: 0.85rem; opacity: 0.85; }
.footer-link {
    color: var(--color-cream);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.footer-link:hover { border-color: var(--color-lime); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* --- Butoane --- */
/* Text navy pe portocaliu: 6,84:1 (alb dădea 2,23:1, sub pragul AA de 4,5:1).
   Portocaliul de brand rămâne neschimbat. */
.btn-primary {
    display: inline-block;
    background: var(--color-orange);
    color: var(--color-navy);
    font-family: var(--font-body);
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: background 0.2s;
}
/* La hover fundalul devine navy, deci textul trebuie să revină pe alb —
   navy pe navy ar fi invizibil. Alb pe navy: 15,25:1. */
.btn-primary:hover { background: var(--color-navy); color: var(--color-white); }

.btn-lime {
    display: inline-block;
    background: var(--color-lime);
    color: var(--color-navy);
    font-family: var(--font-body);
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: background 0.2s, color 0.2s;
}
.btn-lime:hover { background: var(--color-white); color: var(--color-navy); }

/* --- Hero Landing --- */
.hero-landing {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.hero-landing-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(15, 27, 96, 0) 0%,
        rgba(15, 27, 96, 0) 40%,
        rgba(15, 27, 96, 0.7) 70%,
        rgba(15, 27, 96, 0.92) 100%);
}

.hero-landing-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 1.5rem 1rem;
}

/* Pastila navy = scrim local sub text. Lime direct pe fotografie dădea 1,78:1
   peste zonele albe ale pozei; pe navy 85% dă 5,67:1, garantat indiferent ce
   se vede în spate. Gradientul hero-ului rămâne neatins. */
.hero-landing-kicker {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-lime);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    background: rgba(15, 27, 96, 0.85);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
}

.hero-landing-title {
    font-size: 4.5rem;
    line-height: 1;
    color: var(--color-white);
    letter-spacing: 0.06em;
    margin-bottom: 1.5rem;
}

.hero-landing-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--color-cream);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* --- Strip credibilitate --- */
.strip-credibility {
    background: var(--color-lime);
    padding: 1.25rem 0;
}
.strip-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    color: var(--color-navy);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

/* --- Teaser meniu --- */
.meniu-teaser {
    padding: 4rem 0;
}
.section-head { text-align: center; margin-bottom: 3rem; }
.section-kicker {
    display: inline-block;
    color: var(--color-orange-text);   /* 4,62:1; păstrează accentul portocaliu
                                          distinct de titlul navy de dedesubt */
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: 2.5rem;
    color: var(--color-navy);
}
.meniu-teaser-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.meniu-teaser-card {
    text-decoration: none;
    color: var(--color-navy);
    transition: transform 0.25s ease;
}
.meniu-teaser-card:hover { transform: translateY(-4px); }
/* Pozele vin acum din vitrină, ca pe /retete/: cornete nobkg, înalte de 800px
   și cu lățime variabilă. `cover` le-ar tăia vârful și baza, iar transparența
   ar lăsa cardul fără fundal — deci `contain` pe crem, identic cu .meniu-card-img. */
.meniu-teaser-img {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    background-color: var(--color-cream);
}
.meniu-teaser-img img {
    width: 100%; height: 100%; object-fit: contain;
    transition: transform 0.4s ease;
}
.meniu-teaser-card:hover .meniu-teaser-img img { transform: scale(1.05); }
.badge-special-mini {
    position: absolute;
    top: 0.5rem; right: 0.5rem;
    background: var(--color-orange);
    color: var(--color-navy);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.meniu-teaser-name {
    font-size: 1.3rem;
    text-align: center;
}
.meniu-teaser-cta { text-align: center; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .meniu-teaser-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-landing {
        min-height: 85vh;
        background-image: var(--hero-mobile) !important;
        background-position: top center;
    }
    .hero-landing-inner { padding: 0 1.5rem 0.5rem; }
    .hero-landing-title { font-size: 2.5rem; }
    .hero-landing-subtitle { font-size: 1rem; }
    .strip-list { gap: 1rem; font-size: 0.8rem; }
    .section-title { font-size: 1.8rem; }
    .footer-cols { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
}

@media (max-width: 480px) {
    .meniu-teaser-grid { grid-template-columns: 1fr; }
}
