/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Close icon styling for the mobile navigation menu. The icon sits in the
   top right of the slide‑out menu and closes the menu when tapped. */
.nav-menu .nav-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-dark);
  cursor: pointer;
  z-index: 2100;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* CSS Variables for Color Scheme - Based on Hero Image */
:root {
      --orange: #f4741e;
  --gold: #ff9200;
  --cream: #ffffff;
  --beige1: #ffffff;
  --beige2: #ffffff;
  --deep-brown: #231a0e;
  /*
   * Updated font choices: Montserrat for all headlines and logos, providing
   * a clean geometric feel, and Open Sans for the body copy, which is
   * optimized for readability on screens. These fonts are loaded via
   * Google Fonts in the HTML head.
   */
  --logo-font: 'Montserrat', sans-serif;
  --body-font: 'Open Sans', sans-serif;
    --vibrant-orange: #FF8C00;
    --warm-orange: #FFA500;
    --bright-magenta: #FF1493;
    --deep-magenta: #C71585;
    --royal-blue: #4169E1;
    --deep-blue: #1E3A8A;
    --golden-yellow: #FFD700;
    --rich-black: #1A1A1A;
    --warm-white: #FAFAFA;
    --text-dark: #2C3E50;
    --text-light: #666;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --hero-gradient: linear-gradient(135deg, #FF8C00 0%, #FFA500 25%, #FF1493 75%, #C71585 100%);
    --gradient-blue: linear-gradient(135deg, #4169E1 0%, #1E3A8A 100%);
    --gradient-magenta: linear-gradient(135deg, #FF1493 0%, #C71585 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO SECTION */
.hero-bg {
  min-height: 100vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
  background:
    #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /*
   * Add a subtle gradient overlay on top of the background image to give
   * the hero section more depth and warmth on mobile. The gradient
   * transitions from semi‑opaque white at the top to a slightly more
   * transparent white towards the bottom. This ensures the text remains
   * legible while still letting the underlying illustration peek through.
   */
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65)),
    url('background.png') center bottom/cover no-repeat;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s;
}
/* Navbar */
.navbar {
  width: 100%;
  max-width: 96vw;
  margin: 0 auto;
  padding: 3vh 3vw 0 3vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  min-height: 6vh;
  flex-wrap: wrap;
  background: transparent;
}
.navbar-section {
  display: flex;
  align-items: center;
  gap: 5vw;
}
.navbar-section.left,
.navbar-section.right {
  flex: 1;
  justify-content: flex-end;
}
.navbar-section.right {
  justify-content: flex-start;
}
.navbar .logo-center {
  font-family: var(--logo-font);
  font-size: clamp(1.4rem, 2.5vw, 2.4rem);
  font-weight: bold;
  color: var(--orange);
  display: flex;
  align-items: center;
  letter-spacing: 1px;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 2vw;
  margin-right: 2vw;
  margin-left: 2vw;
  background: none;
}
.navbar .logo-center span {
  margin-right: 0.5vw;
  font-size: 1.3em;
}
.navbar a {
  text-decoration: none;
  font-weight: 600;
  color: #cb5600;
  font-size: clamp(0.98rem, 1.2vw, 1.18rem);
  transition: color 0.2s;
  letter-spacing: 0.04em;
}
.navbar a:hover,
.navbar a:focus {
  color: var(--gold);
  outline: none;
}

/*
 * Hamburger icon for mobile navigation. Hidden by default and shown
 * through media queries when screen width drops below 1000px. Each bar
 * is a span element; transitions allow smooth animation into an X.
 */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 0 1rem;
  z-index: 3000;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--orange);
  margin: 4px 0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hide the mobile menu on larger screens */
.nav-menu {
  display: none;
}
@media (max-width: 1000px) {
  /*
   * On small screens the traditional left/right navigation sections are hidden.
   * A hamburger icon appears and a full-screen overlay menu becomes available.
   */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .navbar-section {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-menu {
    display: flex;
    position: fixed;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    padding-top: 4rem;
    box-shadow: var(--shadow);
    transition: left 0.3s ease;
    z-index: 2000;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-menu li {
    list-style: none;
  }
  .nav-menu a {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
  }
  /* Animate the hamburger into an X when the menu is open */
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}


/* Hero Main Layout */
.hero-main {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  max-width: 1600px;
  margin: 0 auto;
  /* padding: 0 4vw 0 4vw; */
  min-height: 70vh;
  box-sizing: border-box;
 
}
.hero-content {
  flex: 1 1 58%;
  /* min-width: 300px;
  max-width: 800px; */
  padding: 10vh 0 10vh 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  z-index: 2;
  position: relative;
  width: 300px;
}
.hero-title {
  font-family: var(--logo-font);
  font-size: clamp(2.3rem, 4.7vw, 3.4rem);
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 0.01em;
  margin-bottom: 0.15em;
  display: inline-block;
  background: none;
  text-shadow: 0 2px 14px rgba(244, 116, 30, 0.10), 0 1px 0 #fff;
  transition: text-shadow 0.2s;
}
.hero-title .highlight {
  color: var(--deep-brown);
  font-family: var(--logo-font);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  background: none;
  display: block;
  margin-top: 0.15em;
  text-shadow: 0 2px 12px rgba(44, 29, 10, 0.11);
}
.hero-tagline {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  font-family: var(--logo-font);
  color: var(--deep-brown);
  margin-top: 0.3rem;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 1px rgba(0,0,0,0.1);
  /*
   * Wrap the tagline in a pill‑shaped backdrop on all screen sizes.
   * This subtle background helps the tagline stand out against the
   * lighter hero background and conveys a sense of luxury. A slight
   * padding and border radius create a soft container around the text.
   */
  background: rgba(255, 255, 255, 0.8);
  padding: 0.35em 0.8em;
  border-radius: 999px;
}

.hero-desc {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: #3d2d14;
  font-family: var(--body-font);
  margin-bottom: 3vh;
  margin-top: 0.5vh;
  max-width: 480px;
  text-shadow: 0 1px 0 #fff8ee;
}
.hero-desc strong {
  color: #28513b;
  font-weight: 700;
  letter-spacing: 0.02em;
}
/* CTA Button */
.hero-btn {
  background: linear-gradient(90deg, var(--gold) 0%, var(--orange) 90%);
  color: #fff;
  font-size: clamp(1.15rem, 1.6vw, 1.34rem);
  font-family: var(--body-font);
  font-weight: 700;
  padding: 1.35em 3.7em;
  border: none;
  border-radius: 38px;
  box-shadow: 0 0.8vw 2.5vw 0 rgba(244, 116, 30, 0.14);
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: background 0.2s, box-shadow 0.24s;
  margin-top: 2.1em;
  outline: none;
  position: relative;
  opacity: 0;
  animation: fadeUp 1.08s 0.5s ease-out forwards;
  font-variant-caps: all-petite-caps;
}
.hero-btn:hover, .hero-btn:focus {
  background: linear-gradient(90deg, var(--orange) 0%, var(--gold) 100%);
  box-shadow: 0 2px 22px 0 #ffd1a7, 0 1vw 3vw 0 rgba(244, 116, 30, 0.19);
  outline: 2px solid #ffd1a7;
}
.hero-btn:focus-visible {
  outline: 2px solid #ffbe76;
  outline-offset: 2px;
}
/* SINGLE HERO IMAGE (bottom right) */
.hero-image {
  flex: 0 0 36vw;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  min-width: 220px;
  min-height: 340px;
  height: 90vh;
  z-index: 3;
  margin-right: 1vw;
  opacity: 0;
  animation: fadeUp 1.1s 0.75s cubic-bezier(.15,.7,.33,1.05) forwards;
  transition: transform 0.18s;
overflow: visible;
    max-width: 100vw;   /* increase max width */
  margin-top: 2rem;
  justify-content: center;
  width: 100%;
}
.hero-image img {
  width: 99%;
  max-width: 400px;
  min-width: 180px;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 36px rgba(44, 29, 10, 0.19))
          drop-shadow(0 4px 0 rgba(244,116,30,0.07));
  transition: transform 0.18s;

  max-width: 100%;
  max-height: 100vh; /* increased from 180px or 250px */
  object-fit: contain;
  transition: transform 0.3s ease;
}
.hero-image img:hover {
  transform: scale(1.03) translateY(-6px);
  filter: drop-shadow(0 40px 50px rgba(44, 29, 10, 0.23));
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px);}
  to   { opacity: 1; transform: translateY(0);}
}
/* Responsive for Hero */
@media (max-width: 1100px) {
  .hero-main {
    flex-direction: column;
    padding: 4vh 2vw;
  }
  .hero-content {
    max-width: 98vw;
    padding: 3vh 1vw 2vh 1vw;
    align-items: center;
    text-align: center;
  }
  .hero-image {
    justify-content: flex-start;
    margin: 3vh 0 2vh 0;
    min-height: 220px;
    height: auto;
  }
  .hero-image img {
    max-width: 320px;
    min-width: 120px;
  }
  .hero-desc{
    /*
     * On smaller screens we no longer hide the descriptive copy. Instead,
     * we show it with a slightly smaller font and centered alignment so
     * visitors get a succinct sense of what Lottery rice is about without
     * feeling overwhelmed. The top and bottom margins are reduced to
     * preserve vertical space on mobile.
     */
    display: block;
    font-size: 1rem;
    text-align: center;
    margin-top: 1.2vh;
    margin-bottom: 2vh;
  }
}
@media (max-width: 650px) {
  .hero-main {
    flex-direction: column;
    padding: 2vh 2vw;
    min-height: 0;
  }
  .hero-content {
    max-width: 98vw;
    padding: 0;
    align-items: center;
    text-align: center;
  }
  .hero-title { font-size: clamp(1.3rem, 8vw, 2.1rem);}
  .hero-image {
    min-height: 120px;
    margin: 2vh auto 0 auto;
    justify-content: flex-start;
  }
  .hero-image img {
    max-width: 85vw;
    min-width: 100px;
  }
}
@media (max-width: 400px) {
  .hero-content {
    padding: 0;
  }
  .hero-title { font-size: 1.1rem;}
  .hero-desc { font-size: 0.93rem;}
  .hero-btn { padding: 0.7em 1.5em; font-size: 0.97rem;}
  .hero-image img { max-width: 97vw; min-width: 75px;}
}

@media (max-width: 768px) {
  .hero-main {
    flex-direction: column;
    padding: 3vh 2vw;
    align-items: center;
    min-height: auto;
    gap: 2rem;
  }

  .hero-content {
    max-width: 90vw;
    padding: 0;
    text-align: center;
    align-items: center;
  }

  .hero-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 0.3em;
  }

  .hero-title .highlight {
    font-size: clamp(1.4rem, 4vw, 2rem);
    margin-top: 0.15em;
  }

  .hero-desc {
    max-width: 90vw;
    font-size: 1.05rem;
    margin-bottom: 1.5em;
  }

  .hero-btn {
      /*
       * Keep the call‑to‑action visible on tablets and phones. Reduce
       * padding and font size for better fit, and center it beneath
       * the tagline and description. A small margin helps separate
       * it from adjacent elements.
       */
      display: inline-block;
      padding: 0.9em 2.5em;
      font-size: 1rem;
      margin-top: 1.4em;
  }

  .hero-image {
    width: 100%;
    max-width: 400px;
    margin-top: 1rem;
    justify-content: flex-start;
  }

  .hero-image img {
    max-width: 100%;
    max-height: 100vh;
  }
}

/* Small devices (mobile, 480px and below) */
@media (max-width: 480px) {
  .hero-main {
    padding: 2vh 1.5vw;
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-title .highlight {
    font-size: 1.2rem;
  }

  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 1em;
  }

   .hero-image {
    max-width: 90vw;
  }
  .hero-image img {
    max-height: none;
    width: 100%;
    height: auto;
  }
}
.hero-image {
  width: 100%;       /* full width of container */
  max-width: 700px;  /* bigger max width */
  margin-top: 2rem;
  justify-content: flex-start;
}

.hero-image img {
  width: 100%;       /* fill container width */
  height: auto;      /* keep aspect ratio */
  max-height: none;  /* remove any max height limit */
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Medium screens */
@media (max-width: 1024px) {
  .hero-image {
    max-width: 500px;
  }
  .hero-image img {
    max-height: 350px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .hero-image {
    max-width: 90vw;
  }
  .hero-image img {
    max-height: 280px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-image img {
    max-height: 220px;
  }
}



/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

/* --- STORY SECTION (ABOUT US) --- */
.story-section {
  width: 100%;
  background: var(--cream);
  padding: 5vw 0 6vw 0;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.story-container {
  width: 92vw;
  max-width: 1200px;
  display: flex;
  flex-direction: row;
  gap: 3vw;
  align-items: stretch;
  background: #fff8ee;
  border-radius: 2.2em;
  box-shadow: 0 6px 32px rgba(244, 116, 30, 0.07);
  padding: 2.8vw 3.5vw;
  margin: 0 auto;
  position: relative;
}
.story-image-wrapper {
  flex: 1.1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  max-width: 510px;
  padding: 1vw 0;
}
.story-image {
  width: 100%;
  height: auto;
  max-width: 470px;
  border-radius: 2.1em;
  border: 5px solid #e0b974;
  box-shadow: 0 8px 40px rgba(124, 86, 31, 0.09);
  object-fit: cover;
  background: #efe3cd;
  transition: box-shadow 0.2s;
}
.story-image:hover {
  box-shadow: 0 14px 56px rgba(244, 116, 30, 0.18);
}
.story-content {
  flex: 1.5 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1vw 0 1vw 3vw;
}
.story-label {
  font-family: var(--body-font);
  font-size: 1.07rem;
  font-weight: 700;
  color: #32513b;
  margin-bottom: 0.75em;
  position: relative;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
}
.story-underline {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.6em;
  width: 2.8em;
  height: 0.38em;
  background: url('data:image/svg+xml;utf8,<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 7"><path d="M2 4.5C12 0.5 19 6 29 4.5C39 3 48 2.5 58 4.5" stroke="%23f4741e" stroke-width="2" stroke-linecap="round" /></svg>') no-repeat center/100% 100%;
}
.story-title {
  font-family: var(--logo-font);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 900;
  color: #a3531b;
  margin: 0 0 1em 0;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.story-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #2e2b18;
  margin-bottom: 1.3em;
}
.highlight-orange {
  color: var(--orange);
  font-weight: bold;
}
.highlight-bold {
  color: #284d28;
  font-weight: bold;
  letter-spacing: 0.02em;
}
@media (max-width: 950px) {
  .story-container {
    flex-direction: column;
    align-items: stretch;
    padding: 2vw 3vw;
  }
  .story-content {
    padding: 3vw 0 0 0;
  }
  .story-image-wrapper {
    max-width: 100vw;
    margin-bottom: 2vw;
    justify-content: center;
  }
}
@media (max-width: 650px) {
  .story-section {
    padding: 7vw 0 8vw 0;
  }
  .story-container {
    width: 98vw;
    padding: 3vw 2vw;
    border-radius: 1.3em;
  }
  .story-content {
    padding: 5vw 0 0 0;
  }
  .story-title {
    font-size: 1.38rem;
  }
  .story-image {
    max-width: 92vw;
    border-radius: 1.1em;
    border-width: 3px;
  }
}



/* Products Section */
.products {
    padding: 80px 0;
    background: #fff;
    
}

/* .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
} */
.products-grid {
  background: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.1em;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  padding: 0;
}
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
  flex: 1 1 30%;
      display: flex;
  flex-direction: column;
  /* Remove fixed widths for responsiveness */
  width: auto; /* or remove this line */
  max-width: none;
  min-width: 0;
}

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

.product-image {
      width: 100%;
  height: 40vh;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-badge {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--rich-black);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}


/* Remove fixed widths and min-widths for product cards */
.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  /* Remove fixed widths for responsiveness */
  width: auto; /* or remove this line */
  max-width: none;
  min-width: 0;
}

/* Product image height can be responsive */
.product-image {
  width: 100%;
  height: 250px; /* slightly smaller height for mobile */
  overflow: hidden;
}

@media (max-width: 480px) {
  .product-image {
    height: 180px;
  }
}


/* Product-specific badge colors matching hero image */
.product-card:nth-child(1) .product-badge {
    background: linear-gradient(45deg, var(--golden-yellow), var(--vibrant-orange));
}

.product-card:nth-child(2) .product-badge {
    background: var(--gradient-blue);
    color: white;
}

.product-card:nth-child(3) .product-badge {
    background: var(--gradient-magenta);
    color: white;
}

/* Product card hover effects with themed colors */
.product-card:nth-child(1):hover {
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.3);
}

.product-card:nth-child(2):hover {
    box-shadow: 0 8px 30px rgba(65, 105, 225, 0.3);
}

.product-card:nth-child(3):hover {
    box-shadow: 0 8px 30px rgba(255, 20, 147, 0.3);
}

/* Make product cards clickable */
.product-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.learn-more-btn {
    background: var(--vibrant-orange);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.learn-more-btn:hover {
    background: var(--warm-orange);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-hover);
    animation: modalSlideIn 0.3s ease-out;
}

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

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    z-index: 2001;
}

.close:hover,
.close:focus {
    color: var(--vibrant-orange);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    border-bottom: 1px solid #eee;
}

.modal-header img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.modal-title h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-body h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.benefits-list i {
    color: var(--vibrant-orange);
    font-size: 0.9rem;
}

.modal-body p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: var(--gradient-blue);
}

.benefits .section-title {
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--vibrant-orange);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Recipes Section */
.recipes {
    padding: 80px 0;
    background: var(--warm-white);
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.recipe-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.recipe-image {
    height: 200px;
    overflow: hidden;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.recipe-info {
    padding: 1.5rem;
}

.recipe-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.recipe-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.recipe-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.recipe-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recipe-meta i {
    color: var(--vibrant-orange);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 800px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--warm-white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-item i {
    color: var(--vibrant-orange);
    font-size: 1.5rem;
    min-width: 24px;
}

.contact-item span {
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-magenta);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--vibrant-orange);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    /*
     * Mobile navigation adjustments for screens 768px and below. The hamburger
     * icon is shown and the standard nav sections are hidden. The nav-menu
     * becomes a full‑screen overlay sliding from the left.
     */
    .hamburger {
        display: flex;
    }
    .navbar-section {
        display: none;
    }
    .nav-menu {
        display: flex;
        position: fixed;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        background-color: white;
        text-align: center;
        transition: left 0.3s;
        box-shadow: var(--shadow);
        padding-top: 4rem;
        gap: 1.5rem;
        z-index: 2000;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li {
        margin: 0;
        list-style: none;
    }
    .nav-menu a {
        color: var(--text-dark);
        font-size: 1.2rem;
        font-weight: 600;
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-image-container img {
        /* max-height: 60vh; */
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline-container {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-content {
        gap: 2rem;
    }

    /* Mobile modal styles */
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .modal-header img {
        width: 100px;
        height: 100px;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .close {
        right: 15px;
        top: 10px;
    }
}

@media (max-width: 480px) {
    .hero-image-container img {
        /* max-height: 50vh; */
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .hero-cta {
        margin-top: 1.5rem;
    }
}

/* Product Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--vibrant-orange);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.modal-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.modal-benefits h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.modal-benefits ul {
    list-style: none;
    padding: 0;
}

.modal-benefits li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.modal-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--vibrant-orange);
    font-weight: bold;
}

.modal-actions {
    margin-top: 2rem;
}

.shop-now-btn {
    background: var(--hero-gradient);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shop-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 140, 0, 0.4);
}

/* Make product cards clickable */
.product-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Responsive modal design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .modal-info h2 {
        font-size: 1.8rem;
    }
    
    .close {
        top: 10px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        margin: 15% auto;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-info h2 {
        font-size: 1.5rem;
    }
    
    .shop-now-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }
}

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

.product-card,
.benefit-card,
.recipe-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll indicator */
.hero::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: var(--vibrant-orange);
    animation: bounce 2s infinite;
}

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