/* ============================================================
   GORNIO KITCHEN — Tuscan Farmhouse Theme
   Primary: #1e2d00 → #4a6600  |  Accent: #c05030  |  BG: #f7f4ed
============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-start: #1e2d00;
  --primary-end: #4a6600;
  --accent: #c05030;
  --accent-hover: #962a18;
  --bg: #f7f4ed;
  --heading: #1e2d00;
  --text: #3a352a;
  --text-muted: #6a6050;
  --card-bg: #ffffff;
  --border: #d6ccb4;
  --border-light: #e8e0cc;
  --section-alt: #f0ece0;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cardo', Georgia, serif;
  color: var(--heading);
  line-height: 1.2;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon { font-size: 22px; }

.logo-text {
  font-family: 'Cardo', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #f7f4ed;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  color: rgba(247,244,237,0.82);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #f7f4ed;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1e2d00 0%, #304400 40%, #4a6600 80%, #5a7a00 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(192,80,48,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(100,140,0,0.12) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 60px
    );
}

.hero-decoration {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,80,48,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 28px;
  max-width: 700px;
  margin-left: 28px;
}

@media (min-width: 1200px) {
  .hero-content { margin-left: calc((100vw - 1200px) / 2 + 28px); }
}

.hero-tagline {
  font-size: 13px;
  color: rgba(247,244,237,0.65);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}

.hero h1 {
  font-family: 'Cardo', Georgia, serif;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  color: #f7f4ed;
  line-height: 1.12;
  margin-bottom: 28px;
  font-weight: 700;
}

.hero h1 em {
  color: #e8a870;
  font-style: italic;
}

.hero-text {
  font-size: 18px;
  color: rgba(247,244,237,0.82);
  max-width: 580px;
  margin-bottom: 44px;
  line-height: 1.85;
  font-weight: 300;
}

.hero-cta {
  display: inline-block;
  padding: 16px 44px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: 'Cardo', Georgia, serif;
  font-size: 20px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(192,80,48,0.4);
}

.hero-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(192,80,48,0.5);
}

/* ============================================================
   PRODUCT SECTION
============================================================ */
.product-section {
  padding: 88px 0;
  background: linear-gradient(180deg, var(--section-alt) 0%, #e8deca 100%);
  border-top: 4px solid var(--accent);
}

.product-section-dark {
  background: linear-gradient(135deg, #1e2d00 0%, #2c4200 60%, #3a5500 100%);
  border-top: none;
  border-bottom: 4px solid var(--accent);
}

.product-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(192,80,48,0.1);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.product-eyebrow.light {
  color: #e8c08a;
  background: rgba(232,192,138,0.15);
}

.product-header {
  text-align: center;
  margin-bottom: 56px;
}

.product-header h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.light-heading {
  color: #f7f4ed !important;
}

.product-header h3 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  margin-bottom: 16px;
}

.product-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.light-text {
  color: rgba(247,244,237,0.78) !important;
}

/* Product Cards */
.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
  align-items: start;
}

.product-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 40px 28px 32px;
  text-align: center;
  border: 1.5px solid var(--border);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border-light);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(30,45,0,0.14);
}

.product-card.featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 10px 36px rgba(192,80,48,0.18);
  transform: scale(1.04) translateY(0);
  padding-top: 52px;
}

.product-card.featured::before {
  background: var(--accent);
}

.product-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.featured-ribbon {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 18px;
  border-radius: 0 0 10px 10px;
  white-space: nowrap;
}

.featured-ribbon.alt {
  background: var(--heading);
}

.product-card img {
  width: 100%;
  max-width: 180px;
  height: 190px;
  object-fit: contain;
  margin: 0 auto 18px;
}

.card-badge {
  display: inline-block;
  background: var(--bg);
  color: var(--heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  padding: 4px 12px;
  border-radius: 3px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.product-card h4 {
  font-size: 22px;
  margin: 8px 0 10px;
  color: var(--heading);
}

.per-bottle {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.total-price {
  font-size: 20px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.total-price s {
  color: #b0a898;
  font-weight: 300;
  margin-right: 6px;
  font-size: 17px;
}

.total-price strong {
  color: var(--accent);
  font-size: 26px;
  font-weight: 700;
}

.shipping-tag {
  font-size: 13px;
  font-weight: 700;
  color: #888;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.shipping-tag.free {
  color: #2e7d32;
}

.savings {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.btn-order {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  margin-top: 22px;
  transition: background 0.2s, transform 0.15s;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  letter-spacing: 0.3px;
}

.btn-order:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.trust-badges img {
  height: 54px;
  width: auto;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.2s;
}

.trust-badges img:hover { opacity: 1; }

/* Guarantee */
.guarantee-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 640px;
  margin: 0 auto;
}

.guarantee-row img {
  height: 100px;
  width: auto;
  flex-shrink: 0;
}

.guarantee-text strong {
  display: block;
  font-family: 'Cardo', Georgia, serif;
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--heading);
}

.guarantee-title-light {
  color: #f7f4ed !important;
}

.guarantee-text p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   RECIPES SECTION
============================================================ */
.recipes-section {
  padding: 88px 0;
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-bottom: 16px;
  color: var(--heading);
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Recipe Cards */
.recipe-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(30,45,0,0.06);
  transition: box-shadow 0.25s;
}

.recipe-card:hover {
  box-shadow: 0 6px 32px rgba(30,45,0,0.10);
}

.recipe-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  cursor: pointer;
  transition: background 0.15s;
}

.recipe-header:hover {
  background: rgba(30,45,0,0.02);
}

.recipe-img-wrap {
  overflow: hidden;
  height: 280px;
}

.recipe-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recipe-card:hover .recipe-img-wrap img {
  transform: scale(1.06);
}

.recipe-info-block {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recipe-info-block h3 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  margin-bottom: 14px;
  color: var(--heading);
  line-height: 1.25;
}

.recipe-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.meta-item {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  background: var(--section-alt);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

.recipe-desc {
  font-size: 18px;
  color: #5a5040;
  line-height: 1.8;
  margin-bottom: 28px;
  flex: 1;
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 28px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  align-self: flex-start;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.2px;
}

.toggle-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 13px;
}

/* Recipe Details (accordion) */
.recipe-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease-out;
}

.recipe-details.active {
  max-height: 2000px;
  transition: max-height 0.55s ease-in;
}

.details-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 44px 44px;
  background: #faf8f1;
  border-top: 1px solid var(--border-light);
}

.ingredients-block h4,
.instructions-block h4 {
  font-family: 'Cardo', Georgia, serif;
  font-size: 21px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2.5px solid var(--accent);
  color: var(--heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ingredients-block ul {
  list-style: none;
  padding: 0;
}

.ingredients-block ul li {
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid var(--border-light);
  font-size: 18px;
  color: var(--text);
  position: relative;
  line-height: 1.6;
}

.ingredients-block ul li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 8px;
  top: 14px;
}

.ingredients-block ul li:last-child {
  border-bottom: none;
}

.instructions-block ol {
  padding-left: 22px;
}

.instructions-block ol li {
  padding: 10px 0;
  font-size: 18px;
  color: var(--text);
  line-height: 1.8;
}

.instructions-block ol li + li {
  border-top: 1px solid var(--border-light);
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #16180e;
  color: rgba(247,244,237,0.72);
  padding: 64px 0 40px;
  font-size: 16px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(247,244,237,0.1);
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.footer .logo-text {
  color: #f7f4ed;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(247,244,237,0.68);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #f7f4ed;
}

.footer-company {
  margin-bottom: 28px;
}

.footer-company p {
  margin-bottom: 5px;
  font-size: 16px;
}

.footer-company a {
  color: rgba(247,244,237,0.72);
  text-decoration: none;
}

.footer-disclaimer {
  padding: 20px 24px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  margin-bottom: 32px;
}

.footer-disclaimer p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(247,244,237,0.65);
}

.footer-copy {
  text-align: center;
  font-size: 14px;
  color: rgba(247,244,237,0.35);
  border-top: 1px solid rgba(247,244,237,0.08);
  padding-top: 24px;
}

/* ============================================================
   LEGAL PAGES
============================================================ */
.legal-page {
  padding: 80px 0 100px;
  min-height: 60vh;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
  color: var(--heading);
}

.last-updated {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-page section {
  margin-bottom: 44px;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
  color: var(--heading);
}

.legal-page p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 14px;
  color: var(--text);
}

.legal-page ul {
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-page ul li {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 8px;
  color: var(--text);
}

.fda-box {
  background: #fff3e0;
  border: 2px solid #e65100;
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 44px;
}

.fda-box h2 {
  color: #b71c1c;
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.fda-box p {
  color: #3e2200;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
}

.contact-box {
  background: var(--section-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 32px;
  margin-top: 44px;
}

.contact-box h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--heading);
}

.contact-box p {
  margin-bottom: 6px;
  font-size: 17px;
}

.contact-box a {
  color: var(--accent);
  text-decoration: none;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 960px) {
  .product-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .product-card.featured {
    transform: scale(1);
    order: -1;
  }

  .product-card.featured:hover {
    transform: translateY(-6px);
  }

  .recipe-header {
    grid-template-columns: 1fr;
  }

  .recipe-img-wrap {
    height: 260px;
  }

  .details-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }
}

@media (max-width: 640px) {
  html { font-size: 17px; }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    padding: 70px 24px;
  }

  .product-section,
  .recipes-section {
    padding: 60px 0;
  }

  .recipe-info-block {
    padding: 24px;
  }

  .trust-badges {
    gap: 20px;
  }

  .guarantee-row {
    flex-direction: column;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .details-inner {
    padding: 24px;
  }
}
