/* ============================================
   Recipe for Happiness - Master Stylesheet
   By Sherita & David Samuels
   Built by AppWT Web & AI Solutions
   ============================================ */

/* --- CSS Variables / Theme --- */
:root {
  --primary: #3B4B8A;
  --primary-dark: #2A3566;
  --primary-light: #5A6BAA;
  --gold: #C9A84C;
  --gold-light: #E0CC82;
  --gold-dark: #A68A2E;
  --navy: #1C2340;
  --white: #FFFFFF;
  --off-white: #FDFBF7;
  --cream: #F5F0E8;
  --charcoal: #2D2D2D;
  --text: #333333;
  --text-light: #6B6B6B;
  --shadow: rgba(27, 35, 64, 0.15);
  --shadow-gold: rgba(201, 168, 76, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.script-font {
  font-family: 'Dancing Script', 'Brush Script MT', cursive;
}

.gold-text {
  color: var(--gold);
}

.section-subtitle {
  font-family: 'Dancing Script', cursive;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  margin-bottom: 1rem;
  position: relative;
}

.section-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1.5rem auto;
  border-radius: 2px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.btn-dark:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--shadow);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(28, 35, 64, 0.97);
  padding: 12px 0;
  box-shadow: 0 4px 30px var(--shadow);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px 0 300px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-logo {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1001;
}

.nav-logo img {
  height: 271px;
  width: 271px;
  border-radius: 15px 15px 360px 360px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
}

.nav-logo-text span {
  color: var(--gold);
  font-family: 'Dancing Script', cursive;
  font-size: 0.9rem;
  display: block;
  margin-top: -4px;
}

.nav-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
}

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

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
}

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

.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px var(--shadow-gold);
}

/* Admin Login Icon */
.nav-login {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.3;
  transition: opacity 0.3s;
  padding: 0 4px !important;
  margin-left: 4px;
}
.nav-login::after {
  display: none !important;
}
.nav-login:hover {
  opacity: 0.7;
}
.nav-login svg {
  width: 16px;
  height: 16px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
  background: none;
  border: none;
  outline: none;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(28, 35, 64, 0.92) 0%,
    rgba(59, 75, 138, 0.80) 50%,
    rgba(28, 35, 64, 0.88) 100%
  );
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: floatParticle 6s ease-in-out infinite;
}

@keyframes floatParticle {
  0%, 100% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  50% { transform: translateY(-10vh) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid var(--gold);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeInDown 1s ease-out;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero h1 .gold-accent {
  color: var(--gold);
  font-family: 'Dancing Script', cursive;
  display: block;
  font-size: 0.6em;
  margin-top: 0.3rem;
}

.hero-tagline {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 1s ease-out 0.4s both;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll span {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid rgba(201, 168, 76, 0.5);
  border-radius: 25px;
  position: relative;
}

.hero-scroll span::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 28px; opacity: 0.3; }
}

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

/* --- Recipe Section --- */
.recipe-section {
  padding: 100px 20px;
  background: var(--off-white);
}

.recipe-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  padding: 60px 50px;
  box-shadow: 0 20px 60px var(--shadow);
  border: 2px solid rgba(201, 168, 76, 0.2);
  position: relative;
  overflow: hidden;
}

.recipe-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
}

.recipe-card h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.recipe-card .recipe-subtitle {
  text-align: center;
  color: var(--gold);
  font-family: 'Dancing Script', cursive;
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.recipe-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 2rem;
}

.recipe-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.recipe-divider strong {
  color: var(--primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.ingredient-list {
  margin-bottom: 2rem;
}

.ingredient {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(59, 75, 138, 0.15);
  opacity: 0;
  transform: translateX(-20px);
}

.ingredient.visible {
  animation: slideInIngredient 0.5s ease-out forwards;
}

@keyframes slideInIngredient {
  to { opacity: 1; transform: translateX(0); }
}

.ingredient .amount {
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

.ingredient .dots {
  flex: 1;
  border-bottom: 2px dotted rgba(59, 75, 138, 0.2);
  margin: 0 12px;
  min-width: 40px;
}

.ingredient .item {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

.recipe-footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 2px solid rgba(201, 168, 76, 0.2);
}

.recipe-footer p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.8;
}

.recipe-footer .kindness {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 6px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

/* --- Products Section --- */
.products-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--off-white) 100%);
}

.products-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  margin-top: 3rem;
}

.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
  transition: var(--transition-slow);
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px var(--shadow);
}

.product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gold);
  color: var(--navy);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.product-image {
  width: 100%;
  height: 420px;
  overflow: hidden;
  position: relative;
  background: #f0f0f0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(transparent, rgba(28, 35, 64, 0.9));
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-overlay .btn {
  width: 100%;
  text-align: center;
}

.product-info {
  padding: 28px;
}

.product-info h3 {
  margin-bottom: 6px;
  font-size: 1.3rem;
}

.product-info .product-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.product-info .product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-dark);
}

/* --- Product Showcase (Single Product Page) --- */
.product-showcase {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Gallery */
.product-gallery {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
}

.product-gallery-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gold);
  color: var(--navy);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 3;
}

.product-main-image {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-main-image.fading {
  opacity: 0;
}

.product-main-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-thumbnails {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: var(--white);
}

.product-thumb {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: #f5f5f5;
  transition: var(--transition);
}

.product-thumb picture,
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  pointer-events: none;
}

.product-thumb:hover {
  border-color: var(--gold-light);
}

.product-thumb.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--shadow-gold);
}

/* Details Panel */
.product-details {
  padding: 10px 0;
}

.product-tagline {
  color: var(--text-light);
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.product-detail-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 168, 76, 0.2));
  margin: 1.5rem 0;
}

.product-option-group {
  margin-bottom: 1.5rem;
}

.product-option-label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

/* Color Swatches */
.color-selector {
  display: flex;
  gap: 12px;
}

.color-swatch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 2px solid #e0dce6;
  border-radius: 50px;
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.color-swatch:hover {
  border-color: var(--gold-light);
}

.color-swatch.active {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
  box-shadow: 0 0 0 3px var(--shadow-gold);
}

.swatch-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ccc;
  flex-shrink: 0;
}

.swatch-white {
  background: #ffffff;
  border-color: #d0d0d0;
}

.swatch-black {
  background: #1a1a1a;
  border-color: #333;
}

.swatch-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

/* Size Selector */
.size-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.size-btn {
  min-width: 48px;
  height: 44px;
  border: 2px solid #e0dce6;
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
  padding: 0 12px;
}

.size-btn:hover {
  border-color: var(--gold-light);
  background: rgba(201, 168, 76, 0.05);
}

.size-btn.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 2px 10px var(--shadow-gold);
}

/* Product Features Checklist */
.product-features {
  margin-bottom: 1.5rem;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text);
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, rgba(59, 75, 138, 0.1), rgba(201, 168, 76, 0.15));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--gold-dark);
  font-weight: 700;
  flex-shrink: 0;
}

/* CTA Group */
.product-cta-group {
  margin-top: 0.5rem;
}

.product-cta-note {
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

/* Color Detail Cards (below showcase) */
.color-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.color-detail-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 25px var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.color-detail-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 10px 40px var(--shadow-gold);
}

.color-detail-preview {
  height: 280px;
  overflow: hidden;
  background: #f0f0f0;
}

.color-detail-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.color-detail-card:hover .color-detail-preview img {
  transform: scale(1.05);
}

.color-detail-info {
  padding: 24px;
}

.color-detail-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.color-detail-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Showcase Responsive */
@media (max-width: 1024px) {
  .product-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .product-showcase {
    max-width: 100%;
    gap: 30px;
  }

  .color-detail-grid {
    grid-template-columns: 1fr;
  }

  .color-selector {
    flex-direction: column;
  }

  .product-main-image {
    aspect-ratio: 3 / 4;
  }

  .product-thumbnails {
    gap: 6px;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .size-selector {
    gap: 6px;
  }

  .size-btn {
    min-width: 44px;
    height: 44px;
    font-size: 0.8rem;
  }

  .color-detail-preview {
    height: 220px;
  }
}

/* --- About Section --- */
.about-section {
  padding: 100px 20px;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08), transparent 70%);
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content .section-subtitle {
  color: var(--gold);
}

.about-content h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.about-content p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}

.stat .stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

.about-image-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.about-image-wrap img {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-image-wrap .couple-photo {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
}

.about-image-wrap::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 3px solid var(--gold);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.4;
}

/* --- Testimonials / Story --- */
.story-section {
  padding: 100px 20px;
  background: var(--off-white);
  text-align: center;
}

.story-container {
  max-width: 800px;
  margin: 0 auto;
}

.story-blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--primary);
  line-height: 1.8;
  margin: 2rem 0;
  position: relative;
  padding: 0 40px;
}

.story-blockquote::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 0;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.4;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.story-author {
  font-weight: 600;
  color: var(--gold-dark);
}

/* --- Values / Features --- */
.values-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--off-white) 100%);
}

.values-grid {
  max-width: 1100px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.value-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 5px 30px var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 15px 40px var(--shadow-gold);
}

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(59, 75, 138, 0.1), rgba(201, 168, 76, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.value-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-dark), var(--navy));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.1), transparent);
}

.cta-banner::before { top: -100px; left: -100px; }
.cta-banner::after { bottom: -100px; right: -100px; }

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 100px 20px;
  background: var(--off-white);
}

.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 15px var(--shadow);
  overflow: hidden;
  border: 1px solid transparent;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--gold);
}

.faq-question {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 15px;
  font-size: 1.2rem;
  color: var(--gold-dark);
}

.faq-item.active .faq-icon {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-inner {
  padding: 0 28px 22px;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* --- Contact Section --- */
.contact-section {
  padding: 100px 20px;
  background: var(--cream);
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 3rem;
}

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

.contact-info p {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--shadow);
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-method strong {
  display: block;
  color: var(--navy);
  margin-bottom: 2px;
}

.contact-method span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px var(--shadow);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e8e4f0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  background: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--shadow-gold);
}

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

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

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 20px 30px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand .tagline {
  color: var(--gold);
  font-family: 'Dancing Script', cursive;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  font-family: 'Inter', sans-serif;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 8px;
}

.footer-social {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
}

.footer-social .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-social .social-icon:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

.footer-bottom {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--gold);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Page Headers (inner pages) --- */
.page-header {
  background: var(--navy);
  padding: 160px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(201, 168, 76, 0.08), transparent 60%);
}

.page-header h1 {
  color: var(--white);
  position: relative;
}

.page-header .breadcrumb {
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
  font-size: 0.9rem;
  position: relative;
}

.page-header .breadcrumb a {
  color: var(--gold);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrap {
    order: -1;
  }

  .about-image-wrap .couple-photo {
    max-width: 350px;
  }

  .about-image-wrap::after {
    display: none;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-logo img {
    height: 150px;
    width: 150px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 25px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-login {
    display: flex !important;
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

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

  .recipe-card {
    padding: 40px 25px;
  }

  .about-image-wrap .couple-photo {
    max-width: 280px;
  }

  .about-stats {
    gap: 20px;
  }

  .stat .stat-number {
    font-size: 2rem;
  }

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

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .contact-container {
    gap: 30px;
  }

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

  .story-blockquote {
    font-size: 1.2rem;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

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

  .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

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

/* === Accessibility === */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1C2340;
  color: #fff;
  padding: 12px 24px;
  z-index: 10000;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.3s;
}
.skip-nav:focus {
  top: 0;
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-links a:focus-visible,
.nav-cta:focus-visible,
.faq-question:focus-visible,
.product-card:focus-visible {
  outline: 3px solid #C9A84C;
  outline-offset: 2px;
  border-radius: 4px;
}
.hamburger:focus-visible {
  outline: 3px solid #C9A84C;
  outline-offset: 2px;
}

/* === Legal Pages (Privacy, Terms) === */
.legal-content p {
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.legal-content h2 {
  color: var(--navy);
}

.legal-content h3 {
  font-family: 'Inter', sans-serif;
}

.legal-content ul li {
  color: var(--text);
  line-height: 1.8;
}

