/* Hero Section Styles */

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-top: 70px;
  color: white;
  text-align: center;
  overflow: hidden;
  background-color: var(--summer-blue); /* Fallback color */
}

/* Hero Background */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-background);
  background: linear-gradient(135deg, var(--summer-blue) 0%, var(--aqua) 100%);
}

.hero-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-background);
  background: linear-gradient(-45deg, var(--summer-blue), var(--aqua), var(--lavender), var(--soft-coral));
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

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

/* Hero Background Elements */
.hero-element {
  position: absolute;
  z-index: calc(var(--z-background) + 1);
  opacity: 0.6;
  pointer-events: none;
}

.hero-element-1 {
  top: 10%;
  left: 5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
}

.hero-element-2 {
  bottom: 15%;
  right: 10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
}

.hero-element-3 {
  top: 40%;
  right: 15%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
}

.hero-element-4 {
  bottom: 30%;
  left: 15%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
}

/* Calendar Icon */
.hero-calendar-icon {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  animation: fadeInDown 1s forwards 0.3s;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.hero-calendar-icon-month {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  margin-bottom: 5px;
}

.hero-calendar-icon-day {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  transition: transform 0.5s;
}

.hero-calendar-icon-day.flipping {
  transform: rotateX(90deg);
}

/* Hero Content */
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) 0;
  position: relative;
  z-index: var(--z-default);
}

.hero-section h1,
.hero-section h2 {
  color: white;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: var(--space-lg);
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* Animated Elements */
.animated-heading {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.5s;
}

.animated-subheading {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.8s;
}

.hero-description {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 1.1s;
}

.hero-content .btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 1.4s;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  font-size: 0.9rem;
  opacity: 0;
  animation: fadeIn 1s forwards 2s;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  margin-bottom: var(--space-xs);
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}

/* Decorative Elements */
.hero-decoration {
  position: absolute;
  z-index: calc(var(--z-background) + 2);
  pointer-events: none;
}

.hero-decoration-1 {
  top: 20%;
  left: 10%;
  width: 20px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.hero-decoration-2 {
  top: 30%;
  right: 15%;
  width: 15px;
  height: 15px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.hero-decoration-3 {
  bottom: 25%;
  left: 20%;
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .hero-element-1,
  .hero-element-2,
  .hero-element-3,
  .hero-element-4 {
    transform: scale(0.7);
  }
  
  .hero-calendar-icon {
    transform: translateX(-50%) scale(0.8);
  }
  
  .hero-description {
    max-width: 95%;
  }
}

@media (min-width: 1024px) {
  .hero-description {
    max-width: 70%;
  }
}