/* ============================================================
   KÜBEY — Anatolian Tapas Bar | Wien
   Aesthetic: warm coral & terracotta, cream paper, charcoal ink,
   handwritten + classical serif. Earthy, intimate, modern.
   ============================================================ */

:root {
  /* Brand palette — pulled from logo */
  --coral:        #E36C5C;   /* logo background */
  --coral-deep:   #C25344;
  --coral-soft:   #F2A095;
  --terracotta:   #B8553F;
  --cream:        #F6EFE6;
  --paper:        #FBF6EE;
  --ink:          #221814;   /* deep warm black */
  --ink-soft:     #4A3B33;
  --line:         rgba(34, 24, 20, 0.14);
  --line-light:   rgba(246, 239, 230, 0.18);
  --gold:         #C9A063;

  /* Typography */
  --f-display: 'Caveat', cursive;                /* matches logo handwritten feel */
  --f-serif:   'Cormorant Garamond', Georgia, serif;
  --f-sans:    'Outfit', system-ui, sans-serif;

  /* Spacing */
  --max:   1280px;
  --gut:   clamp(1.25rem, 4vw, 3rem);
  --pad-y: clamp(4rem, 10vw, 8rem);
  --app-height: 100vh;
  --hero-mobile-extra: 2.5rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 18px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem var(--gut);
  transition: background .35s ease, backdrop-filter .35s ease, padding .35s ease;
}
.nav.is-scrolled {
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.6rem var(--gut);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__brand img {
  height: 56px;
  width: auto;
  transition: height .35s ease;
}
.nav.is-scrolled .nav__brand img { height: 44px; }

.nav__links {
  display: flex;
  gap: 2.5rem;
  font-family: var(--f-sans);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav__links a {
  position: relative;
  padding: 0.4rem 0;
  color: var(--ink);
  transition: color .25s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--coral);
  transition: width .35s ease;
}
.nav.is-scrolled .nav__links a { color: var(--ink); }
.nav__links a:hover { color: var(--coral-deep); }
.nav__links a:hover::after { width: 100%; }

/* When at top of hero, links sit on dark image */
.nav:not(.is-scrolled) .nav__links a { color: var(--cream); }
.nav:not(.is-scrolled) .nav__brand img { filter: drop-shadow(0 4px 14px rgba(0,0,0,.4)); }

.nav__burger {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}
.nav__burger span {
  width: 26px; height: 1.5px;
  background: var(--cream);
  transition: background .3s ease;
}
.nav.is-scrolled .nav__burger span { background: var(--ink); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  background: var(--coral);
  z-index: 200;
  transform: translateX(100%);
  transition: transform .5s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.drawer.is-open { transform: translateX(0); }
.drawer__close {
  position: absolute;
  top: 1.2rem; right: 1.4rem;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--cream);
  font-weight: 200;
}
.drawer__links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  font-family: var(--f-display);
  font-size: 3rem;
  color: var(--cream);
}
.drawer__links a { line-height: 1; }
.drawer__foot {
  position: absolute;
  bottom: 2.5rem;
  color: var(--cream);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem var(--gut) 3rem;
  overflow: hidden;
  color: var(--cream);
  background: #1b1310;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.hero.is-loaded { opacity: 1; }
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/restaurant1.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) saturate(0.9) contrast(1.05);
  z-index: 0;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(27,19,16,.55) 70%, rgba(27,19,16,.85) 100%),
    linear-gradient(180deg, rgba(27,19,16,.5) 0%, transparent 35%, transparent 65%, rgba(27,19,16,.85) 100%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.7'/></svg>");
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: -2cm;
  animation: fadeUp 1.2s cubic-bezier(.2,.7,.2,1) both;
}
.hero__eyebrow {
  font-family: var(--f-sans);
  font-size: 0.78rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--coral-soft);
  padding-bottom: 0.5rem;
  position: relative;
}
.hero__logo {
  width: clamp(220px, 32vw, 380px);
  height: auto;
  filter: drop-shadow(0 10px 40px rgba(0,0,0,.45));
  animation: pulseGlow 6s ease-in-out infinite;
}
.hero__tag {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--cream);
  font-weight: 500;
  margin-top: -0.5rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
  0%, 100% { filter: drop-shadow(0 10px 40px rgba(0,0,0,.45)); }
  50%      { filter: drop-shadow(0 10px 60px rgba(227,108,92,.35)); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--coral-soft);
  font-family: var(--f-sans);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  transition: color .3s ease, transform .3s ease;
}
.scroll-indicator:hover { color: var(--coral); transform: translateX(-50%) translateY(-3px); }

.scroll-indicator__dish {
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-indicator__dish svg {
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.scroll-indicator__line {
  position: relative;
  width: 1px; height: 50px;
  background: rgba(242, 160, 149, 0.3);
  overflow: hidden;
}
.scroll-indicator__line span {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--coral);
  animation: scrollLine 2.2s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes scrollLine {
  0%   { top: -50%; }
  100% { top: 100%; }
}

/* ============================================================
   SHARED SECTION HEADERS
   ============================================================ */
.section__eyebrow {
  font-family: var(--f-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}
.section__eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 24px; height: 1px;
  background: var(--coral-deep);
}
.section__eyebrow--light { color: var(--coral-soft); }
.section__eyebrow--light::before { background: var(--coral-soft); }

.section__title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.section__title em {
  font-family: var(--f-display);
  font-style: normal;
  color: var(--coral-deep);
  font-weight: 500;
  font-size: 1.15em;
}
.section__title--light { color: var(--cream); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid currentColor;
  transition: background .3s ease, color .3s ease;
}
.btn--ink { color: var(--ink); }
.btn--ink:hover { background: var(--ink); color: var(--cream); }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: var(--pad-y) var(--gut);
  background: var(--paper);
  position: relative;
}
.about__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.about__images {
  position: relative;
  aspect-ratio: 4/5;
}
.about__img {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(34, 24, 20, 0.25);
}
.about__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.about__img:hover img { transform: scale(1.04); }

.about__img--1 {
  width: 70%;
  height: 80%;
  top: 0; left: 0;
}
.about__img--2 {
  width: 55%;
  height: 55%;
  bottom: 0; right: 0;
  border: 8px solid var(--paper);
}

.about__stamp {
  position: absolute;
  top: -1rem; right: 8%;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 500;
  transform: rotate(-12deg);
  box-shadow: 0 10px 30px rgba(227, 108, 92, 0.4);
  z-index: 2;
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(348deg); } }

.about__text { padding: 1rem 0; }
.about__lead {
  font-size: 1.4rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.about__body {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

/* ============================================================
   MENU
   ============================================================ */
.menu {
  padding: var(--pad-y) var(--gut);
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(227, 108, 92, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(227, 108, 92, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.menu__head {
  max-width: var(--max);
  margin: 0 auto 4rem;
  text-align: center;
  position: relative;
}
.menu__head .section__eyebrow {
  display: inline-block;
  padding-left: 0;
  padding: 0 2.5rem;
}
.menu__head .section__eyebrow::before {
  left: 0; top: 50%;
}
.menu__head .section__eyebrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 24px; height: 1px;
  background: var(--coral-soft);
}
.menu__sub {
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--coral-soft);
  margin-top: -0.5rem;
}

.menu__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  position: relative;
}

.menu__category {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--coral-soft);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-light);
  letter-spacing: 0.02em;
}
.menu__category--spaced { margin-top: 3rem; }
.menu__icon {
  font-size: 1.2rem;
  color: var(--coral);
}

.menu__item {
  margin-bottom: 1.6rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px dashed rgba(246, 239, 230, 0.08);
}
.menu__item:last-child { border-bottom: 0; }

.menu__row {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.4rem;
}
.menu__row h4 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--cream);
  letter-spacing: 0.005em;
}
.menu__sub-name {
  font-weight: 400;
  font-style: italic;
  color: var(--coral-soft);
  font-size: 0.95rem;
}
.menu__dots {
  flex: 1;
  border-bottom: 1px dotted rgba(246, 239, 230, 0.25);
  position: relative;
  top: -4px;
}
.menu__price {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--coral);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.menu__item p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(246, 239, 230, 0.6);
  font-style: italic;
  font-family: var(--f-serif);
}

/* ============================================================
   WINE
   ============================================================ */
.wine {
  padding: var(--pad-y) var(--gut);
  background: var(--paper);
}
.wine__head {
  max-width: var(--max);
  margin: 0 auto 3.5rem;
  text-align: center;
}
.wine__head .section__eyebrow {
  display: inline-block;
  padding: 0 2.5rem;
}
.wine__head .section__eyebrow::before {
  left: 0; top: 50%;
}
.wine__head .section__eyebrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 24px; height: 1px;
  background: var(--coral-deep);
}

.wine__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.wine__category {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.wine__category--spaced { margin-top: 3rem; }

.wine__measures {
  display: flex;
  justify-content: flex-end;
  gap: 2.5rem;
  font-family: var(--f-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--coral-deep);
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
}
.wine__measures span {
  width: 60px;
  text-align: right;
}

.wine__item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dotted var(--line);
}
.wine__name {
  flex: 1;
  font-family: var(--f-serif);
  font-size: 1.05rem;
  color: var(--ink);
}
.wine__name em {
  font-family: var(--f-sans);
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-left: 0.4rem;
  padding: 0.15rem 0.4rem;
  border: 1px solid var(--coral-deep);
  border-radius: 2px;
  vertical-align: middle;
}
.wine__price {
  display: flex;
  gap: 2.5rem;
  font-family: var(--f-sans);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.wine__price span {
  width: 60px;
  text-align: right;
  white-space: nowrap;
}

/* ============================================================
   FIND US
   ============================================================ */
.find {
  padding: var(--pad-y) var(--gut);
  background: var(--coral);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.find::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.08;
  pointer-events: none;
}

.find__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
  position: relative;
}

.find__info .section__eyebrow {
  color: rgba(246, 239, 230, 0.85);
}
.find__info .section__eyebrow::before {
  background: rgba(246, 239, 230, 0.85);
}
.find__info .section__title { color: var(--cream); }
.find__info .section__title em { color: var(--paper); }

.find__block {
  margin-top: 2rem;
}
.find__label {
  font-family: var(--f-sans);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(246, 239, 230, 0.7);
  margin-bottom: 0.6rem;
}
.find__line {
  font-family: var(--f-serif);
  font-size: 1.3rem;
  color: var(--cream);
  line-height: 1.5;
  transition: opacity .25s ease;
}
.find__line:hover { opacity: 0.75; }

.hours {
  list-style: none;
  font-family: var(--f-serif);
  font-size: 1.05rem;
  color: var(--cream);
}
.hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dotted rgba(246, 239, 230, 0.25);
  gap: 1rem;
}
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child {
  font-family: var(--f-sans);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.find__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border: 1px solid var(--cream);
  border-radius: 50%;
  color: var(--cream);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.find__social:hover {
  background: var(--cream);
  color: var(--coral);
  transform: translateY(-3px);
}

.find__map {
  min-height: 540px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0,0,0,0.4);
  filter: contrast(1.05) saturate(0.9);
}
.find__map iframe { display: block; height: 100%; min-height: 540px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 4rem var(--gut) 2.5rem;
  text-align: center;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer__logo {
  width: 90px;
  height: auto;
  margin-bottom: 0.5rem;
}
.footer__tag {
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--coral-soft);
}
.footer__copy {
  font-family: var(--f-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(246, 239, 230, 0.4);
  margin-top: 1rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .about__inner,
  .menu__grid,
  .wine__grid,
  .find__inner {
    grid-template-columns: 1fr;
  }

  .find__map { min-height: 380px; }
  .find__map iframe { min-height: 380px; }
}

@media (max-width: 860px) {
  .footer {
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px) + 2.75rem);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: calc(var(--app-height) + var(--hero-mobile-extra));
  }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  .hero__content { margin-top: -4.5cm; }
  .hero__logo { width: 240px; }

  .nav__brand img { height: 46px; }
  .nav.is-scrolled .nav__brand img { height: 38px; }

  .about__lead { font-size: 1.2rem; }

  .menu__row { flex-wrap: wrap; }
  .menu__dots { display: none; }
  .menu__price { margin-left: auto; }

  .wine__measures { gap: 1.2rem; }
  .wine__measures span { width: 45px; }
  .wine__price { gap: 1.2rem; }
  .wine__price span { width: 45px; font-size: 0.85rem; }
  .wine__name { font-size: 0.95rem; }

  .about__stamp {
    width: 80px; height: 80px;
    font-size: 0.95rem;
    top: 0.5rem;
    right: 0;
    left: auto;
  }

  .scroll-indicator { bottom: 1.5rem; }
}
