/* ============================================
   Willy Dogg's Kiosk — Styles
   Palette: Terracotta + Sand | Playfair + Inter
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --terracotta-50: #fdf0eb;
  --terracotta-100: #fce4d9;
  --terracotta-200: #f7c4aa;
  --terracotta-300: #f0a07a;
  --terracotta-400: #e87d52;
  --terracotta-500: #c4835a;
  --terracotta-600: #a86744;
  --terracotta-700: #8a5035;
  --terracotta-800: #6e402c;
  --terracotta-900: #563324;
  --sand-50: #fdfbf7;
  --sand-100: #faf5ec;
  --sand-200: #f3e8d1;
  --sand-300: #e8d4a8;
  --sand-400: #d4b87a;
  --sand-500: #c4a052;
  --sand-600: #a8833e;
  --sand-700: #8a6832;
  --sand-800: #6e522a;
  --sand-900: #564122;
  --cream: #fefcf8;
  --warm-white: #fdf8f0;
  --warm-gray-50: #faf8f5;
  --warm-gray-100: #f5f0e9;
  --warm-gray-200: #e8e0d4;
  --warm-gray-300: #d4cabb;
  --warm-gray-400: #b8a996;
  --warm-gray-500: #9a8a78;
  --warm-gray-600: #7a6b5c;
  --warm-gray-700: #5c4f42;
  --warm-gray-800: #3d342b;
  --warm-gray-900: #2a221c;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--warm-gray-800);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul { list-style: none; }
label { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; color: var(--warm-gray-700); }
input, textarea { font-family: var(--font-body); font-size: 1rem; }

/* --- Container --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-500);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--warm-gray-900);
  margin-bottom: 20px;
}
.section-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--warm-gray-600);
  max-width: 560px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 100px;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--terracotta-500);
  color: #fff;
  box-shadow: 0 4px 20px rgba(196, 131, 90, 0.3);
}
.btn-primary:hover {
  background: var(--terracotta-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196, 131, 90, 0.4);
}
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.4s var(--ease-out);
}
.nav.scrolled {
  background: rgba(253, 252, 248, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--warm-gray-900);
  transition: color 0.3s;
}
.nav-brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--terracotta-500);
  border-radius: 10px;
  color: #fff;
  transition: transform 0.3s var(--ease-spring);
}
.nav-brand:hover .nav-brand-icon { transform: rotate(-10deg) scale(1.05); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--warm-gray-700);
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.3s;
}
.nav-links a:hover { color: var(--terracotta-600); background: var(--terracotta-50); }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  transition: background 0.3s;
}
.nav-toggle:hover { background: var(--warm-gray-100); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sand-100) 0%, var(--cream) 40%, var(--terracotta-50) 100%);
}
.hero-gradient::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(196,131,90,0.08) 0%, transparent 70%);
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta-500);
  margin-bottom: 28px;
}
.hero-eyebrow-line {
  width: 32px;
  height: 2px;
  background: var(--terracotta-400);
  border-radius: 2px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--warm-gray-900);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--terracotta-500);
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--terracotta-200);
  border-radius: 3px;
  z-index: -1;
}
.hero-desc {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--warm-gray-600);
  margin-bottom: 36px;
  max-width: 440px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-img-stack {
  position: relative;
  height: 680px;
}
.hero-img {
  position: absolute;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-1 {
  width: 320px;
  height: 420px;
  top: 0;
  right: 40px;
  z-index: 3;
}
.hero-img-2 {
  width: 240px;
  height: 300px;
  top: 120px;
  right: 0;
  z-index: 2;
}
.hero-img-3 {
  width: 200px;
  height: 260px;
  bottom: 0;
  right: 100px;
  z-index: 1;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--warm-gray-400);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Highlights --- */
.highlights {
  padding: 100px 0;
  background: var(--sand-50);
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.highlight-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: 20px;
  border: 1px solid var(--sand-200);
  transition: all 0.4s var(--ease-out);
}
.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(196,131,90,0.12);
  border-color: var(--terracotta-200);
}
.highlight-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta-50);
  border-radius: 16px;
  color: var(--terracotta-600);
  margin-bottom: 20px;
  transition: all 0.3s;
}
.highlight-card:hover .highlight-icon {
  background: var(--terracotta-500);
  color: #fff;
  transform: scale(1.05);
}
.highlight-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--warm-gray-900);
  margin-bottom: 10px;
}
.highlight-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--warm-gray-600);
}

/* --- Menu --- */
.menu {
  padding: 120px 0;
  background: var(--cream);
}
.menu-header { text-align: center; margin-bottom: 64px; }
.menu-header .section-desc { margin: 0 auto; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.menu-category {
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  border: 1px solid var(--sand-200);
  transition: all 0.4s var(--ease-out);
}
.menu-category:hover {
  border-color: var(--terracotta-200);
  box-shadow: 0 12px 40px rgba(196,131,90,0.1);
}
.menu-cat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--sand-200);
}
.menu-cat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--terracotta-500), var(--terracotta-400));
  border-radius: 14px;
  color: #fff;
  flex-shrink: 0;
}
.menu-cat-header h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--warm-gray-900);
}
.menu-list { display: flex; flex-direction: column; gap: 16px; }
.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.menu-item-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--warm-gray-800);
}
.menu-item-desc {
  font-size: 0.8125rem;
  color: var(--warm-gray-500);
  white-space: nowrap;
}
.menu-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--warm-gray-500);
  font-style: italic;
}

/* --- About --- */
.about {
  padding: 120px 0;
  background: var(--sand-50);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-content .section-title { margin-bottom: 24px; }
.about-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--warm-gray-600);
  margin-bottom: 20px;
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--sand-200);
}
.about-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--terracotta-500);
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--warm-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* --- Gallery --- */
.gallery {
  padding: 0 0 120px;
  background: var(--cream);
}
.gallery-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  transition: all 0.4s var(--ease-out);
}
.gallery-item:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(0,0,0,0.15); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.06); }

/* --- Visit --- */
.visit {
  padding: 120px 0;
  background: var(--warm-gray-50);
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}
.visit-info { display: flex; flex-direction: column; }
.visit-info .section-title { margin-bottom: 32px; }
.visit-details { display: flex; flex-direction: column; gap: 28px; margin-bottom: 36px; flex: 1; }
.visit-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.visit-detail-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta-50);
  border-radius: 14px;
  color: var(--terracotta-600);
  flex-shrink: 0;
}
.visit-detail strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--warm-gray-900);
  margin-bottom: 4px;
}
.visit-detail p {
  font-size: 0.9375rem;
  color: var(--warm-gray-600);
  line-height: 1.6;
}
.visit-detail a {
  color: var(--terracotta-600);
  transition: color 0.3s;
}
.visit-detail a:hover { color: var(--terracotta-700); }
.visit-info .btn { align-self: flex-start; }
.visit-map { border-radius: 20px; overflow: hidden; min-height: 400px; box-shadow: 0 8px 32px rgba(0,0,0,0.08); }

/* --- Contact --- */
.contact {
  padding: 120px 0;
  background: var(--cream);
}
.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.contact-text { margin-bottom: 48px; }
.contact-text .section-title { margin-bottom: 16px; }
.contact-desc {
  font-size: 1.0625rem;
  color: var(--warm-gray-600);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}
.contact-form { text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { text-align: left; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--warm-gray-200);
  border-radius: 14px;
  font-size: 0.9375rem;
  color: var(--warm-gray-800);
  background: #fff;
  transition: all 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--terracotta-400);
  box-shadow: 0 0 0 4px rgba(196,131,90,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--warm-gray-400); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 24px;
  text-align: center;
}
.form-success.active { display: flex; }
.success-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta-50);
  border-radius: 50%;
  color: var(--terracotta-500);
  margin-bottom: 8px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--warm-gray-900);
}
.form-success p {
  font-size: 1rem;
  color: var(--warm-gray-600);
  margin-bottom: 8px;
}

/* --- Footer --- */
.footer {
  background: var(--warm-gray-900);
  color: var(--warm-gray-400);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--terracotta-500);
  border-radius: 10px;
  color: #fff;
}
.footer-brand p { font-size: 0.9375rem; line-height: 1.7; max-width: 300px; }
.footer-links h4,
.footer-contact h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer-links ul,
.footer-contact ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.9375rem;
  color: var(--warm-gray-400);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--terracotta-300); }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
}
.footer-contact a { color: var(--warm-gray-400); transition: color 0.3s; }
.footer-contact a:hover { color: var(--terracotta-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--warm-gray-500);
}

/* --- Mobile Menu --- */
.nav-links {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--cream);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 24px;
  transition: right 0.4s var(--ease-out);
  box-shadow: -8px 0 32px rgba(0,0,0,0.1);
  z-index: 1001;
}
.nav-links.open { right: 0; }
.nav-links a {
  font-size: 1.125rem;
  padding: 12px 24px;
  color: var(--warm-gray-800);
}
.nav-links a:hover { background: var(--terracotta-50); color: var(--terracotta-600); }
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.nav-overlay.active { opacity: 1; pointer-events: all; }

/* --- Reveal Animations --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .hero-title { font-size: clamp(2.5rem, 8vw, 4rem); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap { max-width: 500px; }
  .gallery-inner { grid-template-columns: repeat(2, 1fr); }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-map { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle { display: flex; }
  .hero-inner { padding-top: 100px; }
  .hero-title { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .highlights { padding: 80px 0; }
  .highlights-grid { grid-template-columns: 1fr; max-width: 400px; }
  .menu { padding: 80px 0; }
  .about { padding: 80px 0; }
  .about-stats { flex-wrap: wrap; gap: 24px; }
  .gallery { padding: 0 0 80px; }
  .gallery-inner { grid-template-columns: 1fr 1fr; }
  .visit { padding: 80px 0; }
  .contact { padding: 80px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer { padding: 60px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-inner { padding: 90px 16px 60px; }
  .gallery-inner { grid-template-columns: 1fr; }
}
