:root {
  /* Light Theme Colors - Green and White Theme */
  --color-background: #F8FDF8; /* Very light green-white */
  --color-surface: #FFFFFF; /* Pure white for cards/elements */
  --color-text: #2E4057; /* Dark blue-gray for readability */
  --color-text-secondary: #5A6B7C; /* Medium gray */
  --color-primary: #3CB371; /* Medium Sea Green - vibrant */
  --color-primary-hover: #2E8B57; /* Sea Green - darker shade */
  --color-primary-active: #287A4F; /* Even darker green */
  --color-secondary: #E6F3E6; /* Light green for secondary backgrounds */
  --color-secondary-hover: #D1EAD1; /* Slightly darker light green */
  --color-secondary-active: #BCE1BC; /* Even darker light green */
  --color-border: #D1D8E0; /* Light gray for borders */
  --color-btn-primary-text: #FFFFFF; /* White text on primary buttons */
  --color-card-border: #E0E7E0; /* Light green-gray border for cards */
  --color-card-border-inner: #D1D8D1; /* Slightly darker inner border */
  --color-error: #D32F2F; /* Red */
  --color-success: #3CB371; /* Green */
  --color-warning: #FBC02D; /* Amber */
  --color-info: #1976D2; /* Blue */
  --color-focus-ring: rgba(60, 179, 113, 0.4); /* Green focus ring */
  --color-select-caret: #2E4057; /* Dark caret */
  --header-bg: rgba(255, 255, 255, 0.8); /* Transparent white for header */
  --header-border-bottom: 1px solid rgba(209, 216, 224, 0.3); /* Lighter border */
  --theme-toggle-color: var(--color-text-secondary);
  --theme-toggle-hover-bg: rgba(0, 0, 0, 0.05);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232E4057' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 60, 179, 113;
  --color-error-rgb: 211, 47, 47;
  --color-warning-rgb: 251, 192, 45;
  --color-info-rgb: 25, 118, 210;

  /* Typography */
  --font-family-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors */
html[data-theme="dark"] {
  --color-background: #040704; /* Dark background */
  --color-surface: #1A202C; /* Darker surface */
  --color-text: #E2E8F0; /* Light text */
  --color-text-secondary: #A0AEC0; /* Lighter gray text */
  --color-primary: #48BB78; /* Green */
  --color-primary-hover: #38A169; /* Darker green */
  --color-primary-active: #2F855A; /* Even darker green */
  --color-secondary: #020b1b; /* Dark secondary */
  --color-secondary-hover: #5A6B7C;
  --color-secondary-active: #6A7B8C;
  --color-border: #4A5568;
  --color-btn-primary-text: #FFFFFF;
  --color-card-border: #4A5568;
  --color-card-border-inner: #5A6B7C;
  --color-error: #FC8181;
  --color-success: #48BB78;
  --color-warning: #F6AD55;
  --color-info: #63B3ED;
  --color-focus-ring: rgba(72, 187, 120, 0.4);
  --color-select-caret: #E2E8F0;
  --header-bg: rgba(0, 0, 0, 0.7); /* Transparent dark for header */
  --header-border-bottom: 1px solid rgba(74, 85, 104, 0.3); /* Darker border */
  --theme-toggle-color: var(--color-text);
  --theme-toggle-hover-bg: rgba(255, 255, 255, 0.1);

  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E2E8F0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232E4057' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  --color-success-rgb: 72, 187, 120;
  --color-error-rgb: 252, 129, 129;
  --color-warning-rgb: 246, 173, 85;
  --color-info-rgb: 99, 179, 237;
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  scroll-behavior: smooth; /* Smooth scrolling for anchor links */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth theme transition */
}

body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--primary:active {
  background: var(--color-primary-active);
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--color-primary); /* Use primary color for outline */
  color: var(--color-primary); /* Text color matches primary */
}

.btn--outline:hover {
  background: var(--color-primary); /* Fill with primary color on hover */
  color: var(--color-btn-primary-text); /* Text becomes white on hover */
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
html[data-theme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Custom styles for GreenFusion landing page */

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: 'Inter', var(--font-family-base);
  overflow-x: hidden;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg); /* Use variable for transparency */
  backdrop-filter: blur(10px);
  border-bottom: var(--header-border-bottom); /* Use variable for border */
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s ease, border-bottom 0.3s ease; /* Smooth transition */
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary); /* Green */
  margin: 0;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--theme-toggle-color);
    padding: 0.5rem;
    border-radius: var(--radius-base);
    transition: background 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--theme-toggle-hover-bg);
}

.theme-toggle:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.theme-icon-moon, .theme-icon-sun {
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
}

html[data-theme="light"] .theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg);
}

html[data-theme="light"] .theme-icon-sun {
    opacity: 0;
    transform: rotate(45deg);
}

html[data-theme="dark"] .theme-icon-moon {
    opacity: 0;
    transform: rotate(-45deg);
}

html[data-theme="dark"] .theme-icon-sun {
    opacity: 1;
    transform: rotate(0deg);
}


.cta-button {
  background: var(--color-primary); /* Green */
  color: var(--color-btn-primary-text); /* White */
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--color-primary-hover); /* Darker green */
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px; /* To account for fixed header */
}

/* Background Glow */
.background-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(60, 179, 113, 0.15) 0%, rgba(60, 179, 113, 0.05) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -50%) scale(1.1); }
}

/* Floating Leaves */
.floating-leaves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.leaf {
  position: absolute;
  width: 60px;
  height: 80px;
  background: linear-gradient(135deg, #8BC34A 0%, #3CB371 100%); /* Green shades */
  border-radius: 0 100% 0 100%;
  opacity: 0.7;
}

.leaf::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #2E8B57; /* Darker green vein */
  transform-origin: left;
  transform: rotate(-30deg);
}

.leaf-1 {
  top: 20%;
  right: 20%;
  animation: float1 6s ease-in-out infinite;
}

.leaf-2 {
  top: 60%;
  left: 15%;
  animation: float2 8s ease-in-out infinite;
  animation-delay: -2s;
}

.leaf-3 {
  top: 40%;
  right: 35%;
  animation: float3 7s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(-8deg); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

/* Carousel */
.carousel-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.carousel-orbit {
  position: relative;
  width: 100%;
  height: 100%;
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.carousel-item {
  position: absolute;
  width: 80px;
  height: 80px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-item:nth-child(1) { transform: rotate(0deg) translateY(-250px) rotate(0deg); }
.carousel-item:nth-child(2) { transform: rotate(60deg) translateY(-250px) rotate(-60deg); }
.carousel-item:nth-child(3) { transform: rotate(120deg) translateY(-250px) rotate(-120deg); }
.carousel-item:nth-child(4) { transform: rotate(180deg) translateY(-250px) rotate(-180deg); }
.carousel-item:nth-child(5) { transform: rotate(240deg) translateY(-250px) rotate(-240deg); }
.carousel-item:nth-child(6) { transform: rotate(300deg) translateY(-250px) rotate(-300deg); }

.product-thumbnail {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);

  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-size: contain; /* Ensure image fits */
  background-repeat: no-repeat;
  background-position: center;
  
}

/* Remove pseudo-elements for bottle shapes as images will contain them */
.product-thumbnail::before,
.product-thumbnail::after {
  content: none;
}

.carousel-item:not(.active) .product-thumbnail {
  filter: grayscale(100%) brightness(0.7); /* Lighter grayscale for light theme */
  transform: scale(0.8);
}

html[data-theme="dark"] .carousel-item:not(.active) .product-thumbnail {
  filter: grayscale(100%) brightness(0.4); /* Darker grayscale for dark theme */
}

.carousel-item.active .product-thumbnail {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.2);
  border-color: var(--color-primary); /* Active green */
  box-shadow: 0 0 20px rgba(60, 179, 113, 0.4); /* Green shadow */
}

.carousel-item:hover .product-thumbnail {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.1);
}

/* Hero Content */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 10;
  position: relative;
}

.content-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text); /* Dark text */
  margin-bottom: 1.5rem;
  line-height: 1.2;
  transition: opacity 0.3s ease;
}

.product-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-text-secondary); /* Secondary text color */
  margin-bottom: 2rem;
  transition: opacity 0.3s ease;
}

.product-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.product-display {
  position: relative;
  width: 300px;
  height: 400px;
}

.main-product-image {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  background-size: contain; /* Ensure image fits */
  background-repeat: no-repeat;
  background-position: center;

  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-xl);
}

/* Remove pseudo-elements for bottle shapes as images will contain them */
.main-product-image::before,
.main-product-image::after {
  content: none;
}

/* Section Padding */
.section-padding {
    padding: var(--space-64) 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--space-16);
    color: var(--color-primary-active); /* Darker green for titles */
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-48);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Products Section */
.products-section {
    background-color: var(--color-background);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-24);
    margin-top: var(--space-32);
}

.product-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--space-24);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-card-border);
}

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

.product-card-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-16);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    background-size: contain; /* Ensure image fits */
    background-repeat: no-repeat;
    background-position: center;
  
}

.product-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    /* Hide icons if images contain them and they clash */
    /* display: none; */
}

.product-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: var(--space-8);
    color: var(--color-primary-active);
}

.product-card-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-16);
    flex-grow: 1; /* Ensures cards have consistent height */
}

/* Product Detail Section */
.product-detail-section {
    background-color: var(--color-background);
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-48);
    align-items: center;
}

@media (min-width: 768px) {
    .product-detail-content {
        grid-template-columns: 1fr 1.5fr;
    }
}

.product-detail-image {
    width: 100%;
    max-width: 400px;
    height: 450px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background-size: contain; /* Ensure image fits */
    background-repeat: no-repeat;
    background-position: center;

}

.detail-icon {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    /* Hide icons if images contain them and they clash */
    /* display: none; */
}

.product-detail-text {
    text-align: left;
}

.product-detail-text .section-title {
    text-align: left;
    margin-bottom: var(--space-16);
}

.product-detail-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-24);
}

.product-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-32);
}

.product-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-8);
    font-size: 1rem;
    color: var(--color-text);
}

.product-benefits li .fas {
    color: var(--color-primary);
    margin-right: var(--space-8);
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    background-color: var(--color-secondary); /* Light green background */
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-48);
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 2fr;
    }
}

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

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--space-16);
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    background-color: var(--color-background);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-48);
    margin-bottom: var(--space-48);
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact-info h3, .contact-form-container h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--color-primary-active);
    margin-bottom: var(--space-24);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-12);
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.contact-info p .fas {
    color: var(--color-primary);
    margin-right: var(--space-12);
    font-size: 1.1rem;
}

.contact-info p a {
    color: var(--color-primary);
}

.social-links {
    margin-top: var(--space-24);
    display: flex;
    gap: var(--space-16);
}

.social-links a {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
}

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

.contact-form .form-group {
    margin-bottom: var(--space-16);
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    border-radius: var(--radius-xl);
}

/* Footer */
.footer {
    background-color: var(--color-primary-active); /* Darker green footer */
    color: var(--color-btn-primary-text); /* White text */
    padding: var(--space-24) 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-16);
}

.footer-links a {
    color: var(--color-btn-primary-text);
    margin: 0 var(--space-8);
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    padding: 0 1rem;
  }
  
  .nav {
    display: none; /* Hide navigation on smaller screens */
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .product-title {
    font-size: 2.5rem;
  }
  
  .product-description {
    font-size: 1.1rem;
  }
  
  .carousel-container {
    width: 400px;
    height: 400px;
  }
  
  .carousel-item:nth-child(1) { transform: rotate(0deg) translateY(-170px) rotate(0deg); }
  .carousel-item:nth-child(2) { transform: rotate(60deg) translateY(-170px) rotate(-60deg); }
  .carousel-item:nth-child(3) { transform: rotate(120deg) translateY(-170px) rotate(-120deg); }
  .carousel-item:nth-child(4) { transform: rotate(180deg) translateY(-170px) rotate(-180deg); }
  .carousel-item:nth-child(5) { transform: rotate(240deg) translateY(-170px) rotate(-240deg); }
  .carousel-item:nth-child(6) { transform: rotate(300deg) translateY(-170px) rotate(-300deg); }
  
  .product-display {
    width: 250px;
    height: 350px;
  }
  
  .product-actions {
    justify-content: center;
  }

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

  .section-subtitle {
      font-size: 1rem;
  }

  .product-grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .product-detail-content {
      grid-template-columns: 1fr;
      text-align: center;
  }

  .product-detail-text .section-title {
      text-align: center;
  }

  .product-benefits {
      text-align: left;
      margin-left: auto;
      margin-right: auto;
      max-width: 300px; /* Constrain width for better readability on small screens */
  }

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

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

@media (max-width: 480px) {
  .product-title {
    font-size: 2rem;
  }
  
  .carousel-container {
    width: 300px;
    height: 300px;
  }
  
  .carousel-item:nth-child(1) { transform: rotate(0deg) translateY(-120px) rotate(0deg); }
  .carousel-item:nth-child(2) { transform: rotate(60deg) translateY(-120px) rotate(-60deg); }
  .carousel-item:nth-child(3) { transform: rotate(120deg) translateY(-120px) rotate(-120deg); }
  .carousel-item:nth-child(4) { transform: rotate(180deg) translateY(-120px) rotate(-180deg); }
  .carousel-item:nth-child(5) { transform: rotate(240deg) translateY(-120px) rotate(-240deg); }
  .carousel-item:nth-child(6) { transform: rotate(300deg) translateY(-120px) rotate(-300deg); }
  
  .product-display {
    width: 200px;
    height: 300px;
  }
  
  .product-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }

  .section-padding {
      padding: var(--space-32) 0;
  }

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

  .section-subtitle {
      font-size: 0.9rem;
      margin-bottom: var(--space-32);
  }

  .product-card {
      padding: var(--space-16);
  }

  .product-card-title {
      font-size: 1.3rem;
  }

  .product-detail-image {
      max-width: 300px;
      height: 350px;
  }

  .detail-icon {
      font-size: 4rem;
  }

  .product-detail-description {
      font-size: 1rem;
  }

  .contact-info p, .contact-form-container h3 {
      font-size: 1.6rem;
  }
}
