/* ============ BASE ============ */
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; }

/* ============ HERO SLIDER ============ */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero-slide.active { opacity: 1; }

@media (max-width: 768px) {
  .hero-slide { background-attachment: scroll; }
}

/* ============ WHATSAPP PULSE ============ */
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}
.wa-btn { animation: wa-pulse 2s infinite; }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ NAVBAR ============ */
.nav-scrolled {
  background: rgba(5, 0, 53, 0.97) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* ============ CAROUSEL ============ */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.carousel-track img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(5, 0, 53, 0.6);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  transition: background 0.3s;
  z-index: 5;
}
.carousel-btn:hover { background: rgba(5, 0, 53, 0.85); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.carousel-dots button.active {
  background: #1400c0;
}
.carousel-dots button:not(.active) {
  background: #d4ccfb;
}
