/*
 * Home Page Styles
 * Hero section and homepage-specific components
 */

/* ===================================
   HERO SECTION
   ================================= */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-teal-900);
}

/* Hero video container */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-0);
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Fallback for image if video doesn't load */
.hero-video-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Hero overlay for better text readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero-overlay);
  z-index: var(--z-10);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: var(--z-20);
  text-align: center;
  max-width: 1000px;
  padding: var(--space-8);
  margin: 0 auto;
}

.hero-logo {
  width: 340px;
  max-width: 90vw;
  height: auto;
  margin: 0 auto var(--space-8);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3))
          drop-shadow(0 0 60px rgba(255, 255, 255, 0.6))
          drop-shadow(0 0 40px rgba(255, 255, 255, 0.5))
          drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

@media (min-width: 768px) {
  .hero-logo {
    width: 450px;
  }
}

@media (min-width: 1024px) {
  .hero-logo {
    width: 525px;
  }
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-teal-50);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: var(--leading-relaxed);
  font-family: var(--font-primary);
  font-weight: var(--font-light);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-cta .btn {
  min-width: 200px;
}

/* Remove gradient from primary button on hero */
.hero-cta .btn-primary {
  background: var(--color-gold-500);
}

.hero-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-color: var(--color-white);
  backdrop-filter: blur(var(--blur-sm));
}

.hero-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===================================
   INTRODUCTION SECTION
   ================================= */

.intro-section {
  background: var(--gradient-ocean);
}

.intro-grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.intro-content {
  max-width: 600px;
}

@media (max-width: 767px) {
  .intro-content {
    text-align: center;
    margin: 0 auto;
  }
}

.intro-title {
  margin-bottom: var(--space-4);
}

.intro-description {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
}

.intro-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-teal-lg);
}

.intro-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===================================
   SERVICES PREVIEW SECTION
   ================================= */

.services-preview {
  background: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.section-header .section-label {
  display: block;
  margin-bottom: var(--space-3);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
}

.services-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===================================
   ABOUT PREVIEW SECTION
   ================================= */

.about-preview {
  background: var(--gradient-ocean);
}

.about-grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-teal-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h2 {
  margin-bottom: var(--space-6);
}

.about-content p {
  margin-bottom: var(--space-4);
}

.about-content ul {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0;
}

.about-content li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.about-content li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--gradient-teal-accent);
  color: var(--color-white);
  border-radius: var(--radius-full);
  flex-shrink: 0;
  font-weight: var(--font-bold);
}

/* ===================================
   CONDITIONS PREVIEW SECTION
   ================================= */

.conditions-preview {
  background: var(--color-white);
}

.conditions-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}

.condition-card {
  background: var(--gradient-ocean);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.condition-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-teal-300);
  box-shadow: var(--shadow-teal);
}

.condition-card h3 {
  font-size: var(--text-lg);
  color: var(--color-teal-700);
  margin-bottom: var(--space-2);
}

.condition-card p {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  margin: 0;
}

/* ===================================
   TESTIMONIALS SECTION
   ================================= */

.testimonials-section {
  background: var(--gradient-ocean);
}

.testimonials-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===================================
   CTA SECTION
   ================================= */

.cta-section {
  background: linear-gradient(
    135deg,
    var(--color-teal-600) 0%,
    var(--color-teal-800) 100%
  );
  color: var(--color-white);
  text-align: center;
  padding: var(--space-20) var(--container-padding);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-mesh);
  opacity: 0.3;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: var(--z-10);
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.cta-content p {
  font-size: var(--text-lg);
  color: var(--color-teal-50);
  margin-bottom: var(--space-8);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.cta-buttons .btn {
  min-width: 200px;
}

.cta-buttons .btn-primary {
  background: var(--color-gold-500);
  box-shadow: var(--shadow-gold);
}

.cta-buttons .btn-primary:hover {
  box-shadow: var(--shadow-gold-lg);
}

.cta-buttons .btn-secondary {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.cta-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===================================
   STATS SECTION
   ================================= */

.stats-section {
  background: var(--color-white);
  padding: var(--space-16) var(--container-padding);
}

.stats-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
