
:root {
  --hh-primary: #008c8c;
  --hh-primary-soft: rgba(0, 140, 140, 0.12);
  --hh-dark: #07131a;
  --hh-bg: #f5f7fb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #ffffff;
  color: #1a1f2b;
  scroll-behavior: smooth;
}

/* NAVBAR */

.glass-nav {
  background: linear-gradient(to bottom, rgba(7, 19, 26, 0.92), rgba(7, 19, 26, 0.85));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  transition: padding 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.glass-nav.navbar-shrink {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  box-shadow: 0 8px 24px rgba(7, 19, 26, 0.45);
}

.navbar-brand {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  background: radial-gradient(circle at 30% 0, #35d0ba, var(--hh-primary));
  color: #ffffff;
}

.nav-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.08em;
}

.nav-link.active,
.nav-link:focus,
.nav-link:hover {
  color: #ffffff !important;
}

/* HERO */

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 82px;
  padding-bottom: 4rem;
  color: #ffffff;
  background-color: var(--hh-dark);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-maglenca.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0, rgba(0, 140, 140, 0.5), transparent 55%),
              radial-gradient(circle at 90% 100%, rgba(0, 0, 0, 0.6), rgba(7, 19, 26, 0.98));
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

.hero-card {
  background: rgba(7, 19, 26, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card .badge.bg-success-subtle {
  background-color: rgba(25, 135, 84, 0.2) !important;
}

/* BUTTONS */

.btn-primary {
  --bs-btn-bg: var(--hh-primary);
  --bs-btn-border-color: var(--hh-primary);
  --bs-btn-hover-bg: #006666;
  --bs-btn-hover-border-color: #006666;
  --bs-btn-focus-shadow-rgb: 0, 140, 140;
}

.btn-outline-light {
  --bs-btn-color: #ffffff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.6);
  --bs-btn-hover-bg: #ffffff;
  --bs-btn-hover-color: var(--hh-dark);
}

/* GENERIC SECTIONS */

section {
  position: relative;
}

.bg-gradient-light {
  background: radial-gradient(circle at 0 0, #ffffff, var(--hh-bg));
}

/* FEATURE CARDS */

.feature-card {
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  border-color: rgba(0, 140, 140, 0.35);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--hh-primary-soft);
  color: var(--hh-primary);
}

/* ICON LIST */

.icon-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.icon-list-item i {
  font-size: 1.1rem;
  color: var(--hh-primary);
  margin-top: 0.1rem;
}

/* CHECK LIST */

.list-check {
  list-style: none;
  padding-left: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.35rem;
}

.list-check li::before {
  content: "\f26e";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 1rem;
  color: var(--hh-primary);
}

/* SMJESTAJ CARD */

.smjestaj-card img {
  object-fit: cover;
}

/* WELLNESS GRID */

.wellness-grid {
  display: grid;
  grid-template-columns: 2fr 1.4fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
}

.wellness-item {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  background: #0f172a;
}

.wellness-item.large {
  grid-row: span 2;
}

.wellness-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.25s ease;
}

.wellness-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 40%);
  opacity: 0.7;
  mix-blend-mode: multiply;
}

.wellness-item:hover img {
  transform: scale(1.06);
}

/* GALLERY */

.gallery-item {
  display: block;
  border-radius: 1.1rem;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-item::after {
  content: "\f62a";
  font-family: "bootstrap-icons";
  position: absolute;
  inset: auto 0 0 auto;
  margin: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ffffff;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* CONTACT */

.contact-card {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-highlight {
  background: var(--hh-primary-soft);
}

/* FOOTER */

.footer {
  background: #ffffff;
}

/* FORMS */

.form-control,
.form-select,
textarea.form-control {
  border-radius: 0.9rem;
}

/* ANIMATIONS ON SCROLL */

.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 991.98px) {
  .hero {
    text-align: left;
  }

  .hero::before {
    background-position: 40% 50%;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding-bottom: 3rem;
  }
}
