/* ========================================
   SOFT & ORGANIC DESIGN SYSTEM
   ======================================== */

/* CSS Variables for Design System */
:root {
  /* Core Colors */
  --primary-color: #000000;
  --secondary-color: #1a1a2e;
  --background-color: #ffffff;
  --footer-bg-color: #1a1a2e;
  --button-color: #ffd700;
  
  /* Soft & Organic Color Palette */
  --soft-primary: #2d3748;
  --organic-cream: #faf8f5;
  --warm-gray: #f7fafc;
  --soft-gold: #fed7aa;
  --gentle-blue: #e6fffa;
  --nature-green: #f0fff4;
  
  /* Gradients */
  --gradient-warm: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  --gradient-soft: linear-gradient(135deg, #faf8f5 0%, #f7fafc 100%);
  --gradient-organic: linear-gradient(135deg, #e6fffa 0%, #f0fff4 100%);
  
  /* Shadows - Soft & Diffused */
  --shadow-soft: 0 4px 20px -8px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 30px -10px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 15px 35px -12px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
  
  /* Border Radius - Generous & Organic */
  --radius-small: 16px;
  --radius-medium: 20px;
  --radius-large: 24px;
  --radius-xl: 32px;
  --radius-round: 50%;
  
  /* Typography - Round & Friendly */
  --font-primary: 'Poppins', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Quicksand', 'Comfortaa', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
}

/* Import Google Fonts for Round & Friendly Typography */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Quicksand:wght@300;400;500;600;700&display=swap');

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background-color: var(--organic-cream);
  color: var(--soft-primary);
  line-height: 1.7;
  font-size: 16px;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.125rem;
}

p {
  margin-bottom: var(--space-md);
  font-weight: 400;
  color: var(--soft-primary);
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--secondary-color);
  transform: translateY(-1px);
}

/* Lists */
ul, ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

li {
  margin-bottom: var(--space-xs);
  line-height: 1.6;
}

/* ========================================
   LAYOUT COMPONENTS
   ======================================== */

/* Container System */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--space-lg);
}

/* Section Styles */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-light {
  background-color: var(--background-color);
}

.section-soft {
  background: var(--gradient-soft);
}

.section-organic {
  background: var(--gradient-organic);
}

.section-dark {
  background-color: var(--footer-bg-color);
  color: white;
}

/* ========================================
   CARDS & CONTAINERS
   ======================================== */

.card {
  background: var(--background-color);
  border-radius: var(--radius-medium);
  padding: var(--space-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s 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-medium) var(--radius-medium) 0 0;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card-organic {
  background: var(--organic-cream);
  border: none;
  border-radius: var(--radius-large);
}

.card-soft {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 250, 252, 0.9) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-large);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-width: 120px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-warm);
  color: var(--primary-color);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-strong);
  color: var(--primary-color);
}

.btn-secondary {
  background: var(--background-color);
  color: var(--primary-color);
  border: 2px solid var(--soft-gold);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background: var(--soft-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-organic {
  background: var(--gradient-organic);
  color: var(--secondary-color);
  border: 1px solid rgba(45, 55, 72, 0.1);
  box-shadow: var(--shadow-soft);
}

.btn-organic:hover {
  background: var(--nature-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* ========================================
   FORM ELEMENTS
   ======================================== */

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--soft-primary);
  font-size: 0.95rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius-medium);
  background: var(--background-color);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--button-color);
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ========================================
   HEADER STYLES
   ======================================== */

.header {
  background: var(--background-color);
  padding: var(--space-lg) 0;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.nav-brand {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-link {
  font-weight: 500;
  color: var(--soft-primary);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-small);
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: var(--organic-cream);
  color: var(--primary-color);
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.footer {
  background: var(--footer-bg-color);
  color: white;
  padding: var(--space-2xl) 0 var(--space-lg) 0;
}

.footer h4,
.footer h5 {
  color: white;
  margin-bottom: var(--space-md);
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--button-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   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(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.p-0 { padding: 0; }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-soft { background: var(--organic-cream); }
.bg-organic { background: var(--gradient-organic); }

/* ========================================
   SPECIAL EFFECTS & DECORATIONS
   ======================================== */

/* Organic Shape Divider */
.shape-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

/* Floating Elements */
.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Pulse Effect for Important Elements */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .container,
  .container-fluid {
    padding: 0 var(--space-md);
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .card {
    padding: var(--space-lg);
    border-radius: var(--radius-small);
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  
  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .container,
  .container-fluid {
    padding: 0 var(--space-sm);
  }
  
  .card {
    padding: var(--space-md);
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}

/* ========================================
   ACCESSIBILITY & FOCUS STATES
   ======================================== */

*:focus {
  outline: 2px solid var(--button-color);
  outline-offset: 2px;
}

.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;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .floating,
  .pulse {
    animation: none;
  }
}

/* ========================================
   CUSTOM COMPONENTS FOR UNIQUENESS
   ======================================== */

/* Organic Badges */
.badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-xl);
  background: var(--soft-gold);
  color: var(--primary-color);
  margin: var(--space-xs);
}

/* Organic Progress Bars */
.progress {
  width: 100%;
  height: 12px;
  background: var(--warm-gray);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.progress-bar {
  height: 100%;
  background: var(--gradient-warm);
  border-radius: var(--radius-xl);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Organic Tabs */
.tab-list {
  display: flex;
  background: var(--warm-gray);
  border-radius: var(--radius-large);
  padding: 4px;
  margin-bottom: var(--space-lg);
}

.tab-item {
  flex: 1;
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-medium);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tab-item.active {
  background: var(--background-color);
  box-shadow: var(--shadow-soft);
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .btn,
  .card,
  .header,
  .footer {
    box-shadow: none;
    background: white !important;
    color: black !important;
  }
  
  .section {
    padding: 1rem 0;
  }
}


/* 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;
    }
}