/* Base CSS Variables */
:root {
  /* Color Palette */
  --color-primary: #2D5540;
  /* Deep Forest Green */
  --color-secondary: #70798C;
  /* Stone Gray */
  --color-accent: #BA5536;
  /* Earthy Terracotta */
  --color-light-accent: #A3B899;
  /* Sage Green */
  --color-neutral-light: #E6D0B1;
  /* Clay Beige */
  --color-water: #7CAFC4;
  /* Sky Blue */
  --color-bg: #F5F5F0;
  /* Off-White */
  --color-text: #333333;
  /* Charcoal */
  --color-bg-alt: #E8E5E1;
  /* Light Stone */

  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Lora', serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;

  /* Border Radius */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

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

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

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.1rem;
}

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

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

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

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

button, .btn {
  display: inline-block;
  background-color: var(--color-accent);
  color: white;
  padding: var(--space-sm) var(--space-lg);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

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

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

/* Header Styles */
header {
  background-color: var(--color-bg);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 100;
}

.burg {
  padding: 0;
}

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

.logo {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.logo span {
  color: var(--color-accent);
}

/* Navigation */
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  position: absolute;
  right: 1rem;
  align-items: center;
  z-index: 9999;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.nav-menu a {
  color: var(--color-text);
  font-weight: 500;
  position: relative;
}

.nav-menu a:hover {
  color: var(--color-accent);
}

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

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

/* Hero Section */
.hero {
  background-color: var(--color-light-accent);
  padding: var(--space-xxl) 0;
  position: relative;
  overflow: hidden;
}

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

.hero h1 {
  margin-bottom: var(--space-md);
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero p {
  color: white;
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
}

.hero-btn-secondary {
  background-color: white;
  color: var(--color-accent);
}

.hero-btn-secondary:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
}

/* Feature Section */
.features {
  background-color: var(--color-bg);
}

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

.feature-card {
  background-color: white;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

/* Services Section */
.services {
  background-color: var(--color-bg-alt);
}

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

.service-item {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-img {
  height: 200px;
  background-color: var(--color-neutral-light);
  position: relative;
}

.service-content {
  padding: var(--space-lg);
}

.service-price {
  font-weight: bold;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

/* About Section */
.about {
  background-color: white;
}

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

.about-image {
  height: 400px;
  background-color: var(--color-light-accent);
  border-radius: var(--radius-md);
}

/* Testimonials */
.testimonials {
  background-color: var(--color-neutral-light);
  text-align: center;
}

.testimonial-item {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg);
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: var(--space-md);
}

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

/* Contact Form */
.contact {
  background-color: white;
}

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

.contact-info {
  background-color: var(--color-primary);
  color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-md);
}

.contact-info h3 {
  color: white;
}

.contact-detail {
  margin-bottom: var(--space-md);
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  margin-right: var(--space-sm);
  font-size: 1.2rem;
}

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

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

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

.form-control {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--color-bg-alt);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
}

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

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

.form-check-input {
  margin-right: var(--space-sm);
  margin-top: 5px;
}

/* Footer */
footer {
  background-color: var(--color-primary);
  color: white;
  padding: var(--space-lg) 0;
}

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

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-links a {
  color: white;
  opacity: 0.8;
}

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

.copyright {
  text-align: center;
  margin-top: var(--space-lg);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Cookie Policy */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-bg);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: none;
}

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

.cookie-text {
  margin-right: var(--space-lg);
}

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

/* 404 Page */
.error-page {
  text-align: center;
  padding: var(--space-xxl) 0;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

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

/* Thank You Page */
.thank-you-page {
  text-align: center;
  padding: var(--space-xxl) 0;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--color-light-accent);
  color: var(--color-primary);
}

.thank-you-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    padding: var(--space-xl) var(--space-lg);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }
}