/* Hero Section Styles */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-secondary-dark));
  color: var(--color-white);
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image: url('https://images.pexels.com/photos/3165335/pexels-photo-3165335.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1'); */
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: var(--z-negative);
}

.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: var(--z-low);
}

.hero-content {
  flex: 1;
  max-width: 800px;
  animation-delay: 0.2s;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-white);
  animation-delay: 0.3s;
  text-align: center;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: var(--space-4);
  color: var(--color-gray-100);
  animation-delay: 0.4s;
  text-align: center;
}

.hero-cta {
  display: flex;
  gap: var(--space-3);
  animation-delay: 0.5s;
  justify-content: center;
}

.hero-cta .btn {
  padding: var(--space-2) var(--space-4);
  font-size: 1.1rem;
}

.hero-image {
  flex: 1;
  max-width: 500px;
  margin: var(--space-4) auto 0;
  position: relative;
  animation-delay: 0.6s;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--color-accent);
  border-radius: var(--radius-lg);
  z-index: var(--z-negative);
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.wave svg path {
  fill: var(--color-white);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: var(--space-5);
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-image {
    margin: var(--space-4) auto 0;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-image::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .wave svg {
    height: 40px;
  }
}