/* ═══════════════════════════════════════════
   GANGNAM STYLE — Reservation Site
   Theme: Korean Warmth · Perth Multicultural
   ═══════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --bg:        #140e07;
  --bg-2:      #1c1409;
  --bg-3:      #231a0d;
  --border:    rgba(255, 200, 100, 0.08);
  --border-2:  rgba(255, 200, 100, 0.14);

  --ember:     #e06b2e;
  --ember-dim: rgba(224, 107, 46, 0.15);
  --gold:      #f0b429;
  --gold-dim:  rgba(240, 180, 41, 0.12);
  --cream:     #f5e8c8;
  --muted:     rgba(245, 232, 200, 0.45);
  --subtle:    rgba(245, 232, 200, 0.22);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── CONTAINER ── */
.container {
  width: 92%;
  max-width: 1140px;
  margin-inline: auto;
}

.section { padding-block: 72px; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}

/* ── SECTION TAGS ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(240,180,41,0.2);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(30px, 4vw, 44px);
  color: var(--cream);
  margin-bottom: 12px;
}

.section-text {
  font-size: 16px;
  color: var(--muted);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
}

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

.btn-primary {
  background: var(--ember);
  color: #fff;
  box-shadow: 0 4px 20px rgba(224,107,46,0.3);
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(224,107,46,0.45); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--border-2);
}
.btn-outline:hover { border-color: rgba(255,200,100,0.3); background: var(--gold-dim); }

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 14, 7, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.logo { display: flex; flex-direction: column; }

.logo-main {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.logo-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}
.nav a:hover { color: var(--cream); }

.nav-cta {
  background: var(--ember);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 86vh;
  background: url("../images/hero.jpg") center 40% / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,14,7,0.3) 0%, rgba(20,14,7,0.65) 60%, rgba(20,14,7,0.95) 100%),
    linear-gradient(90deg, rgba(224,107,46,0.12) 0%, transparent 60%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: 80px 40px;
  animation: heroFadeIn 0.9s ease both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240,180,41,0.1);
  border: 1px solid rgba(240,180,41,0.2);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  animation: heroFadeIn 0.9s 0.1s ease both;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 20px;
  animation: heroFadeIn 0.9s 0.18s ease both;
}

.hero-title em {
  font-style: italic;
  color: var(--ember);
  display: block;
}

.hero-text {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 36px;
  line-height: 1.7;
  animation: heroFadeIn 0.9s 0.26s ease both;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  animation: heroFadeIn 0.9s 0.34s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  animation: heroFadeIn 0.9s 0.42s ease both;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-2);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--subtle);
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── WHY STRIP ── */
.why-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 32px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.why-icon { font-size: 28px; flex-shrink: 0; }

.why-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 3px;
}

.why-item p { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── RESERVATION ── */
.reservation { background: var(--bg); }

.reservation-form {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--subtle); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(240,180,41,0.4);
  box-shadow: 0 0 0 3px rgba(240,180,41,0.08);
}

/* date input calendar icon color for dark bg */
.form-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) saturate(2) hue-rotate(10deg);
  cursor: pointer;
}

.form-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23f0b429' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}

.form-field select option { background: var(--bg-2); color: var(--cream); }

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

/* Tuesday Warning */
.tuesday-warning {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #fca5a5;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: 4px;
}

/* Guest Counter */
.guest-counter {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-width: 260px;
}

.counter-btn {
  width: 52px;
  height: 52px;
  background: transparent;
  border: none;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.counter-btn:hover { background: var(--gold-dim); }
.counter-btn:disabled { color: var(--subtle); cursor: not-allowed; }

.counter-display {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 6px 8px;
}

#guests-count {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}
.counter-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.counter-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* Submit button */
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 15px;
  border-radius: var(--radius-sm);
  margin-top: 4px;
  position: relative;
}

.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.spinner {
  width: 18px;
  height: 18px;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  text-align: center;
  font-size: 14px;
  color: #fca5a5;
  min-height: 20px;
}

/* ── SUCCESS SCREEN ── */
.success-screen {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  padding: 60px 20px;
  animation: heroFadeIn 0.5s ease both;
}

.success-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.success-checkmark {
  width: 80px;
  height: 80px;
}

.checkmark-svg { width: 80px; height: 80px; }

.checkmark-circle {
  stroke: var(--ember);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: strokeIn 0.6s ease forwards;
}

.checkmark-check {
  stroke: var(--ember);
  stroke-width: 2.5;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: strokeIn 0.4s 0.5s ease forwards;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes strokeIn {
  to { stroke-dashoffset: 0; }
}

.success-screen h3 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--cream);
}
.success-screen p {
  font-size: 16px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.7;
}

/* ── INFO STRIP (Contact + Hours) ── */
.info-strip { background: var(--bg-2); }

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

.info-panel {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.info-panel h2 {
  font-size: clamp(26px, 3vw, 36px);
  color: var(--cream);
  margin-bottom: 14px;
}

.panel-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.panel-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.panel-note {
  font-size: 13px;
  color: var(--subtle);
  line-height: 1.5;
}

/* Hours */
.hours-panel .section-tag { margin-bottom: 14px; }
.hours-panel h2 { margin-bottom: 20px; }

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.hours-item:last-child { border-bottom: none; }

.hours-day { font-size: 14px; color: var(--cream); opacity: 0.8; font-weight: 500; }
.hours-time { font-size: 14px; color: var(--gold); font-weight: 600; }
.closed-label { color: #f87171; font-weight: 700; }

.hours-closed .hours-day { color: var(--muted); }

/* ── MAP ── */
.map-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
  align-items: stretch;
}

.map-box {
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-box iframe { display: block; width: 100%; height: 100%; }

.map-info {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.map-info h3 {
  font-size: 20px;
  color: var(--cream);
  margin-bottom: 12px;
}

.map-info p:not(.panel-note):not(.section-tag) {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

.map-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 20px;
}
.map-actions .btn { justify-content: center; }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-block: 40px 28px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}
.footer-brand p { font-size: 13px; color: var(--muted); }

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--cream); }

.footer-copy { font-size: 12px; color: var(--subtle); }

/* ════════════════
   RESPONSIVE
   ════════════════ */

/* Tablet */
@media (max-width: 960px) {
  .nav { display: none; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .info-grid,
  .map-layout { grid-template-columns: 1fr; }

  .map-box { min-height: 320px; }
}

/* Mobile */
@media (max-width: 640px) {
  .section { padding-block: 52px; }

  .nav-wrap { min-height: 60px; }
  .nav-cta { font-size: 12px; padding: 8px 14px; }

  .hero { min-height: 75vh; }
  .hero-content { padding-block: 60px 30px; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 16px; }

  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-strip { padding-block: 28px; }

  .form-row { grid-template-columns: 1fr; }

  .guest-counter { max-width: 100%; }

  .info-panel {
    padding: 24px 20px;
    border-radius: var(--radius);
  }
  .info-panel h2 { font-size: 26px; }

  .panel-actions { flex-direction: column; }
  .panel-actions .btn { justify-content: center; }

  .hours-item { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 0; }

  .map-info { padding: 24px 20px; border-radius: var(--radius); }
  .map-box { min-height: 280px; border-radius: var(--radius); }

  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  .footer-links { gap: 16px; }
}