@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* --- Design Tokens & Variables --- */
:root {
  /* Colors */
  --color-forest: #1b4332;
  --color-forest-dark: #081c15;
  --color-forest-light: #2d6a4f;
  --color-cream: #faf7f2;
  --color-cream-dark: #f2ebd9;
  --color-cream-light: #fdfdfc;
  --color-gold: #c5a059;
  --color-gold-hover: #a38144;
  --color-gold-light: #f7f1e3;
  --color-white: #ffffff;
  --color-charcoal: #1f2937;
  --color-charcoal-light: #4b5563;
  --color-border: rgba(27, 67, 50, 0.08);
  
  /* Fonts */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease-in-out;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(27, 67, 50, 0.06);
  --shadow-lg: 0 16px 36px rgba(27, 67, 50, 0.1);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Dimensions */
  --max-width: 1200px;
  --header-height: 80px;
  --header-height-scrolled: 70px;
}

/* --- Base & Reset Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-cream);
  color: var(--color-charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-forest-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

.text-center { text-align: center; }

.section-header {
  margin-bottom: 50px;
  position: relative;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

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

.section-header p {
  color: var(--color-charcoal-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Button Component --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.5px;
}

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

.btn-primary:hover {
  background-color: var(--color-forest-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(45, 106, 79, 0.25);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-forest);
  color: var(--color-forest);
}

.btn-secondary:hover {
  background-color: var(--color-forest);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-white);
}

.btn-gold:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.25);
}

.btn-outline-gold {
  background-color: transparent;
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn-outline-gold:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* --- Header / Navigation Bar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  background-color: #2C4A2E;
  transition: background-color 0.5s ease;
}

.header.gradient-scrolled {
  background: linear-gradient(270deg, #1E3D20, #2C4A2E, #3A5E3C, #2C4A2E, #1E3D20);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
  width: auto;
  transition: var(--transition-smooth);
  background: transparent;
  mix-blend-mode: screen;
}

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

.nav-item a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-white);
  position: relative;
  padding: 6px 0;
}

/* For pages where header starts transparent, we will styled active states */
.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
}

.nav-item a:hover::after,
.nav-item.active a::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1002;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  position: absolute;
  left: 0;
  transition: var(--transition-smooth);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 11px; }
.mobile-menu-btn span:nth-child(3) { top: 22px; }

/* Mobile Menu Active State Hamburger */
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #1b4332;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    z-index: 1001;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-item a {
    font-size: 1.25rem;
  }
}

/* --- Banner Carousel --- */
.banner-carousel {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-top: var(--header-height);
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: auto;
}

.carousel-slide {
  display: none !important;
  width: 100%;
  height: auto;
}

.carousel-slide.active {
  display: block !important;
}

.carousel-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Slider Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.carousel-btn:hover,
.carousel-btn:active {
  background-color: #C8A951;
  border-color: #C8A951;
  color: #ffffff;
}

.carousel-btn-prev { left: 20px; }
.carousel-btn-next { right: 20px; }

@media (max-width: 768px) {
  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  .carousel-btn-prev { left: 10px; }
  .carousel-btn-next { right: 10px; }
}

/* Centered Product Cards (Home Page Clean Grid) */
.product-info.text-center {
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 20px;
}

.product-info.text-center .product-title {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.product-info.text-center .btn {
  width: 100%;
  max-width: 160px;
}

/* --- Section 3: Product Showcase --- */
.products-section {
  background-color: var(--color-cream);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  overflow: hidden;
  background-color: var(--color-cream);
}

.product-image-wrapper img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

/* Individual image scales to make all packets visually equal in size (approx. 98% card height) without any cropping */
.product-image-wrapper img[src*="chia.jpg"],
.product-image-wrapper img[src*="pumpkin.jpg"],
.product-image-wrapper img[src*="sunflower.jpg"],
.product-image-wrapper img[src*="mix.jpg"] {
  transform: translate(-50%, -50%) scale(1.21);
}

.product-card:hover .product-image-wrapper img[src*="chia.jpg"],
.product-card:hover .product-image-wrapper img[src*="pumpkin.jpg"],
.product-card:hover .product-image-wrapper img[src*="sunflower.jpg"],
.product-card:hover .product-image-wrapper img[src*="mix.jpg"] {
  transform: translate(-50%, -50%) scale(1.28);
}

.product-image-wrapper img[src*="flax.png"] {
  transform: translate(-50%, -50%) scale(1.12);
}

.product-card:hover .product-image-wrapper img[src*="flax.png"] {
  transform: translate(-50%, -50%) scale(1.19);
}

.product-image-wrapper img[src*="watermelon.png"] {
  transform: translate(-50%, -50%) scale(1.17);
}

.product-card:hover .product-image-wrapper img[src*="watermelon.png"] {
  transform: translate(-50%, -50%) scale(1.24);
}

.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-meta {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.product-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--color-forest-dark);
}

.product-description {
  color: var(--color-charcoal-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.product-price {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-forest);
}

.product-price span {
  font-size: 0.85rem;
  color: var(--color-charcoal-light);
  font-weight: 400;
  margin-left: 2px;
}

.product-card .btn {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* --- Internal Pages Hero Banner --- */
.page-hero {
  height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-forest-dark);
  overflow: hidden;
  margin-top: 0;
  padding-top: 40px;
}

.page-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  padding: 0 24px;
}

.page-hero-content h1 {
  font-size: 3rem;
  color: var(--color-white);
  margin-bottom: 10px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs a {
  transition: var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--color-gold);
}

.breadcrumbs span {
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .page-hero {
    height: 240px;
  }
  .page-hero-content h1 {
    font-size: 2.25rem;
  }
}

/* --- Products Page Filter Controls --- */
.filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.filter-btn {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-forest-dark);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-white);
}

/* Product Card Animation for Filtering */
.products-grid .product-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease, border-color 0.4s ease;
}

.product-card.hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border: none;
}

/* --- About Us Page Styles --- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image-wrapper {
    order: -1;
  }
}

.about-text-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--color-forest);
}

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

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-white);
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Values Grid */
.values-section {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  background-color: var(--color-cream);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}

.value-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-gold);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.value-card:hover .value-icon {
  background-color: var(--color-gold);
  color: var(--color-white);
}

.value-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.value-card h4 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-charcoal-light);
}

/* History / Showcase Section */
.our-philosophy {
  background-color: var(--color-cream-light);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

@media (max-width: 768px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
}

.philosophy-col {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.philosophy-col h3 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.philosophy-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2.5px;
  background-color: var(--color-gold);
  border-radius: var(--radius-full);
}

.philosophy-col p {
  color: var(--color-charcoal-light);
  font-size: 0.95rem;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-forest-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 30px;
  border-top: 4px solid var(--color-gold);
}

.footer h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-gold);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 80px;
  width: auto;
  background: transparent;
  mix-blend-mode: screen;
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul a:hover {
  color: var(--color-gold);
  transform: translateX(4px);
}

.footer-col ul a::before {
  content: '•';
  color: var(--color-gold);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  fill: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-gold);
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: var(--radius-full);
  background-color: var(--color-gold);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-forest);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
