:root {
  /* Color System */
  --primary-green: #2D5016;
  --secondary-green: #4A7C59;
  --accent-green: #7FB069;
  --earth-brown: #8B4513;
  --warm-beige: #F5F5DC;
  --soft-cream: #FEFDF5;
  --neutral-gray: #6B7280;
  --dark-gray: #374151;
  --light-gray: #F9FAFB;
  --white: #FFFFFF;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  
  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

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

/* Header */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-normal);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}

.logo h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary-green);
  margin: 0;
}

.nav {
  display: flex;
  gap: var(--space-lg);
}

.nav a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

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

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

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

/* Hero Section */
.hero {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  align-items: center;
  gap: var(--space-2xl);
}

.hero-content {
  padding: var(--space-2xl) 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--primary-green);
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--neutral-gray);
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color: var(--white);
  padding: var(--space-md) var(--space-xl);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.hero-image:hover img {
  transform: scale(1.05);
}

/* Section Styling */
section {
  padding: var(--space-3xl) 0;
}

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

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--neutral-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background-color: var(--soft-cream);
}

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

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: var(--space-md);
  color: var(--dark-gray);
}

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

.about-image img {
  width: 100%;
  height: auto;
  transition: var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  background-color: var(--white);
  padding: var(--space-xl);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition-normal);
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-green);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: var(--space-md);
}

.service-card p {
  color: var(--neutral-gray);
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--light-gray);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.testimonial-card {
  background-color: var(--white);
  padding: var(--space-xl);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

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

.testimonial-content {
  margin-bottom: var(--space-lg);
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--dark-gray);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-green);
}

.testimonial-author h4 {
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 2px;
}

.testimonial-author span {
  color: var(--neutral-gray);
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.contact-info p {
  font-size: 1.2rem;
  margin-bottom: var(--space-xl);
  opacity: 0.9;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 1.1rem;
}

.contact-item .icon {
  font-size: 1.5rem;
}

/* Form Styling */
.contact-form {
  background-color: var(--white);
  padding: var(--space-xl);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
}

.form h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: var(--space-lg);
  text-align: center;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: var(--space-xs);
}

.form-group input[type="text"],
.form-group input[type="tel"] {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition-fast);
  background-color: var(--white);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

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

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--primary-green);
}

.checkbox-label a {
  color: var(--primary-green);
  text-decoration: underline;
}

.submit-button {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color: var(--white);
  padding: var(--space-md) var(--space-lg);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: var(--space-2xl) 0 var(--space-lg) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-section h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--accent-green);
}

.footer-section p {
  opacity: 0.8;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--space-xs);
}

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition-fast);
}

.footer-section ul li a:hover {
  opacity: 1;
  color: var(--accent-green);
}

.footer-bottom {
  border-top: 1px solid #4B5563;
  padding-top: var(--space-lg);
  text-align: center;
  opacity: 0.7;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-top: 3px solid var(--primary-green);
  box-shadow: var(--shadow-xl);
  z-index: 10000;
  transform: translateY(100%);
  transition: var(--transition-normal);
}

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

.cookie-content {
  padding: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-bottom: var(--space-md);
}

.cookie-content p {
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
}

.accept-btn, .decline-btn {
  padding: var(--space-sm) var(--space-lg);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.accept-btn:hover {
  background-color: var(--secondary-green);
}

.decline-btn {
  background-color: var(--light-gray);
  color: var(--dark-gray);
}

.decline-btn:hover {
  background-color: #E5E7EB;
}

.cookie-buttons a {
  color: var(--primary-green);
  text-decoration: underline;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: block;
}

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: var(--space-xl);
  border-radius: 16px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease;
}

.close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
  color: var(--neutral-gray);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-fast);
}

.close:hover {
  color: var(--primary-green);
}

.modal-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary-green);
  margin-bottom: var(--space-lg);
}

.policy-content h3 {
  color: var(--primary-green);
  margin: var(--space-lg) 0 var(--space-md) 0;
  font-size: 1.3rem;
}

.policy-content p, .policy-content li {
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.policy-content ul {
  margin-left: var(--space-lg);
}

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

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .accept-btn, .decline-btn {
    width: 100%;
    text-align: center;
  }
  
  .modal-content {
    margin: 2% auto;
    width: 95%;
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  section {
    padding: var(--space-xl) 0;
  }
  
  .service-card, .testimonial-card {
    padding: var(--space-lg);
  }
  
  .contact-form {
    padding: var(--space-lg);
  }
}

/* Print Styles */
@media print {
  .header, .cookie-modal, .modal {
    display: none !important;
  }
  
  .hero {
    margin-top: 0;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Focus styles for accessibility */
a:focus, button:focus, input:focus, [tabindex]:focus {
  outline: 3px solid var(--primary-green);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #1a3d0a;
    --secondary-green: #2d4d2d;
    --neutral-gray: #4a4a4a;
  }
}