/* Base CSS Variables */
:root {
  /* Colors */
  --primary-bg: #F8FAF7;
  --secondary-bg: #E0E9E4;
  --accent: #5B7D63;
  --text-dark: #2E2E2E;
  --highlight: #C9A976;
  
  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Cormorant Garamond', serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Borders & Shadows */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--primary-bg);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-normal);
}

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

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-sm);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  font-weight: 500;
  text-align: center;
}

.btn:hover {
  background-color: var(--highlight);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: white;
}

/* Header Styles - Unique Design */
.header {
  position: relative;
  padding: var(--space-sm) 0;
  z-index: 1000;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  background-color: rgba(248, 250, 247, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
  transition: transform var(--transition-normal);
}

.logo:hover {
  transform: scale(1.05);
}

/* Unique menu design with animation */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--accent);
  border-radius: 3px;
  transition: all var(--transition-normal);
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-menu li {
  margin-left: var(--space-md);
}

.nav-menu a {
  position: relative;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--highlight);
  transition: width var(--transition-normal);
}

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

/* Hero Section */
.hero {
  position: relative;
  padding: var(--space-xl) 0;
  background-color: var(--secondary-bg);
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  position: relative;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: var(--space-md);
  animation: fadeInUp 1s ease;
}

.hero p {
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
  animation: fadeInUp 1.2s ease;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  animation: fadeInUp 1.4s ease;
}

.hero-image {
  position: relative;
  flex: 1;
  max-width: 520px;
  margin-left: auto;
  z-index: 1;
  animation: fadeInRight 1.2s ease;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

/* Services Section */
.services {
  padding: var(--space-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  display: inline-block;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 30%;
  width: 40%;
  height: 3px;
  background-color: var(--highlight);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card h3 {
  margin-bottom: var(--space-sm);
  color: var(--accent);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--highlight);
  margin-bottom: var(--space-sm);
}

/* About Section */
.about {
  padding: var(--space-xl) 0;
  background-color: var(--secondary-bg);
}

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

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

.about-text h2 {
  margin-bottom: var(--space-md);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-xs);
  font-family: var(--font-secondary);
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Gallery Section */
.gallery {
  padding: var(--space-xl) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-sm);
}

.gallery-item {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(91, 125, 99, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: white;
  font-weight: 600;
  text-align: center;
  padding: 0 var(--space-sm);
}

/* Testimonials Section */
.testimonials {
  padding: var(--space-xl) 0;
  background-color: var(--secondary-bg);
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: none;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent);
}

.slider-nav {
  display: flex;
  justify-content: center;
  margin-top: var(--space-md);
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid var(--accent);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

.slider-dot.active {
  background-color: var(--accent);
}

/* Contact Section */
.contact {
  padding: var(--space-xl) 0;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--accent);
}

.contact-form {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

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

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-primary);
  transition: border-color var(--transition-normal);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.form-checkbox input {
  margin-top: 5px;
}

.map-container {
  height: 300px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-top: var(--space-md);
}

/* Footer */
.footer {
  background-color: var(--accent);
  color: white;
  padding: var(--space-md) 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-secondary);
}

.footer-links {
  list-style: none;
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  transition: color var(--transition-normal);
}

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

.footer-bottom {
  text-align: center;
  margin-top: var(--space-md);
  font-size: 0.9rem;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Cookie Policy Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  padding: var(--space-md);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cookie-content p {
  flex: 1 1 260px;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

/* 404 Page */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: var(--space-md);
  margin-top: 65px;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-md);
  font-family: var(--font-secondary);
  position: relative;
}

.error-code::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: var(--highlight);
}

.error-message {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

/* Thank You Page */
.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: var(--space-md);
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.thank-you-title {
  margin-bottom: var(--space-sm);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translate(50px, -50%);
  }
  to {
    opacity: 0.8;
    transform: translateY(-50%);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes grow {
  from {
    height: 0;
  }
  to {
    height: var(--growth-height);
  }
}

/* Unique animation classes */
.fade-in {
  animation: fadeIn 1s ease;
}

.fade-in-up {
  animation: fadeInUp 1s ease;
}

.fade-in-left {
  animation: fadeInLeft 1s ease;
}

.fade-in-right {
  animation: fadeInRight 1s ease;
}

.pulse {
  animation: pulse 2s infinite;
}

.plant-growth {
  overflow: hidden;
  --growth-height: 100px;
  animation: grow 2s ease;
}

.floating {
  animation: pulse 3s infinite;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: none;
  }

  .hero-image {
    margin: var(--space-md) auto 0;
    max-width: 420px;
    width: 100%;
  }

  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
    margin-bottom: var(--space-md);
  }
  
  .cookie-content {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    margin-left: auto;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right var(--transition-normal);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: var(--space-lg) var(--space-md);
    gap: var(--space-md);
    display: none;
  }
  
  .nav-menu.active {
    right: 0;
    display: flex;
  }
  
  .nav-menu li {
    margin: 0;
  }
  
  .footer-container {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .hero {
    padding: var(--space-lg) 0;
  }
  
  .hero-buttons {
    flex-direction: column;
  }

  .cookie-buttons {
    justify-content: center;
  }
  
  .stats-container {
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-md);
  }
  
  .service-cards {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .container {
    width: 95%;
  }
  
  .nav-menu {
    width: 80%;
  }
  
  .hero-buttons {
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-content {
    text-align: center;
  }
  
  .section-header h2::after {
    left: 25%;
    width: 50%;
  }
  
  .error-code {
    font-size: 6rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

/* Special animation for leaf elements */
.leaf {
  position: relative;
  overflow: hidden;
}

.leaf::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--accent);
  opacity: 0.1;
  border-radius: 50% 0 50% 0;
  transform: rotate(45deg);
  z-index: -1;
  animation: leaf-grow 3s infinite alternate;
}

@keyframes leaf-grow {
  from {
    transform: scale(1) rotate(45deg);
  }
  to {
    transform: scale(1.5) rotate(45deg);
  }
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Unique header scroll effect */
.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
}


.plant-stem {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 6px;
  background-color: var(--accent);
  transform: translateX(-50%);
  transform-origin: bottom center;
  animation: stem-grow 3s ease forwards;
}

.plant-leaf {
  position: absolute;
  width: 30px;
  height: 15px;
  background-color: var(--accent);
  border-radius: 50% 50% 0 50%;
  opacity: 0;
  transform-origin: bottom left;
  animation: leaf-appear 0.5s ease forwards;
}

.plant-leaf:nth-child(odd) {
  border-radius: 50% 50% 50% 0;
  transform-origin: bottom right;
}

@keyframes stem-grow {
  from {
    height: 0;
  }
  to {
    height: 80%;
  }
}

@keyframes leaf-appear {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Parallax effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Water ripple animation for hover effects */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.6s ease-out, height 0.6s ease-out, opacity 0.6s ease-out;
}

.ripple:hover::after {
  width: 200%;
  height: 200%;
  opacity: 1;
}

/* Soil particle animation */
.soil-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: var(--highlight);
  opacity: 0.7;
  border-radius: 50%;
  animation: float-up 3s ease infinite;
}

@keyframes float-up {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-50px) rotate(360deg);
    opacity: 0;
  }
}
