html {
  scroll-behavior: smooth;
}

body.menu-open {
  overflow: hidden;
}

#site-nav {
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.hero-fade {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.hero-visual-img {
  filter: none;
  transform: scale(0.96);
  transition: transform 700ms ease;
  position: relative;
  z-index: 2;
}

.hero-logo-dark {
  display: none;
}

.hero-visual {
  position: relative;
  width: min(100%, 48rem);
  margin-inline: auto;
  padding: 0;
  isolation: isolate;
}

.hero-theme-logo {
  width: 100%;
  max-width: 56rem;
  height: auto;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 6% 10% 6%;
  border-radius: 46% 54% 52% 48% / 48% 42% 58% 52%;
  background:
    radial-gradient(
      ellipse at 50% 54%,
      rgba(63, 75, 88, 0.38) 0%,
      rgba(63, 75, 88, 0.18) 38%,
      rgba(63, 75, 88, 0) 72%
    ),
    linear-gradient(
      140deg,
      rgba(15, 118, 110, 0.24) 0%,
      rgba(15, 118, 110, 0.08) 36%,
      rgba(123, 30, 58, 0.22) 100%
    );
  box-shadow: 0 14px 30px rgba(30, 41, 59, 0.08);
  filter: blur(1.2px);
  transform: rotate(-2.5deg);
  z-index: 0;
}

.hero-visual::after {
  content: none;
}

body.is-loaded #site-nav,
body.is-loaded .hero-fade {
  opacity: 1;
  transform: translateY(0);
}

body.is-loaded .hero-visual-img {
  transform: scale(1);
  animation: hero-float 5.5s ease-in-out 0.6s infinite;
}

.flower-bloom {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      circle at center,
      rgba(123, 30, 58, 0.18) 0 22%,
      transparent 24% 100%
    ),
    repeating-radial-gradient(
      circle at center,
      rgba(15, 118, 110, 0.18) 0 8%,
      transparent 8% 16%
    );
  filter: blur(0.2px);
}

.bloom-left {
  left: -5rem;
  bottom: 4rem;
  width: 14rem;
  height: 14rem;
  transform: rotate(-12deg);
}

.bloom-right {
  right: -4rem;
  top: 8rem;
  width: 12rem;
  height: 12rem;
  transform: rotate(8deg);
}

.bloom-top {
  left: 42%;
  top: -4.5rem;
  width: 10rem;
  height: 10rem;
  opacity: 0.6;
}

@keyframes hero-float {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.mobile-menu.is-open {
  max-height: 24rem;
  opacity: 1;
  pointer-events: auto;
}

.nav-link.active-nav-link,
.mobile-nav-link.active-nav-link {
  color: #0f766e;
}

.reveal-section {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 550ms ease,
    transform 550ms ease;
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.dark body {
  background: #020617;
  color: #e2e8f0;
}

html.dark #home {
  background: linear-gradient(135deg, #0b1222 0%, #111827 45%, #12373f 100%);
}

#home {
  background:
    radial-gradient(
      circle at 84% 78%,
      rgba(123, 30, 58, 0.08) 0%,
      transparent 32%
    ),
    radial-gradient(
      circle at 20% 8%,
      rgba(15, 118, 110, 0.08) 0%,
      transparent 34%
    ),
    linear-gradient(135deg, #e8f3f2 0%, #edf6f5 48%, #f3ecef 100%);
}

html.dark .hero-visual-img {
  filter: none;
}

html.dark .hero-logo-light {
  display: none;
}

html.dark .hero-logo-dark {
  display: block;
}

html.dark .hero-visual::before,
html.dark .hero-visual::after {
  display: none;
}

html.dark .flower-bloom {
  background:
    radial-gradient(
      circle at center,
      rgba(244, 63, 94, 0.12) 0 22%,
      transparent 24% 100%
    ),
    repeating-radial-gradient(
      circle at center,
      rgba(45, 212, 191, 0.12) 0 8%,
      transparent 8% 16%
    );
}

html.dark #home h1 {
  color: #f8fafc;
}

html.dark #home p {
  color: #cbd5e1;
}

html.dark #home .inline-flex.rounded-full.border {
  background: rgba(13, 148, 136, 0.18);
  border-color: rgba(94, 234, 212, 0.35);
  color: #99f6e4;
}

html.dark #home .text-brand-maroon {
  color: #fda4af;
}

html.dark #home .rounded-full.bg-white {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

html.dark #home a.border-brand-teal {
  color: #99f6e4;
  border-color: #14b8a6;
}

html.dark #home a.border-brand-teal:hover {
  background: #0f766e;
  color: #f8fafc;
}

html.dark #home a.bg-brand-maroon {
  background: #9f1239;
}

html.dark #home a.bg-brand-maroon:hover {
  background: #be123c;
}

html.dark #site-nav {
  background: rgba(2, 6, 23, 0.92);
  border-color: #334155;
}

html.dark #site-nav a,
html.dark #site-nav button {
  color: #e2e8f0;
}

html.dark [data-theme-toggle] {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
}

html.dark #mobile-menu {
  background: #0f172a;
  border-color: #334155;
}

html.dark #about,
html.dark #testimonials,
html.dark #group-bookings,
html.dark #contact {
  background: #020617;
}

html.dark #services {
  background: #0b1222;
}

html.dark #about p,
html.dark #testimonials p,
html.dark #services p,
html.dark #group-bookings p,
html.dark #contact p {
  color: #cbd5e1;
}

html.dark #contact a[href^='mailto:'] {
  color: #99f6e4;
}

html.dark #contact a[href^='mailto:']:hover {
  color: #ccfbf1;
}

html.dark #about h2,
html.dark #about h3,
html.dark #testimonials h2 {
  color: #f8fafc;
}

html.dark #about li,
html.dark #about li span {
  color: #e2e8f0;
}

html.dark #about .rounded-2xl,
html.dark #testimonials .rounded-2xl,
html.dark #services article,
html.dark #group-bookings .rounded-2xl,
html.dark #contact .rounded-2xl {
  background: #0f172a;
  border-color: #334155;
}

html.dark #testimonials .testimonial-slide .border-brand-teal {
  border-color: #2dd4bf;
  color: #99f6e4;
}

.testimonial-slide {
  position: relative;
}

.testimonial-slide::before {
  content: '“';
  position: absolute;
  left: -0.2rem;
  top: -1rem;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(15, 118, 110, 0.2);
  pointer-events: none;
}

.testimonial-slide::after {
  content: '”';
  position: absolute;
  right: 0.2rem;
  bottom: -1.2rem;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(15, 118, 110, 0.2);
  pointer-events: none;
}

html.dark #testimonials .testimonial-slide::before,
html.dark #testimonials .testimonial-slide::after {
  color: rgba(45, 212, 191, 0.28);
}

footer {
  border-top: 1px solid #334155;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  #site-nav,
  .hero-fade,
  .reveal-section {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-visual-img {
    animation: none;
    transform: none;
  }
}
