/* 
 * Modern Design System for Dr. Veronika Voyages
 * Color Psychology: Calming blues, warm accents, trust-building neutrals
 * Typography: Professional yet approachable
 */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;500;600;700&family=Crimson+Text:ital@0;1&display=swap');

/* CSS Variables for Modern Color Palette */
:root {
  /* Primary Colors - Calming & Professional */
  --primary-blue: #2C5282;      /* Deep trust blue */
  --primary-teal: #319795;      /* Healing teal */
  --accent-coral: #ED8936;      /* Warm coral accent */
  --accent-sage: #48BB78;       /* Growth green */
  
  /* Neutral Palette */
  --neutral-900: #1A202C;       /* Deep charcoal */
  --neutral-700: #2D3748;       /* Dark gray */
  --neutral-600: #4A5568;       /* Medium gray */
  --neutral-400: #A0AEC0;       /* Light gray */
  --neutral-200: #E2E8F0;       /* Very light gray */
  --neutral-100: #F7FAFC;       /* Almost white */
  --white: #FFFFFF;
  
  /* Gradient Colors */
  --gradient-start: #667eea;    /* Soft purple */
  --gradient-mid: #764ba2;      /* Mid purple */
  --gradient-end: #f093fb;      /* Light pink */
  
  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Crimson Text', serif;
}

/* Reset with Modern Defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--neutral-700);
  background: linear-gradient(to bottom, var(--white) 0%, var(--neutral-100) 100%);
  overflow-x: hidden;
}

/* Container with Better Responsiveness */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip Link - Accessibility First */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-blue);
  color: var(--white);
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  font-weight: 500;
  transition: top 0.3s ease;
  z-index: 9999;
}

.skip-link:focus {
  top: 0;
}

/* Modern Top Bar with Glass Effect */
.top-bar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.contact-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.contact-link {
  color: var(--neutral-600);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.contact-link::before {
  content: '✉️';
  font-size: 1.1em;
}

.contact-link[href^="tel"]::before {
  content: '📱';
}

.contact-link:hover {
  color: var(--primary-teal);
  transform: translateY(-2px);
}

.contact-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-teal);
  transition: width 0.3s ease;
}

.contact-link:hover::after {
  width: 100%;
}

/* Stunning Hero Section with Gradient Animation */
.hero-section {
  margin-top: 48px;
  background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: var(--white);
  padding: 120px 0 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="p" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23p)"/></svg>');
  animation: drift 20s linear infinite;
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease-out;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: 48px;
  opacity: 0.95;
  font-weight: 300;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  position: relative;
  z-index: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modern Navigation with Hover Effects */
.main-nav {
  position: relative;
  z-index: 1;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.main-nav a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.main-nav a:hover::before {
  width: 100%;
  height: 100%;
}

.main-nav a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

/* Welcome Section with Floating Elements */
.welcome-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--neutral-100) 100%);
  text-align: center;
  position: relative;
}

.welcome-section::before,
.welcome-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  opacity: 0.05;
}

.welcome-section::before {
  background: var(--gradient-start);
  top: -150px;
  left: -150px;
  animation: float 15s ease-in-out infinite;
}

.welcome-section::after {
  background: var(--gradient-end);
  bottom: -150px;
  right: -150px;
  animation: float 15s ease-in-out infinite 7.5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.welcome-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.welcome-content p {
  font-size: 1.125rem;
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  color: var(--neutral-600);
}

.hero-tagline {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: 400;
  font-style: italic;
  color: var(--primary-blue);
  position: relative;
  display: inline-block;
}

.hero-tagline::before,
.hero-tagline::after {
  content: '"';
  font-size: 2rem;
  color: var(--accent-coral);
  opacity: 0.5;
  position: absolute;
  top: -10px;
}

.hero-tagline::before {
  left: -30px;
}

.hero-tagline::after {
  right: -30px;
}

/* Modern CTA Button */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  color: var(--white);
  padding: 18px 48px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(44, 82, 130, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-button::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.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44, 82, 130, 0.4);
}

/* About Section with Cards */
.about-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 60px;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.about-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
}

.about-content p {
  margin-bottom: 24px;
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--neutral-600);
}

.about-content p strong {
  color: var(--primary-blue);
  font-weight: 600;
  background: linear-gradient(180deg, transparent 60%, rgba(237, 137, 54, 0.2) 60%);
  padding: 2px 4px;
}

/* Specialties with Modern Cards */
.specialties-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--neutral-100) 0%, var(--white) 100%);
}

.specialty-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-200);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card h3 {
  font-family: var(--font-display);
  margin-bottom: 24px;
  color: var(--primary-blue);
  font-size: 1.75rem;
  font-weight: 600;
}

.service-card p {
  color: var(--neutral-600);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.service-card a {
  color: var(--primary-teal);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.service-card a:hover {
  border-bottom-color: var(--primary-teal);
}

.license-note {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(44, 82, 130, 0.05), rgba(49, 151, 149, 0.05));
  border-radius: 12px;
}

.license-note p {
  font-size: 1.25rem;
  color: var(--primary-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.license-note p::before {
  content: '✓';
  display: inline-flex;
  width: 32px;
  height: 32px;
  background: var(--accent-sage);
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Credentials with Timeline Design */
.credentials-section {
  padding: 100px 0;
  background: var(--white);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.credential-item {
  background: linear-gradient(135deg, var(--neutral-100), var(--white));
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  border-left: 4px solid transparent;
  background-clip: padding-box;
  position: relative;
  transition: all 0.3s ease;
}

.credential-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -4px;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-blue), var(--primary-teal));
  border-radius: 2px;
}

.credential-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
}

.credential-item h3 {
  font-family: var(--font-display);
  margin-bottom: 12px;
  color: var(--primary-blue);
  font-size: 1.25rem;
  font-weight: 600;
}

.credential-item p {
  color: var(--neutral-600);
  line-height: 1.7;
  font-size: 1rem;
}

/* Location Section with Map Placeholder */
.location-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(240, 147, 251, 0.05));
  text-align: center;
  position: relative;
}

.location-info {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}

.address-main {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--neutral-900);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.address-main::before {
  content: '📍';
  font-size: 1.5rem;
}

.location-info a {
  color: var(--primary-teal);
  text-decoration: none;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px auto;
  padding: 12px 24px;
  border-radius: 50px;
  background: rgba(49, 151, 149, 0.1);
  transition: all 0.3s ease;
}

.location-info a:hover {
  background: var(--primary-teal);
  color: var(--white);
  transform: translateY(-2px);
}

/* Practice Details with Icons */
.practice-details-section {
  padding: 100px 0;
  background: var(--white);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.detail-card {
  padding: 40px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.detail-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.detail-card:hover {
  transform: translateY(-8px);
}

.detail-card h3 {
  font-family: var(--font-display);
  margin-bottom: 20px;
  color: var(--primary-blue);
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-card h3::before {
  content: '💰';
  font-size: 1.5rem;
}

.detail-card:nth-child(2) h3::before {
  content: '📋';
}

.detail-card:nth-child(3) h3::before {
  content: '🏥';
}

.detail-card p {
  line-height: 1.8;
  color: var(--neutral-600);
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

/* Contact Section - Bold & Inviting */
.contact-section {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="p2" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23p2)"/></svg>');
  animation: drift 30s linear infinite;
}

.contact-section h2 {
  color: var(--white);
  margin-bottom: 40px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
}

.contact-info-simple {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-info-simple p {
  font-size: 1.25rem;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px 30px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.contact-info-simple p:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.contact-info-simple strong {
  color: var(--white);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--neutral-900);
  color: var(--white);
  padding: 30px 0;
  text-align: center;
}

.site-footer p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Scroll Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .contact-bar {
    flex-direction: column;
    gap: 12px;
  }
  
  .main-nav ul {
    gap: 8px;
  }
  
  .main-nav a {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .credentials-grid {
    grid-template-columns: 1fr;
  }
  
  .details-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    padding: 40px 30px;
  }
  
  section {
    padding: 60px 0;
  }
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Smooth Scroll Indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
  z-index: 9999;
  transition: width 0.3s ease;
}