/**
 * Slick UI Presentation Layer
 * Beige + dark blue presentation accents
 */

:root {
  --present-glow: rgba(212, 196, 176, 0.45);
  --present-navy: rgba(10, 30, 51, 0.08);
  --present-pink: rgba(233, 30, 99, 0.1);
  --present-glass: rgba(250, 246, 241, 0.9);
  --present-edge: rgba(255, 255, 255, 0.7);
}

body {
  background:
    radial-gradient(1200px 520px at 8% -8%, var(--present-glow), transparent 58%),
    radial-gradient(700px 360px at 92% 12%, var(--present-pink), transparent 50%),
    radial-gradient(900px 420px at 100% 5%, rgba(10, 30, 51, 0.06), transparent 55%),
    radial-gradient(700px 380px at 50% 100%, rgba(212, 196, 176, 0.35), transparent 50%),
    var(--cream, #faf6f1);
  background-attachment: fixed;
}

.header {
  background: var(--present-glass);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.header.is-scrolled {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 10px 30px rgba(10, 30, 51, 0.08);
}

.services,
.facilities {
  background:
    linear-gradient(180deg, rgba(243, 235, 225, 0.95), rgba(232, 221, 208, 0.55));
}

.service-card,
.testimonial-card {
  border: 1px solid rgba(255, 255, 255, 0.85);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 241, 0.96));
  box-shadow:
    0 1px 0 var(--present-edge) inset,
    0 10px 28px rgba(10, 30, 51, 0.07);
}

.service-card:hover,
.testimonial-card:hover {
  border-color: rgba(233, 30, 99, 0.22);
  box-shadow:
    0 1px 0 #fff inset,
    0 18px 44px rgba(10, 30, 51, 0.12),
    0 0 0 4px rgba(233, 30, 99, 0.05);
}

.hero__media img,
.story__media img,
.facilities__media img,
.gallery__grid figure {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 20px 50px rgba(10, 30, 51, 0.14);
}

.gallery__grid figure {
  position: relative;
  isolation: isolate;
}

.gallery__grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 1;
}

.label--muted {
  border: 1px solid rgba(10, 30, 51, 0.06);
  background: rgba(250, 246, 241, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(10, 30, 51, 0.04);
}

.btn--primary {
  box-shadow:
    0 10px 24px rgba(10, 30, 51, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.btn--primary:hover {
  box-shadow:
    0 14px 30px rgba(10, 30, 51, 0.34),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.nav__link {
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0a1e33, #e91e63);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 70%;
}

.nav__link.is-active {
  color: var(--text);
  font-weight: 600;
}

.feature-list__icon {
  box-shadow: 0 8px 18px rgba(10, 30, 51, 0.12);
  background: #e4ebf2 !important;
  color: #0a1e33 !important;
}

.cta {
  isolation: isolate;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 40%, rgba(212, 196, 176, 0.22), transparent 45%),
    radial-gradient(circle at 75% 60%, rgba(10, 30, 51, 0.35), transparent 40%);
  mix-blend-mode: soft-light;
}

.cta__content {
  z-index: 2;
}

.cta__bg::after {
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 21, 37, 0.55) 0%,
    rgba(10, 30, 51, 0.72) 100%
  );
}

.footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1e33 0%, #061525 100%);
}

.footer::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 30, 99, 0.12), transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.footer::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 48, 74, 0.5), transparent 70%);
  bottom: -100px;
  left: -60px;
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.logo__img {
  box-shadow:
    0 0 0 3px rgba(250, 246, 241, 0.95),
    0 8px 22px rgba(10, 30, 51, 0.14);
}

.logo__img--footer {
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.95),
    0 12px 28px rgba(0, 0, 0, 0.3);
}

.story,
.testimonials,
.gallery {
  position: relative;
}

.story::before,
.testimonials::before,
.gallery::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(180px, 30%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(233, 30, 99, 0.28), transparent);
}

@media (max-width: 860px) {
  .nav__link::after {
    bottom: 8px;
    left: 0.5rem;
    transform: none;
  }

  .nav__link:hover::after,
  .nav__link.is-active::after {
    width: 28px;
  }
}
