/* =========================================================================
   GEYİK Restaurant & Lounge Bar, Girne
   Theme: "Gece Konağı". Ink blue-black, ivory, single champagne-brass accent.
   Type: Bodoni Moda (display) x Hanken Grotesk (body).
   ========================================================================= */

:root {
  --ink: #0a0d13;          /* page base, blue-black */
  --ink-2: #0e1219;        /* raised panels */
  --ink-3: #141925;        /* cards */
  --ivory: #ede7dc;        /* primary text, ~14.8:1 on ink */
  --stone: #b3aa9b;        /* muted text, ~7.4:1 on ink */
  --brass: #c5a059;        /* the one accent */
  --brass-soft: #d8bc83;
  --hairline: rgba(237, 231, 220, 0.14);
  --glow-blue: rgba(64, 132, 244, 0.10);  /* facade neon, ambient only */
  --font-display: "Spectral", serif;
  --font-body: "Hanken Grotesk", sans-serif;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

::selection { background: var(--brass); color: var(--ink); }

/* ---------- type ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.6rem, 7.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

.lede {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--stone);
  max-width: 38em;
}

.em-i { font-style: italic; color: var(--brass-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.1rem;
}

/* ---------- layout ---------- */

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--pad); }
section { padding-block: var(--section); }

.rule {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: 0;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(10, 13, 19, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.18em;
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.4rem;
}

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
  font-size: 0.95rem;
  color: var(--stone);
  transition: color 0.2s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ivory); }
.main-nav a[aria-current="page"] {
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px;
}

.header-actions { display: flex; align-items: center; gap: 1rem; }

.lang-toggle {
  display: flex;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  overflow: hidden;
}
.lang-toggle button {
  background: none;
  border: 0;
  color: var(--stone);
  font: inherit;
  font-size: 0.8rem;
  padding: 0.32rem 0.75rem;
  cursor: pointer;
  letter-spacing: 0.06em;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--ivory);
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.7rem;
  border-radius: 2px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--brass);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-solid { background: var(--brass); color: var(--ink); font-weight: 600; }
.btn-solid:hover { background: var(--brass-soft); border-color: var(--brass-soft); }
.btn-ghost { color: var(--brass-soft); }
.btn-ghost:hover { background: rgba(197, 160, 89, 0.12); }
.btn-small { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  width: 42px;
  height: 38px;
  cursor: pointer;
  position: relative;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-burger span { top: 50%; }
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav-burger[aria-expanded="true"] span { background: transparent; }
.nav-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(10, 13, 19, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    font-size: 1.4rem;
    transform: translateY(-100%);
    transition: transform 0.35s ease;
    z-index: 55;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav a { font-size: 1.35rem; }
  .nav-burger { display: block; z-index: 56; }
  .header-cta { display: none; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center 40%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,13,19,0.55) 0%, rgba(10,13,19,0.15) 35%, rgba(10,13,19,0.82) 78%, var(--ink) 100%),
    radial-gradient(60% 50% at 50% 100%, var(--glow-blue), transparent 70%);
}
.hero-inner {
  width: 100%;
  padding-block: clamp(5rem, 12vh, 8rem) clamp(3rem, 7vh, 5rem);
}
.hero h1 { max-width: 11em; margin-block: 0.4rem 1.2rem; }
.hero .lede { margin-bottom: 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.8rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.92rem;
  color: var(--stone);
}
.hero-meta strong { color: var(--ivory); font-weight: 600; }
.hero-meta .star { color: var(--brass); }

/* ---------- editorial intro ---------- */

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.intro-grid h2 { max-width: 13em; margin-bottom: 1.4rem; }
.intro-grid .lede { margin-bottom: 2rem; }
.intro-figure { position: relative; }
.intro-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}
.intro-figure figcaption {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--stone);
  letter-spacing: 0.04em;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border-block: 1px solid var(--hairline);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.pillar {
  background: var(--ink);
  padding: clamp(1.6rem, 3vw, 2.6rem);
}
.pillar .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brass);
  display: block;
  margin-bottom: 0.9rem;
}
.pillar h3 { margin-bottom: 0.6rem; }
.pillar p { color: var(--stone); font-size: 0.98rem; }

@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- signatures ---------- */

.sig-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
}
.sig-head h2 { max-width: 12em; }

.sig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.sig-card { position: relative; }
.sig-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
}
.sig-card.sig-wide { grid-column: span 1; }
.sig-body { padding-top: 1.1rem; }
.sig-body h3 { margin-bottom: 0.35rem; }
.sig-body p { color: var(--stone); font-size: 0.95rem; max-width: 30em; }

@media (max-width: 860px) {
  .sig-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .sig-grid { grid-template-columns: 1fr; }
}

/* ---------- video strip ---------- */

.vibe { background: var(--ink-2); border-block: 1px solid var(--hairline); }
.vibe-head { text-align: center; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.vibe-head h2 { margin-bottom: 0.8rem; }
.vibe-head p { color: var(--stone); }

.vibe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.vibe-card {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  background: var(--ink-3);
}
.vibe-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.vibe-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 1rem 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory);
  background: linear-gradient(180deg, transparent, rgba(10,13,19,0.85));
}

@media (max-width: 860px) {
  .vibe-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- live music ---------- */

.live-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.live-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
}
.live-copy h2 { margin-bottom: 1.2rem; }
.live-copy .lede { margin-bottom: 2.2rem; }

.live-list { list-style: none; border-top: 1px solid var(--hairline); }
.live-list li {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--hairline);
}
.live-list .live-kind {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--brass-soft);
  flex: 0 0 11em;
}
.live-list p { color: var(--stone); font-size: 0.95rem; }
.live-note { margin-top: 1.6rem; font-size: 0.9rem; color: var(--stone); }
.live-note a { color: var(--brass-soft); border-bottom: 1px solid rgba(197,160,89,0.4); }

@media (max-width: 860px) {
  .live-grid { grid-template-columns: 1fr; }
  .live-list .live-kind { flex-basis: 8em; }
}

/* ---------- spaces teaser / galleries ---------- */

.spaces-head { text-align: center; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.spaces-head h2 { margin-bottom: 0.8rem; }
.spaces-head p { color: var(--stone); max-width: 44em; margin-inline: auto; }

.space-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.space-card {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.space-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.space-card:hover img { transform: scale(1.04); }
.space-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1.4rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(10,13,19,0.9));
}
.space-label h3 { margin-bottom: 0.2rem; }
.space-label p { color: var(--stone); font-size: 0.88rem; }

.center-cta { text-align: center; margin-top: clamp(2.4rem, 5vw, 3.6rem); }

@media (max-width: 860px) {
  .space-grid { grid-template-columns: 1fr; }
  .space-card img { aspect-ratio: 16 / 10; }
}

/* ---------- review band ---------- */

.review-band {
  background: var(--ink-2);
  border-block: 1px solid var(--hairline);
  text-align: center;
}
.review-score {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 5.6rem);
  line-height: 1;
  color: var(--brass-soft);
}
.review-stars { color: var(--brass); letter-spacing: 0.3em; font-size: 1.1rem; margin-block: 0.9rem; }
.review-count { color: var(--stone); font-size: 0.95rem; margin-bottom: 2.4rem; }
.review-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  line-height: 1.45;
  max-width: 30em;
  margin-inline: auto;
}
.review-attr { margin-top: 1.2rem; color: var(--stone); font-size: 0.88rem; }

/* ---------- visit / contact blocks ---------- */

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.visit-copy h2 { margin-bottom: 1.6rem; }

.info-list { list-style: none; border-top: 1px solid var(--hairline); }
.info-list li {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.98rem;
}
.info-list .k {
  color: var(--stone);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-top: 0.2rem;
}
.info-list a { color: var(--brass-soft); }
.info-list a:hover { color: var(--brass); }

.map-frame {
  border: 1px solid var(--hairline);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.9) invert(0.88) hue-rotate(190deg) saturate(0.5);
}

@media (max-width: 860px) {
  .visit-grid { grid-template-columns: 1fr; }
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  min-height: 56svh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.page-hero .hero-media img { height: 100%; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10,13,19,0.5), rgba(10,13,19,0.2) 40%, var(--ink) 96%);
}
.page-hero .hero-inner { padding-block: clamp(7rem, 16vh, 9rem) clamp(2.4rem, 5vh, 3.6rem); }
.page-hero h1 { margin-block: 0.4rem 0.9rem; }
.page-hero .lede { max-width: 34em; }

/* ---------- menu page ---------- */

.menu-note {
  background: var(--ink-3);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--brass);
  border-radius: 2px;
  padding: 1.1rem 1.4rem;
  font-size: 0.95rem;
  color: var(--stone);
  max-width: 56em;
}
.menu-note a { color: var(--brass-soft); }

.menu-section { padding-block: clamp(3rem, 6vw, 5rem); }
.menu-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.menu-split.flip { grid-template-columns: 1.1fr 0.9fr; }
.menu-split.flip .menu-figure { order: 2; }
.menu-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}
.menu-figure.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.menu-figure.duo img { aspect-ratio: 3 / 4.4; }

.menu-copy .menu-kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--brass);
  display: block;
  margin-bottom: 0.7rem;
}
.menu-copy h2 { margin-bottom: 1rem; }
.menu-copy > p { color: var(--stone); margin-bottom: 1.6rem; max-width: 36em; }

.dish-list { list-style: none; border-top: 1px solid var(--hairline); }
.dish-list li { padding-block: 0.95rem; border-bottom: 1px solid var(--hairline); }
.dish-list .dish-name { font-weight: 600; display: block; }
.dish-list .dish-desc { color: var(--stone); font-size: 0.92rem; }

@media (max-width: 860px) {
  .menu-split, .menu-split.flip { grid-template-columns: 1fr; }
  .menu-split.flip .menu-figure { order: 0; }
}

/* ---------- mekan page gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
}
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-grid .g-wide img { aspect-ratio: 16 / 10.5; height: 100%; }

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .g-wide { grid-column: span 2; }
}

/* ---------- contact form ---------- */

.form-card {
  background: var(--ink-3);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.form-card h3 { margin-bottom: 0.5rem; }
.form-card .form-note { color: var(--stone); font-size: 0.9rem; margin-bottom: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.45rem;
}
.form-field input, .form-field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  color: var(--ivory);
  font: inherit;
  padding: 0.75rem 0.9rem;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--brass);
}
.form-ok { color: var(--brass-soft); margin-top: 1rem; display: none; }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding-block: clamp(2.6rem, 5vw, 4rem) 2rem;
  background: var(--ink-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.4rem;
  margin-bottom: 2.6rem;
}
.footer-brand .brand-name { font-size: 1.8rem; }
.footer-brand p { color: var(--stone); font-size: 0.95rem; max-width: 26em; margin-top: 1rem; }
.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; font-size: 0.95rem; }
.footer-col a { color: var(--ivory); }
.footer-col a:hover { color: var(--brass-soft); }

.footer-legal {
  border-top: 1px solid var(--hairline);
  padding-top: 1.6rem;
  font-size: 0.82rem;
  color: var(--stone);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  justify-content: space-between;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ---------- reveal targets (JS sets initial state; CSS never hides) ---------- */

.gsap-reveal { will-change: transform, opacity; }
