/* Elegant & Minimal Design System - Custom CSS Extension */

/* ===== CSS VARIABLES ===== */
:root {
  /* Color Palette */
  --primary-color: #4A90A4;
  --secondary-color: #7BB3C3;
  --background-color: #F8FAFC;
  --footer-bg-color: #2D3748;
  --button-color: #4A90A4;
  --section-bg-1: #FFFFFF;
  --section-bg-2: #F1F5F9;
  --section-bg-3: #E2E8F0;
  --section-bg-4: #F8FAFC;
  
  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.03);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.05);
  --shadow-strong: 0 20px 25px rgba(0, 0, 0, 0.08);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== GLOBAL RESET & BASE STYLES ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background-color);
  color: #334155;
  line-height: 1.75;
  font-weight: var(--font-weight-normal);
  letter-spacing: -0.01em;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1e293b;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-medium);
}

h5 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-medium);
}

h6 {
  font-size: 1.125rem;
  font-weight: var(--font-weight-medium);
}

p {
  margin-bottom: var(--space-sm);
  font-size: 1.125rem;
  line-height: 1.8;
  color: #64748b;
}

.lead-text {
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: var(--font-weight-medium);
  line-height: 1.6;
}

.small-text {
  font-size: 0.875rem;
  color: #64748b;
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: var(--section-bg-2);
}

.section:nth-child(3n) {
  background-color: var(--section-bg-1);
}

.section:nth-child(4n) {
  background-color: var(--section-bg-4);
}

.section-large {
  padding: var(--space-3xl) 0;
}

.section-small {
  padding: var(--space-lg) 0;
}

/* ===== CONTAINER ENHANCEMENTS ===== */
.container-enhanced {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ===== TYPOGRAPHY UTILITIES ===== */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-muted {
  color: #64748b;
}

.text-primary {
  color: var(--primary-color);
}

.text-center {
  text-align: center;
}

.text-balance {
  text-wrap: balance;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: 1rem;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.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.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--button-color), var(--secondary-color));
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  background: linear-gradient(135deg, #4295a1, #6ba8b8);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-color);
}

.btn-ghost:hover {
  background: var(--section-bg-2);
}

.btn-pill {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.875rem;
  background: var(--section-bg-3);
  color: var(--primary-color);
  border: 1px solid transparent;
}

.btn-pill:hover {
  background: var(--primary-color);
  color: white;
}

/* ===== LINKS ===== */
.link-underlined {
  color: var(--primary-color);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: all var(--transition-fast);
}

.link-underlined:hover {
  color: var(--secondary-color);
  text-decoration-color: var(--secondary-color);
}

.link-elegant {
  position: relative;
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.link-elegant::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--secondary-color);
  transition: width var(--transition-normal);
}

.link-elegant:hover::after {
  width: 100%;
}

.link-elegant:hover {
  color: var(--secondary-color);
}

/* ===== CARDS ===== */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: var(--section-bg-3);
}

.card-elegant {
  background: linear-gradient(145deg, white, var(--section-bg-1));
  border: 1px solid var(--section-bg-3);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.card-elegant::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.card-feature {
  text-align: center;
  padding: var(--space-lg);
  border: 1px solid var(--section-bg-3);
}

.card-feature .icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-size: 1.5rem;
  color: white;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-weight: var(--font-weight-medium);
  color: #374151;
  margin-bottom: var(--space-xs);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--section-bg-3);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-normal);
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 144, 164, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--background-color), var(--section-bg-2));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23E2E8F0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* ===== NAVIGATION ===== */
.nav-elegant {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--section-bg-3);
}

.nav-link {
  color: #374151;
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-normal);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--footer-bg-color);
  color: white;
  padding: var(--space-2xl) 0 var(--space-md);
}

.footer h4 {
  color: white;
  margin-bottom: var(--space-sm);
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.footer a:hover {
  color: var(--secondary-color);
}

/* ===== UTILITY CLASSES ===== */
.bg-primary {
  background-color: var(--primary-color);
}

.bg-secondary {
  background-color: var(--secondary-color);
}

.bg-light {
  background-color: var(--section-bg-1);
}

.bg-muted {
  background-color: var(--section-bg-2);
}

.text-white {
  color: white;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.spacing-top {
  margin-top: var(--space-lg);
}

.spacing-bottom {
  margin-bottom: var(--space-lg);
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .section {
    padding: var(--space-lg) 0;
  }
  
  .section-large {
    padding: var(--space-2xl) 0;
  }
  
  .hero {
    min-height: 80vh;
    text-align: center;
  }
  
  h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .container-enhanced {
    padding: 0 var(--space-sm);
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

@media (max-width: 480px) {
  body {
    line-height: 1.7;
  }
  
  p {
    font-size: 1rem;
  }
  
  .card,
  .card-elegant {
    padding: var(--space-sm);
  }
  
  .btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.875rem;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus styles for better accessibility */
.btn:focus,
.form-input:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
  .btn,
  .nav-elegant,
  .footer {
    display: none;
  }
  
  .section {
    padding: var(--space-sm) 0;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}


/* 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;
    }
}