/* ============================================================
   Kallas Restoran — styles
   ============================================================ */
:root {
  --bg:        #080705;
  --bg-2:      #130F0C;
  --light:     #F5F0E8;
  --light-2:   #EDE6D8;
  --text:      #EDE8E1;
  --muted:     #7A7067;
  --accent:    #9E4A2C;
  --accent-lt: #C4956A;
  --decor:     #3D2E25;
  --line:      rgba(237,232,225,0.10);

  --serif: "Playfair Display", Georgia, serif;
  --sans:  "DM Sans", system-ui, sans-serif;
  --maxw:  1240px;
  --pad:   clamp(1.25rem, 5vw, 4rem);
  --ease:  cubic-bezier(.22,.61,.36,1);
  --demo-h: 38px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
textarea { resize: vertical; }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); width: 100%; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }

/* ---------- Reusable type ---------- */
.eyebrow {
  font-size: .76rem; letter-spacing: .24em; text-transform: uppercase;
  font-weight: 500; color: var(--accent-lt); margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--accent-lt); }
.section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.01em;
  color: var(--light);
}
.section__lead {
  color: var(--muted); font-size: 1.05rem; max-width: 56ch;
  margin-top: .9rem; text-wrap: pretty;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 500; font-size: .95rem; letter-spacing: .01em;
  padding: .85em 1.9em; border-radius: 3px; cursor: pointer; border: none;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
  line-height: 1.2;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #7a3820; transform: translateY(-2px); }
.btn--outline {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.45);
}
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--lg { padding: 1.05em 2.4em; font-size: 1rem; }
.btn--block { width: 100%; padding-block: 1.1em; }

/* ============================================================
   Demo banner
   ============================================================ */
.demo-banner {
  background: #0d0b09;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  flex-wrap: wrap;
  font-size: .78rem; letter-spacing: .06em;
  padding: .65rem var(--pad);
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--demo-h);
}
.demo-banner__label { color: var(--muted); }
.demo-banner__dot { color: var(--decor); }
.demo-banner__back {
  color: var(--accent-lt);
  border-bottom: 1px solid rgba(196,149,106,.4);
  padding-bottom: 1px;
  transition: border-color .3s;
}
.demo-banner__back:hover { border-color: var(--accent-lt); }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed; top: var(--demo-h); left: 0; right: 0; z-index: 100;
  transition: background .45s var(--ease), border-color .45s var(--ease), backdrop-filter .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 1.2rem var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav__logo {
  font-family: var(--serif); font-size: 1.65rem; letter-spacing: .06em;
  color: #fff; font-style: italic;
  transition: color .4s var(--ease);
  flex-shrink: 0;
}
.nav__links { display: flex; gap: 2.1rem; }
.nav__links a {
  font-size: .88rem; font-weight: 400; color: rgba(255,255,255,.85);
  letter-spacing: .04em; position: relative;
  transition: color .35s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px;
  background: var(--accent-lt); transition: width .35s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }
.nav__cta { font-size: .85rem; padding: .65em 1.5em; }

/* scrolled state */
.nav.is-scrolled {
  background: rgba(8,7,5,.96);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav.is-scrolled .nav__links a { color: rgba(237,232,225,.8); }
.nav.is-scrolled .nav__links a:hover { color: var(--text); }
.nav.is-scrolled .nav__burger span { background: var(--text); }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav__burger span {
  width: 24px; height: 1.5px; background: #fff; border-radius: 2px;
  transition: background .4s var(--ease);
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 300;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__close {
  position: absolute; top: 1.4rem; right: 1.6rem;
  font-size: 2.4rem; line-height: 1;
  background: none; border: none; color: var(--text); cursor: pointer;
}
.mobile-menu__links { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.mobile-menu__links a {
  font-family: var(--serif); font-size: 2rem; font-style: italic;
  color: var(--text);
  transition: color .3s var(--ease);
}
.mobile-menu__links a:hover { color: var(--accent-lt); }
.mobile-menu__cta { margin-top: 1rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding-top: calc(var(--demo-h) + 70px);
  padding-inline: var(--pad);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  overflow: hidden;
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero__bg img { transform: scale(1); }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(8,7,5,.35) 0%,
    rgba(8,7,5,.55) 50%,
    rgba(8,7,5,.75) 100%
  );
}
.hero__content { max-width: 740px; }
.hero__eyebrow { margin-bottom: 1.6rem; }
.hero__title {
  font-family: var(--serif); font-weight: 400; color: #fff;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 1.02; letter-spacing: -.01em;
  margin-bottom: 1.6rem;
}
.hero__title em { font-style: italic; color: var(--accent-lt); }
.hero__sub {
  color: rgba(237,232,225,.82); font-size: clamp(.95rem, 1.8vw, 1.15rem);
  max-width: 48ch; margin: 0 auto 2.6rem; line-height: 1.7;
}
.hero__hours {
  margin-top: 2.4rem; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(237,232,225,.55);
}

/* ============================================================
   Menu section (light bg)
   ============================================================ */
.menu-section { background: var(--light); color: #1a1410; }
.menu-section .eyebrow { color: var(--accent); }
.menu-section .section__title { color: #1a1410; }
.menu-section .section__lead { color: #6b5f55; }

/* Tabs */
.tabs__nav {
  display: flex; gap: 0; margin-bottom: 3rem;
  border-bottom: 2px solid rgba(26,20,16,.12);
}
.tabs__btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: .88rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: #8a7b70;
  padding: .85em 2em .75em;
  position: relative;
  transition: color .3s var(--ease);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.tabs__btn:hover { color: #1a1410; }
.tabs__btn.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; }

/* Menu grid */
.menu-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(26,20,16,.10);
  border: 1px solid rgba(26,20,16,.10);
  border-radius: 4px;
  overflow: hidden;
}
.menu-item {
  background: #fff;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem;
  padding: 2rem 2.2rem;
  transition: background .3s var(--ease);
}
.menu-item:hover { background: #fdf9f4; }
.menu-item__text { flex: 1; }
.menu-item__name {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: 1.25rem; color: #1a1410; margin-bottom: .45rem; line-height: 1.3;
}
.menu-item__desc { color: #7a6e65; font-size: .92rem; line-height: 1.6; text-wrap: pretty; }
.menu-item__price {
  font-weight: 500; color: var(--accent); font-size: 1rem;
  white-space: nowrap; flex-shrink: 0; padding-top: .15rem;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   Quote section
   ============================================================ */
.quote-section {
  position: relative; isolation: isolate;
  padding-block: clamp(6rem, 14vw, 12rem);
  text-align: center; color: #fff;
}
.quote-section__bg {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
}
.quote-section__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.55) saturate(.9);
}
.quote-section__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(8,7,5,.55), rgba(8,7,5,.65));
}
.quote-section__inner { }
.quote-section__text {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(2rem, 4.8vw, 3.8rem); line-height: 1.2;
  max-width: 16ch; margin: 0 auto 1.8rem;
  letter-spacing: -.01em;
}
.quote-section__attr {
  color: var(--accent-lt); font-size: .95rem; letter-spacing: .06em;
}

/* ============================================================
   Reservation (dark)
   ============================================================ */
.reservation {
  background: var(--bg-2); color: var(--text);
  padding-block: clamp(4rem, 9vw, 7rem);
}
.reservation__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem); align-items: start;
}
.reservation__title {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.08;
  margin-bottom: 1.2rem; color: var(--light);
}
.reservation__lead {
  color: rgba(237,232,225,.7); max-width: 44ch; margin-bottom: 2.8rem;
  font-size: 1rem;
}
.reservation__info {
  list-style: none; display: flex; flex-direction: column; gap: 0;
}
.reservation__info li {
  display: flex; flex-direction: column; gap: .25rem;
  font-size: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
}
.reservation__info li:last-child { border-bottom: 1px solid var(--line); }
.reservation__info span {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-lt);
}
.reservation__info a:hover { color: var(--accent-lt); }

.reservation__form {
  background: rgba(237,232,225,.04);
  border: 1px solid rgba(196,149,106,.18);
  border-radius: 4px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-direction: column; gap: 1.3rem;
}
.field { display: flex; flex-direction: column; gap: .5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label {
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-lt);
}
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--text);
  background: rgba(237,232,225,.06);
  border: 1px solid rgba(196,149,106,.2);
  border-radius: 3px; padding: .85em 1em;
  transition: border-color .3s var(--ease), background .3s var(--ease);
  width: 100%;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(237,232,225,.3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-lt);
  background: rgba(237,232,225,.1);
}
.field select option { color: #1a1410; background: #f5f0e8; }
.field input[type="date"] { color-scheme: dark; }
.field textarea { min-height: 90px; }
.reservation__form-msg {
  font-size: .92rem; color: var(--accent-lt);
  text-align: center; line-height: 1.6;
}
.reservation__form-msg span {
  display: block; color: var(--muted); font-size: .8rem; margin-top: .3rem;
}

/* ============================================================
   Gallery (light bg)
   ============================================================ */
.gallery { background: var(--light); }
.gallery .eyebrow { color: var(--accent); }
.gallery .section__title { color: #1a1410; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 3px;
  margin-top: 3rem;
}
.gallery__item { overflow: hidden; }
.gallery__item:nth-child(1) { grid-row: span 2; }
.gallery__item:nth-child(4) { grid-row: span 2; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), filter .7s var(--ease);
  filter: brightness(.96) saturate(.92);
}
.gallery__item:hover img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1);
}

/* ============================================================
   About (light bg)
   ============================================================ */
.about { background: var(--light-2); }
.about .eyebrow { color: var(--accent); }
.about__grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(3rem, 6vw, 7rem); align-items: center;
}
.about__images { position: relative; }
.about__img { overflow: hidden; border-radius: 2px; }
.about__img img { width: 100%; object-fit: cover; display: block; }
.about__img--top { margin-right: 3rem; }
.about__img--top img { aspect-ratio: 4/3; }
.about__img--bottom {
  width: 60%; margin-left: auto;
  margin-top: -4rem;
  position: relative; z-index: 1;
  border: 4px solid var(--light-2);
}
.about__img--bottom img { aspect-ratio: 1/1; }

.about__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 3.8vw, 2.9rem); line-height: 1.12;
  margin-bottom: 1.4rem; color: #1a1410;
}
.about__lead {
  color: #3d3028; font-size: 1.05rem; margin-bottom: 1rem; font-weight: 400;
  text-wrap: pretty;
}
.about__body {
  color: #6b5f55; font-size: .97rem; margin-bottom: 1rem;
  line-height: 1.72; text-wrap: pretty;
}
.about__chef {
  display: flex; align-items: center; gap: 1.4rem;
  margin-top: 2.4rem; padding-top: 2rem;
  border-top: 1px solid rgba(26,20,16,.12);
}
.about__chef-line {
  width: 40px; height: 2px; background: var(--accent); flex-shrink: 0;
}
.about__chef-name { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: #1a1410; }
.about__chef-title { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #8a7b70; margin-top: .2rem; }

/* ============================================================
   Reviews (dark)
   ============================================================ */
.reviews { background: var(--bg); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 3px; padding: 2.4rem 2rem;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.review-card:hover { border-color: rgba(196,149,106,.3); transform: translateY(-3px); }
.stars { color: var(--accent); letter-spacing: .14em; margin-bottom: 1.3rem; font-size: .9rem; }
.review-card__text {
  font-family: var(--serif); font-style: italic;
  font-size: 1.2rem; line-height: 1.45; margin-bottom: 1.6rem;
  color: var(--text); text-wrap: pretty;
}
.review-card__meta { color: var(--muted); font-size: .88rem; }
.review-card__meta strong { color: var(--accent-lt); font-weight: 500; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer__logo {
  font-family: var(--serif); font-size: 1.7rem; font-style: italic;
  color: var(--light); display: inline-block; margin-bottom: 1rem;
  transition: color .3s var(--ease);
}
.footer__logo:hover { color: var(--accent-lt); }
.footer__desc { color: var(--muted); font-size: .93rem; max-width: 28ch; margin-bottom: 1.8rem; line-height: 1.6; }
.footer__social { display: flex; gap: .8rem; }
.footer__social a {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.footer__social a svg { width: 18px; height: 18px; }
.footer__social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer__col h4 {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text); margin-bottom: 1.2rem; font-weight: 600;
}
.footer__col a, .footer__col p {
  display: block; color: var(--muted); font-size: .93rem; margin-bottom: .7rem; line-height: 1.55;
}
.footer__col a:hover { color: var(--accent-lt); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .6rem;
  padding-block: 1.8rem;
  border-top: 1px solid var(--line);
  font-size: .83rem; color: var(--muted);
}
.footer__credit a { color: var(--accent-lt); }
.footer__credit a:hover { color: var(--text); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .menu-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .reservation__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__images { display: none; }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
  .gallery__item:nth-child(1) { grid-row: span 1; }
  .gallery__item:nth-child(4) { grid-row: span 1; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .hero__title { font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .reviews__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery__item:nth-child(n) { grid-row: span 1; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .tabs__btn { padding: .75em 1.2em; font-size: .8rem; letter-spacing: .04em; }
}
