@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Work+Sans:wght@400;600;700&display=swap');

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

body {
  font-family: 'Work Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
}

.icon-filled {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.hero-gradient {
  background: linear-gradient(150deg, #f6faf9 0%, #e6f6f6 55%, #cef0f0 100%);
}

.clinical-shadow {
  box-shadow: 0 4px 28px -4px rgba(0, 101, 101, 0.10), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.text-gradient {
  background: linear-gradient(135deg, #006565 0%, #008080 60%, #009090 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav states */
#navbar {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.nav-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 20px rgba(0, 101, 101, 0.08);
  border-bottom: 1px solid rgba(189, 201, 200, 0.5);
}

/* Scroll-triggered fade-ins */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-scroll.delay-1 { transition-delay: 0.1s; }
.fade-in-scroll.delay-2 { transition-delay: 0.2s; }
.fade-in-scroll.delay-3 { transition-delay: 0.3s; }

/* Hero entrance */
.hero-entry {
  animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-entry.delay-1 { animation-delay: 0.1s; }
.hero-entry.delay-2 { animation-delay: 0.22s; }
.hero-entry.delay-3 { animation-delay: 0.36s; }
.hero-entry.delay-4 { animation-delay: 0.5s; }

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

.hero-img-entry {
  animation: heroImgEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

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

/* Float badge animations */
.float-badge {
  animation: floatBadge 3.5s ease-in-out infinite;
}

.float-badge-alt {
  animation: floatBadge 3.5s ease-in-out infinite 1.75s;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

/* Suburb pills */
.suburb-pill {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: #ffffff;
  border: 1px solid #bdc9c8;
  color: #006565;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.suburb-pill:hover {
  background: #006565;
  color: #ffffff;
  border-color: #006565;
}

/* Trust bar scroll marquee */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track {
  animation: marquee 20s linear infinite;
}

/* Form focus glow */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #006565;
  box-shadow: 0 0 0 3px rgba(0, 101, 101, 0.12);
}

/* Pricing card hover */
.pricing-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -8px rgba(0, 101, 101, 0.18);
}

.pricing-card.featured {
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

/* Testimonial cards */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px -6px rgba(0, 101, 101, 0.14);
}

/* Nav dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 230px;
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px -8px rgba(0, 101, 101, 0.22), 0 0 0 1px rgba(189, 201, 200, 0.5);
  padding: 0.375rem;
  z-index: 200;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0.18s;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0s;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.6rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #3e4949;
  border-radius: 0.5rem;
  transition: background 0.15s, color 0.15s;
  font-family: 'Manrope', sans-serif;
  white-space: nowrap;
  text-decoration: none;
}

.nav-dropdown-menu a:hover {
  background: #f0f4f3;
  color: #006565;
}

.nav-chevron {
  transition: transform 0.18s ease;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

/* Inner page hero */
.page-hero {
  padding-top: 7rem;
  padding-bottom: 3.5rem;
  background: linear-gradient(150deg, #f6faf9 0%, #e6f6f6 55%, #cef0f0 100%);
}

/* Pricing table */
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(189, 201, 200, 0.3);
  font-size: 0.875rem;
}

.price-row:last-child { border-bottom: none; }

/* Room cards */
.room-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.room-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px -6px rgba(0, 101, 101, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-scroll,
  .hero-entry,
  .hero-img-entry {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .float-badge,
  .float-badge-alt {
    animation: none;
  }

  .marquee-track {
    animation: none;
  }
}
