/* ==========================================================================
   Hero Section
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

.section.hero {
  padding: 0 !important;
  position: relative;
  z-index: 1;
}

/* Ensure content after hero doesn't bleed through */
.section.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: transparent;
  z-index: 10;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 100vh;
  height: 100vh;
  margin: 0;
  width: 100%;
  isolation: isolate;
  z-index: 1;
}

.hero--small {
  min-height: 70vh;
  height: 70vh;
}

.hero--medium {
  min-height: 100vh;
  height: 100vh;
}

.hero--large {
  min-height: 100vh;
  height: 100vh;
}

.hero__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  animation: fadeIn 1s ease-out;
}

/* Texture Overlay for Graffiti Feel */
.hero__media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

/* Vignette Effect */
.hero__media::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  animation: scaleIn 1.2s ease-out;
}

.hero__image--mobile {
  display: block;
}

.hero__image--desktop {
  display: none;
}

@media screen and (min-width: 750px) {
  .hero__image--mobile {
    display: none;
  }

  .hero__image--desktop {
    display: block;
  }
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8%;
  animation: fadeIn 0.8s ease-out;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero__button {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Graffiti-Style Button */
.button--graffiti {
  background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-purple) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.6rem;
  padding: 1.4rem 3.5rem;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow:
    0 4px 0px rgba(0, 0, 0, 0.3),
    0 8px 16px rgba(0, 0, 0, 0.3),
    inset 0 2px 0px rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.button--graffiti::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.button--graffiti:hover {
  transform: translateY(-4px);
  box-shadow:
    0 6px 0px rgba(0, 0, 0, 0.3),
    0 12px 24px rgba(0, 0, 0, 0.4),
    inset 0 2px 0px rgba(255, 255, 255, 0.3),
    0 0 30px rgba(255, 107, 157, 0.6);
}

.button--graffiti:hover::before {
  left: 100%;
}

.button--graffiti:active {
  transform: translateY(-1px);
  box-shadow:
    0 2px 0px rgba(0, 0, 0, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 2px 0px rgba(255, 255, 255, 0.3);
}

/* Graffiti Outline Button */
.button--graffiti-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.6rem;
  padding: 1.4rem 3.5rem;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 3px solid var(--color-cyan);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 4px 0px rgba(0, 0, 0, 0.3),
    0 8px 16px rgba(0, 0, 0, 0.3),
    inset 0 0 0px rgba(0, 216, 214, 0.3);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.button--graffiti-outline:hover {
  background: var(--color-cyan);
  color: #000000;
  transform: translateY(-4px);
  box-shadow:
    0 6px 0px rgba(0, 0, 0, 0.3),
    0 12px 24px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 216, 214, 0.6);
}

.button--graffiti-outline:active {
  transform: translateY(-1px);
  box-shadow:
    0 2px 0px rgba(0, 0, 0, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 749px) {
  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__button {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   Hero Slideshow
   ========================================================================== */

/* Slides container fills the hero media area */
.hero__slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.hero__slide--active {
  opacity: 1;
  pointer-events: auto;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Dot indicators */
.hero__dots {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 20;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.hero__dot--active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.3);
}

.hero__dot:hover {
  background: rgba(255,255,255,0.8);
}

/* Arrow buttons */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(0,0,0,0.35);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
}

.hero__arrow:hover {
  background: rgba(0,0,0,0.6);
  border-color: var(--color-primary);
}

.hero__arrow--prev { left: 1.6rem; }
.hero__arrow--next { right: 1.6rem; }

@media screen and (min-width: 750px) {
  .hero__arrow--prev { left: 2.4rem; }
  .hero__arrow--next { right: 2.4rem; }
}

/* Hide arrows on very small screens to avoid cluttering hero text */
@media screen and (max-width: 479px) {
  .hero__arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
}
