/* Soft & Organic Modern Minimal CSS - Complementary to Tailwind */

/* CSS Custom Properties - Color System */
:root {
  /* Primary Colors */
  --color-primary: #203A2F;
  --color-secondary: #C5A059;
  --color-background: #F9F9F7;
  --color-footer: #11221D;
  --color-button: #203A2F;
  
  /* Neutral Variations */
  --color-white: #FFFFFF;
  --color-section-light: #F9F9F7;
  --color-section-mid: #EFEFEA;
  
  /* Gradients */
  --gradient-warm: linear-gradient(135deg, #C5A059 0%, #E6D4A8 100%);
  --gradient-organic: linear-gradient(45deg, #203A2F 0%, #2D4A3F 50%, #3A5D52 100%);
  --gradient-subtle: linear-gradient(180deg, #F9F9F7 0%, #EFEFEA 100%);
  
  /* Typography */
  --font-primary: 'Nunito', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;
  
  /* Spacing System */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  
  /* Shadows - Soft & Organic */
  --shadow-soft-sm: 0 4px 12px rgba(32, 58, 47, 0.08);
  --shadow-soft-md: 0 8px 24px rgba(32, 58, 47, 0.12);
  --shadow-soft-lg: 0 12px 36px rgba(32, 58, 47, 0.15);
  --shadow-soft-xl: 0 20px 60px rgba(32, 58, 47, 0.18);
  
  /* Focus States */
  --focus-ring: 0 0 0 3px rgba(197, 160, 89, 0.3);
  --focus-ring-dark: 0 0 0 3px rgba(32, 58, 47, 0.3);
}

/* Base Typography */
html {
  font-size: 16px;
  line-height: 1.7;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-background);
  color: var(--color-primary);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

/* Headings - Friendly & Rounded */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 var(--spacing-lg) 0;
  color: var(--color-primary);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--spacing-2xl);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-xl);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.125rem;
}

/* Paragraphs */
p {
  margin: 0 0 var(--spacing-lg) 0;
  line-height: 1.7;
  font-size: 1.1rem;
  color: rgba(32, 58, 47, 0.85);
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-sm);
}

a:hover {
  color: var(--color-secondary);
  text-decoration: none;
}

a:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Buttons - Soft & Organic */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-xl);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 48px;
  letter-spacing: 0.025em;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-soft-sm);
}

.btn-primary:hover {
  background: #2a4a3f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-md);
  color: white;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft-sm);
}

.btn-secondary {
  background: var(--gradient-warm);
  color: white;
  box-shadow: var(--shadow-soft-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-md);
  filter: brightness(1.05);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-md);
}

.btn-ghost {
  background: rgba(197, 160, 89, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.btn-ghost:hover {
  background: rgba(197, 160, 89, 0.15);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft-sm);
}

/* Cards - Soft & Rounded */
.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-soft-sm);
  border: 1px solid rgba(32, 58, 47, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-warm);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft-lg);
}

.card-soft {
  background: var(--color-section-light);
  border: 1px solid rgba(32, 58, 47, 0.03);
}

.card-subtle {
  background: var(--gradient-subtle);
  border: 1px solid rgba(32, 58, 47, 0.02);
}

/* Forms - Organic & Friendly */
.form-group {
  margin-bottom: var(--spacing-xl);
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  font-size: 0.95rem;
  letter-spacing: 0.025em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-primary);
  background: var(--color-white);
  border: 2px solid rgba(32, 58, 47, 0.1);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 48px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: var(--focus-ring);
  background: var(--color-white);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Sections */
.section {
  padding: var(--spacing-3xl) 0;
}

.section-light {
  background: var(--color-section-light);
}

.section-subtle {
  background: var(--color-section-mid);
}

.section-white {
  background: var(--color-white);
}

/* Container */
.container-organic {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  width: 100%;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--spacing-xl);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Header */
.header {
  background: var(--color-white);
  border-bottom: 1px solid rgba(32, 58, 47, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(249, 249, 247, 0.95);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg) 0;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-primary);
  text-decoration: none;
}

.nav-link {
  margin: 0 var(--spacing-md);
  font-weight: 500;
  color: rgba(32, 58, 47, 0.8);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--color-primary);
  background: rgba(197, 160, 89, 0.1);
}

/* Footer */
.footer {
  background: var(--color-footer);
  color: rgba(255, 255, 255, 0.9);
  padding: var(--spacing-3xl) 0 var(--spacing-xl) 0;
}

.footer h4,
.footer h5,
.footer h6 {
  color: white;
  margin-bottom: var(--spacing-lg);
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
  color: var(--color-secondary);
}

/* Hero Section */
.hero {
  padding: var(--spacing-3xl) 0;
  text-align: center;
  background: var(--gradient-subtle);
  border-radius: var(--radius-2xl);
  margin: var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.03) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto var(--spacing-xl) auto;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto var(--spacing-2xl) auto;
  color: rgba(32, 58, 47, 0.7);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.p-0 { padding: 0; }
.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

.shadow-soft-sm { box-shadow: var(--shadow-soft-sm); }
.shadow-soft-md { box-shadow: var(--shadow-soft-md); }
.shadow-soft-lg { box-shadow: var(--shadow-soft-lg); }

/* Focus Management */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container-organic {
    padding: 0 var(--spacing-lg);
  }
  
  .section {
    padding: var(--spacing-2xl) 0;
  }
  
  .hero {
    margin: var(--spacing-sm);
    padding: var(--spacing-2xl) var(--spacing-lg);
  }
  
  .card {
    padding: var(--spacing-xl);
  }
  
  .header-content {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    margin: 0;
    border-radius: 0;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .card {
    padding: var(--spacing-lg);
  }
}

/* Print Styles */
@media print {
  .btn,
  .header,
  .footer {
    display: none;
  }
  
  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--color-primary);
  }
  
  .btn-outline {
    border-width: 3px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* 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;
    }
}