/* ===== LAYOUT - Navigation, Hero, Sections, Footer ===== */

/* Navigation */
.navbar {
  background: var(--bg-navbar);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px var(--shadow-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

[data-theme="dark"] .navbar.scrolled {
  box-shadow:
    0 8px 30px var(--shadow-glow),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.logo {
  width: 60px;
  height: 60px;
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  transition: 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 4rem;
  padding-bottom: 6rem;
  background: linear-gradient(
    135deg,
    rgba(0, 168, 107, 0.05) 0%,
    rgba(0, 201, 167, 0.02) 100%
  );
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--border-color);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 168, 107, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

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

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--secondary),
    var(--accent),
    var(--primary)
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation:
    slideInLeft 0.8s ease-out,
    gradientFlow 8s ease infinite;
  letter-spacing: -1px;
}

[data-theme="dark"] .hero h1 {
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.15));
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

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

/* Services Section */
.services {
  padding: 6rem 0;
  margin-top: 0;
  background-color: var(--bg-alt);
  transition: background-color 0.3s ease;
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-color) 20%,
    var(--border-color) 80%,
    transparent
  );
}

.services h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .services h2,
[data-theme="dark"] .about h2,
[data-theme="dark"] .booking h2,
[data-theme="dark"] .contact h2 {
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    rgba(0, 168, 107, 0.03) 0%,
    rgba(0, 201, 167, 0.03) 100%
  );
}

.about-content {
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  grid-template-collumns: 1fr;
  gap: 4rem;
  align-items: center;
  justify-content: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.benefits {
  list-style: none;
}

.benefits li {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.3rem;
}

[data-theme] .benefits li::before {
  color: var(--text-primary);
}

.benefits strong {
  color: var(--primary);
}

[data-theme="dark"] .benefits strong {
  color: var(--text-primary);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Booking Section */
.booking {
  padding: 5rem 0;
  background-color: var(--bg-alt);
  transition: background-color 0.3s ease;
}

.booking h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.booking-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.booking-form {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    rgba(0, 168, 107, 0.1) 0%,
    rgba(0, 201, 167, 0.05) 100%
  );
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    rgba(0, 168, 107, 0.03) 0%,
    rgba(0, 201, 167, 0.03) 100%
  );
}

.contact h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Footer */
.footer {
  background-color: var(--bg-footer);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  transition: background-color 0.3s ease;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Bottom Navigation Bar - Mobile Only */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-navbar);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  padding: 0.5rem 0;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
  z-index: 1000;
  box-shadow: 0 -4px 20px var(--shadow-color);
}

.bottom-nav-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
  transition: all 0.2s ease;
  min-width: 64px;
  min-height: 48px;
  justify-content: center;
  border-radius: 12px;
}

.bottom-nav-item i {
  font-size: 1.25rem;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--primary);
}

.bottom-nav-item.cta-nav {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff !important;
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  margin: -0.25rem 0;
  box-shadow: 0 4px 15px var(--shadow-glow);
}

.bottom-nav-item.cta-nav i {
  font-size: 1.1rem;
}

/* Mobile theme toggle in bottom nav */
.theme-toggle-mobile {
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.theme-toggle-mobile:hover {
  color: var(--primary);
}

.theme-toggle-mobile .icon-sun,
.theme-toggle-mobile .icon-moon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  font-size: 1.25rem;
}

[data-theme="light"] .theme-toggle-mobile .icon-sun,
:root:not([data-theme="dark"]) .theme-toggle-mobile .icon-sun {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scale(0.5);
}

[data-theme="light"] .theme-toggle-mobile .icon-moon,
:root:not([data-theme="dark"]) .theme-toggle-mobile .icon-moon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0) scale(1);
}

[data-theme="dark"] .theme-toggle-mobile .icon-sun {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0) scale(1);
}

[data-theme="dark"] .theme-toggle-mobile .icon-moon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg) scale(0.5);
}

/* Animated Background Orbs */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: var(--orb-opacity);
  animation: orb-float 20s ease-in-out infinite;
  transition: opacity 0.3s ease;
}

.orb1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: -100px;
  left: -100px;
  animation: orb-float-1 30s ease-in-out infinite;
}

.orb2 {
  width: 250px;
  height: 250px;
  background: var(--secondary);
  bottom: -50px;
  right: -100px;
  animation: orb-float-2 25s ease-in-out infinite;
}

.orb3 {
  width: 200px;
  height: 200px;
  background: var(--primary);
  top: 50%;
  right: 10%;
  animation: orb-float-3 35s ease-in-out infinite;
}
