/* CSS Variables - Soft & Organic Theme */
:root {
  /* Core Colors (softened from user preferences) */
  --primary-color: #3B82F6;
  --primary-light: #60A5FA;
  --primary-dark: #2563EB;
  --secondary-color: #6B7280;
  --background-color: #FFFFFF;
  --footer-bg-color: #F3F4F6;
  --button-color: #3B82F6;
  
  /* Soft & Organic Extended Palette */
  --soft-blue: #E0F2FE;
  --organic-green: #ECFDF5;
  --warm-gray: #F9FAFB;
  --cream: #FFFBEB;
  --sage-green: #10B981;
  --soft-purple: #F3E8FF;
  --sage-light: #D1FAE5;
  
  /* Gradients */
  --primary-gradient: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
  --organic-gradient: linear-gradient(135deg, #10B981 0%, #34D399 100%);
  --soft-gradient: linear-gradient(135deg, #E0F2FE 0%, #D1FAE5 100%);
  --hero-gradient: linear-gradient(135deg, #3B82F6 0%, #10B981 50%, #60A5FA 100%);
  
  /* Shadows - Soft & Organic */
  --shadow-soft: 0 4px 20px -4px rgba(59, 130, 246, 0.1);
  --shadow-medium: 0 10px 30px -10px rgba(59, 130, 246, 0.15);
  --shadow-large: 0 20px 40px -15px rgba(59, 130, 246, 0.2);
  --shadow-organic: 0 8px 25px -8px rgba(16, 185, 129, 0.1);
  
  /* Typography */
  --font-primary: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-secondary: 'Inter', 'Roboto', 'Arial', sans-serif;
  
  /* Spacing & Borders */
  --radius-small: 12px;
  --radius-medium: 18px;
  --radius-large: 24px;
  --radius-xl: 32px;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--background-color);
  color: var(--secondary-color);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  font-weight: 400;
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: #1F2937;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  font-weight: 600;
}

h3 {
  font-size: 1.875rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.125rem;
}

p {
  margin-bottom: var(--spacing-md);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Organic Container System */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--spacing-lg);
}

/* Soft & Organic Section Backgrounds */
.section {
  padding: var(--spacing-2xl) 0;
}

.section-soft {
  background: var(--soft-gradient);
}

.section-organic {
  background: linear-gradient(135deg, var(--organic-green) 0%, var(--sage-light) 100%);
}

.section-cream {
  background: var(--cream);
}

/* Organic Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-large);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: linear-gradient(135deg, #6B7280 0%, #9CA3AF 100%);
  color: white;
  box-shadow: 0 4px 15px -4px rgba(107, 114, 128, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -8px rgba(107, 114, 128, 0.3);
}

.btn-organic {
  background: var(--organic-gradient);
  color: white;
  box-shadow: var(--shadow-organic);
}

.btn-organic:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -8px rgba(16, 185, 129, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-soft);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Organic Cards */
.card {
  background: white;
  border-radius: var(--radius-large);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.05);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.card-organic {
  background: linear-gradient(135deg, white 0%, var(--organic-green) 100%);
  border: 1px solid rgba(16, 185, 129, 0.1);
}

.card-soft {
  background: linear-gradient(135deg, white 0%, var(--soft-blue) 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.card-gradient {
  background: var(--hero-gradient);
  color: white;
  border: none;
}

/* Hero Section */
.hero {
  background: var(--hero-gradient);
  color: white;
  padding: var(--spacing-2xl) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero h1 {
  color: white;
  margin-bottom: var(--spacing-md);
  font-size: 3.5rem;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: var(--spacing-lg);
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-large);
  margin: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-lg);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: var(--spacing-md);
  z-index: 100;
}

.nav-link {
  color: var(--secondary-color);
  text-decoration: none;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-small);
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--primary-color);
  background: var(--soft-blue);
}

/* Forms */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: #374151;
}

.form-input {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-medium);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Utilities */
.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); }

.py-xl {
  padding-top: var(--spacing-2xl);
  padding-bottom: var(--spacing-2xl);
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(-1 * var(--spacing-sm));
}

.col {
  flex: 1;
  padding: 0 var(--spacing-sm);
}

.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Footer */
footer {
  background: var(--footer-bg-color);
  padding: var(--spacing-2xl) 0;
  margin-top: var(--spacing-2xl);
}

.footer-content {
  text-align: center;
}

.footer-link {
  color: var(--secondary-color);
  text-decoration: none;
  margin: 0 var(--spacing-sm);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-color);
}

/* Interactive Elements */
.interactive-element {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-element::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;
}

.interactive-element:hover::before {
  left: 100%;
}

/* Organic Shapes & Elements */
.organic-shape {
  position: relative;
  border-radius: var(--radius-xl);
}

.organic-shape::after {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: var(--organic-gradient);
  border-radius: 50%;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  
  .btn {
    width: 100%;
    margin-bottom: var(--spacing-sm);
  }
  
  .card {
    padding: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .navbar {
    margin: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Focus States for Accessibility */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

button:focus,
.btn:focus,
input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Print Styles */
@media print {
  .btn,
  .navbar,
  footer {
    display: none;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  body {
    background: white;
    color: black;
  }
}


/* 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;
    }
}