/* =========================================================
   Dadlı Restoran — main stylesheet
   COLORS: change a color here and it changes everywhere.
   ========================================================= */
:root {
  --bg: #131110;        /* page background */
  --surface: #1F1A16;   /* header, footer, cards */
  --surface-2: #2A231D; /* inputs, hover */
  --line: #3A322B;      /* borders */
  --text: #F5EFE6;      /* main text */
  --muted: #A89F94;     /* small text, descriptions */
  --primary: #E2502E;   /* orange: buttons, highlights */
  --primary-dark: #B8401F;
  --gold: #C9A15B;      /* prices, labels, details */
  --radius: 12px;
  --serif: "Noto Serif Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: var(--primary); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--alt { background: var(--surface); }
.eyebrow { display: inline-block; color: var(--gold); font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); transition: background .2s, color .2s, border-color .2s; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); color: #fff; }
.btn--ghost { border-color: var(--gold); color: var(--text); background: transparent; }
.btn--ghost:hover { background: var(--gold); color: var(--bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.icon { width: 20px; height: 20px; flex: none; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(31, 26, 22, .97); border-bottom: 1px solid rgba(201, 161, 91, .22); }
.header__in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--primary); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { color: var(--text); text-decoration: none; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.burger { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; width: 48px; height: 48px; cursor: pointer; }
.mobile-nav { display: none; }
@media (max-width: 1180px) { .header__phone { display: none; } }
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .header .btn { min-height: 44px; padding: 10px 16px; }
  .mobile-nav { background: var(--surface); border-bottom: 1px solid var(--line); }
  .mobile-nav.is-open { display: block; }
  .mobile-nav a { display: block; padding: 14px 20px; color: var(--text); text-decoration: none; border-top: 1px solid var(--line); font-size: 1.05rem; }
  .logo img { height: 38px; }
}
@media (max-width: 420px) { .header .btn--primary { display: none; } }

/* Bottom bar (phones) */
.bottombar { display: none; }
@media (max-width: 960px) {
  .bottombar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--line); }
  .bottombar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; color: var(--text); text-decoration: none; font-size: .78rem; font-weight: 600; }
  .bottombar a:nth-child(2) { color: var(--primary); }
  body { padding-bottom: 66px; }
}

/* Breadcrumbs */
.crumbs { padding-top: 18px; font-size: .88rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.arch { position: relative; max-width: 460px; margin-left: auto; }
.arch::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 240px 240px 14px 14px; background: repeating-linear-gradient(90deg, var(--primary) 0 9px, var(--primary-dark) 9px 11px); z-index: 0; }
.arch img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 240px 240px 14px 14px; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .arch { margin: 0 auto; max-width: 340px; }
}

/* Info strip + amenities */
.strip { border-top: 1px solid rgba(201, 161, 91, .22); border-bottom: 1px solid rgba(201, 161, 91, .22); }
.strip__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; padding: 26px 0; }
.strip__label { display: block; color: var(--gold); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.strip a { color: var(--text); text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .92rem; }
.chips .icon { color: var(--gold); width: 18px; height: 18px; }

/* Cards and grids */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.section--alt .card { background: var(--bg); }
.card__img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card h3 { margin: 0; }
.price { color: var(--gold); font-weight: 600; white-space: nowrap; }
.topic { text-decoration: none; color: var(--text); padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 6px; transition: border-color .2s, transform .2s; background: var(--surface); }
.topic:hover { border-color: var(--primary); color: var(--text); transform: translateY(-2px); }
.topic h3 { margin: 0; }
.topic span { color: var(--muted); font-size: .95rem; }
.topic b { color: var(--primary); font-weight: 600; font-size: .92rem; margin-top: 6px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.head-row h2 { margin: 0; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.points li { padding-left: 22px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); }
.points b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; }

/* Article (topic + about pages) */
.article { max-width: 760px; }
.article h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 1.6em; }
.article .figure { margin: 28px 0; border-radius: var(--radius); overflow: hidden; }
.article .figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }

/* Menu page */
.menu-index { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 8px; }
.menu-index a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-size: .9rem; }
.menu-index a:hover { border-color: var(--primary); color: var(--primary); }
.menu-cat { padding-top: 48px; padding-bottom: 8px; }
.menu-cat__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 1px solid rgba(201, 161, 91, .3); padding-bottom: 12px; margin-bottom: 8px; }
.menu-cat__head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.menu-cat__head a { font-size: .92rem; text-decoration: none; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); column-gap: 48px; }
@media (max-width: 520px) { .menu-list { grid-template-columns: 1fr; } }
.menu-item { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.menu-item__row { display: flex; align-items: baseline; gap: 10px; }
.menu-item__name { font-weight: 600; }
.menu-item__dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); min-width: 20px; }
.menu-item__desc { color: var(--muted); font-size: .92rem; margin: 4px 0 0; }

/* Booking form */
.booking { background: var(--surface); border: 1px solid rgba(201, 161, 91, .25); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.section--alt .booking { background: var(--bg); }
@media (max-width: 600px) { .booking { grid-template-columns: 1fr; padding: 22px; } }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; color: var(--muted); }
.field--full { grid-column: 1 / -1; }
.field input, .field select { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; color: var(--text); padding: 12px 14px; font-size: 16px; font-family: var(--sans); min-height: 48px; width: 100%; }
.field input:focus, .field select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--primary); }
.field .req { color: var(--primary); }
.error { color: #FF8A70; font-size: .85rem; min-height: 0; }
.booking__note { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); margin: 0; }
.booking .btn { grid-column: 1 / -1; }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.8); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; }
.gallery img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); }
.lightbox::backdrop { background: rgba(0, 0, 0, .88); }
.lightbox img { border-radius: 10px; max-height: 86vh; width: auto; margin: 0 auto; }
.lightbox button { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--surface); color: var(--text); font-size: 26px; cursor: pointer; }

/* Contact */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.info-card { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.info-card h2 { font-size: 1.3rem; margin-bottom: .4em; }
.info-card a { color: var(--text); }
.map { width: 100%; height: 420px; border: 0; border-radius: var(--radius); margin-top: 28px; filter: grayscale(.3) contrast(1.05); }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; padding-left: 48px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; }

/* Footer */
.footer { background: var(--surface); border-top: 1px solid rgba(201, 161, 91, .22); padding: 56px 0 28px; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }
.footer h2 { font-family: var(--sans); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { color: var(--primary); }
.footer .logo img { height: 52px; margin-bottom: 14px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* Fade-in on scroll (CSS only effect, JS adds .is-visible) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Blog */
.post-content h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 1.6em; }
.post-content h3 { font-size: 1.3rem; margin-top: 1.4em; }
.post-content ul, .post-content ol { padding-left: 1.3em; margin: 0 0 1em; }
.post-content li { margin-bottom: .4em; }
.post-content blockquote { border-left: 3px solid var(--primary); margin: 1.4em 0; padding: 6px 18px; color: var(--muted); font-style: italic; }
.post-content img { border-radius: var(--radius); margin: 1.4em 0; width: 100%; height: auto; }
.blog-card { text-decoration: none; color: var(--text); transition: transform .2s; }
.blog-card:hover { color: var(--text); transform: translateY(-3px); }
.blog-card__title { font-size: 1.3rem; margin: 6px 0; }
