/* ===================================================================
   MAÏTHRI MANDIR HOMESTAYS - MASTER DESIGN SYSTEM
   The House of Friendship in Kerala (Nedungolam, South India)
   KTDC Diamond House Certified Sustainable Heritage & Ayurvedic Sanctuary
   =================================================================== */

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

:root {
  /* Brand Palette - Inspired by Kerala backwaters, terracotta roofs & golden temples */
  --primary: #153828;            /* Deep Kerala Forest Green */
  --primary-rgb: 21, 56, 40;
  --primary-light: #225940;      /* Emerald Green */
  --primary-dark: #0d2419;       /* Deepest Jungle */
  
  --accent: #C35626;             /* Sacred Terracotta / Clay */
  --accent-rgb: 195, 86, 38;
  --accent-hover: #a94519;
  --accent-light: #fbeee7;
  
  --gold: #D4AF37;               /* Temple Gold */
  --gold-rgb: 212, 175, 55;
  --gold-light: #fbf5df;
  --gold-gradient: linear-gradient(135deg, #dfbc4f 0%, #c49a2c 100%);
  
  --bg-body: #FAF7F2;            /* Warm Linen / Parchment */
  --bg-card: #FFFFFF;
  --bg-card-glass: rgba(255, 255, 255, 0.85);
  --bg-dark: #0E1E16;            /* Midnight Kerala */
  --bg-dark-card: #142820;
  
  --text-main: #1C2621;          /* Charcoal with hint of green */
  --text-muted: #607269;
  --text-light: #FFFFFF;
  --text-gold: #C09528;
  
  --border-light: rgba(21, 56, 40, 0.1);
  --border-glass: rgba(255, 255, 255, 0.35);
  
  --shadow-sm: 0 4px 12px rgba(21, 56, 40, 0.05);
  --shadow-md: 0 10px 30px rgba(21, 56, 40, 0.08);
  --shadow-lg: 0 20px 45px rgba(21, 56, 40, 0.13);
  --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.28);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}


h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  color: var(--primary-dark);
  font-weight: 600;
  line-height: 1.25;
}

h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
}

/* ===================================================================
   DARK BACKGROUND & CONTRAST TYPOGRAPHY FIXES
   Ensures titles & headings on dark sections are crisp white
   =================================================================== */
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6, .bg-dark .font-serif,
.bg-black h1, .bg-black h2, .bg-black h3, .bg-black h4, .bg-black h5, .bg-black h6, .bg-black .font-serif,
.bg-dark-card h1, .bg-dark-card h2, .bg-dark-card h3, .bg-dark-card h4, .bg-dark-card h5, .bg-dark-card h6, .bg-dark-card .font-serif,
.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6, .text-white .font-serif,
.hero-luxury h1, .hero-luxury h2, .hero-luxury h3, .hero-luxury h4, .hero-luxury h5, .hero-luxury h6, .hero-luxury .font-serif,
.page-header-banner h1, .page-header-banner h2, .page-header-banner h3, .page-header-banner h4, .page-header-banner h5, .page-header-banner h6, .page-header-banner .font-serif,
.footer-custom h1, .footer-custom h2, .footer-custom h3, .footer-custom h4, .footer-custom h5, .footer-custom h6, .footer-custom .font-serif,
[style*="background: var(--primary-dark)"] h1, [style*="background: var(--primary-dark)"] h2, [style*="background: var(--primary-dark)"] h3, [style*="background: var(--primary-dark)"] h4, [style*="background: var(--primary-dark)"] h5, [style*="background: var(--primary-dark)"] h6, [style*="background: var(--primary-dark)"] .font-serif,
[style*="background: var(--primary)"] h1, [style*="background: var(--primary)"] h2, [style*="background: var(--primary)"] h3, [style*="background: var(--primary)"] h4, [style*="background: var(--primary)"] h5, [style*="background: var(--primary)"] h6, [style*="background: var(--primary)"] .font-serif,
[style*="background-color: var(--bg-dark)"] h1, [style*="background-color: var(--bg-dark)"] h2, [style*="background-color: var(--bg-dark)"] h3, [style*="background-color: var(--bg-dark)"] h4, [style*="background-color: var(--bg-dark)"] h5, [style*="background-color: var(--bg-dark)"] h6, [style*="background-color: var(--bg-dark)"] .font-serif,
[style*="background: rgba(21, 56, 40"] h1, [style*="background: rgba(21, 56, 40"] h2, [style*="background: rgba(21, 56, 40"] h3, [style*="background: rgba(21, 56, 40"] h4, [style*="background: rgba(21, 56, 40"] h5, [style*="background: rgba(21, 56, 40"] h6, [style*="background: rgba(21, 56, 40"] .font-serif,
h1.text-white, h2.text-white, h3.text-white, h4.text-white, h5.text-white, h6.text-white,
.font-serif.text-white,
h1.text-light, h2.text-light, h3.text-light, h4.text-light, h5.text-light, h6.text-light,
.font-serif.text-light {
  color: #FFFFFF !important;
}

.text-white {
  color: #FFFFFF !important;
}

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

.bg-gold {
  background: var(--gold-gradient) !important;
  color: #0E1E16 !important;
}

.bg-gold-subtle {
  background: rgba(212, 175, 55, 0.18) !important;
  color: var(--gold) !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
}

.badge-gold {
  background: var(--gold-gradient) !important;
  color: #0E1E16 !important;
  font-weight: 700 !important;
  border: none !important;
}

.font-display {
  font-family: var(--font-display);
  letter-spacing: 1px;
}

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

a:hover {
  color: var(--accent);
}

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

/* Selection Color */
::selection {
  background-color: var(--accent);
  color: #fff;
}

/* ===================================================================
   TOP BAR & NAVIGATION
   =================================================================== */

.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
  color: rgba(255, 255, 255, 0.88);
}

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

.ktdc-badge-pill {
  background: linear-gradient(90deg, #1f4734, #2d6b4e);
  color: #fff;
  border: 1px solid var(--gold);
  border-radius: 30px;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ktdc-badge-pill i {
  color: var(--gold);
}

/* Sticky Header Wrapper (Sticky in Web & Mobile) */
.site-header-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  width: 100%;
  transition: var(--transition);
}

/* Main Navbar */
.navbar-custom {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 12px 0;
  transition: var(--transition);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.site-header-sticky .navbar-custom {
  position: relative;
  top: auto;
}

.navbar-custom.scrolled,
.site-header-sticky.scrolled .navbar-custom {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 30px rgba(21, 56, 40, 0.12);
}


.navbar-custom > .container,
.navbar-custom > .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  flex-shrink: 0;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--primary);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

/* Mobile Actions: Currency + Hamburger */
.nav-actions-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.navbar-toggler.mobile-menu-btn {
  padding: 5px 8px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #fbf9f5;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
  line-height: 1;
}

.navbar-toggler.mobile-menu-btn:hover,
.navbar-toggler.mobile-menu-btn:focus {
  background: #f1ede4;
  border-color: var(--accent);
  outline: none;
  box-shadow: none;
}

.navbar-toggler.mobile-menu-btn i {
  font-size: 1.55rem;
  line-height: 1;
  color: var(--primary-dark);
}

/* Compact currency select for mobile and sticky navbar */
.currency-select-sm {
  padding: 5px 22px 5px 10px !important;
  font-size: 0.78rem !important;
  font-weight: 700;
  border-radius: 20px;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary-dark) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Nav Dropdown Styling */
.navbar-custom .dropdown-menu {
  border: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 12px;
  min-width: 250px;
  border-top: 3px solid var(--accent);
  animation: dropdownFade 0.25s ease;
  z-index: 1060;
}

@media (min-width: 992px) {
  .navbar-custom .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 0 !important;
    pointer-events: auto !important;
  }
}

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

.dropdown-item {
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--primary-dark);
  font-size: 0.92rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-item i {
  color: var(--accent);
  font-size: 1rem;
}

.dropdown-item:hover {
  background: var(--accent-light);
  color: var(--accent);
  transform: translateX(4px);
}

/* Currency Selector */
.currency-select-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.currency-select {
  appearance: none;
  background: #f1ede4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23153828' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat calc(100% - 10px) center;
  border: 1px solid var(--border-light);
  border-radius: 30px;
  padding: 6px 28px 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.currency-select:hover, .currency-select:focus {
  border-color: var(--accent);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(195, 86, 38, 0.15);
}

/* Custom Buttons */
.btn-primary-custom {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(21, 56, 40, 0.25);
  line-height: 1.25;
  vertical-align: middle;
  text-decoration: none;
}

.btn-primary-custom:hover {
  background: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 56, 40, 0.35);
}

.btn-accent-custom {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(195, 86, 38, 0.28);
  line-height: 1.25;
  vertical-align: middle;
  text-decoration: none;
}

.btn-accent-custom:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(195, 86, 38, 0.4);
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--primary);
  background: transparent;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 30px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.25;
  vertical-align: middle;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline-light-custom {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  background: transparent;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.25;
  vertical-align: middle;
}

.btn-outline-light-custom:hover {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ===================================================================
   PERFECT VERTICAL CENTERING FOR ALL BUTTONS, ICONS & TEXT
   =================================================================== */
.btn,
.btn-primary-custom,
.btn-accent-custom,
.btn-outline-gold,
.btn-outline-light-custom,
.btn-checkout-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  text-align: center !important;
  gap: 8px !important;
  line-height: 1.25 !important;
}

.btn i,
.btn svg,
.btn-primary-custom i,
.btn-accent-custom i,
.btn-outline-gold i,
.btn-outline-light-custom i,
.btn-checkout-primary i,
.btn i.bi,
button i.bi,
a.btn i.bi {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: 0 !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  top: 0 !important;
}

.btn > span,
.btn-primary-custom > span,
.btn-accent-custom > span {
  display: inline-block !important;
  vertical-align: middle !important;
  line-height: 1.25 !important;
}

.btn.btn-sm,
.btn-sm,
a.btn.btn-sm,
button.btn.btn-sm {
  padding: 6px 16px !important;
  font-size: 0.85rem !important;
  min-height: 34px !important;
  line-height: 1.2 !important;
}

.btn-sm i,
.btn.btn-sm i {
  font-size: 1.05em !important;
}

/* ===================================================================
   HERO SECTIONS
   =================================================================== */

.hero-luxury {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.hero-bg-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s ease;
  transform: scale(1.05);
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(14, 30, 22, 0.75) 0%, rgba(14, 30, 22, 0.5) 45%, rgba(14, 30, 22, 0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 35px;
}

/* Quick Search / Booking Engine Bar */
.booking-search-bar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.8);
  margin-top: -60px;
  position: relative;
  z-index: 20;
}

.search-field-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-field-label i {
  color: var(--accent);
}

.search-input-custom {
  border: 1px solid #e0e5e2;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: #fbf9f5;
  width: 100%;
  transition: var(--transition);
}

.search-input-custom:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(195, 86, 38, 0.15);
}

/* Page Header Banner (for subpages) */
.page-header-banner {
  position: relative;
  background-color: var(--bg-dark);
  padding: 90px 0 60px 0;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-header-banner .banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 30, 22, 0.92) 0%, rgba(21, 56, 40, 0.82) 100%);
}

.page-header-banner .container {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb-custom a {
  color: #fff;
}

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

/* ===================================================================
   CARDS & PROPERTY DISPLAY
   =================================================================== */

.property-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(195, 86, 38, 0.3);
}

.property-img-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

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

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

.property-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(21, 56, 40, 0.88);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.property-rating-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 4px;
}

.property-rating-badge i {
  color: #ffb703;
}

.property-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.property-location {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.property-title {
  font-size: 1.45rem;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 600;
}

.property-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.property-amenities-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.amenity-tag {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: var(--primary-dark);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.property-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.property-price-block {
  display: flex;
  flex-direction: column;
}

.property-price-from {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.property-price-amount {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

/* ===================================================================
   PACKAGE & CURE CARDS (ELEVATED LUXURY WELLNESS STYLING)
   =================================================================== */

.package-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(21, 56, 40, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(21, 56, 40, 0.1);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(21, 56, 40, 0.13);
  border-color: rgba(212, 175, 55, 0.6);
}

.package-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 14px 38px rgba(195, 86, 38, 0.15);
  position: relative;
}

.package-card.featured:hover {
  box-shadow: 0 26px 55px rgba(195, 86, 38, 0.24);
  transform: translateY(-10px);
}

/* Consistent Top Badges */
.pkg-badge-container {
  min-height: 30px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}

.pkg-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  line-height: 1.2;
}

.pkg-badge-featured {
  background: linear-gradient(135deg, #c35626 0%, #e06d28 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(195, 86, 38, 0.28);
}

.pkg-badge-strict {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.pkg-badge-retreat {
  background: #fefce8;
  color: #a16207;
  border: 1px solid #fef08a;
}

.pkg-badge-immersion {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.package-card-header {
  padding: 26px 24px 20px 24px;
  background: linear-gradient(180deg, #faf8f5 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(21, 56, 40, 0.07);
}

.package-card.featured .package-card-header {
  background: linear-gradient(180deg, #fff8f3 0%, #ffffff 100%);
}

.package-title {
  font-size: 1.55rem;
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--primary);
  line-height: 1.2;
}

.package-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
}

.package-price-box {
  margin-top: 14px;
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.package-price-val {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-serif);
  letter-spacing: -0.5px;
}

.package-price-period {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

/* Beautiful All-Inclusive Rate & Component Breakdown */
.package-breakdown-card {
  background: #f8faf9;
  border: 1px solid rgba(21, 56, 40, 0.08);
  border-radius: 14px;
  padding: 10px 12px;
  margin-top: 12px;
  transition: var(--transition);
}

.package-card:hover .package-breakdown-card {
  background: #f2f7f4;
  border-color: rgba(21, 56, 40, 0.16);
}

.breakdown-daily-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(21, 56, 40, 0.14);
  font-size: 0.76rem;
}

.breakdown-daily-label {
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.7rem;
}

.breakdown-daily-value {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.82rem;
}

.breakdown-daily-value strong {
  color: var(--accent);
  font-size: 0.95rem;
}

.breakdown-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.breakdown-chip {
  background: #ffffff;
  border: 1px solid rgba(21, 56, 40, 0.1);
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 0.72rem;
  color: #334155;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.breakdown-chip i {
  font-size: 0.72rem;
  color: var(--accent);
}

.breakdown-chip.highlight-chip {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
  font-weight: 600;
}

.package-card-body {
  padding: 22px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.package-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.package-features-list li {
  font-size: 0.88rem;
  margin-bottom: 11px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #334155;
  line-height: 1.45;
}

.pkg-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34, 89, 64, 0.12);
  color: #1b6a48;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Package Action Buttons */
.btn-pkg-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.btn-pkg-featured {
  background: linear-gradient(135deg, #c35626 0%, #dd6b20 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(195, 86, 38, 0.28);
  border: none;
}

.btn-pkg-featured:hover {
  background: linear-gradient(135deg, #a94519 0%, #c35626 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(195, 86, 38, 0.38);
  color: #ffffff !important;
}

.btn-pkg-primary {
  background: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(21, 56, 40, 0.2);
  border: none;
}

.btn-pkg-primary:hover {
  background: #1e4f39;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 56, 40, 0.3);
  color: #ffffff !important;
}

.btn-pkg-outline {
  background: #ffffff;
  border: 1.5px solid var(--primary);
  color: var(--primary) !important;
}

.btn-pkg-outline:hover {
  background: var(--primary);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(21, 56, 40, 0.2);
}

/* ===================================================================
   PHILOSOPHY & VALUES SECTION
   =================================================================== */

.values-icon-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  text-align: center;
  height: 100%;
}

.values-icon-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.values-icon-wrapper {
  width: 72px;
  height: 72px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.values-icon-box:hover .values-icon-wrapper {
  background: var(--accent);
  color: #fff;
  transform: rotateY(180deg);
}

/* Quote Box */
.quote-box-custom {
  background: linear-gradient(135deg, #183d2c 0%, #10291e 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border-left: 6px solid var(--gold);
}

.quote-box-custom::before {
  content: '“';
  position: absolute;
  right: 30px;
  bottom: -30px;
  font-family: var(--font-serif);
  font-size: 14rem;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
}

/* ===================================================================
   TESTIMONIALS
   =================================================================== */

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.stars-rating {
  color: #ffb703;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

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

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-light);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-meta h6 {
  margin-bottom: 2px;
  color: var(--primary-dark);
}

.author-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================================================================
   FOOTER
   =================================================================== */

.footer-custom {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 80px;
  padding-bottom: 30px;
  position: relative;
  border-top: 3px solid var(--gold);
}

.footer-logo-title {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 15px;
  margin-bottom: 25px;
}

.footer-heading {
  font-family: var(--font-sans);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-links {
  list-style: none;
}

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

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

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

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

.footer-contact-item a {
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact-item a:hover {
  color: var(--gold) !important;
  text-decoration: underline;
}

.footer-contact-item i {
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 4px;
}

.hover-gold {
  transition: color 0.2s ease;
}

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

.clickable-phone {
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.clickable-phone:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  margin-top: 50px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.social-pill {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  transition: var(--transition);
}

.social-pill:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* Floating Quick Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  font-size: 1.35rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.floating-whatsapp {
  background: #25D366;
}

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

.floating-totop {
  background: var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.floating-totop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-totop:hover {
  background: var(--accent);
  color: #fff;
}

/* ===================================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   =================================================================== */

/* Dynamic property grid items */
.property-grid-item {
  animation: cardFadeIn 0.35s ease-out both;
}

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

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .booking-search-bar {
    margin-top: 20px;
    padding: 20px;
  }
  
  .navbar-custom {
    padding: 10px 0;
  }

  /* Prevent horizontal gutter spill */
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }

  /* Mobile Dropdown Menu styling */
  .navbar-custom .navbar-collapse {
    background: #ffffff;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    margin-top: 12px;
    box-shadow: 0 12px 35px rgba(21, 56, 40, 0.12);
    border: 1px solid var(--border-light);
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-custom .navbar-nav .nav-link {
    padding: 11px 14px !important;
    border-bottom: 1px solid rgba(21, 56, 40, 0.05);
    font-size: 1rem;
  }

  .navbar-custom .navbar-nav .nav-link.active::after {
    display: none;
  }

  .navbar-custom .dropdown-menu {
    border: 1px solid var(--border-light);
    box-shadow: none;
    background: #fbf9f5;
    margin-top: 5px;
    margin-bottom: 10px;
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .quote-box-custom {
    padding: 30px 20px;
  }

  /* Prevent horizontal overflow on mobile from wide grid gutters */
  .row.g-5, .row.g-4 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1.25rem;
  }

  .booking-search-bar {
    margin-top: 15px;
    padding: 18px 16px;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 576px) {
  .brand-logo-img {
    height: 38px;
  }
  
  .brand-title {
    font-size: 1.08rem;
    letter-spacing: 0.8px;
  }
  
  .brand-subtitle {
    font-size: 0.62rem;
    letter-spacing: 1px;
  }
  
  .nav-actions-mobile {
    gap: 6px;
  }
  
  .currency-select-sm {
    padding: 5px 20px 5px 8px !important;
    font-size: 0.76rem !important;
  }

  .floating-actions {
    bottom: 20px;
    right: 16px;
    gap: 8px;
  }

  .floating-btn {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
}

@media (max-width: 380px) {
  .brand-logo-img {
    height: 34px;
  }
  
  .brand-title {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
  }
  
  .brand-subtitle {
    display: none; /* keep logo & title on 1 clean row on tiny screens */
  }
}

