/* =========================================================
   GRAND IMPERIAL HOTEL - Main Stylesheet
   Version: 1.0
   Author: Premium Web Design
   ========================================================= */

/* -------------------------
   1. Google Fonts & Variables
   ------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --color-navy:        #0F172A;
  --color-navy-light:  #1E293B;
  --color-navy-mid:    #1a2535;
  --color-gold:        #D4AF37;
  --color-gold-light:  #F0D060;
  --color-gold-dark:   #B8960C;
  --color-white:       #FFFFFF;
  --color-light-gray:  #F8F9FA;
  --color-gray:        #94A3B8;
  --color-gray-dark:   #64748B;
  --color-overlay:     rgba(15, 23, 42, 0.65);
  --color-overlay-dark:rgba(15, 23, 42, 0.80);

  /* Theme specific fallbacks */
  --card-bg:           #FFFFFF;
  --border-color:      rgba(0,0,0,0.06);
  --input-bg:          #FFFFFF;
  --input-color:       #0F172A;

  /* Typography */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-py: 100px;
  --section-py-sm: 60px;

  /* Border Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* Shadows */
  --shadow-sm:   0 2px 10px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.18);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.25);

  /* Transitions */
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.6s ease;

  /* Header */
  --header-height: 90px;
  --header-height-scrolled: 70px;
}

body.dark-theme {
  --color-navy:        #F8F9FA;
  --color-navy-light:  #1E293B;
  --color-navy-mid:    #161F30;
  --color-white:       #0B0F19; /* Premium dark navy background */
  --color-light-gray:  #111827; /* Dark secondary background */
  --color-gray:        #94A3B8;
  --color-gray-dark:   #CBD5E1;
  --color-overlay:     rgba(11, 15, 25, 0.50);
  --color-overlay-dark:rgba(11, 15, 25, 0.65);

  /* Theme specific overrides */
  --card-bg:           #1E293B;
  --border-color:      rgba(255,255,255,0.08);
  --input-bg:          #111827;
  --input-color:       #F8F9FA;
}

/* -------------------------
   2. Reset & Base
   ------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-navy);
  background-color: var(--color-white);
  overflow-x: hidden;
  line-height: 1.7;
  transition: background-color 0.4s ease, color 0.4s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

section { position: relative; }

/* -------------------------
   3. Loader
   ------------------------- */
#page-loader {
  position: fixed;
  inset: 0;
  background: #0F172A;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  padding: 0 20px;
  text-align: center;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 8vw, 2.8rem);
  color: var(--color-gold);
  letter-spacing: 4px;
  animation: loaderPulse 1.5s ease-in-out infinite;
  text-align: center;
  width: 100%;
}

.loader-bar {
  width: min(200px, 80%);
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  animation: loaderFill 1.8s ease forwards;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

@keyframes loaderFill {
  0%   { width: 0; }
  100% { width: 100%; }
}

/* -------------------------
   4. Top Bar
   ------------------------- */
.top-bar {
  background: #0F172A;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212,175,55,0.15);
  font-size: 0.82rem;
  color: var(--color-gray);
}

.top-bar a { color: var(--color-gray); }
.top-bar a:hover { color: var(--color-gold); }

.top-bar .contact-info span,
.top-bar .contact-info a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 20px;
}

.top-bar .contact-info i { color: var(--color-gold); }

.top-bar .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 50%;
  margin-left: 6px;
  font-size: 0.75rem;
  color: var(--color-gray);
  transition: var(--transition);
}

.top-bar .social-links a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-navy);
}

/* -------------------------
   5. Header & Navigation
   ------------------------- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.main-header.has-topbar { top: 43px; }

.main-header.scrolled {
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: var(--header-height-scrolled);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  top: 0 !important;
}

.navbar-brand .brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 600;
  color: #FFFFFF !important;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.6rem;
  letter-spacing: 4px;
  color: var(--color-gold);
  text-transform: uppercase;
  font-weight: 400;
}

.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85) !important;
  padding: 8px 14px !important;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: var(--transition);
}

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

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: 1px solid var(--color-gold) !important;
  padding: 8px 10px !important;
  border-radius: var(--radius-sm);
  background: transparent;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.navbar-toggler-icon {
  background-image: none !important;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 22px !important;
  height: 16px !important;
  padding: 0 !important;
}

.toggler-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-gold);
  transition: var(--transition);
}

.btn-book-header {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--color-gold);
  color: var(--color-navy) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-gold);
  transition: var(--transition);
}

.btn-book-header:hover {
  background: transparent;
  color: var(--color-gold) !important;
}

.btn-book-header::after { display: none !important; }

/* Dropdown */
.dropdown-menu {
  background: var(--color-navy-light);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--radius-md);
  padding: 8px 0;
  min-width: 200px;
  margin-top: 10px;
  box-shadow: var(--shadow-lg);
}

.dropdown-item {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 9px 20px;
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(212,175,55,0.1);
  color: var(--color-gold);
}

/* -------------------------
   6. Typography Utilities
   ------------------------- */
.section-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
  position: relative;
  padding: 0 30px;
}

.section-badge::before,
.section-badge::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--color-gold);
}

.section-badge::before { left: 0; }
.section-badge::after  { right: 0; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-navy);
}

.section-title.light { color: var(--color-white); }

.section-subtitle {
  font-size: 1rem;
  color: var(--color-gray-dark);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-subtitle.light { color: rgba(255,255,255,0.7); }

.gold-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
}

.gold-divider::before,
.gold-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold));
}

.gold-divider::after {
  background: linear-gradient(to left, transparent, var(--color-gold));
}

.gold-divider i { color: var(--color-gold); font-size: 0.6rem; }

/* -------------------------
   7. Buttons
   ------------------------- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-gold);
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  z-index: 1;
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-navy);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: -1;
}

.btn-gold:hover {
  color: var(--color-gold);
}

.btn-gold:hover::before { transform: translateX(0); }
.btn-gold span, .btn-gold i { position: relative; z-index: 1; }

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.btn-outline-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-gold);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: -1;
}

.btn-outline-gold:hover { color: var(--color-navy); }
.btn-outline-gold:hover::before { transform: translateX(0); }
.btn-outline-gold span, .btn-outline-gold i { position: relative; z-index: 1; }

.btn-white-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-white-outline:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
}

/* -------------------------
   8. Hero Slider
   ------------------------- */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 8s ease;
}

.hero-slide.active .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,23,42,0.75) 0%,
    rgba(15,23,42,0.4) 50%,
    rgba(15,23,42,0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content-inner {
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.hero-badge .line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--color-gold);
}

.hero-slide.active .hero-badge {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease 0.5s, transform 0.9s ease 0.5s;
}

.hero-slide.active .hero-title {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s;
}

.hero-slide.active .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.9s, transform 0.8s ease 0.9s;
}

.hero-slide.active .hero-buttons {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Controls */
.hero-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 30px;
  height: 3px;
  background: rgba(255,255,255,0.4);
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--color-gold);
  width: 60px;
}

.hero-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  pointer-events: none;
}

.hero-arrow {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  cursor: pointer;
  transition: var(--transition);
  pointer-events: all;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-navy);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { height: 60px; opacity: 1; }
  100% { height: 10px; opacity: 0; }
}

/* -------------------------
   9. Quick Booking Bar
   ------------------------- */
.booking-bar {
  background: #0F172A;
  padding: 0;
  position: relative;
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.booking-bar-inner {
  background: transparent;
  border-top: 3px solid var(--color-gold);
}

.booking-form-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 0;
}

.booking-field {
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  transition: var(--transition-fast);
  min-width: 0;
  overflow: visible;
}

.booking-field:hover { background: rgba(212,175,55,0.05); }

.booking-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 6px;
  cursor: pointer;
}

.booking-field input,
.booking-field select {
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  width: 100%;
  max-width: 100%;
  cursor: pointer;
  text-overflow: ellipsis;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D4AF37'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 24px;
}

.booking-field select option { background: var(--color-navy-light); }

.booking-submit {
  background: var(--color-gold);
  color: var(--color-navy);
  border: none;
  padding: 0 40px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.booking-submit:hover {
  background: var(--color-gold-light);
}

/* -------------------------
   10. Section Padding
   ------------------------- */
.section-py { padding: var(--section-py) 0; }
.section-py-sm { padding: var(--section-py-sm) 0; }
.bg-navy { background: var(--color-navy); }
.bg-navy-light { background: var(--color-navy-light); }
.bg-light-gray { background: var(--color-light-gray); }

/* -------------------------
   11. Room Cards
   ------------------------- */
.room-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.room-card-image {
  position: relative;
  overflow: hidden;
  height: 260px;
}

.room-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.room-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
}

.room-card-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.room-card:hover .room-card-overlay { opacity: 1; }

.room-card-body {
  padding: 24px;
}

.room-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.room-card-features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.room-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--color-gray-dark);
}

.room-feature i { color: var(--color-gold); }

.room-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.room-price {
  display: flex;
  flex-direction: column;
}

.room-price .amount {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-gold);
  line-height: 1;
}

.room-price .per-night {
  font-size: 0.72rem;
  color: var(--color-gray);
  letter-spacing: 1px;
}

/* -------------------------
   12. Amenities & Features
   ------------------------- */
.amenity-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.amenity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.amenity-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-navy);
  transition: var(--transition);
}

.amenity-card:hover .amenity-icon {
  transform: rotateY(180deg);
}

.amenity-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.amenity-desc {
  font-size: 0.88rem;
  color: var(--color-gray-dark);
  line-height: 1.7;
}

/* -------------------------
   13. Statistics Counter
   ------------------------- */
.stats-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60px;
  width: 1px;
  background: rgba(212,175,55,0.2);
}

.stat-item:last-child::after { display: none; }

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* -------------------------
   14. Testimonial Cards
   ------------------------- */
.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: relative;
  border-bottom: 3px solid var(--color-gold);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.testimonial-quote {
  font-size: 3.5rem;
  color: var(--color-gold);
  font-family: Georgia, serif;
  line-height: 0.5;
  margin-bottom: 20px;
  opacity: 0.3;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-navy-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  gap: 3px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.testimonial-location {
  font-size: 0.78rem;
  color: var(--color-gray);
}

/* -------------------------
   15. Gallery
   ------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
  transition: transform 0.7s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gallery-overlay i {
  font-size: 2rem;
  color: var(--color-white);
}

/* -------------------------
   16. Blog Cards
   ------------------------- */
.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.blog-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}

.blog-card-body { padding: 24px; }

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--color-gray);
  margin-bottom: 12px;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-meta i { color: var(--color-gold); }

.blog-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 10px;
  line-height: 1.4;
  transition: var(--transition-fast);
}

.blog-card:hover .blog-title { color: var(--color-gold-dark); }

.blog-excerpt {
  font-size: 0.87rem;
  color: var(--color-gray-dark);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-read-more {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.blog-card:hover .blog-read-more { gap: 12px; }

/* -------------------------
   17. Contact Form
   ------------------------- */
.form-control-luxury {
  background: var(--color-light-gray);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-navy);
  transition: var(--transition-fast);
  width: 100%;
}

.form-control-luxury:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
  background: var(--color-white);
}

.form-control-luxury::placeholder { color: var(--color-gray); }

.form-label-luxury {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-navy-light);
  margin-bottom: 8px;
  display: block;
}

.form-group-luxury { margin-bottom: 22px; }

/* Input Icon Wrapper helper */
.input-icon-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.input-icon-wrapper i.form-icon-luxury {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gold);
  font-size: 0.95rem;
  pointer-events: none;
  transition: var(--transition-fast);
  z-index: 10;
}

/* Adjust textarea icon placement */
.input-icon-wrapper.textarea-icon-wrapper i.form-icon-luxury {
  top: 18px;
  transform: none;
}

/* Add padding to inputs, custom selects, and textareas inside the wrapper to leave space for the icon */
.input-icon-wrapper .form-control-luxury,
.input-icon-wrapper .custom-select-trigger {
  position: relative;
  z-index: 1;
  padding-left: 46px !important;
}

.input-icon-wrapper i.form-icon-luxury {
  z-index: 2 !important;
}


/* Focus color effect on icons */
.input-icon-wrapper:focus-within i.form-icon-luxury {
  color: var(--color-gold-light);
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}


/* Dark form variant */
.form-control-dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,175,55,0.2);
  color: var(--color-white);
}

.form-control-dark:focus {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

.form-control-dark::placeholder { color: rgba(255,255,255,0.4); }
.form-control-dark option { background: var(--color-navy-light); }

/* -------------------------
   18. Parallax Sections
   ------------------------- */
.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-dark);
}

/* -------------------------
   19. Why Choose Us
   ------------------------- */
.why-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.why-icon {
  width: 52px;
  height: 52px;
  background: rgba(212,175,55,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--color-gold);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--color-gold);
  color: var(--color-navy);
}

.why-text h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-white);
}

.why-text p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* -------------------------
   20. Offer Cards
   ------------------------- */
.offer-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 380px;
  cursor: pointer;
}

.offer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.offer-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.offer-badge {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.offer-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.offer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  line-height: 1.6;
}

.offer-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-gold);
}

/* -------------------------
   21. Spa Cards
   ------------------------- */
.spa-service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.spa-service-card:hover {
  background: rgba(212,175,55,0.08);
  border-color: rgba(212,175,55,0.4);
  transform: translateY(-6px);
}

.spa-icon {
  font-size: 2.4rem;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.spa-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 10px;
}

.spa-desc {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 16px;
}

.spa-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-gold);
}

/* -------------------------
   22. Map Section
   ------------------------- */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%) sepia(10%);
}

/* -------------------------
   23. Newsletter
   ------------------------- */
.newsletter-section {
  background: linear-gradient(135deg, #1E293B, #0F172A);
  border-top: 1px solid rgba(212,175,55,0.15);
  border-bottom: 1px solid rgba(212,175,55,0.15);
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 500px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  border-right: none;
  padding: 14px 20px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.newsletter-input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-input:focus { outline: none; border-color: var(--color-gold); }

.newsletter-btn {
  background: var(--color-gold);
  border: none;
  color: var(--color-navy);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.newsletter-btn:hover { background: var(--color-gold-light); }

/* -------------------------
   24. Footer
   ------------------------- */
.main-footer {
  background: #0F172A;
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(212,175,55,0.1);
}

.footer-top {
  padding: 80px 0 50px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand .brand-name { 
  font-size: 2rem; 
  display: block; 
  margin-bottom: 4px; 
  color: #FFFFFF !important;
}
.footer-brand .brand-tagline { margin-bottom: 16px; }

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  max-width: 300px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #FFFFFF;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

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

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.footer-links a i {
  font-size: 0.6rem;
  color: var(--color-gold);
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(212,175,55,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.footer-contact-text strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 2px;
}

.footer-contact-text span {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: var(--transition-fast);
}

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

/* -------------------------
   25. Floating Buttons
   ------------------------- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--color-gold);
  color: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(212,175,55,0.4);
  border: none;
  font-size: 1rem;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-gold-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(212,175,55,0.5);
}

.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  font-size: 1.4rem;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
  color: white;
}

.sticky-book-btn {
  position: fixed;
  top: 50%;
  right: -100px;
  transform: translateY(-50%) rotate(90deg);
  background: var(--color-gold);
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  cursor: pointer;
  z-index: 998;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.sticky-book-btn.visible {
  right: -38px;
}

.sticky-book-btn:hover {
  background: var(--color-gold-dark);
  color: var(--color-navy);
  right: -20px;
}

/* -------------------------
   26. Page Hero
   ------------------------- */
.page-hero {
  height: 420px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 10s ease;
}

.page-hero:hover .page-hero-bg { transform: scale(1); }

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-dark);
}

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

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
}

.breadcrumb {
  background: transparent;
  justify-content: center;
  margin: 0;
}

.breadcrumb-item {
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6);
}

.breadcrumb-item a { color: var(--color-gold); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }
.breadcrumb-item.active { color: rgba(255,255,255,0.6); }

/* -------------------------
   27. Swiper Customization
   ------------------------- */
.swiper-pagination-bullet {
  background: rgba(255,255,255,0.4);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--color-gold);
  transform: scale(1.3);
}

.swiper-button-next,
.swiper-button-prev {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 50%;
  color: var(--color-gold) !important;
  transition: var(--transition);
}

.swiper-button-next::after,
.swiper-button-prev::after { font-size: 1rem !important; }

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--color-gold);
  color: var(--color-navy) !important;
}

/* -------------------------
   28. Filter Buttons
   ------------------------- */
.filter-btn {
  background: transparent;
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--color-gray-dark);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 22px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

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

/* -------------------------
   29. Booking Page
   ------------------------- */
.booking-step {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  border-left: 4px solid var(--color-gold);
}

.booking-step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.step-number {
  width: 44px;
  height: 44px;
  background: var(--color-gold);
  color: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0;
}

.booking-summary {
  background: #0F172A !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(212, 175, 55, 0.15) !important;
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 110px;
}

body.dark-theme .booking-summary {
  background: #161F30 !important;
  border-color: rgba(212, 175, 55, 0.25) !important;
}

.booking-summary h4 {
  color: #FFFFFF !important;
}

body.dark-theme .booking-summary h4 {
  color: #FFFFFF !important;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 0.88rem;
}

.summary-item:last-of-type { border-bottom: none; }

.summary-label {
  color: rgba(255, 255, 255, 0.6) !important;
}

body.dark-theme .booking-summary .summary-label {
  color: rgba(255, 255, 255, 0.6) !important;
}

.summary-value {
  font-weight: 600;
  color: #FFFFFF !important;
}

body.dark-theme .booking-summary .summary-value {
  color: #FFFFFF !important;
}

.summary-total {
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-label {
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7) !important;
}

body.dark-theme .booking-summary .total-label {
  color: rgba(255, 255, 255, 0.7) !important;
}

.total-price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-gold) !important;
}

body.dark-theme .booking-summary .total-price {
  color: var(--color-gold) !important;
}

/* -------------------------
   30. Team Cards
   ------------------------- */
.team-card {
  text-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.team-image {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.team-social-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.team-card:hover .team-social-overlay { opacity: 1; }

.team-social-link {
  width: 38px;
  height: 38px;
  background: var(--color-gold);
  color: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
  transform: translateY(20px);
}

.team-card:hover .team-social-link { transform: translateY(0); }

.team-info {
  padding: 22px;
  background: var(--card-bg);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* -------------------------
   31. Timeline
   ------------------------- */
.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--color-gold) 15%, var(--color-gold) 85%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 80px;
  margin-bottom: 60px;
  position: relative;
  align-items: center;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  flex: 1;
  background: var(--color-white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  text-align: left;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.2);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--color-gray-dark);
  line-height: 1.8;
  margin: 0;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--color-navy);
  border-radius: 50%;
  border: 4px solid var(--color-gold);
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.2);
  z-index: 2;
  transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
  background: var(--color-gold);
  box-shadow: 0 0 0 10px rgba(212, 175, 55, 0.4);
}

.timeline-spacer {
  flex: 1;
}

/* -------------------------
   32. FAQ
   ------------------------- */
.faq-accordion .accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--card-bg);
}

.faq-accordion .accordion-button {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-navy);
  background: var(--card-bg);
  padding: 20px 24px;
  box-shadow: none !important;
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D4AF37'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--color-gold-dark);
  background: linear-gradient(135deg, rgba(212,175,55,0.04), transparent);
}

.faq-accordion .accordion-body {
  font-size: 0.9rem;
  color: var(--color-gray-dark);
  line-height: 1.8;
  padding: 4px 24px 20px;
}

/* -------------------------
   33. Menu Cards (Restaurant)
   ------------------------- */
.menu-category {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
}

.menu-category:hover {
  background: rgba(212,175,55,0.07);
  border-color: rgba(212,175,55,0.3);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dotted rgba(212,175,55,0.2);
}

.menu-item:last-child { border-bottom: none; }

.menu-item-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-white);
}

.menu-item-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.menu-item-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-gold);
  white-space: nowrap;
  margin-left: 20px;
}

/* -------------------------
   34. Image Placeholders (Unsplash)
   ------------------------- */
.img-placeholder {
  background: linear-gradient(135deg, #1E293B, #0F172A);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(212,175,55,0.3);
  font-size: 3rem;
}

/* -------------------------
   35. Event Cards
   ------------------------- */
.event-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.event-image {
  height: 240px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.event-body { padding: 24px; }

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--color-gold);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.event-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.event-desc {
  font-size: 0.87rem;
  color: var(--color-gray-dark);
  line-height: 1.7;
}

/* -------------------------
   36. Award Cards
   ------------------------- */
.award-item {
  text-align: center;
  padding: 30px 20px;
}

.award-icon {
  width: 80px;
  height: 80px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem;
  color: var(--color-gold);
  transition: var(--transition);
}

.award-item:hover .award-icon {
  background: var(--color-gold);
  color: var(--color-navy);
}

.award-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 6px;
}

.award-year {
  font-size: 0.78rem;
  color: var(--color-gold);
  letter-spacing: 2px;
}

/* -------------------------
   37. Responsive Breakpoints
   ------------------------- */
@media (max-width: 1199px) {
  .booking-form-quick {
    grid-template-columns: repeat(2, 1fr);
  }
  .booking-submit { padding: 22px 24px; grid-column: span 2; }
}

@media (max-width: 991px) {
  :root {
    --section-py: 70px;
    --section-py-sm: 45px;
  }

  .main-header,
  .main-header.scrolled {
    height: auto !important;
    min-height: var(--header-height-scrolled);
    padding: 10px 0;
  }
  .main-header.has-topbar { top: 43px; }
  .main-header.scrolled { top: 0 !important; }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
    background: rgba(15, 23, 42, 0.98);
    padding: 20px;
    margin-top: 5px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 175, 55, 0.15);
    max-height: calc(80vh - 70px);
    overflow-y: auto;
  }

  .timeline::before { display: none; }
  .timeline-item,
  .timeline-item:nth-child(even) { flex-direction: column; }
  .timeline-spacer { display: none; }
  .timeline-dot { display: none; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 2; grid-row: span 1; }

  .scroll-indicator { display: none; }
  .hero-arrows { display: none; }
}

@media (max-width: 767px) {
  .top-bar { display: none; }
  .main-header.has-topbar { top: 0; }

  .booking-form-quick { grid-template-columns: 1fr 1fr; }
  .booking-submit { grid-column: span 2; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.large { grid-column: span 2; }

  .newsletter-form { flex-direction: column; border-radius: var(--radius-md); }
  .newsletter-input { border-right: 1px solid rgba(212,175,55,0.2); border-bottom: none; }
  .newsletter-btn { padding: 14px; }

  .footer-bottom { text-align: center; justify-content: center; }

  .sticky-book-btn { display: none; }
}

@media (max-width: 575px) {
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .booking-form-quick { grid-template-columns: 1fr; }
  .booking-submit { grid-column: span 1; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }
}

/* -------------------------
   38. AOS Custom
   ------------------------- */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* -------------------------
   39. Utility Classes
   ------------------------- */
.text-gold { color: var(--color-gold) !important; }
.text-navy { color: var(--color-navy) !important; }
.bg-gold { background-color: var(--color-gold) !important; }
.font-heading { font-family: var(--font-heading) !important; }
.border-gold { border-color: var(--color-gold) !important; }
.fw-300 { font-weight: 300 !important; }
.ls-wide { letter-spacing: 3px !important; }
.ls-wider { letter-spacing: 5px !important; }
.lh-lg { line-height: 1.9 !important; }

/* -------------------------
   40. Animations
   ------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer-gold {
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pulse animation for CTA elements */
@keyframes pulse-gold {
  0%   { box-shadow: 0 0 0 0 rgba(212,175,55,0.4); }
  70%  { box-shadow: 0 0 0 10px rgba(212,175,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}

.pulse-gold { animation: pulse-gold 2s infinite; }

/* -------------------------
   41. Dividers & Decorative
   ------------------------- */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  border-radius: 3px;
  margin: 16px auto;
}

.section-divider.left { margin-left: 0; }

.ornament {
  color: rgba(212,175,55,0.15);
  font-size: 8rem;
  font-family: var(--font-heading);
  position: absolute;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* -------------------------
   42. Image with overlay card
   ------------------------- */
.img-overlay-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.img-overlay-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.img-overlay-card .overlay-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

/* -------------------------
   43. Pool / Feature Showcase
   ------------------------- */
.feature-showcase {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.feature-showcase img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.feature-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,23,42,0.85) 0%, transparent 60%);
  display: flex;
  align-items: center;
  padding: 60px;
}

/* -------------------------
   44. Price Tag
   ------------------------- */
.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.price-tag .currency {
  font-size: 1rem;
  color: var(--color-gold);
  font-weight: 600;
}

.price-tag .amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-gold);
  line-height: 1;
}

.price-tag .period {
  font-size: 0.78rem;
  color: var(--color-gray);
}

/* -------------------------
   45. Notification Toast
   ------------------------- */
.toast-luxury {
  position: fixed;
  bottom: 90px;
  left: 30px;
  background: var(--color-navy);
  border: 1px solid rgba(212,175,55,0.3);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  color: var(--color-white);
  font-size: 0.88rem;
  z-index: 9999;
  opacity: 0;
  transform: translateX(-20px);
  transition: var(--transition);
  max-width: 300px;
}

.toast-luxury.show {
  opacity: 1;
  transform: translateX(0);
}

/* Custom Dropdown Styling */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  cursor: pointer;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  border: none;
  background: transparent;
  outline: none;
  padding: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.form-group-luxury .custom-select-trigger {
  background: var(--color-light-gray);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.custom-select-trigger::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--color-gold);
  transition: transform 0.3s ease;
  margin-left: 10px;
  flex-shrink: 0;
}

.custom-select-wrapper.open .custom-select-trigger::after {
  transform: rotate(180deg);
}

.custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-navy-light);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: var(--radius-md);
  margin-top: 8px;
  padding: 8px 0;
  list-style: none;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  max-height: 250px;
  overflow-y: auto;
}

.custom-options::-webkit-scrollbar {
  width: 6px;
}
.custom-options::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.02);
}
.custom-options::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 3px;
}

.form-group-luxury .custom-options {
  background: var(--color-white);
  border-color: rgba(0,0,0,0.08);
}

.custom-select-wrapper.open .custom-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  padding: 10px 20px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.form-group-luxury .custom-option {
  color: var(--color-navy-light);
}

.custom-option:hover {
  background: rgba(212,175,55,0.12);
  color: var(--color-gold);
}

.form-group-luxury .custom-option:hover {
  background: var(--color-light-gray);
  color: var(--color-gold-dark);
}

.custom-option.selected {
  background: rgba(212, 175, 55, 0.2);
  color: var(--color-gold);
  font-weight: 600;
}

/* -------------------------
   Theme Toggle Button & Dark Mode Overrides
   ------------------------- */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--color-gold);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.05rem;
}

.theme-toggle-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--color-gold);
}

/* Dark Mode Form & Table Adjustments */
body.dark-theme .form-control-luxury,
body.dark-theme .booking-field input,
body.dark-theme .booking-field select {
  background: var(--input-bg) !important;
  color: var(--input-color) !important;
  border: 1px solid var(--border-color) !important;
}

body.dark-theme .custom-select-trigger {
  color: var(--color-navy) !important;
}

body.dark-theme .form-group-luxury .custom-select-trigger {
  background: var(--input-bg) !important;
  border-color: var(--border-color) !important;
  color: var(--input-color) !important;
}

body.dark-theme .custom-options {
  background: var(--card-bg) !important;
  border-color: var(--border-color) !important;
}

body.dark-theme .custom-option {
  color: var(--color-navy) !important;
}

body.dark-theme .form-group-luxury .custom-option {
  color: var(--color-navy) !important;
}

body.dark-theme .custom-option:hover {
  background: rgba(212, 175, 55, 0.15) !important;
  color: var(--color-gold) !important;
}

body.dark-theme .custom-option.selected {
  background: rgba(212, 175, 55, 0.25) !important;
  color: var(--color-gold) !important;
}

body.dark-theme table,
body.dark-theme .table {
  color: var(--color-navy) !important;
  border-color: var(--border-color) !important;
}

body.dark-theme th {
  background: var(--color-navy-light) !important;
  color: var(--color-gold) !important;
}

body.dark-theme td {
  background: var(--card-bg) !important;
  color: var(--color-navy) !important;
}

body.dark-theme img {
  filter: brightness(0.88) contrast(1.02);
  transition: filter 0.4s ease;
}

body.dark-theme .timeline-content {
  border-color: var(--border-color) !important;
}

body.dark-theme .timeline::before {
  background: linear-gradient(to bottom, transparent, var(--color-gold) 15%, var(--color-gold) 85%, transparent);
}

body.dark-theme .faq-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(212,175,55,0.08), transparent) !important;
}

body.dark-theme .accordion-body {
  color: var(--color-gray-dark) !important;
}

body.dark-theme .top-bar,
body.dark-theme .booking-bar-inner {
  border-color: rgba(212,175,55,0.25) !important;
}

/* Comprehensive Dark Mode Overrides */
body.dark-theme .bg-white {
  background-color: var(--color-white) !important;
}

body.dark-theme .bg-light-gray,
body.dark-theme .bg-light {
  background-color: var(--color-light-gray) !important;
}

/* Force dark-theme card components to use card-bg */
body.dark-theme .room-card,
body.dark-theme .blog-card,
body.dark-theme .testimonial-card,
body.dark-theme .event-card,
body.dark-theme .amenity-card,
body.dark-theme .booking-step,
body.dark-theme .team-info {
  background-color: var(--card-bg) !important;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

body.dark-theme .room-card-footer {
  border-top: 1px solid var(--border-color) !important;
}

body.dark-theme .room-card:hover,
body.dark-theme .blog-card:hover,
body.dark-theme .testimonial-card:hover,
body.dark-theme .event-card:hover,
body.dark-theme .amenity-card:hover,
body.dark-theme .team-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.3) !important;
}

/* Perfect alignment for the theme toggle button */
.theme-toggle-btn {
  margin: 0 5px 0 10px;
  align-self: center;
}

/* Text and Headings in dark mode */
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6,
body.dark-theme .section-title,
body.dark-theme .timeline-title,
body.dark-theme .faq-accordion .accordion-button,
body.dark-theme .event-title,
body.dark-theme .room-card-title,
body.dark-theme .blog-card-title,
body.dark-theme .testimonial-name {
  color: var(--color-navy) !important;
}

/* Paragraphs, descriptions, icons and features in dark mode */
body.dark-theme p,
body.dark-theme .section-subtitle,
body.dark-theme .timeline-desc,
body.dark-theme .faq-accordion .accordion-body,
body.dark-theme .event-desc,
body.dark-theme .room-feature,
body.dark-theme .room-feature i,
body.dark-theme .amenity-desc,
body.dark-theme .testimonial-text,
body.dark-theme .testimonial-location,
body.dark-theme .stat-label,
body.dark-theme .footer-bottom p {
  color: var(--color-gray-dark) !important;
}

/* Fix generic text and badges in dark mode */
body.dark-theme .text-dark,
body.dark-theme .text-navy {
  color: var(--color-navy) !important;
}

body.dark-theme .text-muted,
body.dark-theme .text-muted i {
  color: var(--color-gray) !important;
}

body.dark-theme .form-label-luxury {
  color: var(--color-navy) !important;
}

body.dark-theme input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(0.9);
}

/* Ensure constant dark branding and light text/headings inside newsletter section in all themes */
.newsletter-section {
  background: linear-gradient(135deg, #1E293B, #0F172A) !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.newsletter-section .section-title.light {
  color: #FFFFFF !important;
}

body.dark-theme .newsletter-section .section-title.light {
  color: #FFFFFF !important;
}

/* Dark theme overrides for a light footer */
body.dark-theme .main-footer {
  background: #FFFFFF !important;
  color: #64748B !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.dark-theme .footer-top {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

body.dark-theme .main-footer .footer-brand .brand-name {
  color: #0F172A !important;
}

body.dark-theme .main-footer .footer-brand .brand-tagline {
  color: var(--color-gold) !important;
}

body.dark-theme .main-footer .footer-desc {
  color: #64748B !important;
}

body.dark-theme .main-footer .footer-social a {
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #64748B !important;
}

body.dark-theme .main-footer .footer-social a:hover {
  background: var(--color-gold) !important;
  border-color: var(--color-gold) !important;
  color: #FFFFFF !important;
}

body.dark-theme .main-footer .footer-heading {
  color: #0F172A !important;
}

body.dark-theme .main-footer .footer-links a {
  color: #64748B !important;
}

body.dark-theme .main-footer .footer-links a:hover {
  color: var(--color-gold) !important;
}

body.dark-theme .main-footer .footer-contact-text span {
  color: #64748B !important;
}

body.dark-theme .main-footer .footer-bottom p {
  color: #94A3B8 !important;
}

body.dark-theme .main-footer .footer-bottom-links a {
  color: #94A3B8 !important;
}

body.dark-theme .main-footer .footer-bottom-links a:hover {
  color: var(--color-gold) !important;
}

/* Ensure navy background sections maintain constant dark navy backgrounds and light text in all themes */
.bg-navy {
  background: #0F172A !important;
}

.bg-navy-light {
  background: #1E293B !important;
}

.bg-navy, 
.bg-navy-light {
  color: rgba(255, 255, 255, 0.7) !important;
}

.bg-navy .text-white, 
.bg-navy-light .text-white {
  color: #FFFFFF !important;
}

.bg-navy .section-title,
.bg-navy-light .section-title,
.bg-navy .section-title.light, 
.bg-navy-light .section-title.light {
  color: #FFFFFF !important;
}

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy h5, .bg-navy h6,
.bg-navy-light h1, .bg-navy-light h2, .bg-navy-light h3, .bg-navy-light h4, .bg-navy-light h5, .bg-navy-light h6 {
  color: #FFFFFF !important;
}

.bg-navy p, 
.bg-navy-light p {
  color: rgba(255, 255, 255, 0.75) !important;
}

.bg-navy .menu-item-name, 
.bg-navy-light .menu-item-name {
  color: #FFFFFF !important;
}

.bg-navy .menu-item-desc, 
.bg-navy-light .menu-item-desc {
  color: rgba(255, 255, 255, 0.6) !important;
}

.bg-navy .menu-category, 
.bg-navy-light .menu-category {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(212, 175, 55, 0.2) !important;
}

.bg-navy .menu-category:hover, 
.bg-navy-light .menu-category:hover {
  background: rgba(212, 175, 55, 0.07) !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
}

.bg-navy .filter-btn,
.bg-navy-light .filter-btn,
.text-white .filter-btn {
  color: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(212, 175, 55, 0.4) !important;
  background: transparent !important;
}

.bg-navy .filter-btn:hover,
.bg-navy .filter-btn.active,
.bg-navy-light .filter-btn:hover,
.bg-navy-light .filter-btn.active,
.text-white .filter-btn:hover,
.text-white .filter-btn.active {
  background: var(--color-gold) !important;
  border-color: var(--color-gold) !important;
  color: #0F172A !important;
}

.bg-navy .spa-service-card, 
.bg-navy-light .spa-service-card,
.bg-navy .wellness-program-card, 
.bg-navy-light .wellness-program-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(212, 175, 55, 0.15) !important;
}

.bg-navy .spa-service-card h4, 
.bg-navy .wellness-program-card h4 {
  color: #FFFFFF !important;
}

.bg-navy .stat-card h3, 
.bg-navy .stat-card p {
  color: #FFFFFF !important;
}





/* Mobile Fullscreen Menu Layout Fix */
@media (max-width: 991px) {
  /* Logo text responsiveness and hamburger placement */
  .brand-name {
    font-size: 1.35rem !important;
    letter-spacing: 2px !important;
  }
  
  .brand-tagline {
    font-size: 0.55rem !important;
    letter-spacing: 3px !important;
  }

  .order-lg-last {
    margin-left: auto !important;
  }

  /* Real DOM element backdrop overlay */
  .navbar-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.6) !important;
    z-index: 9998 !important; /* Under mobile menu (9999) but above page content */
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.4s ease, visibility 0.4s ease !important;
  }

  .navbar-backdrop.show {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .navbar-collapse {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 320px !important;
    max-width: 85% !important;
    background: var(--color-white) !important;
    padding: 0 !important; /* Managed via inner elements to prevent button cutoff */
    margin-top: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    border-left: none !important; /* Removed unwanted vertical line */
    height: 100vh !important;
    max-height: 100vh !important;
    z-index: 9999 !important; /* Placed above body overlay (9998) */
    
    /* Flex layout to keep button fixed at the bottom while links scroll */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow: hidden !important;
    
    visibility: hidden !important;
    transform: translateX(100%) !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s !important;
  }

  .navbar-collapse.show {
    visibility: visible !important;
    transform: translateX(0) !important;
  }

  .navbar-collapse.collapsing {
    display: flex !important;
    visibility: visible !important;
    height: 100vh !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  }

  .navbar-close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    background: transparent;
    border: none;
    font-size: 2.2rem;
    color: var(--color-navy);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: var(--transition-fast);
    z-index: 1060;
  }

  .navbar-close-btn:hover {
    color: var(--color-gold);
  }

  /* Inner scrollable list wrapper */
  .navbar-collapse .navbar-nav {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    padding: 80px 24px 20px 24px !important; /* Leaves room for top close button */
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .mobile-theme-toggle-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
  }

  .mobile-theme-toggle-wrapper .theme-toggle-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-navy);
    letter-spacing: 0.5px;
  }

  .mobile-theme-toggle-wrapper .theme-toggle-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-gold) !important;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition-fast);
  }

  .mobile-theme-toggle-wrapper .theme-toggle-btn:hover {
    background: rgba(212, 175, 55, 0.1);
  }

  .navbar-collapse .nav-link {
    color: var(--color-navy) !important;
    padding: 12px 0 !important;
    font-size: 0.88rem !important; /* Reduced to medium professional size */
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid var(--border-color) !important;
    display: flex !important;
    align-items: center;
  }

  .navbar-collapse .nav-link:hover,
  .navbar-collapse .nav-link.active {
    color: var(--color-gold) !important;
    padding-left: 12px !important;
    border-left: 3px solid var(--color-gold) !important;
    transition: all 0.3s ease;
  }

  .navbar-collapse .nav-link .menu-icon {
    font-size: 1rem;
    color: var(--color-gold) !important;
    margin-right: 12px; /* Balanced icon text spacing */
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    display: inline-block;
  }

  .navbar-collapse .nav-link:hover .menu-icon,
  .navbar-collapse .nav-link.active .menu-icon {
    transform: scale(1.15) rotate(-5deg);
  }

  .navbar-collapse .dropdown-menu {
    background: rgba(0, 0, 0, 0.03) !important;
    border: none !important;
    padding-left: 15px !important;
    box-shadow: none !important;
  }

  body.dark-theme .navbar-collapse .dropdown-menu {
    background: rgba(255, 255, 255, 0.03) !important;
  }

  /* Fixed bottom Book Now button style */
  .navbar-collapse .btn-book-header {
    flex: 0 0 auto !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: auto !important;
    padding: 14px 24px !important;
    margin: 20px 24px 30px 24px !important; /* Balanced margins to prevent cutoffs */
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark)) !important;
    color: var(--color-navy) !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25) !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
  }

  .navbar-collapse .btn-book-header:hover,
  .navbar-collapse .btn-book-header:active {
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35) !important;
  }

  body.nav-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
  }

  body.nav-open .main-header {
    z-index: 9999 !important;
  }
}
