/* ============================================
   Hero Section — Slider + Naylish Style
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #1a1a1a;
}

/* === Slider === */
.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease, transform 6s ease;
  transform: scale(1.05);
}

.hero__slide--active {
  opacity: 1;
  transform: scale(1);
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: contrast(1.06) brightness(1.02);
}

/* === Overlay === */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.25) 0%,
    rgba(10, 10, 10, 0.05) 30%,
    rgba(10, 10, 10, 0.35) 60%,
    rgba(10, 10, 10, 0.82) 100%
  );
}

[data-theme="dark"] .hero__overlay {
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.45) 0%,
    rgba(10, 10, 10, 0.2) 30%,
    rgba(10, 10, 10, 0.55) 60%,
    rgba(10, 10, 10, 0.92) 100%
  );
}

/* === Content === */
.hero__content {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  max-width: 750px;
  width: 100%;
  padding: 0 var(--space-lg);
}

/* === Slider Dots === */
.hero__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__dot {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}

.hero__dot--active {
  background: #fff;
  width: 48px;
}

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

/* === Typography === */
.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-tiny);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-champagne-gold);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.hero__subtitle::before,
.hero__subtitle::after {
  content: '';
  width: 50px;
  height: 1px;
  background: var(--color-champagne-gold);
  opacity: 0.6;
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: #fff;
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

[data-theme="dark"] .hero__title {
  color: #fff;
}

.hero__title span {
  color: var(--color-champagne-gold);
  font-style: italic;
}

.hero__description {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.8);
  max-width: 550px;
  margin: 0 auto var(--space-xl);
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero buttons override for visibility on dark bg */
.hero .btn--primary {
  background-color: #fff;
  color: #1a1a1a;
  border-color: #fff;
}

.hero .btn--primary:hover {
  background-color: var(--color-champagne-gold);
  border-color: var(--color-champagne-gold);
  color: #1a1a1a;
}

.hero .btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.hero .btn--outline:hover {
  background-color: #fff;
  border-color: #fff;
  color: #1a1a1a;
}

/* === Scroll Indicator === */
.hero__scroll {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: none; /* hidden when dots are visible */
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-tiny);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, var(--color-champagne-gold), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* === Inner Page Hero (Shorter) === */
.hero--inner {
  min-height: 40vh;
  padding-top: var(--header-height);
  background-color: var(--color-bg-primary);
}

/* Photo hero — full-cover background image for detail pages */
.hero--photo .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

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

.hero--inner .hero__slider {
  display: none;
}

.hero--inner .hero__dots {
  display: none;
}

.hero--inner .hero__overlay {
  background: linear-gradient(
    135deg,
    rgba(246, 245, 243, 0.35) 0%,
    rgba(246, 245, 243, 0.25) 100%
  );
}

[data-theme="dark"] .hero--inner .hero__overlay {
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.45) 0%,
    rgba(22, 33, 62, 0.35) 100%
  );
}

.hero--inner .hero__content {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
}

.hero--inner .hero__title {
  font-size: var(--fs-h1);
  color: var(--color-text-primary);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero--inner .hero__description {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3);
}

[data-theme="dark"] .hero--inner .hero__title {
  color: var(--color-text-light);
}

/* === Simple Hero (No Image/Slider) === */
.hero--simple {
  min-height: 30vh;
  background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
}

.hero--simple .hero__overlay {
  background: none;
}

.hero--simple .hero__content {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
}

.hero--simple .hero__title {
  color: #fff;
}

.hero--simple .hero__subtitle {
  color: var(--color-champagne-gold);
}

[data-theme="dark"] .hero--simple {
  background: linear-gradient(135deg, #0F0F0F 0%, #1A1A2E 100%);
}

/* === Hero Decorative Bubbles === */
.hero__decoration {
  position: absolute;
  z-index: 2;
  border-radius: var(--radius-circle);
  opacity: 0.1;
  pointer-events: none;
}

.hero__decoration--1 {
  width: 300px;
  height: 300px;
  background: var(--color-pudra-pink);
  top: 10%;
  right: -5%;
  animation: heroFloat 8s ease-in-out infinite;
}

.hero__decoration--2 {
  width: 200px;
  height: 200px;
  background: var(--color-pastel-lilac);
  bottom: 15%;
  left: -3%;
  animation: heroFloat 10s ease-in-out infinite reverse;
}

.hero__decoration--3 {
  width: 150px;
  height: 150px;
  background: var(--color-champagne-gold);
  top: 40%;
  left: 15%;
  animation: heroFloat 12s ease-in-out infinite;
}

.hero__decoration--4 {
  width: 180px;
  height: 180px;
  background: var(--color-pudra-pink-light);
  bottom: 5%;
  right: 10%;
  animation: heroFloat 9s ease-in-out infinite;
}

.hero__decoration--5 {
  width: 120px;
  height: 120px;
  background: var(--color-pastel-lilac-light);
  top: 5%;
  left: 25%;
  animation: heroFloat 11s ease-in-out infinite reverse;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-20px) scale(1.05); }
}
