/* ============================================================
   BEVRIO KITCHEN — Caribbean Coast Theme
   Primary: #0a3d3a → #1a6a62  |  Accent: #e85040  |  BG: #f0faf8
============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-start: #0a3d3a;
  --primary-end: #1a6a62;
  --accent: #e85040;
  --accent-hover: #c03020;
  --bg: #f0faf8;
  --heading: #0a3d3a;
  --text: #1a3028;
  --text-muted: #4a6a60;
  --card-bg: #ffffff;
  --border: #b8d8d4;
  --border-light: #d0ece8;
  --section-alt: #e2f5f0;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', 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: 'Abril Fatface', 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.28);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon { font-size: 24px; }

.logo-text {
  font-family: 'Abril Fatface', Georgia, serif;
  font-size: 20px;
  color: #f0faf8;
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  color: rgba(240,250,248,0.82);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #f0faf8;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a3d3a 0%, #0d5248 35%, #1a6a62 70%, #20847a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 25%, rgba(232,80,64,0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 85%, rgba(0,180,150,0.15) 0%, transparent 45%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), #ffb347, #ffe066, var(--accent));
}

.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  opacity: 0.25;
  pointer-events: none;
}

.hero-waves svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 28px;
  max-width: 720px;
  margin-left: 28px;
}

@media (min-width: 1200px) {
  .hero-content { margin-left: calc((100vw - 1200px) / 2 + 28px); }
}

.hero-tagline {
  font-size: 13px;
  color: rgba(240,250,248,0.7);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero h1 {
  font-family: 'Abril Fatface', Georgia, serif;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  color: #f0faf8;
  line-height: 1.1;
  margin-bottom: 28px;
}

.hero h1 em {
  color: #ffb84d;
  font-style: italic;
}

.hero-text {
  font-size: 18px;
  color: rgba(240,250,248,0.84);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.85;
  font-weight: 300;
}

.hero-cta {
  display: inline-block;
  padding: 17px 48px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: 'Abril Fatface', Georgia, serif;
  font-size: 20px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(232,80,64,0.45);
}

.hero-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(232,80,64,0.55);
}

/* ============================================================
   PRODUCT SECTION
============================================================ */
.product-section {
  padding: 88px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--section-alt) 100%);
  border-top: 5px solid var(--accent);
}

.product-section-dark {
  background: linear-gradient(135deg, #0a3d3a 0%, #0f5548 60%, #1a6a62 100%);
  border-top: none;
  border-bottom: 5px 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(232,80,64,0.1);
  padding: 5px 18px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.product-eyebrow.light {
  color: #ffdd88;
  background: rgba(255,221,136,0.15);
}

.product-header {
  text-align: center;
  margin-bottom: 56px;
}

.product-header h2 {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 1px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
}

.light-heading {
  color: #f0faf8 !important;
}

.product-header h3 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  margin-bottom: 16px;
}

.product-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.light-text {
  color: rgba(240,250,248,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: 20px;
  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: 5px;
  background: linear-gradient(90deg, var(--primary-start), var(--primary-end));
  opacity: 0.3;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 50px rgba(10,61,58,0.15);
}

.product-card.featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 12px 40px rgba(232,80,64,0.2);
  transform: scale(1.04);
  padding-top: 52px;
}

.product-card.featured::before {
  background: var(--accent);
  opacity: 1;
  height: 4px;
}

.product-card.featured:hover {
  transform: scale(1.04) translateY(-7px);
}

.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 12px 12px;
  white-space: nowrap;
}

.featured-ribbon.alt {
  background: var(--primary-start);
}

.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: 20px;
  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: #a0b8b4;
  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: #1a7a40;
}

.savings {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}

.btn-order {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  margin-top: 22px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 16px rgba(232,80,64,0.3);
}

.btn-order:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(232,80,64,0.4);
}

/* 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, transform 0.2s;
}

.trust-badges img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* 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: 'Abril Fatface', Georgia, serif;
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--heading);
}

.guarantee-title-light {
  color: #f0faf8 !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.6rem);
  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: 20px;
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 3px 18px rgba(10,61,58,0.07);
  transition: box-shadow 0.25s, transform 0.25s;
}

.recipe-card:hover {
  box-shadow: 0 8px 36px rgba(10,61,58,0.12);
  transform: translateY(-2px);
}

.recipe-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  cursor: pointer;
  transition: background 0.15s;
}

.recipe-header:hover {
  background: rgba(10,61,58,0.02);
}

.recipe-img-wrap {
  overflow: hidden;
  height: 290px;
  position: relative;
}

.recipe-img-wrap::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.06));
}

.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.07);
}

.recipe-info-block {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recipe-info-block h3 {
  font-size: clamp(1.3rem, 2.3vw, 1.95rem);
  margin-bottom: 14px;
  color: var(--heading);
  line-height: 1.25;
}

.recipe-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.meta-item {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--section-alt);
  padding: 5px 14px;
  border-radius: 30px;
  border: 1px solid var(--border-light);
}

.recipe-desc {
  font-size: 18px;
  color: #3a5a52;
  line-height: 1.8;
  margin-bottom: 28px;
  flex: 1;
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  align-self: flex-start;
  font-family: 'Open Sans', sans-serif;
  box-shadow: 0 4px 14px rgba(232,80,64,0.3);
}

.toggle-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,80,64,0.4);
}

.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;
  background: #eaf7f4;
  border-top: 2px solid var(--border-light);
}

.ingredients-block h4,
.instructions-block h4 {
  font-family: 'Abril Fatface', Georgia, serif;
  font-size: 21px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
  color: var(--heading);
}

.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: 10px;
  top: 13px;
}

.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: #051e1c;
  color: rgba(240,250,248,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(240,250,248,0.1);
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.footer .logo-text {
  color: #f0faf8;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(240,250,248,0.65);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #f0faf8;
}

.footer-company {
  margin-bottom: 28px;
}

.footer-company p {
  margin-bottom: 5px;
  font-size: 16px;
}

.footer-company a {
  color: rgba(240,250,248,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 8px 8px 0;
  margin-bottom: 32px;
}

.footer-disclaimer p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(240,250,248,0.62);
}

.footer-copy {
  text-align: center;
  font-size: 14px;
  color: rgba(240,250,248,0.32);
  border-top: 1px solid rgba(240,250,248,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: 12px;
  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: 600;
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
}

.contact-box {
  background: var(--section-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  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: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .product-card.featured {
    transform: scale(1);
    order: -1;
  }

  .product-card.featured:hover {
    transform: translateY(-7px);
  }

  .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: 540px;
  }

  .hero-content {
    padding: 80px 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;
  }
}
