/* ============================================
   Mo's Egg House — Custom Styles
   Palette: Emerald Green (#065f46) + Cream (#fef9f0)
   Fonts: Playfair Display + Inter
   ============================================ */

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

:root {
  --emerald-900: #042f23;
  --emerald-800: #064e3b;
  --emerald-700: #065f46;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --cream-50: #fefdf8;
  --cream-100: #fef9f0;
  --cream-200: #fdf3e0;
  --cream-300: #f5e6c8;
  --neutral-800: #1f2937;
  --neutral-700: #374151;
  --neutral-600: #4b5563;
  --neutral-500: #6b7280;
  --neutral-400: #9ca3af;
  --neutral-200: #e5e7eb;
  --neutral-100: #f3f4f6;
  --gold: #d97706;
  --gold-light: #f59e0b;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  background: var(--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;
}

ul {
  list-style: none;
}

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 253, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 95, 70, 0.08);
  transition: box-shadow var(--transition);
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--emerald-700);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--emerald-700);
  color: var(--cream-100);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  font-weight: 700;
}

.logo-footer .logo-mark {
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu li a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-700);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-menu li a:hover {
  color: var(--emerald-700);
  background: rgba(6, 95, 70, 0.06);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: rgba(6, 95, 70, 0.06);
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neutral-700);
  position: relative;
  transition: background var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--neutral-700);
  transition: transform var(--transition);
}

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

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

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

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

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

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-emerald {
  background: var(--emerald-700);
  color: #fff;
  border-color: var(--emerald-700);
}

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

.btn-outline {
  background: transparent;
  color: var(--emerald-700);
  border-color: var(--emerald-700);
}

.btn-outline:hover {
  background: var(--emerald-700);
  color: #fff;
  transform: translateY(-1px);
}

.btn-cream {
  background: var(--cream-200);
  color: var(--emerald-800);
  border-color: var(--cream-200);
}

.btn-cream:hover {
  background: var(--cream-300);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-cream {
  background: transparent;
  color: var(--cream-100);
  border-color: rgba(254, 249, 240, 0.5);
}

.btn-outline-cream:hover {
  background: rgba(254, 249, 240, 0.12);
  border-color: var(--cream-100);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

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

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

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 16px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--neutral-800);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--neutral-600);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(6, 95, 70, 0.08);
  color: var(--emerald-700);
  border-radius: 100px;
}

/* Hero Image Stack */
.hero-visual {
  position: relative;
}

.hero-img-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
}

.hero-img-stack > img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-img-float {
  position: absolute;
  bottom: -30px;
  left: -40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream-100);
}

.hero-img-float img {
  width: 320px;
  height: 220px;
  object-fit: cover;
}

.float-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--emerald-700);
  color: var(--cream-100);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ============================================
   HIGHLIGHTS
   ============================================ */
.highlights {
  padding: 80px 0;
  background: var(--cream-50);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.highlight-card {
  background: var(--cream-100);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(6, 95, 70, 0.06);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.highlight-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--emerald-700);
}

.highlight-icon svg {
  width: 100%;
  height: 100%;
}

.highlight-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--neutral-800);
  margin-bottom: 10px;
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--neutral-600);
  line-height: 1.65;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--neutral-800);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--neutral-600);
  line-height: 1.7;
}

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

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

.menu-card {
  background: var(--cream-50);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(6, 95, 70, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.menu-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.menu-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--emerald-700);
  color: var(--cream-100);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-card-body {
  padding: 24px;
}

.menu-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--neutral-800);
  margin-bottom: 8px;
}

.menu-card-body p {
  font-size: 0.9rem;
  color: var(--neutral-600);
  line-height: 1.65;
}

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

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 96px 0;
  background: var(--cream-50);
}

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

.about-visual {
  position: relative;
}

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

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

.about-img-secondary {
  position: absolute;
  bottom: -32px;
  right: -24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream-50);
}

.about-img-secondary img {
  width: 280px;
  height: 340px;
  object-fit: cover;
}

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

.about-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.about-content > p {
  font-size: 1rem;
  color: var(--neutral-600);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--neutral-200);
}

.stat {
  text-align: left;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--emerald-700);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--neutral-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 96px 0;
  background: var(--emerald-700);
}

.testimonials .section-eyebrow {
  color: var(--emerald-500);
}

.testimonials .section-title {
  color: var(--cream-100);
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: background var(--transition), transform var(--transition);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--gold-light);
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--cream-100);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--emerald-500);
}

/* ============================================
   LOCATION
   ============================================ */
.location {
  padding: 96px 0;
  background: var(--cream-100);
}

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

.location-info .section-eyebrow {
  text-align: left;
}

.location-info .section-title {
  text-align: left;
  margin-bottom: 32px;
}

.info-block {
  margin-bottom: 28px;
}

.info-block h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--neutral-800);
  margin-bottom: 8px;
}

.info-block p {
  font-size: 0.95rem;
  color: var(--neutral-600);
  line-height: 1.7;
}

.info-block a {
  color: var(--emerald-700);
  font-weight: 600;
  transition: color var(--transition);
}

.info-block a:hover {
  color: var(--emerald-600);
  text-decoration: underline;
}

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

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--neutral-200);
  font-size: 0.95rem;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list .day {
  color: var(--neutral-700);
  font-weight: 500;
}

.hours-list .time {
  color: var(--neutral-600);
}

.location-map {
  height: 440px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: 96px 0;
  background: var(--emerald-800);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(254,249,240,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--cream-100);
  line-height: 1.25;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(254, 249, 240, 0.7);
  line-height: 1.7;
  max-width: 480px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--emerald-900);
  color: var(--cream-200);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(254, 249, 240, 0.6);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cream-100);
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(254, 249, 240, 0.6);
  transition: color var(--transition);
}

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

.footer-contact p {
  font-size: 0.88rem;
  color: rgba(254, 249, 240, 0.6);
  line-height: 1.7;
  margin-bottom: 6px;
}

.footer-contact a {
  color: var(--emerald-500);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--emerald-400);
}

.footer-bottom {
  border-top: 1px solid rgba(254, 249, 240, 0.1);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(254, 249, 240, 0.4);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.nav-menu.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--cream-50);
  padding: 16px 24px 24px;
  border-bottom: 1px solid rgba(6, 95, 70, 0.08);
  box-shadow: var(--shadow-md);
  gap: 4px;
}

.nav-menu.open li a {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
}

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

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
}

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

  .nav-menu {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 40px 0 60px;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-img-stack > img {
    height: 420px;
  }

  .hero-img-float {
    left: -16px;
    bottom: -20px;
  }

  .hero-img-float img {
    width: 240px;
    height: 170px;
  }

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

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

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .highlight-card {
    display: flex;
    text-align: left;
    gap: 20px;
    padding: 24px;
  }

  .highlight-icon {
    margin: 0;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
  }

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

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

  .about-img-secondary {
    right: 0;
    bottom: -24px;
  }

  .about-img-secondary img {
    width: 200px;
    height: 260px;
  }

  .about-content .section-eyebrow,
  .about-content .section-title {
    text-align: center;
  }

  .about-content > p {
    text-align: center;
  }

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

  .stat {
    text-align: center;
  }

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .location-info .section-eyebrow,
  .location-info .section-title {
    text-align: center;
  }

  .location-map {
    height: 300px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .cta-content p {
    margin: 0 auto;
  }

  .cta-actions {
    justify-content: center;
  }

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

  .footer-brand p {
    margin: 16px auto 0;
  }
}

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

  .hero {
    min-height: auto;
  }

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

  .hero-img-stack {
    max-width: 100%;
  }

  .hero-img-stack > img {
    height: 320px;
  }

  .hero-img-float {
    left: -8px;
    bottom: -16px;
  }

  .hero-img-float img {
    width: 180px;
    height: 130px;
  }

  .float-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .menu-card,
  .highlight-card,
  .testimonial-card {
    transition: none;
  }

  .menu-card:hover,
  .highlight-card:hover,
  .testimonial-card:hover {
    transform: none;
  }

  .menu-card-img img {
    transition: none;
  }

  .menu-card:hover .menu-card-img img {
    transform: none;
  }
}
