/* Color Palette & Variables */
:root {
  --primary: #2d5a27;
  --primary-hover: #1e3f1b;
  --primary-light: #e8f0e6;
  --accent: #d4a373;
  --bg-light: #fbfdfa;
  --text-dark: #1f2421;
  --text-muted: #556052;
  --white: #ffffff;
  --max-width: 1140px;
  --radius: 8px;
  --transition: all 0.3s ease-in-out;
}

/* Base Setup */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

h2{color: #060;}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.section {
  padding: 2rem 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.subheading {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* Scroll Animation Styles */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); align-items: center; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-cta {
  background-color: var(--accent);
  color: var(--white);
}

.btn-cta:hover {
  background-color: #c08d5d;
  transform: translateY(-2px);
}

.btn-nav {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem 1.25rem;
}

.btn-nav:hover {
  background-color: #F60;
}

.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

/* Navigation Header */
header {
  position: sticky;
  top: 0;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-icon {
  width: 35px;
  height: 35px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-menu a {
  font-weight: 500;
  color: #011530;
  transition: var(--transition);
  position: relative;
}

.nav-menu a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-menu a:not(.btn):hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  position: relative;
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Photo Slider / Hero */
.hero {
  position: relative;
  overflow: hidden;
}

.slider-container {
  position: relative;
  height: 420px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slide-1-bg { background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%); }
.slide-2-bg { background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%); }
.slide-3-bg { background: linear-gradient(135deg, #f4ebd0 0%, var(--primary-light) 100%); }

.slide-content {
  width: 1100px;
}

.badge {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.slide-content h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 1rem;
}

.slide-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--primary);
  transition: var(--transition);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.slider-btn:hover { background: var(--primary); color: var(--white); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 10px;
}

/* Feature Cards */
.card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
}

.card:hover { transform: translateY(-5px); }
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card h3 { color: var(--primary); margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Ingredients */
.ingredient-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.03);
}

.ingredient-img { width: 100%; height: 180px; display: block; }
.ingredient-info { padding: 1.5rem; }
.ingredient-info h3 { color: var(--primary); margin-bottom: 0.5rem; }
.ingredient-info p { color: var(--text-muted); font-size: 0.95rem; }

/* Benefits */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.benefit-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.check-icon {
  background: var(--primary-light);
  color: var(--primary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.placeholder-img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}

/* Customer Reviews Carousel */
.review-carousel-wrapper {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
  overflow: hidden;
  padding: 1rem 0;
}

.review-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.review-card {
  min-width: 100%;
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.stars { color: #f39c12; margin-bottom: 1rem; font-size: 1.2rem; }
.review-card p { color: var(--text-muted); font-style: italic; margin-bottom: 1.25rem; font-size: 1.05rem; }
.reviewer strong { display: block; color: var(--primary); }
.reviewer span { font-size: 0.85rem; color: #888; }

.review-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--primary);
  font-size: 1rem;
  transition: var(--transition);
  z-index: 5;
}

.review-btn:hover { background: var(--primary); color: var(--white); }
.review-btn.prev { left: 5px; }
.review-btn.next { right: 5px; }

/* Photo Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item svg {
  width: 100%;
  height: 220px;
  display: block;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox-content {
  width: 80%;
  max-width: 500px;
  display: flex;
  justify-content: center;
}

.lightbox-content svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.lightbox-caption {
  color: var(--white);
  margin-top: 1rem;
  font-size: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: var(--white);
  font-size: 40px;
  cursor: pointer;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-btn:hover { background: rgba(255,255,255,0.5); }
.lightbox-btn.prev { left: 20px; }
.lightbox-btn.next { right: 20px; }

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1c3d18 100%);
  color: var(--white);
}

.cta-section h2 { font-size: 2.25rem; margin-bottom: 0.75rem; }
.cta-section p { color: var(--primary-light); margin-bottom: 1.5rem; }

.cta-price {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.original-price {
  font-size: 1.5rem;
  text-decoration: line-through;
  opacity: 0.6;
}

/* Footer */
footer {
  background-color: #172615;
  color: #c5d3c2;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 2fr; }
}

.logo-footer { color: var(--white); margin-bottom: 1rem; }
.footer-col h4 { color: #d4a373; margin-bottom: 1.25rem; font-size:20px; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a:hover { color: var(--white); }

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input {
  padding: 0.75rem;
  border-radius: 50px;
  border: none;
  flex: 1;
  outline: none;
}

.footer-bottom {
  border-top: 1px solid #263b23;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: #889b85;
}

/* Responsive Mobile Navigation */
@media (max-width: 767px) {
  .nav-toggle { display: block; }

  .nav-menu {
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    display: none;
  }

  .nav-menu.active { display: flex; }
  .slide-content h1 { font-size: 2rem; }
  .slider-container { height: 480px; }
}