/* ==========================================================================
   TEHERAN — Persian Restaurant, Koblenz
   Palette extracted from the restaurant logo:
   cream/ivory background, deep terracotta-red, dark brown/black linework,
   muted olive-green, warm gold/olive accents.
   ========================================================================== */

:root {
  --cream: #F5EFE3;
  --cream-alt: #ECE3D1;
  --ink: #2B211C;
  --red: #A6392C;
  --red-dark: #832C22;
  --green: #6B7B4E;
  --gold: #B08D57;

  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: 0.5px; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

section { padding: 88px 0; }

.section-tight { padding: 56px 0; }

.bg-alt { background: var(--cream-alt); }

.text-center { text-align: center; }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--red);
  color: var(--cream);
}
.btn-primary:hover { background: var(--red-dark); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

.btn-ghost {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-ghost:hover { background: var(--red); color: var(--cream); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------------- Header / Nav ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 239, 227, 0.94);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(43, 33, 28, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.nav-brand { order: 3; }
.nav-toggle { order: 2; }
.nav-menu { order: 1; }

.nav-brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--ink);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--red);
}

.nav-actions { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  height: 82vh;
  max-height: 720px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(43, 33, 28, 0.62) 0%,
    rgba(43, 33, 28, 0.5) 50%,
    rgba(43, 33, 28, 0.68) 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 48px 0 56px;
  color: var(--cream);
  text-align: center;
}

.hero-copy h1 { color: var(--cream); }

.hero-copy .tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.35rem;
  color: #E7C687;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  margin-bottom: 18px;
}

.hero-copy p.lead {
  font-size: 1.08rem;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
  color: rgba(245, 239, 227, 0.88);
}

.hero-copy .btn-row { justify-content: center; }

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 239, 227, 0.7);
}
.btn-outline-light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* ---------------- Intro ---------------- */

.intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* ---------------- Dish carousel ---------------- */

.carousel-wrap {
  position: relative;
  margin-top: 48px;
}

.carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar { display: none; }

.carousel-track {
  display: flex;
  gap: 28px;
  padding: 4px 4px 8px;
}

.carousel-item {
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: start;
  text-align: center;
  margin: 0;
}

.carousel-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: transform 0.4s ease;
}

.carousel-item:hover img { transform: scale(1.03); }

.carousel-item h3 { margin-bottom: 4px; }

.carousel-item p { color: rgba(43, 33, 28, 0.7); font-size: 0.95rem; margin: 0; }

.carousel-arrow {
  position: absolute;
  top: 118px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid rgba(43, 33, 28, 0.15);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(43, 33, 28, 0.1);
  z-index: 2;
}

.carousel-arrow:hover { background: var(--red); color: var(--cream); border-color: var(--red); }

.carousel-arrow.prev { left: 4px; }
.carousel-arrow.next { right: 4px; }

/* ---------------- Reviews ---------------- */

.reviews {
  text-align: center;
}

.reviews .stars {
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.reviews blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--ink);
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-col p, .footer-col a { color: rgba(245, 239, 227, 0.82); font-size: 0.95rem; }
.footer-col a:hover { color: var(--cream); }
.footer-col div { margin-bottom: 6px; }

.footer-bottom {
  border-top: 1px solid rgba(245, 239, 227, 0.15);
  padding-top: 20px;
  font-size: 0.82rem;
  color: rgba(245, 239, 227, 0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------------- About page ---------------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: sticky;
  top: 104px;
}

.about-image img { width: 100%; height: 100%; object-fit: cover; }

.about-copy .divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 18px 0 24px;
}

.about-copy p { color: rgba(43, 33, 28, 0.85); }

.about-copy p.about-signature {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(43, 33, 28, 0.12);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink);
}

/* ---------------- Contact page ---------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.info-card {
  background: var(--cream-alt);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}

.info-card h4 {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.info-card div { margin-bottom: 16px; }
.info-card div:last-child { margin-bottom: 0; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(43, 33, 28, 0.12);
}

.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------------- Responsive ---------------- */

@media (max-width: 860px) {
  .hero {
    min-height: 480px;
    height: 70vh;
  }

  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-image { position: static; }

  .about-grid { text-align: left; }

  .carousel-item { width: 260px; }

  .footer-grid { gap: 32px; }

  section { padding: 64px 0; }
}

@media (max-width: 720px) {
  .nav-menu { display: none; }

  .nav-toggle { display: flex; }

  .nav.is-open .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 24px;
    border-bottom: 1px solid rgba(43, 33, 28, 0.08);
  }

  .carousel-arrow { width: 38px; height: 38px; font-size: 1.3rem; }
}
