/* ============================================
   Éala Natural Balm - Stylesheet
   A beginner-friendly stylesheet with comments
   ============================================ */

/* ------ COLOR VARIABLES ------ */
/* Define brand colors as CSS variables for easy reuse */
:root {
  --olive-green: #6B8E23;
  --warm-cream: #F5F1E8;
  --soft-gold: #D4AF37;
  --beige-sand: #E8D7C3;
  --sunset-amber: #D97706;
  --dark-text: #2C2C2C;
  --light-text: #FFFFFF;
}

/* ------ RESET & BASE STYLES ------ */
/* Remove default browser margins and padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Set font and base text color for the entire page */
body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--dark-text);
  background-color: var(--warm-cream);
  line-height: 1.6;
}

/* Remove underlines from links by default */
a {
  text-decoration: none;
  color: inherit;
}

/* Make images responsive */
img {
  max-width: 100%;
  height: auto;
}

/* ------ MAIN NAVIGATION BAR ------ */
/* Balanced three-area header: left links, centered brand, right links */
.main-navigation {
  background-color: var(--warm-cream);
  padding: 14px 4%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.55);
}

.main-nav-left {
  justify-self: start;
}

.main-nav-right {
  justify-self: end;
}

/* Center brand styling */
.brand-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--olive-green);
  text-decoration: none;
}

.brand-script {
  font-family: 'Great Vibes', cursive;
  font-size: 46px;
  font-weight: 400;
  color: var(--olive-green);
  line-height: 0.9;
}

.brand-subtitle {
  margin-top: 4px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.6px;
  color: #4f6c2f;
}

/* Navigation menus */
.main-nav-left ul,
.main-nav-right ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 22px;
}

/* Navigation links */
.main-nav-left a,
.main-nav-right a {
  color: var(--dark-text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}

.main-nav-left a:hover,
.main-nav-right a:hover {
  color: var(--olive-green);
  border-bottom-color: var(--soft-gold);
}

/* ------ HERO SECTION ------ */
/* Main landing banner with background image and soft left overlay */
.hero {
  position: relative; /* needed for overlay */
  display: flex;
  align-items: center;
  justify-content: flex-start; /* content left */
  height: 700px; /* main requested height */
  min-height: 700px;
  padding: 0 6%; /* left/right breathing room */
  background-image: url("../images/background_Home_Page.webp");
  background-repeat: no-repeat;
  background-position: center right; /* keep swan visible on the right */
  background-size: cover; /* fill the hero area */
  overflow: hidden;
}

/* Soft transparent overlay on the left only to improve text contrast */
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 55%;
  /* warm-cream blended to transparent across the hero's left half */
  background: linear-gradient(90deg,
    rgba(245,241,232,0.9) 0%,
    rgba(245,241,232,0.85) 20%,
    rgba(245,241,232,0.6) 40%,
    rgba(245,241,232,0.0) 55%);
  z-index: 1;
  pointer-events: none; /* allow clicks through overlay */
}

/* Hide the decorative hero-banner element (we use CSS background) */
.hero-banner {
  display: none;
}

/* Hero content sits above overlay and is left-aligned */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-left: 40px;
  text-align: left;
}

/* Main heading - large, elegant serif */
.hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 70px; /* desktop size requested */
  line-height: 1.0; /* tight lines as requested */
  color: var(--olive-green);
  font-weight: 700;
  margin: 0 0 12px 0;
}

/* Subheading below the main heading */
.hero-subheading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  color: var(--olive-green);
  margin: 0 0 18px 0;
}

/* Decorative divider created with CSS */
.decorative-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
}
.decorative-divider .line {
  flex: 1;
  height: 2px;
  background: var(--soft-gold);
}
.decorative-divider .heart {
  color: var(--soft-gold);
  font-size: 18px;
  line-height: 1;
}

/* Prominent descriptive paragraph */
.hero-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  color: var(--olive-green);
  margin: 12px 0 0 0;
  line-height: 1.4;
}

/* ------ RESPONSIVE DESIGN FOR MOBILE ------ */
/* Adjust layout for screens smaller than 768px (tablet and large phones) */
@media (max-width: 768px) {
  .main-navigation {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 8px;
    padding: 12px 4%;
  }

  .brand-name {
    order: -1;
  }

  .brand-script {
    font-size: 38px;
  }

  .brand-subtitle {
    font-size: 10px;
    letter-spacing: 2.2px;
  }

  .main-nav-left,
  .main-nav-right {
    justify-self: center;
  }

  .main-nav-left ul,
  .main-nav-right ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .main-nav-left a,
  .main-nav-right a {
    font-size: 13px;
  }

  /* Scale down hero for smaller screens */
  .hero {
    height: 520px;
    min-height: 520px;
  }

  .hero::before {
    width: 70%; /* overlay a bit larger on smaller screens */
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-subheading {
    font-size: 22px;
  }

  .hero-text {
    font-size: 18px;
  }

}

/* ------ EXTRA SMALL SCREENS ------ */
@media (max-width: 480px) {
  .hero {
    height: 420px;
    min-height: 420px;
    padding: 0 4%;
  }

  .hero::before {
    width: 85%;
  }

  .hero-content h1 {
    font-size: 32px;
    letter-spacing: 0.5px;
  }

  .hero-subheading {
    font-size: 18px;
  }

  .hero-text {
    font-size: 16px;
  }

  .brand-script {
    font-size: 32px;
  }

  .brand-subtitle {
    font-size: 9px;
    letter-spacing: 1.9px;
  }

  .main-nav-left ul,
  .main-nav-right ul {
    gap: 6px 12px;
  }

  .main-nav-left a,
  .main-nav-right a {
    font-size: 12px;
  }
}

/* ============================================
   MY STORY SECTION - REDESIGNED LAYOUT
   ============================================ */

/* Main container with warm cream background */
.my-story {
  background-color: var(--warm-cream);
  padding: 0 0 60px 0;
  width: 100%;
}

/* Grid layout for desktop: story text | product image */
.my-story-container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  max-width: 100%;
  margin: 0;
  align-items: stretch;
}

/* ---- LEFT COLUMN: STORY TEXT ---- */

.story-text-column {
  padding: 40px 6%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Small decorative heading above main heading */
.story-subtitle {
  font-family: 'Great Vibes', cursive;
  font-size: 28px;
  color: var(--olive-green);
  text-align: center;
  margin: 0 0 12px 0;
  font-weight: 400;
  letter-spacing: 1px;
}

/* Main heading - elegant serif font */
.story-main-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 48px;
  color: var(--olive-green);
  text-align: center;
  margin: 0 0 18px 0;
  font-weight: 700;
  line-height: 1.2;
}

/* Decorative divider: gold line - heart - gold line */
.story-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 18px 0 24px 0;
}

.story-divider .line {
  width: 40px;
  height: 2px;
  background-color: var(--soft-gold);
}

.story-divider .heart {
  color: var(--soft-gold);
  font-size: 20px;
  line-height: 1;
}

/* Container for story paragraphs */
.story-paragraphs {
  text-align: left;
  max-width: 620px;
  width: 100%;
  margin: 0 auto 22px auto;
}

.story-paragraphs p {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  color: var(--dark-text);
  line-height: 1.8;
  margin: 0 0 18px 0;
}

.story-paragraphs p:last-child {
  margin-bottom: 0;
}

/* Distinct closing statement */
.story-closing {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  color: var(--olive-green);
  text-align: center;
  margin: 8px auto 0 auto;
  font-weight: 600;
  letter-spacing: 0.4px;
  max-width: 620px;
}

/* ---- RIGHT: PRODUCT IMAGE FILLS FULL HEIGHT ---- */

.product-image-column {
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */

@media (max-width: 1024px) {
  /* Maintain two columns on tablet with adjusted proportions */
  .my-story-container {
    grid-template-columns: 1fr 1.3fr;
  }

  .story-text-column {
    padding: 40px 5%;
  }

  .story-main-heading {
    font-size: 42px;
  }

  .story-subtitle {
    font-size: 24px;
  }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */

@media (max-width: 768px) {
  /* Stack all content vertically on mobile */
  .my-story {
    padding: 0 0 40px 0;
  }

  .my-story-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .story-text-column {
    padding: 40px 6%;
    order: 1;
  }

  .product-image-column {
    order: 2;
    height: 350px;
  }

  .product-image {
    height: 350px;
  }

  .story-main-heading {
    font-size: 36px;
  }

  .story-subtitle {
    font-size: 22px;
  }

  .story-paragraphs p {
    font-size: 15px;
    line-height: 1.75;
  }

  .story-closing {
    font-size: 21px;
  }
}

/* ============================================
   RESPONSIVE DESIGN - EXTRA SMALL
   ============================================ */

@media (max-width: 480px) {
  .my-story {
    padding: 0 0 30px 0;
  }

  .story-text-column {
    padding: 30px 4%;
  }

  .story-main-heading {
    font-size: 28px;
  }

  .story-subtitle {
    font-size: 18px;
  }

  .story-divider .line {
    width: 30px;
  }

  .story-paragraphs p {
    font-size: 14px;
    line-height: 1.7;
  }

  .story-closing {
    font-size: 19px;
  }

  .product-image-column {
    height: 280px;
  }

  .product-image {
    height: 280px;
  }
}

/* ============================================
   CAREFULLY SOURCED INGREDIENTS SECTION
   ============================================ */

/* Main section container with warm cream background */
.sourced-ingredients {
  background-color: var(--warm-cream);
  padding: 35px 6% 60px 6%;
  width: 100%;
}

/* Centered content wrapper - spans 94% of viewport width on desktop */
.sourced-ingredients-content {
  width: 94%;
  max-width: none;
  margin: 0 auto;
}

/* Main section heading - elegant serif, centered */
.ingredients-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 44px;
  color: var(--olive-green);
  text-align: center;
  margin: 0 0 20px 0;
  font-weight: 700;
}

/* Decorative divider: thin gold line - heart - thin gold line */
.ingredients-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 50px 0;
}

.ingredients-divider .line {
  width: 50px;
  height: 1px;
  background-color: var(--soft-gold);
}

.ingredients-divider .heart {
  color: var(--soft-gold);
  font-size: 18px;
  line-height: 1;
}

/* Grid layout for four ingredient cards */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
}

/* Individual ingredient card styling - reduced padding to let images use full column width */
.ingredient-card {
  padding: 0 20px;
  text-align: center;
  position: relative;
}

/* Add thin gold vertical divider lines between cards (not after the last one) */
.ingredient-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50px;
  bottom: 0;
  width: 1px;
  background-color: var(--soft-gold);
}

/* Image wrapper to contain and style images consistently */
.ingredient-image-wrapper {
  width: 100%;
  height: 200px;
  margin-bottom: 20px;
  border-radius: 6px;
  overflow: hidden;
}

/* Ingredient image styling */
.ingredient-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ingredient name - uppercase, elegant serif */
.ingredient-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--olive-green);
  text-transform: uppercase;
  margin: 0 0 12px 0;
  letter-spacing: 1px;
}

/* Ingredient description text */
.ingredient-description {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  color: var(--dark-text);
  line-height: 1.7;
  margin: 0;
}

/* Intro line above extended ingredient details */
.ingredient-intro {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  color: var(--olive-green);
  margin: 0 0 14px 0;
  letter-spacing: 0.4px;
  font-style: italic;
}

/* Reusable benefit/reason block for richer ingredient copy */
.ingredient-benefit {
  margin: 0 0 14px 0;
}

.ingredient-benefit:last-child {
  margin-bottom: 0;
}

.ingredient-benefit-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--olive-green);
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.ingredient-benefit-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  color: var(--dark-text);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN - TABLET (2 COLUMNS)
   ============================================ */

@media (max-width: 1024px) {
  /* Change to 2 columns x 2 rows on tablet */
  .ingredients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  /* Remove vertical divider lines on tablet */
  .ingredient-card:not(:last-child)::after {
    display: none;
  }

  .ingredient-card {
    padding: 0;
  }

  .ingredients-heading {
    font-size: 38px;
  }

  .ingredient-image-wrapper {
    height: 180px;
  }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE (1 COLUMN)
   ============================================ */

@media (max-width: 768px) {
  /* Single column on mobile */
  .ingredients-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sourced-ingredients {
    padding: 50px 6%;
  }

  .ingredients-heading {
    font-size: 32px;
  }

  .ingredients-divider .line {
    width: 40px;
  }

  .ingredient-image-wrapper {
    height: 200px;
  }

  .ingredient-name {
    font-size: 16px;
  }

  .ingredient-description {
    font-size: 14px;
  }

  .ingredient-intro {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .ingredient-benefit {
    margin-bottom: 12px;
  }

  .ingredient-benefit-title {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .ingredient-benefit-text {
    font-size: 14px;
    line-height: 1.65;
  }
}

/* ============================================
   RESPONSIVE DESIGN - EXTRA SMALL
   ============================================ */

@media (max-width: 480px) {
  .sourced-ingredients {
    padding: 40px 4%;
  }

  .ingredients-heading {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .ingredients-divider {
    margin-bottom: 30px;
  }

  .ingredients-divider .line {
    width: 30px;
  }

  .ingredients-grid {
    gap: 30px;
  }

  .ingredient-image-wrapper {
    height: 160px;
    margin-bottom: 16px;
  }

  .ingredient-name {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .ingredient-description {
    font-size: 13px;
    line-height: 1.6;
  }

  .ingredient-intro {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .ingredient-benefit {
    margin-bottom: 10px;
  }

  .ingredient-benefit-title {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .ingredient-benefit-text {
    font-size: 13px;
    line-height: 1.6;
  }
}

/* ============================================
   OUR BALMS & HOW TO USE SECTION - COMBINED
   ============================================ */

/* Main section container with warm cream background */
.balms-and-usage {
  background-color: var(--warm-cream);
  padding: 60px 6%;
  width: 100%;
}

/* Container for the two-column layout */
.balms-usage-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 100%;
  margin: 0 auto;
  width: 94%;
  align-items: stretch;
}

/* Vertical divider between panels on desktop */
.balms-panel {
  padding: 0 40px 0 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.balms-panel::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50px;
  bottom: 0;
  width: 1px;
  background-color: var(--soft-gold);
}

.how-to-panel {
  padding: 0 0 0 40px;
  display: flex;
  flex-direction: column;
}

/* ---- LEFT PANEL: OUR BALMS ---- */

/* Balms heading - elegant script style */
.balms-heading {
  font-family: 'Great Vibes', cursive;
  font-size: 42px;
  color: var(--olive-green);
  text-align: center;
  margin: 0 0 12px 0;
  font-weight: 400;
}

/* Decorative heart under balms heading */
.balms-decorative-heart {
  text-align: center;
  color: var(--soft-gold);
  font-size: 20px;
  margin: 0 0 24px 0;
}

/* Introductory text */
.balms-intro {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  color: var(--dark-text);
  text-align: center;
  margin: 0 0 28px 0;
  line-height: 1.6;
}

/* Balms image wrapper - larger display with breathing room below */
.balms-image-wrapper {
  margin-bottom: 24px;
  text-align: center;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}

.balms-carousel {
  position: relative;
  background: linear-gradient(180deg, #fbf7ef 0%, #f5f1e8 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 12px;
}

.balms-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.balms-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: none;
}

.balms-image-landscape {
  object-fit: cover;
  object-position: center;
}

.balms-image-landscape-5 {
  object-position: 50% 52%;
}

.balms-image-landscape-6 {
  object-position: 50% 48%;
}

.balms-image.active {
  display: block;
}

.balms-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(107, 142, 35, 0.5);
  border-radius: 999px;
  background-color: rgba(245, 241, 232, 0.95);
  color: var(--olive-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.balms-carousel-control:hover,
.balms-carousel-control:focus-visible {
  background-color: var(--olive-green);
  color: var(--warm-cream);
  border-color: var(--olive-green);
}

.balms-carousel-control:focus-visible,
.balms-carousel-dot:focus-visible {
  outline: 2px solid var(--soft-gold);
  outline-offset: 2px;
}

.balms-carousel-control-prev {
  left: 10px;
}

.balms-carousel-control-next {
  right: 10px;
}

.balms-carousel-dots {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.balms-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(107, 142, 35, 0.5);
  background-color: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.balms-carousel-dot.active {
  background-color: var(--soft-gold);
  border-color: var(--soft-gold);
  transform: scale(1.1);
}

/* Desktop-only refinement for portrait balm photography */
@media (min-width: 1025px) {
  .balms-image-wrapper {
    width: 56%;
    max-width: 420px;
  }

  .balms-carousel-track {
    max-height: 560px;
  }

  .balms-carousel-control-prev {
    left: 2px;
  }

  .balms-carousel-control-next {
    right: 2px;
  }

  .balms-carousel-dots {
    margin-top: 10px;
  }
}

/* Product sizes container - two columns, positioned closer to image, aligned to bottom */
.balms-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: auto;
  flex-shrink: 0;
}

/* Individual product size */
.balm-size {
  text-align: center;
}

.balm-size h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--olive-green);
  margin: 0;
  letter-spacing: 1px;
}

/* ---- RIGHT PANEL: HOW TO USE ---- */

/* How to use heading - elegant script style */
.how-to-heading {
  font-family: 'Great Vibes', cursive;
  font-size: 42px;
  color: var(--olive-green);
  text-align: center;
  margin: 0 0 12px 0;
  font-weight: 400;
}

/* Decorative heart under how-to heading */
.how-to-decorative-heart {
  text-align: center;
  color: var(--soft-gold);
  font-size: 20px;
  margin: 0 0 16px 0;
}

/* Daily ritual subtitle - tighter spacing */
.daily-ritual {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  color: var(--olive-green);
  text-align: center;
  margin: 0 0 20px 0;
  font-weight: 700;
}

/* How to use illustration wrapper - cropped to remove excess cream space */
.how-to-image-wrapper {
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-to-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Steps list - four columns on desktop, closer spacing, compact margins */
.usage-steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 16px 0 8px 0;
}

.usage-steps-list li {
  text-align: center;
}

.usage-steps-list strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--olive-green);
  margin-bottom: 8px;
}

.usage-steps-list p {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  color: var(--dark-text);
  line-height: 1.5;
  margin: 0;
}

/* Usage message box - positioned at bottom for consistent alignment */
.usage-message {
  background-color: var(--beige-sand);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: auto;
}

.usage-message p {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--olive-green);
  margin: 0;
  line-height: 1.6;
}

.usage-message p:first-child {
  font-size: 16px;
  margin-bottom: 8px;
}

.usage-message p:last-child {
  font-size: 14px;
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */

@media (max-width: 1024px) {
  /* Adjust grid proportions on tablet */
  .balms-usage-container {
    grid-template-columns: 1fr 1fr;
  }

  .balms-panel::after {
    display: none;
  }

  .balms-panel {
    padding: 0 30px 0 0;
  }

  .how-to-panel {
    padding: 0 0 0 30px;
  }

  .balms-heading,
  .how-to-heading {
    font-size: 36px;
  }

  .daily-ritual {
    font-size: 20px;
  }

  .usage-steps-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */

@media (max-width: 768px) {
  /* Stack panels vertically on mobile */
  .balms-and-usage {
    padding: 50px 6%;
  }

  .balms-usage-container {
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
    padding: 0;
  }

  .balms-panel {
    padding: 0;
  }

  .balms-panel::after {
    display: none;
  }

  .how-to-panel {
    padding: 0;
  }

  .balms-heading,
  .how-to-heading {
    font-size: 32px;
  }

  .daily-ritual {
    font-size: 18px;
  }

  .balms-image {
    width: 100%;
  }

  .balms-carousel {
    padding: 10px;
  }

  .balms-carousel-control {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .how-to-image-wrapper {
    height: 240px;
    margin-bottom: 12px;
  }

  .how-to-image {
    width: 100%;
  }

  /* Steps as 2 columns on mobile */
  .usage-steps-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 14px 0 18px 0;
  }

  .usage-steps-list strong {
    font-size: 15px;
  }

  .usage-steps-list p {
    font-size: 13px;
  }
}

/* ============================================
   RESPONSIVE DESIGN - EXTRA SMALL
   ============================================ */

@media (max-width: 480px) {
  .balms-and-usage {
    padding: 40px 4%;
  }

  .balms-heading,
  .how-to-heading {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .balms-decorative-heart,
  .how-to-decorative-heart {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .balms-intro {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .balms-image-wrapper {
    margin-bottom: 24px;
    width: 100%;
  }

  .balms-products {
    gap: 16px;
  }

  .balm-size h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .daily-ritual {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .how-to-image-wrapper {
    margin-bottom: 12px;
    height: 200px;
  }

  .how-to-image {
    transform: scale(1.05);
  }

  /* Steps as 1 column on extra small */
  .usage-steps-list {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 12px 0 16px 0;
  }

  .usage-steps-list strong {
    font-size: 14px;
  }

  .usage-steps-list p {
    font-size: 12px;
  }

  .usage-message {
    padding: 16px;
  }

  .usage-message p:first-child {
    font-size: 15px;
  }

  .usage-message p:last-child {
    font-size: 13px;
  }
}

/* ============================================
   FOOTER - ELEGANT BROCHURE STYLE
   ============================================ */

/* Main footer container - dark olive green background */
.site-footer {
  background-color: var(--olive-green);
  color: var(--warm-cream);
  padding: 0;
  margin-top: 0;
  border-top: 1px solid var(--soft-gold);
}

/* ---- FOOTER TOP ROW: BENEFITS + GET IN TOUCH ---- */

/* Top section container with flexbox for benefits and get-in-touch card */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4%;
  gap: 16px;
}

/* Brand benefits area - four horizontal items */
.brand-benefits {
  display: flex;
  flex: 1;
  gap: 0;
  align-items: center;
}

/* Individual benefit item with icon and text */
.benefit-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
}

/* Add subtle vertical divider between benefit items (except after last) */
.benefit-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 32px;
  width: 1px;
  background-color: var(--soft-gold);
  opacity: 0.5;
}

/* Benefit icon styling - soft gold color */
.benefit-icon {
  font-size: 20px;
  color: var(--soft-gold);
  margin-bottom: 6px;
  display: block;
}

/* Benefit text - two lines stacked */
.benefit-text {
  margin: 0;
}

.benefit-text p {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  color: var(--warm-cream);
}

/* Get in Touch card - prominent on the right */
.get-in-touch-card {
  background-color: var(--beige-sand);
  color: var(--olive-green);
  padding: 16px 20px;
  border-radius: 4px;
  width: 310px;
  min-height: 190px;
  flex-shrink: 0;
  border: 1px solid var(--soft-gold);
  box-shadow: none;
}

/* Get in Touch heading - elegant script font */
.get-in-touch-heading {
  font-family: 'Great Vibes', cursive;
  font-size: 26px;
  color: var(--olive-green);
  text-align: center;
  margin: 0 0 10px 0;
  font-weight: 400;
}

/* Contact information inside card */
.contact-info {
  margin: 0 0 12px 0;
}

.contact-info p {
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 7px 0;
  color: var(--olive-green);
}

.contact-info p:last-child {
  margin-bottom: 0;
}

.contact-info strong {
  font-weight: 600;
  color: var(--olive-green);
  display: inline;
  margin-right: 4px;
  font-size: 13px;
}

/* Contact links in get-in-touch card */
.contact-info a {
  color: var(--olive-green);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.contact-info a:hover,
.contact-info a:focus-visible {
  color: var(--soft-gold);
}

.contact-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid rgba(107, 142, 35, 0.25);
}

.contact-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--olive-green);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: color 0.25s ease;
}

.social-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(107, 142, 35, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--olive-green);
  background-color: rgba(245, 241, 232, 0.55);
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.contact-social a:hover,
.contact-social a:focus-visible {
  color: #5a781f;
}

.contact-social a:hover .social-icon,
.contact-social a:focus-visible .social-icon {
  border-color: var(--soft-gold);
  background-color: rgba(212, 175, 55, 0.18);
  color: #5a781f;
}

.contact-social a:focus-visible {
  outline: 2px solid var(--soft-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================
   FOOTER RESPONSIVE DESIGN - TABLET
   ============================================ */

@media (max-width: 1024px) {
  .footer-top {
    flex-direction: row;
    padding: 16px 4%;
    gap: 14px;
    flex-wrap: wrap;
  }

  .brand-benefits {
    width: 100%;
  }

  .get-in-touch-card {
    width: 300px;
    min-height: 182px;
  }
}

/* ============================================
   FOOTER RESPONSIVE DESIGN - MOBILE
   ============================================ */

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    padding: 15px 4%;
    gap: 12px;
  }

  /* Stack benefit items in 2x2 grid on mobile */
  .brand-benefits {
    width: 100%;
    flex-wrap: wrap;
    gap: 20px 0;
  }

  .benefit-item {
    flex: 0 0 50%;
    padding: 0 8px;
  }

  /* Hide dividers on mobile */
  .benefit-item:not(:last-child)::after {
    display: none;
  }

  .benefit-icon {
    font-size: 20px;
  }

  .benefit-text p {
    font-size: 11px;
  }

  .get-in-touch-card {
    width: 100%;
    min-height: 0;
    padding: 14px 16px;
  }

  .get-in-touch-heading {
    font-size: 23px;
    margin-bottom: 8px;
  }

  .contact-info p {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .contact-info strong {
    font-size: 12px;
  }

  .contact-social {
    margin-top: 2px;
    gap: 12px;
  }

  .contact-social a {
    font-size: 12px;
  }

}

/* ============================================
   FOOTER RESPONSIVE DESIGN - EXTRA SMALL
   ============================================ */

@media (max-width: 480px) {
  .footer-top {
    flex-direction: column;
    padding: 14px 4%;
    gap: 10px;
  }

  /* Single column for benefit items on extra small */
  .brand-benefits {
    width: 100%;
    flex-wrap: wrap;
    gap: 16px 0;
  }

  .benefit-item {
    flex: 0 0 50%;
    padding: 0 6px;
  }

  .benefit-icon {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .benefit-text p {
    font-size: 10px;
    line-height: 1.1;
  }

  .get-in-touch-card {
    width: 100%;
    padding: 12px 14px;
  }

  .get-in-touch-heading {
    font-size: 21px;
    margin-bottom: 7px;
  }

  .contact-info p {
    font-size: 11px;
    margin-bottom: 5px;
    line-height: 1.4;
  }

  .contact-info strong {
    font-size: 11px;
    margin-right: 2px;
  }

  .contact-social {
    gap: 8px;
    padding-top: 8px;
  }

  .contact-social a {
    font-size: 11px;
    gap: 5px;
  }

  .social-icon {
    width: 18px;
    height: 18px;
    font-size: 9px;
  }

}
