:root {
  --hk-navy: #0a1628;
  --hk-navy-light: #132a4a;
  --hk-gold: #c9a227;
  --hk-gold-soft: #e8d48b;
  --hk-cream: #f4f1ea;
  --hk-text: #1a1a1a;
  --hk-muted: #5c6570;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--hk-text);
  background: var(--hk-cream);
  overflow-x: hidden;
}

/* Navbar */
.navbar-hk {
  background: rgba(10, 22, 40, 0.92) !important;
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.navbar-hk.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.navbar-hk .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.navbar-hk .nav-link:hover,
.navbar-hk .nav-link:focus {
  color: var(--hk-gold-soft) !important;
}

.navbar-hk .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--hk-gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.navbar-hk .nav-link:hover::after {
  transform: scaleX(1);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff !important;
}

.text-gold {
  color: var(--hk-gold) !important;
}

/* Hero carousel */
.hero-carousel {
  min-height: 100vh;
}

.hero-carousel .carousel-item {
  min-height: 100vh;
  position: relative;
}

.hero-carousel .carousel-inner {
  min-height: 100vh;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 8s ease-out;
}

.hero-carousel .carousel-item.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(10, 22, 40, 0.45) 50%,
    rgba(10, 22, 40, 0.75) 100%
  );
}

.hero-caption {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
}

.hero-caption h1 {
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  max-width: 900px;
}

.hero-caption p {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin-top: 1rem;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 8%;
  opacity: 0.85;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 6px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
}

.hero-carousel .carousel-indicators .active {
  background: var(--hk-gold);
  border-color: var(--hk-gold);
}

/* Parallax sections */
.section-wrap {
  position: relative;
}

.parallax-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}

.parallax-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244, 241, 234, 0.92);
}

.section-wrap.dark .parallax-bg::after {
  background: rgba(10, 22, 40, 0.88);
}

.section-inner {
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--hk-gold);
  margin-top: 0.75rem;
  border-radius: 2px;
}

.section-wrap.dark .section-title {
  color: #fff;
}

.section-wrap.dark .text-muted {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* About */
.about-photo {
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(10, 22, 40, 0.15);
  object-fit: cover;
  width: 100%;
  max-height: 420px;
}

.about-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--hk-muted);
}

.section-wrap.dark .about-body {
  color: rgba(255, 255, 255, 0.85);
}

/* Gallery */
.gallery-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: #fff;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-card .caption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--hk-muted);
}

/* Videos */
.video-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.video-thumb-wrap {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}

.video-thumb-wrap iframe,
.video-thumb-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-card .card-body {
  padding: 1rem 1.15rem;
}

/* Contact */
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.15);
  color: var(--hk-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.map-embed {
  border-radius: 12px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  background: var(--hk-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 2rem 0;
  font-size: 0.9rem;
}

/* Placeholder hero when no slides */
.hero-placeholder {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--hk-navy) 0%, var(--hk-navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

@media (max-width: 991.98px) {
  .navbar-hk .navbar-collapse {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
  }

  .parallax-bg {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide-bg {
    transition: none;
  }

  .parallax-bg {
    transform: none !important;
  }
}
