/* Soft & Organic Premium Corporate Design System */

:root {
  /* Core Color Palette - Elevated Corporate Palette */
  --primary-color: #FFFFFF;
  --secondary-color: #F8F9FA;
  --background-color: #FFFFFF;
  --footer-bg-color: #2C3E50;
  --button-primary: #D4AF37;
  --accent-warm: #E8F4F8;
  --text-primary: #2C3E50;
  --text-secondary: #5D6D7E;
  --text-muted: #85929E;
  
  /* Soft & Organic Color Extensions */
  --soft-green: #A8DADC;
  --soft-coral: #F4A261;
  --organic-beige: #F7F3E9;
  --warm-white: #FEFEFE;
  --soft-shadow: rgba(44, 62, 80, 0.08);
  --medium-shadow: rgba(44, 62, 80, 0.12);
  --deep-shadow: rgba(44, 62, 80, 0.20);
  
  /* Spacing System - Generous for Organic Feel */
  --space-xs: 0.75rem;
  --space-sm: 1.25rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4.5rem;
  --space-2xl: 6rem;
  
  /* Border Radius - Soft & Organic */
  --radius-sm: 16px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-round: 50%;
  
  /* Typography - Round & Friendly */
  --font-primary: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Poppins', 'Inter', system-ui, sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Font Sizes - Organic Proportions */
  --text-xs: 0.875rem;
  --text-sm: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.25rem;
  --text-3xl: 3rem;
  --text-4xl: 4rem;
  
  /* Line Heights - Breathing Room */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
  --line-height-loose: 1.8;
  
  /* Shadows - Soft & Diffused */
  --shadow-soft: 0 4px 20px -8px var(--soft-shadow);
  --shadow-medium: 0 8px 30px -12px var(--medium-shadow);
  --shadow-deep: 0 15px 40px -15px var(--deep-shadow);
  --shadow-hover: 0 20px 50px -20px var(--deep-shadow);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: linear-gradient(135deg, var(--background-color) 0%, var(--warm-white) 100%);
  color: var(--text-primary);
  line-height: var(--line-height-relaxed);
  font-weight: var(--font-weight-normal);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--text-primary);
  margin: 0 0 var(--space-md) 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-bold);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--button-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: var(--text-3xl);
  color: var(--text-primary);
}

h3 {
  font-size: var(--text-2xl);
  color: var(--text-primary);
}

h4 {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-medium);
}

h5 {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-medium);
}

h6 {
  font-size: var(--text-md);
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
}

p {
  margin: 0 0 var(--space-md) 0;
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

a {
  color: var(--button-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

a:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

a:focus {
  outline: 2px solid var(--button-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Layout Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
}

.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--secondary-color);
}

.section:nth-child(odd) {
  background: var(--background-color);
}

.section.hero {
  background: linear-gradient(135deg, var(--organic-beige) 0%, var(--warm-white) 50%, var(--accent-warm) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.section.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, var(--soft-green) 0%, transparent 70%);
  opacity: 0.1;
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
}

/* Cards - Soft & Organic Design */
.card {
  background: var(--primary-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(44, 62, 80, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--button-primary) 0%, var(--soft-coral) 50%, var(--soft-green) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card:hover::before {
  opacity: 1;
}

.card.featured {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--organic-beige) 100%);
  border: 2px solid var(--button-primary);
  position: relative;
}

.card.featured::after {
  content: 'Featured';
  position: absolute;
  top: -12px;
  right: var(--space-md);
  background: var(--button-primary);
  color: var(--primary-color);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
}

/* Buttons - Organic & Elegant */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-lg);
  border: none;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  min-height: 48px;
}

.btn::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 ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--button-primary) 0%, #E6C547 100%);
  color: var(--primary-color);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-deep);
  background: linear-gradient(135deg, #E6C547 0%, var(--button-primary) 100%);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: var(--text-primary);
  border: 2px solid var(--text-secondary);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--text-secondary) 0%, var(--text-primary) 100%);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--button-primary);
  border: 2px solid var(--button-primary);
}

.btn-outline:hover {
  background: var(--button-primary);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Form Elements - Organic Styling */
.form-group {
  margin-bottom: var(--space-md);
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  font-size: var(--text-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md) var(--space-md);
  border: 2px solid var(--secondary-color);
  border-radius: var(--radius-lg);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  background: var(--primary-color);
  transition: all 0.3s ease;
  position: relative;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--button-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  transform: translateY(-1px);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Grid System - Flexible Layout */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* Spacing Utilities */
.p-xs { padding: var(--space-xs); }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }

.m-xs { margin: var(--space-xs); }
.m-sm { margin: var(--space-sm); }
.m-md { margin: var(--space-md); }
.m-lg { margin: var(--space-lg); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--button-primary); }

.font-light { font-weight: var(--font-weight-light); }
.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

/* Header Styles */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44, 62, 80, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-lg);
}

.nav-link {
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--button-primary);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Footer Styles */
.footer {
  background: var(--footer-bg-color);
  color: var(--primary-color);
  padding: var(--space-2xl) 0 var(--space-lg) 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  position: relative;
}

.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: var(--space-md);
  font-size: var(--text-lg);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--line-height-relaxed);
}

.footer-section a:hover {
  color: var(--button-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
}

/* Hero Section Specific */
.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  font-weight: var(--font-weight-normal);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

/* Lists - Organic Styling */
.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-item {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--secondary-color);
  transition: all 0.3s ease;
}

.list-item:last-child {
  border-bottom: none;
}

.list-item:hover {
  background: var(--organic-beige);
  margin: 0 calc(var(--space-sm) * -1);
  padding: var(--space-sm) var(--space-sm);
  border-radius: var(--radius-sm);
}

/* Utilities */
.hidden {
  display: none;
}

.visible {
  display: block;
}

.full-width {
  width: 100%;
}

.text-center {
  text-align: center;
}

.rounded {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.shadow {
  box-shadow: var(--shadow-soft);
}

.shadow-lg {
  box-shadow: var(--shadow-medium);
}

.shadow-xl {
  box-shadow: var(--shadow-deep);
}

/* Loading States */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--button-primary);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
  
  .section.hero {
    min-height: 80vh;
    padding: var(--space-xl) 0;
  }
  
  h1 {
    font-size: var(--text-3xl);
  }
  
  h2 {
    font-size: var(--text-2xl);
  }
  
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
  
  .navbar {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .nav-menu {
    gap: var(--space-md);
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --space-2xl: 4rem;
    --space-xl: 3rem;
    --space-lg: 2rem;
    --text-4xl: 3rem;
    --text-3xl: 2.5rem;
  }
  
  .card {
    padding: var(--space-md);
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Print Styles */
@media print {
  .btn,
  .header,
  .footer {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
    background: white !important;
  }
  
  body {
    background: white !important;
  }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 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;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #333333;
    --secondary-color: #F0F0F0;
    --button-primary: #B8860B;
  }
  
  .card {
    border: 2px solid var(--text-primary);
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}


/* 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;
    }
}