:root {
  /* Color Palette */
  --color-primary: #4b7c2f;
  --color-primary-dark: #3a6324;
  --color-secondary: #5D4037;
  --color-accent: #8BC34A; /* Fresh green accent */
  --color-bg: #FDFBF7; /* Warmer Creamy/Paper background */
  --color-card-bg: #FFFFFF;
  --color-text-main: #2C1810;
  --color-text-light: #6D6D6D;
  
  /* Typography */
  --font-heading: 'Merriweather', serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing & Layout */
  --container-width: 1200px;
  --header-height: 80px;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.15);
  --shadow-float: 0 15px 35px rgba(75, 124, 47, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-top: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

img {
  max-width: 100%;
  display: block;
}

/* CONTAINER */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-logo-img {
  height: 60px; /* Adjust based on logo shape */
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  color: var(--color-text-main);
  position: relative;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-primary);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-cart {
  font-size: 1.2rem;
  color: var(--color-primary);
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: var(--color-bg);
  background-image: radial-gradient(circle at 80% 50%, rgba(75, 124, 47, 0.08) 0%, transparent 50%);
  overflow: hidden;
}

/* If we had a real background image, we'd use it here. 
   Since we have "hero.jpg" (cookie pile), we might want to use it as a background 
   OR as a side image. The reference shows side image. Let's do Split Hero. */

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  width: 100%;
  padding: 60px 0;
}

.hero-text {
  padding: 40px 0;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  color: #3E2723; /* Dark brown for main title */
  margin-bottom: 16px;
}

.hero h1 span {
  color: var(--color-primary); /* Green accent */
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-text-main);
  font-size: 1.8rem;
  margin-bottom: 16px;
  font-weight: 400;
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-image-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  max-width: 500px; /* Reduced slightly to not overpower */
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.2));
  animation: float 6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #558B2F 0%, #33691E 100%); /* Olive Green Gradient */
  color: white;
  box-shadow: 0 10px 20px rgba(85, 139, 47, 0.3);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(75, 124, 47, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: white;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.8rem;
}

/* PRODUCTS SECTION */
.section-products {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--color-secondary);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  padding: 20px 10px;
}

.product-card {
  background: var(--color-card-bg);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05); /* Softer initial shadow */
}

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

.product-image-container {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

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

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

.product-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

/* FEATURES ICONS SECTION */
.section-features {
  padding: 60px 0;
  background-color: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.feature-item {
  padding: 20px;
}

.feature-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  background: white;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
}

.feature-item h3 {
  color: var(--color-secondary);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* PLACEHOLDERS */
.placeholder-image {
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-weight: bold;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 20px;
}

.placeholder-image.square {
  aspect-ratio: 1/1;
}

/* NEWSLETTER */
.section-newsletter {
  background-color: var(--color-primary);
  padding: 80px 0;
  color: white;
  text-align: center;
}

.newsletter-content h2 {
  color: white;
  margin-bottom: 16px;
}

.newsletter-content p {
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto 30px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  font-family: var(--font-body);
  outline: none;
}

.btn-white {
  background: white;
  color: var(--color-primary);
  font-weight: bold;
}

.btn-white:hover {
  background: var(--color-secondary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ABOUT SECTION */
.section-about {
  background-color: white;
  padding: 80px 0;
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--color-text-light);
}

.features-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--color-secondary);
}

.features-list li::before {
  content: '✓';
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 14px;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FOOTER */
footer {
  background-color: var(--color-secondary);
  color: white;
  padding: 60px 0 20px;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  text-align: left;
}

.footer-col h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-desc {
  color: rgba(255,255,255,0.7);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
}

.footer-col ul li a:hover {
  color: white;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    margin: 0 auto 32px;
  }
  
  .hero-image-wrapper {
    order: -1; /* Image on top on mobile */
  }

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

@media (max-width: 768px) {
  .navbar {
    height: auto;
    padding: 15px 0;
  }
  
  .navbar .container {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 20px;
    display: flex; /* Keep visible */
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .nav-icons {
    order: 2;
  }
}
