/* ============================================
   Supreme Potatoes Orlando — Editorial Bakery Site
   Palette: Emerald Green + Cream
   Fonts: Playfair Display + Inter
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-emerald-950: #042f2e;
  --color-emerald-900: #064e3b;
  --color-emerald-800: #065f46;
  --color-emerald-700: #047857;
  --color-emerald-600: #059669;
  --color-emerald-500: #10b981;
  --color-cream-50: #fefdf8;
  --color-cream-100: #fef9ef;
  --color-cream-200: #fdf3e0;
  --color-cream-300: #f5e6c8;
  --color-warm-800: #2d2418;
  --color-warm-700: #3d3020;
  --color-warm-600: #5c4a32;
  --color-text-dark: #1a1a1a;
  --color-text-muted: #4a4a4a;
  --color-text-light: #f5f0e8;
  --color-accent-gold: #c9a84c;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

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

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

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 253, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(6, 78, 59, 0.08);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-emerald-900);
}

.nav__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-emerald-900);
  color: var(--color-cream-100);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-sm);
  letter-spacing: -0.02em;
}

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

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-emerald-700);
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: var(--color-emerald-800);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--color-emerald-900);
  color: var(--color-cream-50);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav__cta:hover {
  background: var(--color-emerald-800);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}

.nav__toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-emerald-900);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 47, 46, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-cream-50);
  padding: 120px var(--space-md) var(--space-xl);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  width: 100%;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-lg);
}

.hero__eyebrow-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-emerald-600);
}

.hero__eyebrow span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-emerald-800);
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-emerald-950);
  margin-bottom: var(--space-lg);
}

.hero__headline-verb {
  display: block;
  color: var(--color-emerald-700);
  font-style: italic;
}

.hero__headline-rest {
  display: block;
}

.hero__deck {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
}

.btn--primary {
  background: var(--color-emerald-900);
  color: var(--color-cream-50);
}

.btn--primary:hover {
  background: var(--color-emerald-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn--ghost:hover {
  background: var(--color-emerald-900);
  color: var(--color-cream-50);
  transform: translateY(-2px);
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(6, 78, 59, 0.12);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__stat-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-emerald-900);
  letter-spacing: -0.02em;
}

.hero__stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(6, 78, 59, 0.2);
}

/* Hero Image Stack */
.hero__visual {
  position: relative;
}

.hero__img-stack {
  position: relative;
  padding-top: 60px;
}

.hero__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__img--main {
  width: 100%;
  aspect-ratio: 4/5;
}

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

.hero__img--accent {
  position: absolute;
  bottom: -30px;
  left: -40px;
  width: 55%;
  aspect-ratio: 4/3;
  border: 5px solid var(--color-cream-50);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__img--accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  top: 20px;
  right: -20px;
  background: var(--color-emerald-900);
  color: var(--color-cream-100);
  padding: 12px 20px;
  border-radius: 100px;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-md);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  opacity: 0.6;
}

.hero__scroll-indicator svg {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* --- Marquee --- */
.marquee {
  background: var(--color-emerald-900);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee__track {
  display: flex;
  animation: marqueeScroll 30s linear infinite;
}

.marquee__track span {
  flex-shrink: 0;
  padding: 0 var(--space-md);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-cream-200);
}

.marquee__sep {
  color: var(--color-accent-gold) !important;
  font-size: 0.6rem !important;
  letter-spacing: 0 !important;
}

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

/* --- Section Shared --- */
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-emerald-700);
  margin-bottom: var(--space-md);
}

.section__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-emerald-600);
}

.section__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-emerald-950);
}

/* --- About --- */
.about {
  padding: var(--space-3xl) 0;
  background: var(--color-cream-50);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: center;
}

.about__label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about__label-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--color-emerald-600);
}

.about__label span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-emerald-700);
}

.about__content {
  padding-right: var(--space-md);
}

.about__headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-emerald-950);
  margin-bottom: var(--space-lg);
}

.about__body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.about__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5/4;
}

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

/* --- Products --- */
.products {
  padding: var(--space-3xl) 0;
  background: var(--color-emerald-900);
}

.products .section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.products .section__eyebrow {
  color: var(--color-cream-300);
}

.products .section__eyebrow::before {
  background: var(--color-accent-gold);
}

.products .section__headline {
  color: var(--color-cream-50);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.product-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.product-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__img img {
  transform: scale(1.05);
}

.product-card__body {
  padding: var(--space-md);
}

.product-card__title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-cream-50);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.product-card__desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-cream-300);
}

/* --- Story --- */
.story {
  padding: var(--space-3xl) 0;
  background: var(--color-cream-100);
}

.story__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.story__text {
  padding-right: var(--space-md);
}

.story__headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-emerald-950);
  margin-bottom: var(--space-lg);
}

.story__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.story__body p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.story__signature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-emerald-800);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
}

.story__signature svg {
  color: var(--color-emerald-700);
}

.story__image-stack {
  position: relative;
  padding-top: 40px;
}

.story__img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story__img--top {
  width: 100%;
  aspect-ratio: 4/5;
  margin-bottom: var(--space-md);
}

.story__img--bottom {
  width: 75%;
  aspect-ratio: 4/3;
  margin-left: auto;
}

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

/* --- Visit --- */
.visit {
  padding: var(--space-3xl) 0;
  background: var(--color-cream-50);
}

.visit__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: stretch;
  background: var(--color-emerald-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.visit__text {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.visit .section__eyebrow {
  color: var(--color-cream-300);
}

.visit .section__eyebrow::before {
  background: var(--color-accent-gold);
}

.visit__headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-cream-50);
}

.visit__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.visit__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: var(--color-cream-200);
}

.visit__detail svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-accent-gold);
}

.visit__detail strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-cream-50);
  margin-bottom: 2px;
}

.visit__detail span,
.visit__detail a {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-cream-300);
}

.visit__detail a:hover {
  color: var(--color-accent-gold);
  text-decoration: underline;
}

.visit__map {
  min-height: 400px;
  background: var(--color-emerald-800);
}

.visit__map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* --- Footer --- */
.footer {
  background: var(--color-emerald-950);
  color: var(--color-cream-200);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(254, 253, 248, 0.1);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__brand .nav__logo-mark {
  width: 48px;
  height: 48px;
  font-size: 16px;
}

.footer__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-cream-50);
}

.footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-cream-300);
  max-width: 280px;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__info p {
  font-size: 0.9375rem;
  color: var(--color-cream-300);
  line-height: 1.6;
}

.footer__info a {
  color: var(--color-accent-gold);
  transition: color 0.2s ease;
}

.footer__info a:hover {
  color: var(--color-cream-50);
}

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

.footer__nav a {
  font-size: 0.9375rem;
  color: var(--color-cream-300);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer__nav a:hover {
  color: var(--color-cream-50);
  padding-left: 4px;
}

.footer__bottom {
  padding-top: var(--space-md);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: rgba(254, 253, 248, 0.4);
}

/* --- 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.revealed {
    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; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--color-cream-50);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px var(--space-lg) var(--space-lg);
    gap: var(--space-md);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,0.15);
    z-index: 1000;
  }

  .nav__menu.open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 1rem;
  }

  .nav__cta {
    margin-top: var(--space-sm);
  }

  .nav__toggle {
    display: flex;
  }

  .mobile-overlay {
    display: block;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero__visual {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero__img--accent {
    left: -16px;
    bottom: -16px;
  }

  .hero__badge {
    right: 0;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .hero__stat-divider {
    display: none;
  }

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

  .about__content {
    padding-right: 0;
    order: 2;
  }

  .about__image {
    order: 1;
    aspect-ratio: 16/9;
  }

  .products__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

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

  .story__text {
    padding-right: 0;
    order: 2;
  }

  .story__image-stack {
    order: 1;
    max-width: 400px;
  }

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

  .visit__map {
    min-height: 300px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px var(--space-sm) var(--space-lg);
  }

  .hero__img--accent {
    width: 60%;
    left: -8px;
    bottom: -8px;
  }

  .hero__badge {
    right: -8px;
    top: 12px;
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .hero__actions {
    flex-direction: column;
  }

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

  .nav__logo-text {
    display: none;
  }
}
