/* ========================================
   Moon Root Kitchen — Styles
   Deep green + brushed gold aesthetic
======================================== */

:root {
  --green-deep: #0A3326;
  --green-mid: #0F4634;
  --green-soft: #164A38;
  --gold: #C9A84C;
  --gold-light: #E0C878;
  --gold-dark: #A88B35;
  --cream: #F7F2E9;
  --cream-dark: #EDE6D9;
  --text-dark: #1C1C1C;
  --text-muted: #5A5A5A;
  --white: #FFFFFF;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  --radius: 12px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1.25rem auto 0;
}

.gold-line.left {
  margin-left: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--green-deep);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(201, 168, 76, 0.35);
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(18, 42, 34, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.22);
  transition: background var(--transition);
}

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

.nav-logo {
  height: 48px;
  width: auto;
  border-radius: 6px;
}

.main-nav {
  display: flex;
  gap: 2.2rem;
}

.main-nav a {
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  position: relative;
  transition: color var(--transition);
}

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

.main-nav a:hover {
  color: var(--gold-light);
}

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

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0A3326;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 50% 30%, rgba(22, 74, 56, 0.6) 0%, transparent 65%),
    radial-gradient(ellipse at 80% 80%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
  text-align: center;
  padding: 6rem 1.5rem 4rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 760px;
}

.hero-video-wrap {
  position: relative;
  width: min(520px, 86vw);
  aspect-ratio: 1 / 1.15;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  background: #0A3326;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.unmute-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(10, 51, 38, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 50px;
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 5;
}

.unmute-btn:hover {
  background: rgba(10, 51, 38, 0.9);
  border-color: var(--gold);
}

.unmute-btn.hidden {
  display: none;
}

.hero-content {
  max-width: 520px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(247, 242, 233, 0.82);
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.55;
}

/* ========== SECTIONS ========== */
.section {
  padding: 6.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  color: var(--green-deep);
}

.section-header.light h2 {
  color: var(--cream);
}

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

/* ========== PRODUCT ========== */
.product-section {
  background: var(--cream);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.product-info p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.product-info .lead {
  color: var(--text-dark);
}

.ingredients-box {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(10, 51, 38, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.ingredients-box h3 {
  font-size: 1.35rem;
  color: var(--green-deep);
  margin-bottom: 0.75rem;
}

.ingredients-list {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem !important;
}

.note {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-dark);
  letter-spacing: 0.02em;
}

.product-card {
  background: var(--green-deep);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-placeholder {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(145deg, var(--green-mid), var(--green-deep));
  color: rgba(247, 242, 233, 0.45);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
}

.product-placeholder small {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  margin-top: 0.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card-text {
  padding: 1.5rem;
  text-align: center;
  color: var(--cream);
}

.product-card-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.product-card-text p {
  font-size: 0.9rem;
  opacity: 0.75;
}

/* ========== PROMISE ========== */
.promise-section {
  background: var(--green-deep);
  color: var(--cream);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: all var(--transition);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-4px);
}

.value-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  color: var(--cream);
}

.value-card p {
  font-size: 0.95rem;
  color: rgba(247, 242, 233, 0.72);
  line-height: 1.6;
}

/* ========== ABOUT ========== */
.about-section {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.about-content .eyebrow {
  text-align: left;
}

.about-content h2 {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}

.about-content p {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
}

.about-content .lead {
  color: var(--text-dark);
  margin-top: 1.5rem;
}

.about-logo {
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .lead {
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.contact-details {
  margin-top: 2.5rem;
}

.contact-details p {
  margin-bottom: 1.4rem;
}

.contact-details strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.25rem;
}

.contact-details a {
  color: var(--green-deep);
  font-weight: 500;
  transition: color var(--transition);
}

.contact-details a:hover {
  color: var(--gold-dark);
}

.contact-form {
  background: var(--white);
  padding: 2.25rem;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-deep);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid rgba(10, 51, 38, 0.15);
  border-radius: 8px;
  background: var(--cream);
  color: var(--text-dark);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--green-deep);
  padding: 3.5rem 0;
  text-align: center;
}

.footer-logo {
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 6px;
}

.footer-tagline {
  color: rgba(247, 242, 233, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.copyright {
  font-size: 0.82rem;
  color: rgba(247, 242, 233, 0.45);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .product-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .about-visual {
    order: -1;
  }

  .about-logo {
    max-width: 280px;
  }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

  .hero-logo {
    width: min(260px, 75vw);
  }

  .section {
    padding: 4.5rem 0;
  }

  .contact-form {
    padding: 1.75rem;
  }
}

/* Mobile nav open state */
.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--green-deep);
  padding: 1.5rem;
  gap: 1.25rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}
