/* ============================================================
   EVDE SOKAK LEZZETLERİ — Ana Stil Dosyası
   Tema: Sıcak İstanbul sokakları · taş duvar · bakır tencere
   ============================================================ */

/* ---------- CSS Değişkenler ---------- */
:root {
    --c-cream: #FAF6EF;
    --c-sand: #F0E9DD;
    --c-stone: #E3D9C6;
    --c-clay: #C8B99A;
    --c-bark: #2E2419;
    --c-bark-lt: #3D3328;
    --c-terra: #B5452A;
    --c-terra-dk: #943721;
    --c-copper: #C47834;
    --c-spice: #D4853A;
    --c-txt: #33291E;
    --c-txt-sec: #736756;
    --c-white: #FFFCF7;
    --shadow-sm: 0 1px 3px rgba(46,36,25,.08);
    --shadow-md: 0 4px 16px rgba(46,36,25,.1);
    --shadow-lg: 0 8px 30px rgba(46,36,25,.12);
    --r-xs: 4px;
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --max-w: 1140px;
    --ease: .25s ease;
}

/* ---------- Reset ---------- */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100% }
img { max-width:100%; height:auto; display:block }
ul,ol { list-style:none }
a { color:inherit; text-decoration:none }
button,input,textarea,select { font:inherit; color:inherit; border:none; background:none }
button { cursor:pointer }

/* ---------- Base ---------- */
body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--c-txt);
    background: var(--c-cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex:1 }

h1,h2,h3,h4 { color: var(--c-bark); line-height: 1.3; font-weight: 700 }
h1 { font-size: clamp(1.65rem, 3.5vw, 2.4rem); margin-bottom: .5rem }
h2 { font-size: clamp(1.3rem, 2.8vw, 1.75rem); margin-bottom: .5rem }
h3 { font-size: clamp(1.05rem, 2.2vw, 1.3rem); margin-bottom: .4rem }
p + p { margin-top: .75rem }

/* ---------- Utilities ---------- */
.container { width: 92%; max-width: var(--max-w); margin: 0 auto }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0 }

/* ---------- Skip Link ---------- */
.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: var(--c-terra); color: #fff;
    padding: .5rem 1rem; border-radius: var(--r-xs);
    z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 1rem }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: var(--c-bark);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: .65rem 0;
}

/* logo */
.site-logo a {
    display: flex; flex-direction: column;
    color: var(--c-cream); font-weight: 700;
    font-size: 1.2rem; line-height: 1.2;
    letter-spacing: .3px;
}
.site-logo .tagline {
    font-size: .68rem; font-weight: 400;
    color: var(--c-clay); letter-spacing: .4px;
}

/* nav */
.main-nav { display: flex; align-items: center }
.nav-links { display: flex; gap: .15rem; align-items: center }
.nav-links > li { position: relative }
.nav-links > li > a,
.nav-links > li > button {
    display: block; padding: .5rem .8rem;
    color: var(--c-sand); font-size: .9rem; font-weight: 500;
    border-radius: var(--r-xs);
    transition: background var(--ease), color var(--ease);
}
.nav-links > li > a:hover,
.nav-links > li > a:focus,
.nav-links > li > button:hover,
.nav-links > li > button:focus,
.nav-links > li > a.active,
.dropdown.dropdown-active > .dropdown-toggle {
    background: var(--c-bark-lt); color: var(--c-spice);
}

/* dropdown */
.dropdown-toggle {
    display: inline-flex; align-items: baseline;
}
.dropdown-toggle::after {
    content: '';
    display: inline-block;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: .4rem;
    position: relative;
    top: -1px;
    transition: transform var(--ease);
}
.dropdown.open .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* scroll lock when mobile menu open */
body.menu-open { overflow: hidden }

.dropdown-menu {
    position: absolute; top: 100%; left: 0;
    min-width: 200px; padding: .35rem 0;
    background: var(--c-bark);
    border: 1px solid var(--c-bark-lt);
    border-radius: var(--r-sm);
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    opacity: 0; visibility: hidden;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 110;
}

/* desktop: hover open with delay on leave */
@media (hover: hover) and (min-width: 1025px) {
    .dropdown { padding-bottom: 4px; margin-bottom: -4px }
    .dropdown-menu {
        top: 100%;
        transition: opacity .15s ease .12s, transform .15s ease .12s, visibility .15s ease .12s;
    }
    .dropdown:hover > .dropdown-menu {
        opacity: 1; visibility: visible; transform: translateY(0);
        transition-delay: 0s;
    }
}

/* mobile/touch: click open via .open class */
.dropdown.open .dropdown-menu { opacity:1; visibility:visible; transform:translateY(0) }

.dropdown-menu a {
    display: block; padding: .5rem 1rem;
    font-size: .87rem; color: var(--c-sand);
    transition: background var(--ease), color var(--ease);
}
.dropdown-menu a:hover,
.dropdown-menu a:focus {
    background: var(--c-bark-lt); color: var(--c-spice);
}

/* nav close button (mobile only) */
.nav-close-btn { display: none }

/* mobile hamburger */
.mobile-menu-btn {
    display: none; flex-direction: column; gap: 5px;
    padding: .5rem;
}
.mobile-menu-btn span {
    display: block; width: 22px; height: 2px;
    background: var(--c-cream); border-radius: 2px;
    transition: transform var(--ease), opacity var(--ease);
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px) }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0 }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px) }

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 400px;
    display: flex; align-items: center; justify-content: center;
    background: var(--c-bark) center / cover no-repeat;
    color: var(--c-cream); text-align: center;
    overflow: hidden;
}
.hero-section::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(46,36,25,.4) 0%, rgba(46,36,25,.72) 100%);
}
.hero-overlay {
    position: relative; z-index: 1;
    padding: 2.5rem 1.5rem; max-width: 700px;
}
.hero-overlay h1 { color: #fff }
.hero-subtitle {
    font-size: 1.05rem; opacity: .88; margin-top: .2rem;
    color: var(--c-sand);
}

.page-hero {
    position: relative;
    background: var(--c-bark) center / cover no-repeat;
    color: var(--c-cream); text-align: center;
    padding: 3rem 1rem 2.5rem;
    overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(46,36,25,.45) 0%, rgba(46,36,25,.78) 100%);
}
.page-hero .hero-overlay {
    max-width: 700px; margin: 0 auto;
    position: relative; z-index: 1;
}
.page-hero .hero-overlay h1 { color: #fff }

/* ---------- Breadcrumbs ---------- */
.breadcrumb-nav { padding: .75rem 0; font-size: .84rem }
.breadcrumb-list { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center }
.breadcrumb-item { color: var(--c-txt-sec) }
.breadcrumb-link { color: var(--c-terra); transition: color var(--ease) }
.breadcrumb-link:hover { color: var(--c-terra-dk); text-decoration: underline }
.breadcrumb-separator { margin: 0 .1rem; color: var(--c-clay) }

/* ============================================================
   CONTENT
   ============================================================ */
.content-section { padding: 1.75rem 0 }
.content-section p { max-width: 72ch }
.recipe-article, .guide-article { padding-bottom: 1.5rem }

/* intro text at top of pages */
.recipe-intro { text-align: center }
.recipe-intro p { margin-left: auto; margin-right: auto }

/* prose text styling for about/guide pages */
.guide-article > .content-section > p {
    font-size: 1.01rem;
    line-height: 1.85;
    color: var(--c-txt);
}

/* recipe meta bar */
.recipe-meta {
    display: flex; flex-wrap: wrap; gap: 1.75rem;
    padding: 1.1rem 1.4rem;
    background: var(--c-sand);
    border-radius: var(--r-md);
    border: 1px solid var(--c-stone);
    margin-bottom: .75rem;
}
.meta-item { display: flex; flex-direction: column }
.meta-label {
    font-size: .72rem; text-transform: uppercase;
    letter-spacing: .6px; color: var(--c-txt-sec); font-weight: 600;
}
.meta-value { font-size: 1.15rem; font-weight: 700; color: var(--c-bark) }

/* ---------- Menu Panel ---------- */
.menu-panel {
    background: var(--c-white);
    border: 1px solid var(--c-stone);
    border-radius: var(--r-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

/* ---------- Ingredients ---------- */
.ingredients-card { margin-bottom: .75rem }
.ingredients-list { columns: 2; column-gap: 2rem }
.ingredients-list li {
    padding: .4rem 0 .4rem 1.3rem;
    position: relative;
    break-inside: avoid;
    border-bottom: 1px dashed var(--c-stone);
    font-size: .94rem;
}
.ingredients-list li::before {
    content: ''; position: absolute; left: 2px; top: 50%; transform: translateY(-50%);
    width: 7px; height: 7px;
    background: var(--c-terra); border-radius: 50%;
}

/* ---------- Steps ---------- */
.steps-list { counter-reset: step }
.steps-list li {
    counter-increment: step;
    display: flex; gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--c-stone);
}
.steps-list li:last-child { border-bottom: none }
.steps-list li::before {
    content: counter(step);
    flex-shrink: 0;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: var(--c-terra); color: #fff;
    border-radius: 50%; font-weight: 700; font-size: .95rem;
}
.step-content h3 { margin-bottom: .2rem }
.step-content p { color: var(--c-txt) }

/* ---------- Tip & Allergen Boxes ---------- */
.tip-box {
    background: #FEF8F0;
    border-left: 4px solid var(--c-copper);
    border-radius: var(--r-sm);
    padding: 1.15rem 1.4rem;
    margin: 1.5rem 0;
}
.tip-box h3 { color: var(--c-copper); font-size: .95rem; margin-bottom: .35rem }

.allergen-note {
    background: #FDF4F3;
    border-left: 4px solid var(--c-terra);
    border-radius: var(--r-sm);
    padding: 1.15rem 1.4rem;
    margin: 1.5rem 0;
}
.allergen-note h3 { color: var(--c-terra); font-size: .95rem; margin-bottom: .35rem }

.info-box {
    background: var(--c-sand);
    border-left: 4px solid var(--c-clay);
    border-radius: var(--r-sm);
    padding: 1.15rem 1.4rem;
    margin: 1.5rem 0;
}

/* ---------- Category Badges ---------- */
.category-badge {
    display: inline-block;
    padding: .2rem .7rem;
    border-radius: 3px;
    font-size: .7rem; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: .6rem;
}
.badge-hamur    { background: var(--c-copper); color: #fff }
.badge-et-sebze { background: #5E7D52; color: #fff }
.badge-sos-icecek { background: var(--c-terra); color: #fff }
.badge-rehber   { background: #4D6A80; color: #fff }

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

/* dish card */
.dish-card {
    background: var(--c-white);
    border: 1px solid var(--c-stone);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: transform var(--ease), box-shadow var(--ease);
}
.dish-card:hover,
.dish-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.dish-card img {
    width: 100%; height: 195px; object-fit: cover;
}
.dish-card-body { padding: 1rem 1.15rem 1.15rem }
.dish-card-body h3 { font-size: 1.05rem; margin-bottom: .3rem; color: var(--c-bark) }
.dish-card-body p { font-size: .86rem; color: var(--c-txt-sec); line-height: 1.55 }

/* category card */
.category-card {
    background: var(--c-bark);
    color: var(--c-cream);
    border-radius: var(--r-md);
    padding: 1.6rem 1.2rem;
    text-align: center;
    transition: transform var(--ease), box-shadow var(--ease);
    border: 1px solid var(--c-bark-lt);
}
.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.category-card .cat-icon { font-size: 2rem; margin-bottom: .5rem; display: block }
.category-card h3 { font-size: 1.02rem; margin-bottom: .3rem; color: var(--c-cream) }
.category-card p { font-size: .82rem; color: var(--c-clay) }

/* ---------- Related Content ---------- */
.related-content {
    padding: 2.5rem 0 2rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--c-stone);
}
.related-content h2 { margin-bottom: 1.1rem }
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}
.related-card {
    display: block;
    background: var(--c-white);
    border: 1px solid var(--c-stone);
    border-radius: var(--r-sm);
    padding: 1rem 1.1rem;
    transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.related-card img {
    width: 100%; height: 130px; object-fit: cover;
    border-radius: var(--r-xs); margin-bottom: .65rem;
}
.related-card:hover {
    border-color: var(--c-terra); transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.related-card h3 { font-size: .95rem; margin-bottom: .2rem; color: var(--c-terra) }
.related-card p { font-size: .84rem; color: var(--c-txt-sec) }

/* ============================================================
   HOME PAGE
   ============================================================ */
.home-intro {
    text-align: center; padding: 3rem 0 1.5rem;
    max-width: 680px; margin: 0 auto;
}
.home-intro h2 { margin-bottom: .4rem }

.categories-section { padding: 1.5rem 0 }
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
}

.featured-section { padding: 1.5rem 0 2.5rem }

.section-heading {
    display: block; margin-bottom: 1.3rem;
}
.section-heading h2 {
    display: inline-block;
    background: var(--c-bark); color: var(--c-cream);
    padding: .4rem 1.2rem;
    border-radius: var(--r-xs);
    font-size: 1.1rem; font-weight: 700;
}

/* tile divider */
.tile-divider {
    height: 1px; margin: 1.5rem 0;
    background: var(--c-stone);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.3fr;
    gap: 2.5rem; padding: 1.5rem 0 2rem;
}
.contact-info-card {
    background: var(--c-bark); color: var(--c-cream);
    padding: 1.75rem; border-radius: var(--r-md);
}
.contact-item {
    display: flex; flex-direction: column; gap: .1rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--c-bark-lt);
}
.contact-item:last-child { border-bottom: none }
.contact-icon { color: var(--c-spice) }
.contact-label {
    font-size: .72rem; color: var(--c-clay);
    text-transform: uppercase; letter-spacing: .5px;
}
.contact-value { font-size: .93rem }
.contact-value a { color: var(--c-spice) }
.contact-value a:hover { text-decoration: underline }

.contact-form-wrapper {
    background: var(--c-bark); color: var(--c-cream);
    padding: 1.75rem; border-radius: var(--r-md);
}
.contact-form { display: flex; flex-direction: column; gap: 1.15rem }
.form-group { display: flex; flex-direction: column; gap: .3rem }
.contact-form-wrapper .form-label { font-size: .87rem; font-weight: 600; color: var(--c-sand) }
.form-label { font-size: .87rem; font-weight: 600; color: var(--c-bark) }
.form-label .required { color: var(--c-terra); margin-left: .1rem }
.contact-form-wrapper .form-label .required { color: var(--c-spice) }
.form-input, .form-textarea {
    padding: .65rem .9rem;
    border: 1px solid var(--c-stone);
    border-radius: var(--r-sm);
    background: var(--c-white);
    font-size: .94rem;
    transition: border-color var(--ease), box-shadow var(--ease);
}
.contact-form-wrapper .form-input,
.contact-form-wrapper .form-textarea {
    background: var(--c-bark-lt); color: var(--c-cream);
    border-color: rgba(200,185,154,.2);
}
.contact-form-wrapper .form-input::placeholder,
.contact-form-wrapper .form-textarea::placeholder { color: var(--c-clay) }
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--c-terra);
    box-shadow: 0 0 0 3px rgba(181,69,42,.1);
}
.contact-form-wrapper .form-checkbox-group { color: var(--c-clay) }
.contact-form-wrapper .form-checkbox-group a { color: var(--c-spice); text-decoration: underline }
.contact-form-wrapper .form-submit { background: var(--c-spice) }
.contact-form-wrapper .form-submit:hover { background: var(--c-terra) }
.form-textarea { resize: vertical; min-height: 110px }

.form-checkbox-group {
    display: flex; align-items: flex-start; gap: .5rem;
    font-size: .87rem;
}
.form-checkbox-group input[type="checkbox"] {
    margin-top: .3rem; accent-color: var(--c-terra);
    width: 17px; height: 17px; flex-shrink: 0;
}

.form-submit {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .7rem 2rem;
    background: var(--c-terra); color: #fff;
    border: none; border-radius: var(--r-sm);
    font-weight: 700; font-size: .95rem;
    transition: background var(--ease), transform var(--ease);
    align-self: flex-start;
}
.form-submit:hover { background: var(--c-terra-dk); transform: translateY(-1px) }
.form-submit:active { transform: translateY(0) }
.form-submit:disabled { opacity: .5; cursor: not-allowed; transform: none }

.form-message {
    padding: .8rem 1rem; border-radius: var(--r-sm);
    font-size: .9rem; font-weight: 500; display: none;
}
.form-message.success { display:block; background:#EDF7ED; color:#2E6B2E; border:1px solid #B5D8B5 }
.form-message.error { display:block; background:#FDEDED; color:#922; border:1px solid #E8BCBC }
.hp-field { position:absolute; left:-9999px; opacity:0; height:0; width:0; overflow:hidden }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--c-bark); color: var(--c-cream);
    margin-top: auto;
}
.footer-inner { padding: 2.5rem 0 1.25rem }
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 2rem;
}
.footer-title {
    font-size: .88rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px;
    margin-bottom: .85rem; color: var(--c-spice);
}
.footer-desc { font-size: .86rem; color: var(--c-clay); line-height: 1.6 }
.footer-links { display: flex; flex-direction: column; gap: .35rem }
.footer-links a,
.footer-links span {
    font-size: .86rem; color: var(--c-clay);
    transition: color var(--ease);
}
.footer-links a:hover { color: var(--c-spice) }

.footer-bottom {
    border-top: 1px solid var(--c-bark-lt);
    margin-top: 1.75rem; padding-top: 1.1rem;
    display: flex; flex-wrap: wrap; justify-content: space-between;
    align-items: center; gap: .75rem;
    font-size: .8rem; color: var(--c-clay);
}
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap }
.footer-legal a { transition: color var(--ease) }
.footer-legal a:hover { color: var(--c-spice) }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--c-bark); color: var(--c-cream);
    border-top: 1px solid var(--c-bark-lt);
    z-index: 9000;
    box-shadow: 0 -4px 24px rgba(0,0,0,.25);
}
.cookie-inner { padding: 1.15rem 1.25rem; max-width: var(--max-w); margin: 0 auto }
.cookie-text { font-size: .86rem; margin-bottom: .85rem; color: var(--c-clay); line-height: 1.55 }
.cookie-text a { color: var(--c-spice); text-decoration: underline }
.cookie-buttons { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .4rem }
.cookie-btn {
    padding: .5rem 1.1rem;
    border-radius: var(--r-sm);
    font-size: .86rem; font-weight: 600;
    cursor: pointer; transition: opacity var(--ease), transform var(--ease);
    border: 1px solid transparent;
}
.cookie-btn:hover { transform: translateY(-1px) }
.cookie-btn:active { transform: translateY(0) }
.cookie-btn-accept { background: var(--c-terra); color: #fff }
.cookie-btn-reject { background: transparent; border-color: var(--c-clay); color: var(--c-clay) }
.cookie-btn-settings { background: transparent; border-color: var(--c-copper); color: var(--c-copper) }

.cookie-settings {
    max-height: 0; overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
}
.cookie-settings.open { max-height: 400px; padding-top: .85rem }
.cookie-toggle-group { padding: .45rem 0; border-bottom: 1px solid var(--c-bark-lt) }
.cookie-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem }
.cookie-toggle-label { font-size: .88rem; font-weight: 500 }
.cookie-toggle-desc { font-size: .76rem; color: var(--c-clay); margin-top: .1rem }
.cookie-toggle {
    position: relative; width: 42px; height: 22px; flex-shrink: 0;
}
.cookie-toggle input { opacity:0; width:0; height:0; position:absolute }
.cookie-toggle .slider {
    position: absolute; inset: 0;
    background: var(--c-bark-lt);
    border-radius: 11px; cursor: pointer;
    transition: background var(--ease);
}
.cookie-toggle .slider::before {
    content: ''; position: absolute;
    width: 16px; height: 16px; left: 3px; bottom: 3px;
    background: #fff; border-radius: 50%;
    transition: transform var(--ease);
}
.cookie-toggle input:checked + .slider { background: var(--c-terra) }
.cookie-toggle input:checked + .slider::before { transform: translateX(20px) }
.cookie-toggle input:disabled + .slider { opacity: .5; cursor: not-allowed }
.cookie-save-row { padding-top: .6rem }
.cookie-btn-save {
    padding: .45rem 1.3rem;
    background: var(--c-copper); color: #fff;
    border-radius: var(--r-sm); font-size: .84rem; font-weight: 600;
    cursor: pointer; transition: background var(--ease); border: none;
}
.cookie-btn-save:hover { background: var(--c-terra) }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content { padding: 1.5rem 0 2rem; max-width: 780px; margin: 0 auto }
.legal-content h2 { margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid var(--c-stone) }
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none }
.legal-content h3 { margin-top: 1.1rem }
.legal-content p,
.legal-content li { font-size: .94rem; line-height: 1.75 }
.legal-content ul, .legal-content ol { padding-left: 1.4rem; margin: .4rem 0 }
.legal-content ul { list-style: disc }
.legal-content ol { list-style: decimal }
.legal-content a { color: var(--c-terra); text-decoration: underline }
.legal-content a:hover { color: var(--c-terra-dk) }

/* ============================================================
   FOCUS & ACCESSIBILITY
   ============================================================ */
:focus-visible {
    outline: 2px solid var(--c-copper);
    outline-offset: 2px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px) }
    to   { opacity: 1; transform: translateY(0) }
}
.fade-up { animation: fadeUp .45s ease both }

@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---------- <= 1024 : tablet ---------- */
@media (max-width: 1024px) {
    .mobile-menu-btn { display: flex }
    .nav-close-btn {
        display: block;
        position: absolute; top: .75rem; right: .75rem;
        font-size: 1.7rem; line-height: 1;
        color: var(--c-clay); background: none; border: none;
        padding: .25rem .5rem; cursor: pointer;
        transition: color var(--ease);
    }
    .nav-close-btn:hover { color: var(--c-cream) }
    .main-nav {
        position: fixed; top: 0; right: -300px;
        width: 280px; height: 100vh;
        background: var(--c-bark);
        flex-direction: column; align-items: stretch;
        padding: 3.5rem 1.25rem 2rem;
        transition: right var(--ease);
        box-shadow: -4px 0 24px rgba(0,0,0,.35);
        overflow-y: auto; z-index: 105;
    }
    .main-nav.nav-active { right: 0 }
    .nav-links { flex-direction: column; gap: 0; width: 100% }
    .nav-links > li > a,
    .nav-links > li > button { padding: .65rem .5rem; font-size: .95rem }
    .dropdown-menu {
        position: static; opacity: 1; visibility: visible;
        transform: none; box-shadow: none; border: none;
        max-height: 0; overflow: hidden; transition: max-height .35s ease;
        padding-left: 1rem;
    }
    .dropdown.open .dropdown-menu { max-height: 500px }

    .card-grid { grid-template-columns: repeat(2, 1fr) }
    .categories-grid { grid-template-columns: repeat(2, 1fr) }
}

/* ---------- <= 768 : small tablet / large phone ---------- */
@media (max-width: 768px) {
    .hero-section { min-height: 300px }
    .page-hero { padding: 2.5rem 1rem 2rem }

    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem }
    .categories-grid { grid-template-columns: repeat(2, 1fr) }
    .related-grid { grid-template-columns: repeat(2, 1fr) }

    .contact-grid { grid-template-columns: 1fr; gap: 1.5rem }

    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem }
    .footer-bottom { flex-direction: column; text-align: center }

    .ingredients-list { columns: 1 }
    .recipe-meta { gap: 1rem }

    .home-intro { padding: 2rem 0 1.25rem }
}

/* ---------- <= 560 : phone ---------- */
@media (max-width: 560px) {
    .container { width: 94% }

    h1 { font-size: 1.5rem }
    h2 { font-size: 1.2rem }

    .hero-section { min-height: 250px }
    .hero-overlay { padding: 1.5rem 1rem }
    .page-hero { padding: 2rem .75rem 1.75rem }

    .card-grid { grid-template-columns: 1fr; gap: .85rem }
    .categories-grid { grid-template-columns: 1fr }
    .related-grid { grid-template-columns: 1fr }

    .dish-card img { height: 170px }

    .recipe-meta { flex-direction: column; gap: .6rem; padding: 1rem }

    .steps-list li { gap: .75rem; padding: 1rem 0 }
    .steps-list li::before { width: 32px; height: 32px; font-size: .85rem }

    .content-section { padding: 1.25rem 0 }

    .contact-grid { gap: 1.25rem; padding: 1rem 0 }
    .contact-info-card { padding: 1.25rem }

    .cookie-buttons { flex-direction: column }
    .cookie-btn { text-align: center; width: 100% }
}

/* ---------- <= 380 : very small phone ---------- */
@media (max-width: 380px) {
    .container { width: 96% }
    .header-inner { padding: .5rem 0 }
    .site-logo a { font-size: 1.05rem }
    .hero-section { min-height: 200px }

    .form-submit { width: 100%; justify-content: center }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .site-header, .site-footer, #cookie-banner,
    .skip-link, .breadcrumb-nav, .related-content { display: none }
    body { background: #fff; color: #000; font-size: 11pt }
    a { color: #000; text-decoration: underline }
    .hero-section, .page-hero { background: #eee; color: #000; min-height: auto; padding: 1rem }
    .hero-section::before, .page-hero::before { display: none }
}
