/* ==========================================================================
   Istanbul Village Grill — Coming Soon
   Compact, warm, restaurant-feel coming-soon page.
   Palette pulled from the logo: deep green, gold, cream — red reserved for
   the primary CTA only.
   ========================================================================== */

/* ----- Design tokens ---------------------------------------------------- */
:root {
  /* Warm paper / cream surfaces */
  --c-paper: #fbf6e8;
  --c-cream: #f6efde;
  --c-cream-deep: #ecddbe;

  /* Charcoal-brown ink */
  --c-ink: #221610;
  --c-ink-soft: #36251a;
  --c-muted: #7a6047;
  --c-muted-strong: #54402c;

  /* Logo deep green */
  --c-green: #214030;
  --c-green-deep: #142a20;
  --c-green-mid: #2d5340;
  --c-green-soft: rgba(33, 64, 48, 0.08);

  /* Logo gold / brass */
  --c-gold: #c2974f;
  --c-gold-bright: #dfb874;
  --c-gold-deep: #976f33;
  --c-gold-soft: rgba(194, 151, 79, 0.18);

  /* Spice red — only for the primary CTA */
  --c-red: #a32f1f;
  --c-red-deep: #7c2316;
  --c-red-glow: rgba(184, 50, 33, 0.35);

  /* Hairlines */
  --c-line: rgba(151, 111, 51, 0.28);
  --c-line-strong: rgba(151, 111, 51, 0.45);

  /* Type */
  --ff-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --ff-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --ff-body: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-card: 0 22px 50px -28px rgba(60, 35, 12, 0.35),
    0 6px 16px -8px rgba(60, 35, 12, 0.16);
}

/* ----- Reset / base ----------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--c-ink);
  font-family: var(--ff-body);
  font-size: clamp(15px, 0.7vw + 13px, 16.5px);
  line-height: 1.6;
  font-weight: 400;
  position: relative;

  /* Warm paper background — gold + green hints, no red in glows */
  background-color: var(--c-cream);
  background-image:
    radial-gradient(900px 600px at 8% -10%, rgba(194, 151, 79, 0.32), transparent 60%),
    radial-gradient(700px 500px at 110% 0%, rgba(33, 64, 48, 0.1), transparent 65%),
    radial-gradient(900px 700px at 50% 110%, rgba(194, 151, 79, 0.22), transparent 60%),
    linear-gradient(180deg, var(--c-paper) 0%, var(--c-cream) 45%, var(--c-cream-deep) 100%);
  background-attachment: fixed;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--c-green);
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--c-green);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  background: var(--c-green);
  color: var(--c-paper);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-weight: 600;
  z-index: 100;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- Subtle paper grain --------------------------------------------- */
.page-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.34  0 0 0 0 0.22  0 0 0 0 0.10  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* ----- Layout primitives ----------------------------------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  position: relative;
  z-index: 1;
}

main {
  position: relative;
  z-index: 1;
}

/* ----- Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  flex: 1;
  padding: clamp(24px, 3.6vw, 44px) 0 clamp(28px, 3.6vw, 44px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Faint Turkish tile pattern, gold strokes */
.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'><g fill='none' stroke='%23976f33' stroke-width='0.6' stroke-opacity='0.18'><circle cx='40' cy='40' r='20'/><circle cx='40' cy='40' r='10'/><path d='M40,12 L40,68 M12,40 L68,40 M20,20 L60,60 M20,60 L60,20'/><circle cx='40' cy='40' r='2.5' fill='%23976f33' fill-opacity='0.2' stroke='none'/></g></svg>");
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 8%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, black 8%, transparent 70%);
}

/* Warm radial glows — gold + soft green hint */
.hero__glow {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  filter: blur(48px);
}

.hero__glow--top {
  top: -120px;
  left: -100px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(223, 184, 116, 0.5) 0%, transparent 65%);
  opacity: 0.85;
}

.hero__glow--bottom {
  bottom: -200px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(194, 151, 79, 0.32) 0%, transparent 65%);
  opacity: 0.9;
  animation: emberPulse 10s ease-in-out infinite alternate;
}

@keyframes emberPulse {
  from {
    transform: scale(1);
    opacity: 0.7;
  }
  to {
    transform: scale(1.06);
    opacity: 0.95;
  }
}

/* ----- Two-column hero grid -------------------------------------------- */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4.5vw, 56px);
  align-items: center;
}

@media (min-width: 920px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 72px);
  }
}

/* Left column — always centered, including on desktop */
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__brand {
  display: inline-flex;
  margin: 0 auto;
  transition: transform 0.4s ease;
}

.hero__brand:hover {
  transform: translateY(-2px);
}

.hero__logo {
  display: block;
  width: clamp(120px, 14vw, 170px);
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(60, 35, 12, 0.18));
  -webkit-user-drag: none;
  user-select: none;
}

/* Status group: "We're open" badge + supporting "website coming soon" line */
.hero__status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: clamp(18px, 2.2vw, 26px);
}

.hero__sub-status {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--c-muted);
  letter-spacing: 0.02em;
}

/* "We're open" pill — green, deliberately prominent */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 24px;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(33, 64, 48, 0.4);
  background: var(--c-green-soft);
  color: var(--c-green);
  font-size: clamp(13px, 0.6vw + 11px, 15px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 8px 22px -14px rgba(33, 64, 48, 0.45);
}

.badge__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 5px rgba(33, 64, 48, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(33, 64, 48, 0.16);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(33, 64, 48, 0.04);
  }
}

/* Editorial title — moderate size for compactness */
.hero__title {
  margin: clamp(12px, 1.4vw, 16px) 0 0;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw + 4px, 50px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--c-ink);
  max-width: 16ch;
  text-wrap: balance;
}

.accent-word {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, var(--c-gold-bright) 0%, var(--c-gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Gold ornament divider with Ottoman star */
.ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(240px, 70%);
  margin: clamp(12px, 1.6vw, 16px) auto 0;
  color: var(--c-gold-deep);
}

.ornament__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.6;
}

.ornament__star {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.hero__tagline {
  margin: clamp(10px, 1.2vw, 14px) 0 0;
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(18px, 1.4vw + 8px, 24px);
  line-height: 1.3;
  color: var(--c-muted-strong);
}

.hero__tagline em {
  font-style: italic;
  color: var(--c-green);
}

.hero__intro {
  margin: clamp(12px, 1.6vw, 16px) 0 0;
  max-width: 50ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--c-muted);
}

/* Phone + email links, stacked */
.hero__contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: clamp(16px, 2vw, 22px);
}

.hero__contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 2px;
  font-family: var(--ff-body);
  font-size: clamp(15px, 0.6vw + 12px, 19px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--c-ink);
  border-bottom: 1px dashed rgba(151, 111, 51, 0.35);
  transition: color 0.25s ease, border-color 0.25s ease;
  word-break: break-word;
}

.hero__contact .icon {
  color: var(--c-gold-deep);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero__contact:hover {
  color: var(--c-green);
  border-bottom-color: var(--c-green);
}

.hero__contact:hover .icon {
  color: var(--c-green);
}

/* ----- Social row ------------------------------------------------------ */
.hero__socials {
  margin-top: clamp(16px, 2vw, 22px);
  display: inline-flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(151, 111, 51, 0.32);
  background: rgba(251, 246, 232, 0.6);
  color: var(--c-ink-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease,
    background 0.25s ease;
}

.social-btn .icon {
  width: 16px;
  height: 16px;
}

.social-btn:hover {
  transform: translateY(-2px);
  border-color: var(--c-green);
  color: var(--c-green);
  background: var(--c-paper);
}

.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}

.icon--xs {
  width: 13px;
  height: 13px;
}

/* ----- Booking widget (right column on desktop) ----------------------- */
.booking-card {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

/* ----- Footer ---------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: clamp(14px, 2vw, 22px) 0;
  border-top: 1px solid var(--c-line);
  background: linear-gradient(180deg, transparent, rgba(33, 64, 48, 0.06));
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.site-footer__copy,
.site-footer__credit {
  margin: 0;
  font-size: 12.5px;
  color: var(--c-muted);
  letter-spacing: 0.02em;
}

.site-footer__credit a {
  color: var(--c-ink-soft);
  border-bottom: 1px dashed rgba(151, 111, 51, 0.4);
  padding-bottom: 1px;
}

.site-footer__credit a:hover {
  color: var(--c-green);
  border-bottom-color: var(--c-green);
}

.heart {
  display: inline-block;
  color: var(--c-green);
  filter: saturate(0.8);
  transform: translateY(1px);
  font-size: 12px;
}

/* ----- Reveal animations ---------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__glow--bottom,
  .badge__dot {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ----- Responsive tweaks ---------------------------------------------- */
@media (max-width: 480px) {
  .hero__contact {
    font-size: 14.5px;
  }
}
