@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Lato:wght@300;400;600;700&display=swap");

:root {
  --cream: #f8f6f0;
  --white: #ffffff;
  --olive: #6b7c5b;
  --olive-dark: #4a5740;
  --gold: #c9b79c;
  --gold-light: #e8dccf;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --text-light: #a0a0a0;
  --border: #e2dada;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", sans-serif;
  color: var(--text);
  background: var(--white);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}

/* ── Utility Typography & Components ── */
.section-tag {
  display: block;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 20px;
  font-family: "Lato", sans-serif;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  color: var(--text);
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 32px 0;
}

.cta-link {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: all 0.35s ease;
}

.cta-link:hover {
  color: var(--olive);
  letter-spacing: 3px;
}

.outline-btn {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 16px 48px;
  background: transparent;
  cursor: pointer;
  font-family: "Lato", sans-serif;
  border: 1px solid rgba(201, 183, 156, 0.5);
  color: white;
  transition: all 0.4s ease;
}

.outline-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}

/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ── Background Zoom Animation ── */
.bg-animate {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomEffect 15s ease-in-out infinite;
}

@keyframes zoomEffect {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ── Circular Text spinning badge ── */
.circular-text-wrapper {
  position: absolute;
  top: 100px;
  right: 40px;
  z-index: 4;
}

.circular-text {
  margin: 0 auto;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  position: relative;
  font-weight: 600;
  color: var(--gold);
  text-align: center;
  cursor: pointer;
  transform-origin: 50% 50%;
  animation: rotateCircle 15s linear infinite;
  transition: animation-duration 0.5s ease;
}

.circular-text:hover {
  animation-duration: 30s;
}

@keyframes rotateCircle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.circular-text span {
  position: absolute;
  display: inline-block;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  font-size: 14px;
  font-family: "Lato", sans-serif;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .circular-text-wrapper {
    display: none;
  }
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 60px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.navbar.scrolled {
  padding: 8px 60px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-btn {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
  padding: 0;
}

.navbar.scrolled .nav-btn {
  color: #4A4A4A;
}

.nav-btn:hover {
  color: white !important;
}

.navbar.scrolled .nav-btn:hover {
  color: #6B7C5B !important;
}

.book-btn {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: white;
  background: transparent;
  cursor: pointer;
  transition: all 0.4s;
}

.navbar.scrolled .book-btn {
  border-color: #C9B79C;
  color: #1A1A1A;
}

.book-btn:hover {
  background: #C9B79C !important;
  border-color: #C9B79C !important;
  color: white !important;
}

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: transparent;
  border: none;
}

.burger-btn span {
  width: 22px;
  height: 1px;
  background: white;
  display: block;
  transition: all 0.3s;
}

.navbar.scrolled .burger-btn span {
  background: #1A1A1A;
}

@media (max-width: 768px) {
  .nav-links, .book-btn {
    display: none !important;
  }
  .burger-btn {
    display: flex !important;
  }
  .navbar, .navbar.scrolled {
    padding: 10px 24px !important;
  }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-close-btn {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.5);
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav-link {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
  text-decoration: none;
}

/* ── Hero Section Logo Float Animation ── */
.floating-hero-logo {
  height: 125px;
  width: auto;
  margin: 25px auto 10px;
  opacity: 0.95;
  animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.06); }
  100% { transform: translateY(0) scale(1); }
}

/* ── Specialists Horizontal Carousel ── */
.specialists-carousel {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding: 20px 0 40px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.specialists-carousel::-webkit-scrollbar {
  display: none;
}

/* ── Infinite Facility Carousel Track ── */
.infinite-carousel-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

/* ── Packages Card styling ── */
.pkg-card {
  position: relative;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pkg-img-container {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.pkg-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pkg-card:hover .pkg-img-container img {
  transform: scale(1.06);
}

.pkg-arrow-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #6B7C5B;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.pkg-arrow-btn:hover {
  transform: scale(1.1);
  background: #4A5740;
}

/* ── Preloader Overlay ── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #F8F6F0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#preloader.fade-out {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

/* ── Floating Action Buttons ── */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 90;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: transform 0.3s;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 90;
  background: #1A1A1A;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background: #C9B79C;
  border-color: #C9B79C;
}

/* ── Responsive Grids ── */
@media (max-width: 900px) {
  .contact-grid, .about-grid, .facility-row {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
  .mission-grid {
    grid-template-columns: 1fr !important;
  }
}
