/* Clean Hero Section - Cervantes Society Style */
.clean-hero {
  position: relative;
  width: 100%;
  height: 65vh;
  overflow: hidden;
  background: #333;
}

/* Hero Image Slides with Parallax */
.hero-slides {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 130%; /* Larger for more parallax movement */
  z-index: 1;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: transform;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  will-change: transform;
  transition: transform 0.25s linear, opacity 0.6s ease;
  backface-visibility: hidden;
}

/* Parallax support: allow upward/downward translation without blank edges */
.clean-hero .hero-slide {
  overflow: hidden;
}

/* Clean Title Overlay - No background box */
.hero-title-overlay {
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  z-index: 5;
  max-width: 90%;
}

.site-title {
  font-size: 4rem;
  font-weight: 700;
  margin: 0;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

/* Logo Overlay */
.hero-logo {
  position: absolute;
  top: 1.05rem;
  left: 1.05rem;
  z-index: 6;
  width: clamp(90px, 16vw, 170px);
  aspect-ratio: 1 / 1;
  pointer-events: auto;
  opacity: 0.94;
  transition: opacity 0.35s ease, transform 0.6s ease;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.55));
}
.hero-logo img { width: 100%; height: 100%; object-fit: contain; display:block; }
.hero-logo:hover { opacity: 1; }

/* Progress Indicators */
.hero-progress {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.hero-progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-progress-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
  border-color: white;
}

.hero-progress-dot.is-active {
  background: white;
  transform: scale(1.2);
  border-color: white;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .site-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .clean-hero {
    height: 55vh;
  }
  
  .hero-title-overlay {
    bottom: 30%;
    max-width: 95%;
  }
  
  .site-title {
    font-size: 2.8rem;
  }
  
  .hero-progress {
    bottom: 1.5rem;
    gap: 0.5rem;
  }
  
  .hero-progress-dot {
    width: 10px;
    height: 10px;
  }

  .hero-logo { width: clamp(82px,32vw,125px); top: .85rem; left: .85rem; }
}

@media (max-width: 480px) {
  .clean-hero {
    height: 50vh;
  }
  
  .hero-title-overlay {
    bottom: 35%;
  }
  
  .site-title {
    font-size: 2.2rem;
  }
  
  .hero-progress {
    bottom: 1rem;
  }
  
  .hero-progress-dot {
    width: 8px;
    height: 8px;
  }

  .hero-logo { width: clamp(70px,38vw,110px); top: .65rem; left: .65rem; }
}
