/* ===================================
   SAO LAO DELIGHTS — STYLESHEET
   Bold Editorial · Forest Green + Off-White
   =================================== */

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

:root {
  --green-deep: #1a3c2a;
  --green-mid: #2d5a3f;
  --green-light: #3d7a56;
  --green-pale: #e8f0eb;
  --gold: #c8a961;
  --gold-light: #dfc07a;
  --cream: #f7f4ee;
  --cream-dark: #ede8df;
  --white: #fefdfb;
  --black: #0f1a14;
  --gray-dark: #2c3e35;
  --gray-mid: #6b7f73;
  --gray-light: #a8b5ad;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--gray-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
  color: var(--green-deep);
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-mid);
  max-width: 520px;
  line-height: 1.7;
}

.accent {
  color: var(--gold);
  font-style: italic;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}

.btn-primary {
  background: var(--green-deep);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 60, 42, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--green-deep);
  border: 1.5px solid var(--green-deep);
}

.btn-ghost:hover {
  background: var(--green-deep);
  color: var(--white);
}

/* --- HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 60, 42, 0.08);
  transition: all 0.4s var(--ease-out);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(26, 60, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--green-deep);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: transform 0.3s var(--ease-spring);
}

.logo:hover .logo-mark {
  transform: rotate(-8deg) scale(1.05);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: -0.01em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-dark);
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
}

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

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

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

.btn-nav {
  background: var(--green-deep);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.8125rem !important;
}

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

.btn-nav:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-deep);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s var(--ease-out);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--green-deep);
  left: 0;
  transition: all 0.3s var(--ease-out);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(200, 169, 97, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1.5px;
  background: var(--gold);
}

.hero-headline {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--green-deep);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-headline .accent {
  display: block;
  font-size: 0.7em;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--gray-mid);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 40px;
}

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

.hero-image {
  position: relative;
}

.hero-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(26, 60, 42, 0.15);
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.hero-img-wrap:hover img {
  transform: scale(1.03);
}

.hero-accent-block {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: var(--green-deep);
  color: var(--white);
  padding: 20px 28px;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(26, 60, 42, 0.3);
}

.hero-accent-block p {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gold);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-light);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gray-light), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* --- MARQUEE --- */
.marquee-strip {
  background: var(--green-deep);
  padding: 16px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- SECTIONS --- */
.section {
  padding: 120px 0;
}

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

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

/* --- ABOUT --- */
.about {
  background: var(--white);
}

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

.about-images {
  position: relative;
  height: 600px;
}

.about-img-main {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(26, 60, 42, 0.12);
  position: relative;
  z-index: 1;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-float {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(26, 60, 42, 0.2);
  border: 4px solid var(--white);
  z-index: 2;
}

.about-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content p {
  font-size: 1.0625rem;
  color: var(--gray-mid);
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-content p em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--green-deep);
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--cream-dark);
}

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

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

.stat-label {
  font-size: 0.8125rem;
  color: var(--gray-mid);
  letter-spacing: 0.04em;
}

/* --- MENU --- */
.menu {
  background: var(--cream);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.menu-category {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 4px 20px rgba(26, 60, 42, 0.06);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.menu-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 60, 42, 0.12);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cream-dark);
}

.category-icon {
  color: var(--gold);
  flex-shrink: 0;
}

.category-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--green-deep);
}

.menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-item-name {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 4px;
}

.menu-item-desc {
  font-size: 0.875rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

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

/* --- SPACE --- */
.space {
  background: var(--green-deep);
  color: var(--white);
  overflow: hidden;
}

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

.space .section-eyebrow {
  color: var(--gold);
}

.space .section-title {
  color: var(--white);
}

.space .section-title .accent {
  color: var(--gold);
}

.space-content p {
  font-size: 1.0625rem;
  color: rgba(254, 253, 251, 0.7);
  line-height: 1.85;
  margin-bottom: 20px;
}

.space-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9375rem;
  color: rgba(254, 253, 251, 0.85);
}

.feature-icon {
  color: var(--gold);
  flex-shrink: 0;
}

.space-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.space-img-row {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.space-img-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.space-img-row:hover img {
  transform: scale(1.05);
}

/* --- VISIT --- */
.visit {
  background: var(--white);
}

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

.visit-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.visit-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
}

.visit-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  padding-top: 4px;
}

.visit-value {
  font-size: 1rem;
  color: var(--gray-dark);
  line-height: 1.7;
}

.visit-value a {
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
  transition: color 0.3s;
}

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

.visit-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(26, 60, 42, 0.15);
  height: 480px;
}

/* --- CONTACT --- */
.contact {
  background: var(--cream);
}

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

.contact-content p {
  font-size: 1.0625rem;
  color: var(--gray-mid);
  line-height: 1.85;
  margin-top: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-dark);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  padding: 14px 18px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 12px;
  background: var(--white);
  color: var(--gray-dark);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45, 90, 63, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-light);
}

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

.btn-submit {
  align-self: flex-start;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--green-pale);
  border: 1px solid var(--green-mid);
  border-radius: 12px;
  color: var(--green-deep);
  font-size: 0.9375rem;
  font-weight: 500;
}

.form-success svg {
  color: var(--green-mid);
  flex-shrink: 0;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--black);
  color: rgba(254, 253, 251, 0.6);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(254, 253, 251, 0.08);
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.875rem;
  color: rgba(254, 253, 251, 0.4);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  font-size: 0.9375rem;
  color: rgba(254, 253, 251, 0.5);
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 0.8125rem;
  color: rgba(254, 253, 251, 0.3);
}

/* --- SCROLL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }

  .about-grid,
  .space-grid,
  .visit-grid,
  .contact-inner {
    gap: 48px;
  }

  .about-images {
    height: 480px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(247, 244, 238, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    border-bottom: 1px solid rgba(26, 60, 42, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
    pointer-events: none;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav a {
    font-size: 1rem;
  }

  .btn-nav {
    display: inline-block;
  }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0 80px;
  }

  .hero-image {
    order: -1;
  }

  .hero-img-wrap {
    border-radius: 12px;
  }

  .hero-accent-block {
    bottom: -16px;
    left: 16px;
    padding: 14px 20px;
  }

  .hero-scroll {
    display: none;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-images {
    height: 400px;
  }

  .about-img-float {
    width: 160px;
    height: 160px;
    bottom: -24px;
    right: -16px;
  }

  /* Menu */
  .menu-grid {
    grid-template-columns: 1fr;
  }

  /* Space */
  .space-grid {
    grid-template-columns: 1fr;
  }

  .space-images {
    order: -1;
    grid-template-columns: 1fr 1fr;
  }

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

  .visit-map {
    height: 320px;
  }

  /* Contact */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero-headline {
    font-size: 2.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .about-stats {
    flex-direction: column;
    gap: 24px;
  }

  .space-images {
    grid-template-columns: 1fr;
  }

  .visit-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
