/* ============================================
   FRIED FANTASIES — Styles
   Forest Green + Off-White · Minimalist
   ============================================ */

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

:root {
  --green-dark: #1a2f1f;
  --green: #2E4A35;
  --green-mid: #3d6349;
  --green-light: #e8f0ea;
  --green-pale: #f2f7f3;
  --cream: #F4F1EB;
  --cream-dark: #e8e4db;
  --white: #faf9f7;
  --text-dark: #1a1f1c;
  --text-mid: #3d4439;
  --text-light: #6b7568;
  --text-muted: #9aa397;
  --line: rgba(46, 74, 53, 0.12);
  --line-strong: rgba(46, 74, 53, 0.25);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;

  --nav-h: 72px;
  --container: 1200px;
  --radius: 4px;
}

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

/* --- Typography --- */
.section-eyebrow {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.section-title em {
  font-style: italic;
  color: var(--green);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 480px;
  line-height: 1.7;
}

.section-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
}

.btn-primary {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 241, 235, 0.4);
}

.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(244, 241, 235, 0.08);
}

.btn-map {
  margin-top: 32px;
  border-color: var(--green);
  color: var(--green);
  background: transparent;
}

.btn-map:hover {
  background: var(--green);
  color: var(--cream);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(244, 241, 235, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-mark {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 50%;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

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

.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-links a::after:hover {
  width: 100%;
}

.nav-cta {
  color: var(--green) !important;
  border: 1px solid var(--green);
  padding: 8px 20px;
  border-radius: var(--radius);
  transition: all 0.25s ease !important;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--green);
  color: var(--cream) !important;
}

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

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 8px;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-link {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--text-dark);
  padding: 12px 24px;
  transition: color 0.25s ease;
}

.mobile-link:hover {
  color: var(--green);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/34056737/pexels-photo-34056737.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 47, 31, 0.72) 0%,
    rgba(26, 47, 31, 0.65) 50%,
    rgba(26, 47, 31, 0.80) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 24px;
  padding-top: var(--nav-h);
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.7);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 28px;
}

.hero-title em {
  font-style: italic;
  color: rgba(244, 241, 235, 0.85);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(244, 241, 235, 0.75);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 44px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(244, 241, 235, 0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll svg {
  opacity: 0.5;
}

/* --- Section Dividers --- */
.section-divider {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.divider-diamond {
  font-size: 0.5rem;
  color: var(--green);
  opacity: 0.5;
  flex-shrink: 0;
}

/* --- About --- */
.about {
  padding: 100px 0;
}

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

.about-image-wrap {
  overflow: hidden;
  border-radius: var(--radius);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image-wrap:hover img {
  transform: scale(1.02);
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-divider {
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* --- Menu --- */
.menu {
  padding: 100px 0;
  background: var(--white);
}

.menu-header {
  text-align: center;
  margin-bottom: 64px;
}

.menu-header .section-subtitle {
  margin: 0 auto;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.menu-column-label {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--green);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-strong);
}

.menu-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.menu-item:first-child {
  padding-top: 0;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.menu-item-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
}

.menu-item-dots {
  flex: 1;
  height: 1px;
  background: var(--line);
  min-width: 24px;
}

.menu-item-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.5;
}

.menu-note {
  text-align: center;
  margin-top: 48px;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-style: italic;
}

/* --- Gallery --- */
.gallery {
  padding: 100px 0;
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-item--tall {
  grid-column: span 5;
}

.gallery-item:not(.gallery-item--tall) {
  grid-column: span 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

/* --- Visit --- */
.visit {
  padding: 100px 0;
  background: var(--white);
}

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

.visit-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.visit-detail svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--green);
}

.visit-detail-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.visit-detail-value {
  display: block;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.visit-detail-value a {
  color: var(--green);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.25s ease;
}

.visit-detail-value a:hover {
  border-color: var(--green);
}

.visit-map {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 7/5;
}

.visit-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Contact --- */
.contact {
  padding: 100px 0;
}

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

.contact-content .section-body {
  max-width: 400px;
}

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

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

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--green);
  background: var(--white);
}

.form-input::placeholder {
  color: var(--text-muted);
}

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

.btn-submit {
  width: 100%;
  justify-content: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 16px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--green);
  background: var(--green-light);
  border-radius: var(--radius);
}

.form-success.show {
  display: block;
}

/* --- Footer --- */
.footer {
  background: var(--green-dark);
  color: var(--cream);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(244, 241, 235, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo-mark {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 241, 235, 0.3);
  border-radius: 50%;
  color: var(--cream);
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cream);
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(244, 241, 235, 0.5);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.footer-links a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.6);
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-contact {
  text-align: right;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(244, 241, 235, 0.6);
}

.footer-contact a {
  color: rgba(244, 241, 235, 0.8);
  border-bottom: 1px solid rgba(244, 241, 235, 0.2);
  transition: border-color 0.25s ease;
}

.footer-contact a:hover {
  border-color: rgba(244, 241, 235, 0.6);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.75rem;
  color: rgba(244, 241, 235, 0.35);
  letter-spacing: 0.04em;
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

/* Fallback: always visible if JS is disabled or prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-grid,
  .visit-grid,
  .contact-grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrap {
    max-height: 400px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .gallery-item--tall {
    grid-column: span 2;
  }

  .gallery-item:not(.gallery-item--tall) {
    grid-column: span 1;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .about-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--tall {
    grid-column: span 1;
  }

  .contact-form-wrap {
    padding: 24px;
  }
}
