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

/* Design Tokens & Custom Variables */
:root {
  --color-cream: #F6F1EB;
  --color-cream-dark: #ECE5DC;
  --color-gold: #C7A36A;
  --color-gold-dark: #AC864D;
  --color-gold-light: #E7D9C1;
  --color-brown-dark: #3E2C22;
  --color-brown-light: #5E4637;
  --color-olive: #6D7E68;
  --color-white: #FFFFFF;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  --font-accent: 'Montserrat', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset and Global Styles */
body {
  font-family: var(--font-sans);
  background-color: var(--color-cream);
  color: var(--color-brown-dark);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: var(--font-serif);
  color: var(--color-brown-dark);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.text-gold {
  color: var(--color-gold);
}

.bg-cream-dark {
  background-color: var(--color-cream-dark);
}

.bg-brown-dark {
  background-color: var(--color-brown-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-cream);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-dark);
}

/* Sticky Navbar Custom Style */
.custom-navbar {
  background-color: rgba(246, 241, 235, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(199, 163, 106, 0.15);
  transition: var(--transition-smooth);
  z-index: 1024;
}

.custom-navbar.scrolled {
  background-color: var(--color-brown-dark);
  border-bottom: 2px solid var(--color-gold);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.custom-navbar.scrolled .nav-link {
  color: var(--color-cream) !important;
}

.custom-navbar.scrolled .nav-link:hover,
.custom-navbar.scrolled .nav-link.active {
  color: var(--color-gold) !important;
}

.custom-navbar.scrolled .navbar-brand {
  color: var(--color-gold) !important;
}

.custom-navbar.scrolled .btn-navbar-book {
  background-color: var(--color-gold);
  color: var(--color-brown-dark) !important;
}

.custom-navbar.scrolled .btn-navbar-book:hover {
  background-color: var(--color-white);
  color: var(--color-brown-dark) !important;
}

.navbar-brand {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-brown-dark) !important;
  transition: var(--transition-smooth);
}

.nav-link {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-brown-dark) !important;
  padding: 0.5rem 1.2rem !important;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-gold) !important;
}

/* Exclusive Button Design */
.btn-gold {
  font-family: var(--font-accent);
  background-color: var(--color-gold);
  color: var(--color-brown-dark);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  border: 1px solid var(--color-gold);
  padding: 0.85rem 2rem;
  border-radius: 0;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(199, 163, 106, 0.2);
}

.btn-gold:hover {
  background-color: transparent;
  color: var(--color-gold) !important;
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199, 163, 106, 0.4);
}

.btn-outline-gold {
  font-family: var(--font-accent);
  background-color: transparent;
  color: var(--color-gold);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  border: 1px solid var(--color-gold);
  padding: 0.85rem 2rem;
  border-radius: 0;
  transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
  background-color: var(--color-gold);
  color: var(--color-brown-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199, 163, 106, 0.3);
}

/* Beautiful Hero Fullscreen with Custom Overlay & Zooms */
.hero-wrapper {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.hero-bg-zoom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  animation: kenBurns 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(62, 44, 34, 0.85) 0%, rgba(62, 44, 34, 0.45) 50%, rgba(0,0,0,0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.hero-letter-spacing {
  letter-spacing: 4px;
}

.hero-headline {
  font-size: 4.8rem;
  font-weight: 400;
  color: var(--color-cream);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-subheadline {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-gold-light);
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

/* Page Headers */
.page-header {
  position: relative;
  height: 45vh;
  min-height: 350px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background-color: var(--color-brown-dark);
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 1;
}

.page-header-content {
  position: relative;
  z-index: 3;
}

.page-header-title {
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--color-cream);
  text-align: center;
  margin-bottom: 0.5rem;
}

.breadcrumb-gold .breadcrumb-item {
  font-size: 0.9rem;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.breadcrumb-gold .breadcrumb-item a {
  color: var(--color-gold);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.breadcrumb-gold .breadcrumb-item a:hover {
  color: var(--color-cream);
}

.breadcrumb-gold .breadcrumb-item.active {
  color: var(--color-cream-dark);
}

/* Elegant Section Headers */
.section-tag {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 2px;
  background-color: var(--color-gold);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-title.left-aligned::after {
  left: 0;
  transform: none;
}

/* Luxury Cards */
.spa-card {
  background-color: var(--color-white);
  border: 1px solid rgba(199, 163, 106, 0.15);
  border-radius: 0;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(62, 44, 34, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.spa-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(62, 44, 34, 0.08);
  border-color: rgba(199, 163, 106, 0.4);
}

.spa-card-img-wrapper {
  position: relative;
  overflow: hidden;
  padding-top: 66.6%; /* 3:2 Aspect Ratio */
}

.spa-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.spa-card:hover .spa-card-img {
  transform: scale(1.08);
}

.spa-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--color-brown-dark);
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 0.25rem 0.75rem;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.spa-card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.spa-card-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  transition: var(--transition-smooth);
}

.spa-card-title a {
  color: var(--color-brown-dark);
  text-decoration: none;
}

.spa-card-title a:hover {
  color: var(--color-gold);
}

.spa-card-duration {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-olive);
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.spa-card-price {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-gold-dark);
  margin-top: auto;
  border-top: 1px dotted rgba(199, 163, 106, 0.25);
  padding-top: 1rem;
}

/* About Section & Icon Block */
.icon-block {
  background-color: var(--color-white);
  border: 1px solid rgba(199, 163, 106, 0.1);
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  text-align: center;
  height: 100%;
}

.icon-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(62, 44, 34, 0.05);
  border-color: rgba(199, 163, 106, 0.3);
}

.icon-block-circle {
  width: 70px;
  height: 70px;
  background-color: var(--color-cream);
  color: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 1.8rem;
  transition: var(--transition-smooth);
  border: 1px solid rgba(199, 163, 106, 0.15);
}

.icon-block:hover .icon-block-circle {
  background-color: var(--color-gold);
  color: var(--color-brown-dark);
  transform: rotate(360deg);
}

/* Gallery Portfolio System */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 3rem;
}

.btn-filter {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  border: 1px solid rgba(199, 163, 106, 0.3);
  background-color: var(--color-white);
  color: var(--color-brown-dark);
  padding: 0.6rem 1.4rem;
  border-radius: 0;
  transition: var(--transition-smooth);
}

.btn-filter.active, .btn-filter:hover {
  background-color: var(--color-gold);
  color: var(--color-brown-dark);
  border-color: var(--color-gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  height: 350px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  background-color: var(--color-white);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(62, 44, 34, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-smooth);
  padding: 2rem;
  text-align: center;
  border: 15px solid rgba(199, 163, 106, 0.25);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--color-cream);
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
  transform: translateY(15px);
  transition: transform 0.4s ease;
}

.gallery-category {
  color: var(--color-gold);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transform: translateY(15px);
  transition: transform 0.4s ease 0.1s;
}

.gallery-icon {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-top: 1rem;
  transform: translateY(15px);
  transition: transform 0.4s ease 0.2s;
}

.gallery-item:hover .gallery-title,
.gallery-item:hover .gallery-category,
.gallery-item:hover .gallery-icon {
  transform: translateY(0);
}

/* Lightbox Modal custom stylings */
.lightbox-modal .modal-content {
  background-color: transparent;
  border: none;
}

.lightbox-modal .modal-body {
  padding: 0;
  position: relative;
}

.lightbox-modal img {
  max-height: 80vh;
  width: 100%;
  object-fit: contain;
  border: 5px solid var(--color-cream);
}

/* Testimonial Slider Carousel Custom styling */
.testimonial-carousel .carousel-indicators {
  bottom: -50px;
}

.testimonial-carousel .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-gold-light);
  border: none;
}

.testimonial-carousel .carousel-indicators .active {
  background-color: var(--color-gold);
  transform: scale(1.2);
}

.testimonial-card {
  background-color: var(--color-white);
  border: 1px solid rgba(199, 163, 106, 0.1);
  padding: 3.5rem 3rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 5px 25px rgba(62,44,34,0.03);
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 10px;
  left: 45px;
  font-size: 6rem;
  font-family: var(--font-serif);
  color: rgba(199, 163, 106, 0.15);
  line-height: 1;
}

.testimonial-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-brown-dark);
  margin-bottom: 2rem;
  font-weight: 300;
}

.testimonial-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem auto;
  border: 2px solid var(--color-gold);
}

.testimonial-author {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-brown-dark);
  margin-bottom: 0.1rem;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--color-olive);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Premium Booking Section Form styling */
.booking-container {
  background-color: var(--color-white);
  border: 1px solid rgba(199, 163, 106, 0.15);
  padding: 3.5rem;
  box-shadow: 0 10px 40px rgba(62, 44, 34, 0.05);
}

.custom-form-group {
  margin-bottom: 1.5rem;
}

.custom-form-label {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-brown-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.custom-form-control {
  background-color: var(--color-cream);
  border: 1px solid rgba(199, 163, 106, 0.2);
  border-radius: 0;
  padding: 0.9rem 1.2rem;
  color: var(--color-brown-dark);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.custom-form-control:focus {
  background-color: var(--color-white);
  border-color: var(--color-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(199, 163, 106, 0.12);
}

select.custom-form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23C7A36A' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 2.5rem;
}

/* Maps Wrapper */
.map-responsive {
  overflow: hidden;
  position: relative;
  height: 450px;
  border: 1px solid rgba(199, 163, 106, 0.15);
  background-color: var(--color-cream-dark);
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

/* Footer Section */
.spa-footer {
  background-color: var(--color-brown-dark);
  color: var(--color-cream-dark);
  padding: 5rem 0 2rem 0;
  border-top: 3px solid var(--color-gold);
  font-size: 0.95rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--color-gold) !important;
  text-decoration: none;
  display: block;
  margin-bottom: 1.2rem;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 1.5rem;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(246, 241, 235, 0.05);
  color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid rgba(199, 163, 106, 0.15);
}

.footer-social-btn:hover {
  background-color: var(--color-gold);
  color: var(--color-brown-dark);
  transform: translateY(-3px);
  border-color: var(--color-gold);
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-gold);
  margin-bottom: 1.8rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 1.5px;
  background-color: var(--color-gold);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-item {
  margin-bottom: 0.8rem;
}

.footer-link-item a {
  color: var(--color-cream-dark);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-block;
}

.footer-link-item a:hover {
  color: var(--color-gold);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 1rem;
}

.footer-contact-item i {
  color: var(--color-gold);
  margin-top: 5px;
}

.footer-divider {
  border-color: rgba(246, 241, 199, 0.08);
  margin: 3rem 0 1.5rem 0;
}

/* Scroll To Top Button */
.btn-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-gold);
  color: var(--color-brown-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  font-size: 1.2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  border: 1px solid var(--color-gold);
}

.btn-scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.btn-scroll-top:hover {
  background-color: var(--color-brown-dark);
  color: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-4px);
}

/* Floating WhatsApp Button widget style */
.btn-whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  font-size: 1.8rem;
  z-index: 999;
  transition: var(--transition-smooth);
}

.btn-whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  color: white;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Pulse keyframes for WhatsApp float button */
.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: inherit;
  opacity: 0.6;
  z-index: -1;
  animation: pulseWater 2s infinite;
}

/* Ken burns animation on Hero backgrounds */
@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.15) translate(-1%, -0.5%);
  }
}

@keyframes pulseWater {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Simple entry fade custom animations for micro effects */
.fade-in-up {
  will-change: transform, opacity;
  animation: fadeInUp 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

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

/* Customized Alert Modal styling for booking confirmation */
.premium-booking-alert {
  background-color: var(--color-white);
  border: 1px solid var(--color-gold);
  border-radius: 0;
  color: var(--color-brown-dark);
  box-shadow: 0 8px 30px rgba(62,44,34,0.15);
}

.premium-booking-alert .modal-header {
  border-bottom: 1px solid rgba(199, 163, 106, 0.2);
}

.premium-booking-alert .modal-footer {
  border-top: none;
}

/* Mobile responsive fixes */
@media (max-width: 991.98px) {
  .hero-headline {
    font-size: 3rem;
  }
  .hero-subheadline {
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .custom-navbar {
    background-color: var(--color-cream);
  }
  .nav-link::after {
    display: none;
  }
  .nav-link {
    padding: 0.8rem 1rem !important;
    border-bottom: 1px solid rgba(199, 163, 106, 0.08);
  }
}
