:root {
  /* Color Palette from Design Preferences */
  --primary-color: #3A4E48;
  --secondary-color: #C5AE87;
  --background-color: #F9FAFB;
  --footer-bg-color: #1F2926;
  --button-color: #3A4E48;
  --white: #FFFFFF;
  --light-gray: #F3F4F6;
  
  /* Soft & Organic Gradients */
  --primary-gradient: linear-gradient(135deg, #3A4E48 0%, #4a5f58 100%);
  --secondary-gradient: linear-gradient(135deg, #C5AE87 0%, #d4c4a0 100%);
  --warm-gradient: linear-gradient(135deg, #C5AE87 0%, #e6d9c5 50%, #f3ede0 100%);
  --cool-gradient: linear-gradient(135deg, #3A4E48 0%, #2d3d37 100%);
  
  /* Soft Shadows */
  --shadow-soft: 0 10px 30px -10px rgba(58, 78, 72, 0.15);
  --shadow-medium: 0 20px 40px -15px rgba(58, 78, 72, 0.2);
  --shadow-strong: 0 30px 60px -20px rgba(58, 78, 72, 0.25);
  --shadow-footer: 0 -10px 30px -15px rgba(31, 41, 38, 0.3);
  
  /* Border Radius for Organic Feel */
  --radius-small: 16px;
  --radius-medium: 20px;
  --radius-large: 24px;
  --radius-xl: 32px;
  
  /* Typography */
  --font-primary: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
  --line-height-relaxed: 1.6;
  --line-height-loose: 1.8;
}

/* Base Body Styles */
body {
  font-family: var(--font-primary);
  background-color: var(--background-color);
  color: var(--primary-color);
  line-height: var(--line-height-relaxed);
  font-weight: 400;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Headings - Round and Friendly Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--line-height-loose);
  letter-spacing: -0.025em;
  color: var(--primary-color);
  margin: 0 0 1rem 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h5 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
}

h6 {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

p {
  margin: 0 0 1.5rem 0;
  font-size: 1.1rem;
  line-height: var(--line-height-relaxed);
}

/* Buttons - Soft & Organic with Gradients */
.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-medium);
  padding: 14px 28px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  background: var(--cool-gradient);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  background: var(--secondary-gradient);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
  border-radius: var(--radius-medium);
  padding: 12px 26px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  background: var(--warm-gradient);
  border-color: transparent;
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Cards - Soft & Organic with Generous Border Radius */
.card {
  background: var(--white);
  border-radius: var(--radius-large);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(58, 78, 72, 0.05);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 174, 135, 0.3), transparent);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.card-soft {
  background: linear-gradient(145deg, var(--white) 0%, var(--light-gray) 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.card-soft:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-strong);
}

/* Section Backgrounds - Following User's Spec */
.section-light {
  background-color: var(--white);
  padding: 4rem 0;
}

.section-gray {
  background-color: var(--light-gray);
  padding: 4rem 0;
}

.section-alternate {
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
  padding: 4rem 0;
}

/* Forms - Soft & Organic */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(58, 78, 72, 0.1);
  border-radius: var(--radius-medium);
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--primary-color);
  background-color: var(--white);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px -5px rgba(58, 78, 72, 0.1);
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(197, 174, 135, 0.15), var(--shadow-soft);
  transform: translateY(-1px);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%233A4E48' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  appearance: none;
}

/* Footer Styles */
footer {
  background-color: var(--footer-bg-color);
  color: var(--white);
  padding: 3rem 0;
  margin-top: 4rem;
  box-shadow: var(--shadow-footer);
}

.footer-content {
  background: linear-gradient(145deg, rgba(31, 41, 38, 0.95) 0%, rgba(25, 33, 30, 0.98) 100%);
  border-radius: var(--radius-large) var(--radius-large) 0 0;
  padding: 2.5rem;
  border-top: 1px solid rgba(197, 174, 135, 0.2);
}

.footer-content h3,
.footer-content h4,
.footer-content h5,
.footer-content h6 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.footer-content p,
.footer-content a {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-content a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

/* Navigation */
.nav-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-small);
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--secondary-color);
  background-color: rgba(197, 174, 135, 0.1);
  transform: translateY(-1px);
}

.nav-link.active {
  background: var(--secondary-gradient);
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--background-color) 0%, var(--light-gray) 50%, var(--white) 100%);
  border-radius: var(--radius-xl);
  padding: 5rem 2rem;
  text-align: center;
  margin: 2rem 0;
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(197, 174, 135, 0.05) 0%, transparent 70%);
  animation: gentle-rotate 20s linear infinite;
}

@keyframes gentle-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: var(--primary-color);
  opacity: 0.8;
}

/* Badges and Tags */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--warm-gradient);
  color: var(--primary-color);
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  text-decoration: none;
}

/* Loading States */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(197, 174, 135, 0.2), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  to {
    left: 100%;
  }
}

/* Focus States for Accessibility */
*:focus-visible {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
  border-radius: var(--radius-small);
}

/* Responsive Typography */
@media (max-width: 768px) {
  .card {
    padding: 1.5rem;
  }
  
  .card-soft {
    padding: 2rem;
  }
  
  .hero {
    padding: 3rem 1rem;
    margin: 1rem 0;
  }
  
  .footer-content {
    padding: 2rem;
  }
  
  p {
    font-size: 1rem;
  }
}

/* Soft Animations */
@media (prefers-reduced-motion: no-preference) {
  * {
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-gradient);
  border-radius: var(--radius-small);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Selection Styles */
::selection {
  background-color: rgba(197, 174, 135, 0.3);
  color: var(--primary-color);
}

::-moz-selection {
  background-color: rgba(197, 174, 135, 0.3);
  color: var(--primary-color);
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}