.hero-carousel-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  margin-top: -66px;
}

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

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

.hero-carousel-section .hero-content > * {
  opacity: 0;
  animation: heroFadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-play-state: paused;
}

.hero-carousel-section.hero-ready .hero-content > * {
  animation-play-state: running;
}

.hero-carousel-section h1 {
  animation-delay: 0.3s;
}

.hero-carousel-section .hero-tagline {
  animation-delay: 0.6s;
}

.hero-carousel-section .hero-location {
  animation-delay: 0.9s;
}

.hero-carousel-section .hero-riba {
  animation-name: heroFadeIn;
  animation-delay: 1.2s;
  animation-duration: 1.2s;
}

.hero-embla {
  opacity: 0;
  animation: heroFadeIn 0.8s ease forwards;
}

.hero-overlay {
  opacity: 0;
  animation: heroFadeIn 1.2s ease forwards;
  animation-delay: 0.1s;
}

.hero-carousel-section .hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0.26) 0%, rgba(0,0,0,0.07) 70%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-carousel-section .hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 150px 20px 100px;
  pointer-events: none;
  user-select: none;
}

.hero-carousel-section h1 {
  font-family: 'Outfit', sans-serif !important;
  font-size: 76px !important;
  font-weight: 400 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  margin: 0 0 24px !important;
  line-height: 1.1 !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.34), 0 0 80px rgba(0,0,0,0.12);
}

.hero-carousel-section .hero-tagline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255,255,255,0.95);
  margin: 0 0 24px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.34);
}

.hero-carousel-section .hero-location {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin: 0 0 40px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.34);
}

.hero-carousel-section .hero-riba {
  width: 84px;
  height: auto;
  border-radius: 5px;
  background: #ffffff;
  padding: 0px 9px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}

.hero-embla {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-embla__container {
  display: flex;
  height: 100%;
}

.hero-embla__slide {
  flex: 0 0 100%;
  min-width: 0;
  position: relative;
}

.hero-embla__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero carousel dots */
.hero-dots {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.hero-dot.is-selected {
  background: var(--accent);
  transform: scale(1.15);
}

/* Hero controls: dots + pause */
.hero-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-pause {
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 10px;
  letter-spacing: -2px;
  transition: border-color 0.2s, color 0.2s;
  padding: 0;
}

.hero-pause:hover {
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}

.hero-pause__icon--play {
  font-size: 11px;
  letter-spacing: 0;
  margin-left: 2px;
}

/* Hero side chevrons */
.hero-chevron {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(0,0,0,0.15);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, background 0.2s ease;
  padding: 0;
  font-size: 0;
  line-height: 0;
}

.hero-chevron:hover {
  background: rgba(0,0,0,0.3);
}

.hero-chevron--prev { left: 20px; }
.hero-chevron--next { right: 20px; }

.hero-chevron span {
  display: block;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid rgba(255,255,255,0.9);
  border-bottom: 1.5px solid rgba(255,255,255,0.9);
  border-top: none;
}

.hero-chevron--prev span {
  transform: rotate(135deg);
  margin-left: 3px;
}

.hero-chevron--next span {
  transform: rotate(-45deg);
  margin-right: 3px;
}

/* Shared CSS chevron for reviews arrows */
.chevron {
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #666;
  border-right: 2px solid #666;
}

.chevron--left {
  transform: rotate(-135deg);
  margin-left: 2px;
}

.chevron--right {
  transform: rotate(45deg);
  margin-right: 2px;
}

.reviews-nav button:hover .chevron {
  border-color: #fff;
}

@media (max-width: 768px) {
  .hero-carousel-section .hero-content {
    justify-content: flex-start;
    padding: 28vh 32px 80px;
    text-align: center;
  }
  /* Hero H1 duplicates the header brand on mobile — hide visually, keep for SEO/a11y */
  .hero-carousel-section h1 {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  .hero-carousel-section .hero-tagline {
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 18px;
  }
  .hero-carousel-section .hero-location {
    font-size: 13px;
    letter-spacing: 0.08em;
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-carousel-section .hero-riba {
    margin-top: auto;
  }
  .hero-carousel-section {
    height: 100vh;
    min-height: 400px;
  }
  .hero-chevron {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-carousel-section .hero-content {
    padding: 22vh 24px 70px;
  }
  .hero-carousel-section .hero-tagline {
    font-size: 26px;
    margin-bottom: 16px;
  }
  .hero-carousel-section .hero-location {
    font-size: 12px;
    letter-spacing: 0.07em;
    max-width: 280px;
  }
  .hero-carousel-section .hero-riba {
    width: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-section .hero-content > *,
  .hero-embla,
  .hero-overlay {
    opacity: 1;
    animation: none;
    transform: none;
  }
}
