/* ============================================================
   The Garden Cafe — Styles
   Warm terracotta + sand palette, rounded & friendly
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-terracotta-50:  #fdf0ec;
  --color-terracotta-100: #f9ddd3;
  --color-terracotta-200: #f3b9a8;
  --color-terracotta-300: #eb8f76;
  --color-terracotta-400: #e06e4e;
  --color-terracotta-500: #d45434;
  --color-terracotta-600: #b83d24;
  --color-terracotta-700: #96301e;
  --color-terracotta-800: #76281a;
  --color-terracotta-900: #5c2116;

  --color-sand-50:  #fefcf8;
  --color-sand-100: #fdf6ec;
  --color-sand-200: #f9e9cc;
  --color-sand-300: #f2d4a0;
  --color-sand-400: #e8bc72;
  --color-sand-500: #d4a04e;
  --color-sand-600: #b88234;
  --color-sand-700: #966428;
  --color-sand-800: #764e22;
  --color-sand-900: #5c3e1c;

  --color-cream: #fefaf4;
  --color-warm-white: #fef8f0;
  --color-text: #3d1f14;
  --color-text-light: #6b4433;
  --color-text-muted: #8a6050;
  --color-border: #f0d8cc;
  --color-white: #ffffff;
  --color-dark: #2a1209;

  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(61,31,20,0.06), 0 1px 2px rgba(61,31,20,0.04);
  --shadow-md: 0 4px 14px rgba(61,31,20,0.08), 0 2px 6px rgba(61,31,20,0.04);
  --shadow-lg: 0 12px 36px rgba(61,31,20,0.12), 0 4px 12px rgba(61,31,20,0.06);
  --shadow-xl: 0 24px 60px rgba(61,31,20,0.16);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-terracotta-600);
  margin-bottom: 10px;
}

.section-sub {
  color: var(--color-text-light);
  font-size: 1.1rem;
  max-width: 520px;
  margin-top: 12px;
}

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

.section-header .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-terracotta-600);
  color: var(--color-white);
  border-color: var(--color-terracotta-600);
}
.btn-primary:hover {
  background: var(--color-terracotta-700);
  border-color: var(--color-terracotta-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-terracotta-700);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(254, 250, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--color-terracotta-700);
}
.logo:hover { color: var(--color-terracotta-500); }

.logo-icon {
  width: 34px;
  height: 34px;
  color: var(--color-terracotta-600);
  flex-shrink: 0;
}

.nav nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav nav a {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-light);
  transition: all var(--transition);
}
.nav nav a:hover {
  color: var(--color-terracotta-600);
  background: var(--color-terracotta-50);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.menu-toggle:hover { background: var(--color-terracotta-50); }
.menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-terracotta-700);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-terracotta-900);
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(42, 18, 9, 0.82) 0%,
    rgba(92, 33, 22, 0.72) 50%,
    rgba(150, 48, 30, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sand-300);
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 22px;
}

.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-features {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-features li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 600;
}
.hero-features svg {
  width: 18px;
  height: 18px;
  color: var(--color-sand-400);
  flex-shrink: 0;
}

/* ---------- HIGHLIGHTS ---------- */
.highlights {
  padding: 80px 0;
  background: var(--color-white);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.highlight-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-terracotta-200);
}

.highlight-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}
.highlight-icon svg { width: 100%; height: 100%; }

.highlight-card h3 {
  margin-bottom: 10px;
  color: var(--color-terracotta-800);
}
.highlight-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---------- MENU ---------- */
.menu {
  padding: 96px 0;
  background: var(--color-cream);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.menu-category {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.menu-category:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-terracotta-200);
}

.menu-cat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 28px;
  background: var(--color-terracotta-600);
}
.menu-cat-header h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin: 0;
}
.menu-cat-icon { width: 40px; height: 40px; flex-shrink: 0; }
.menu-cat-icon svg { width: 100%; height: 100%; }

.menu-list { padding: 8px 0; }

.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 28px;
  border-bottom: 1px solid var(--color-sand-100);
  gap: 12px;
  transition: background var(--transition);
}
.menu-list li:last-child { border-bottom: none; }
.menu-list li:hover { background: var(--color-terracotta-50); }

.menu-item-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
}
.menu-item-desc {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-align: right;
  white-space: nowrap;
}

.menu-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* ---------- ABOUT ---------- */
.about {
  padding: 96px 0;
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  background: var(--color-terracotta-200);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.6;
}

.about-content h2 {
  margin-bottom: 22px;
  color: var(--color-terracotta-800);
}
.about-content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.about-content p em {
  color: var(--color-terracotta-700);
  font-style: italic;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-terracotta-600);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- GALLERY ---------- */
.gallery {
  padding: 0 0 96px;
  background: var(--color-cream);
}
.gallery .container { padding: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.gallery-item {
  overflow: hidden;
  aspect-ratio: 5/4;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- VISIT ---------- */
.visit {
  padding: 96px 0;
  background: var(--color-sand-100);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.visit-info h2 {
  margin-bottom: 16px;
  color: var(--color-terracotta-800);
}
.visit-info > p {
  color: var(--color-text-light);
  margin-bottom: 32px;
  font-size: 1.02rem;
}

.visit-details { display: flex; flex-direction: column; gap: 24px; }

.visit-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.visit-detail dt {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--color-terracotta-600);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}
.visit-detail dt svg { width: 20px; height: 20px; }
.visit-detail dd {
  margin-top: 4px;
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}
.visit-detail a {
  color: var(--color-terracotta-700);
  font-weight: 600;
  transition: color var(--transition);
}
.visit-detail a:hover { color: var(--color-terracotta-500); }

.visit-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-link { position: relative; display: block; }
.map-link img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(transparent, rgba(42,18,9,0.85));
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
}
.map-overlay svg { width: 20px; height: 20px; }
.map-link:hover .map-overlay { background: linear-gradient(transparent, rgba(184,61,36,0.9)); }

/* ---------- CTA ---------- */
.cta {
  padding: 96px 0;
  background: var(--color-terracotta-700);
  text-align: center;
}
.cta-content { max-width: 600px; margin: 0 auto; }
.cta h2 {
  color: var(--color-white);
  margin-bottom: 18px;
}
.cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 96px 0;
  background: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
  color: var(--color-terracotta-800);
}
.contact-info > p {
  color: var(--color-text-light);
  margin-bottom: 32px;
  font-size: 1.02rem;
}

.contact-methods { display: flex; flex-direction: column; gap: 20px; }
.contact-methods li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--color-text-light);
}
.contact-methods a {
  color: var(--color-terracotta-700);
  font-weight: 600;
  transition: color var(--transition);
}
.contact-methods a:hover { color: var(--color-terracotta-500); }
.contact-methods svg {
  width: 22px;
  height: 22px;
  color: var(--color-terracotta-600);
  flex-shrink: 0;
}

.contact-form-wrap {
  background: var(--color-cream);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--color-border);
}

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

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-terracotta-500);
  box-shadow: 0 0 0 3px rgba(212,84,52,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-muted); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--color-terracotta-50);
  border: 1px solid var(--color-terracotta-200);
  border-radius: var(--radius-md);
  color: var(--color-terracotta-800);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}
.footer h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand p { margin-top: 14px; font-size: 0.9rem; line-height: 1.7; }
.footer .logo { color: var(--color-white); }
.footer .logo-icon { color: var(--color-sand-400); }

.footer ul li { margin-bottom: 10px; }
.footer ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer ul a:hover { color: var(--color-sand-300); }
.footer ul li span { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ---------- MOBILE NAV OVERLAY ---------- */
.nav nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(254,250,244,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 24px 24px;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 99;
}
.nav nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.nav nav ul {
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}
.nav nav a {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 1rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .highlight-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .menu-grid { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-inner { height: 64px; }
  .menu-toggle { display: flex; }
  .nav nav { top: 64px; }

  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero h1 { font-size: 2rem; }
  .hero-features { gap: 16px; }
  .hero-features li { font-size: 0.82rem; }

  .highlight-grid { grid-template-columns: 1fr; gap: 16px; }
  .highlight-card { padding: 28px 24px; }

  .menu { padding: 64px 0; }
  .menu-grid { grid-template-columns: 1fr; gap: 16px; }
  .menu-cat-header { padding: 18px 20px; }
  .menu-list li { padding: 12px 20px; }

  .about { padding: 64px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-image-accent { display: none; }
  .about-stats { gap: 24px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .visit { padding: 64px 0; }
  .visit-grid { grid-template-columns: 1fr; gap: 36px; }

  .cta { padding: 64px 0; }
  .cta h2 { font-size: 1.6rem; }

  .contact { padding: 64px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form-wrap { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }

  .footer { padding: 56px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
