 

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 180px 24px 100px;
  overflow: hidden;
  gap: 12px;
}

 
.hero-bg {
  min-height: 85vh;
  background: var(--primary-dark);
  position: relative;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
  z-index: 1;
}

.hero-bg .bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.1);
}



.hero h2 {
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
}

.hero p {
  font-size: clamp(16px, 2.5vw, 22px);
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

 
.hero-about,
.hero-contact,
.hero-gallery,
.hero-services {
  min-height: 20vh;
  padding: 120px 24px 40px;
  background: var(--primary-dark);
  position: relative;
}

.hero-about::after,
.hero-contact::after,
.hero-gallery::after,
.hero-services::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: -200px;
  right: -100px;
  animation: float 10s ease-in-out infinite;
}

.hero-shapes::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  bottom: -100px;
  left: -50px;
  animation: morph 15s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, 20px) rotate(10deg); }
}

@keyframes morph {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg); }
  50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: rotate(180deg); }
}

@media (max-width: 991.98px) {
  .hero {
    min-height: 50vh;
    padding: 160px 24px 80px;
  }
  .hero-bg {
    min-height: 80vh;
  }
  .hero-content {
    padding: 20px;
    background: transparent;
    backdrop-filter: none;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 45vh;
    padding: 140px 24px 60px;
  }
  .hero-bg {
    min-height: 75vh;
  }
  .hero h2 {
    font-size: 32px;
  }
}

@media (max-width: 575.98px) {
  .hero {
    min-height: 35vh;
    padding: 120px 20px 40px;
  }
  .hero-bg {
    min-height: 70vh;
  }
  .hero h2 {
    font-size: 28px;
  }
  .hero p {
    font-size: 15px;
  }
}
