/* ==========================================================================
   PAYYAMBALAM BEACH RESORT — CORE STYLESHEET
   Luxury Minimal Design System
   ========================================================================== */

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

:root {
  /* Primary Color Palette */
  --color-primary: #1B3B2B;        /* Deep Forest Green */
  --color-primary-light: #2C5640;  /* Soft Forest Green */
  --color-primary-dark: #0F251A;   /* Dark Forest */
  
  --color-sand: #F5F2EC;           /* Warm Sand / Beige */
  --color-sand-light: #FBF9F5;     /* Soft Off White */
  --color-sand-dark: #E4DEC5;      /* Darker Sand Accent */
  
  --color-gold: #C5A059;           /* Muted Champagne Gold */
  --color-gold-hover: #B38C44;
  
  --color-charcoal: #1E2321;       /* Premium Charcoal Text */
  --color-text: #1E2321;           /* Main Text Color */
  --color-muted: #6B7570;          /* Subtle Gray-Green */
  --color-border: #E2DDD5;         /* Soft Border */
  --color-white: #FFFFFF;
  
  /* Glassmorphism & Shadows */
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-dark: rgba(27, 59, 43, 0.85);
  
  --shadow-sm: 0 4px 12px rgba(27, 59, 43, 0.05);
  --shadow-md: 0 10px 30px rgba(27, 59, 43, 0.08);
  --shadow-lg: 0 20px 45px rgba(27, 59, 43, 0.12);
  --shadow-hover: 0 24px 50px rgba(27, 59, 43, 0.18);

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Radii & Transitions */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-normal: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout Constraints */
  --container-max: 1280px;
  --header-height: 90px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-sand-light);
  color: var(--color-charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 960px;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6,
.heading-display,
.heading-lg,
.heading-md,
.heading-sm {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1;
}

.heading-display {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
}

.heading-md {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 500;
  line-height: 1.3;
}

.heading-sm {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
}

.sub-heading {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--color-gold);
  display: inline-block;
  margin-bottom: 12px;
}

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

.text-center {
  text-align: center;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-white);
  border: 1px solid var(--color-gold);
}

.btn-gold:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

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

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  border: 1px solid #25D366;
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 0.95rem;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
}

.badge-gold {
  background-color: rgba(197, 160, 89, 0.15);
  color: var(--color-gold);
}

.badge-primary {
  background-color: rgba(27, 59, 43, 0.1);
  color: var(--color-primary);
}

/* Page Banner Header */
.page-header {
  position: relative;
  padding: 160px 0 80px 0;
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  text-align: center;
  background-size: cover;
  background-position: center;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 37, 26, 0.75) 0%, rgba(15, 37, 26, 0.9) 100%);
}

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header.scrolled,
.header.header-solid {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 75px;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-sand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  border: 1px solid var(--color-gold);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.header.scrolled .logo-title,
.header.header-solid .logo-title {
  color: var(--color-primary);
}

.logo-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: -3px;
}

.header.scrolled .logo-sub,
.header.header-solid .logo-sub {
  color: var(--color-muted);
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 6px 0;
}

.header.scrolled .nav-link,
.header.header-solid .nav-link {
  color: var(--color-charcoal);
}

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

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

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

.nav-cta {
  margin-left: 12px;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--color-white);
  transition: all var(--transition-fast);
}

.header.scrolled .mobile-toggle span,
.header.header-solid .mobile-toggle span {
  background-color: var(--color-primary);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--color-primary) !important;
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--color-primary) !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 20s infinite alternate cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 37, 26, 0.45) 0%, rgba(15, 37, 26, 0.65) 60%, rgba(15, 37, 26, 0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-white);
  max-width: 860px;
  padding: 0 24px;
  margin-top: 40px;
}

.hero-title {
  margin-top: 10px;
  margin-bottom: 20px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 300;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-icon {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  position: relative;
}

.scroll-icon::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0% { transform: translate(-50%, 0); opacity: 1; }
  80% { transform: translate(-50%, 14px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

/* ==========================================================================
   AVAILABILITY BAR
   ========================================================================== */
.availability-section {
  position: relative;
  z-index: 10;
  margin-top: -60px;
}

.availability-bar {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  box-shadow: var(--shadow-lg);
}

.availability-form {
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-muted);
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 14px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-charcoal);
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 59, 43, 0.1);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-sand {
  background-color: var(--color-sand);
}

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

.section-dark {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.section-header {
  margin-bottom: 50px;
}

.section-header.text-center {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   INTRODUCTION SECTION
   ========================================================================== */
.intro-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 60px;
  align-items: center;
}

.intro-img-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.intro-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.intro-img-wrapper:hover .intro-img {
  transform: scale(1.03);
}

.intro-badge-overlay {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: var(--glass-dark);
  backdrop-filter: blur(10px);
  color: var(--color-sand-light);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.intro-badge-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.intro-badge-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.intro-content p {
  margin-bottom: 20px;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.intro-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.95rem;
}

.highlight-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(197, 160, 89, 0.15);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   ROOMS CARDS & GRID
   ========================================================================== */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.room-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

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

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

.room-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.room-price-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--color-gold);
}

.room-price-tag span {
  font-size: 1.1rem;
  color: var(--color-gold);
}

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

.room-card-title {
  margin-bottom: 8px;
}

.room-card-desc {
  font-size: 0.925rem;
  color: var(--color-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.room-specs {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 20px;
  font-size: 0.825rem;
  color: var(--color-muted);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.room-amenities-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.pill {
  font-size: 0.75rem;
  padding: 4px 10px;
  background-color: var(--color-sand);
  color: var(--color-charcoal);
  border-radius: var(--radius-sm);
}

.room-card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.room-card-actions .btn {
  flex: 1;
}

/* ==========================================================================
   AMENITIES GRID
   ========================================================================== */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.amenity-card {
  background-color: var(--color-white);
  padding: 30px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all var(--transition-normal);
}

.amenity-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.amenity-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-sand);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px auto;
  transition: all var(--transition-fast);
}

.amenity-card:hover .amenity-icon {
  background-color: var(--color-primary);
  color: var(--color-gold);
}

.amenity-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

/* ==========================================================================
   EXPERIENCES SECTION
   ========================================================================== */
.experiences-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.experience-card {
  position: relative;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

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

.experience-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(15, 37, 26, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: var(--color-white);
}

.experience-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.experience-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* ==========================================================================
   GALLERY (MASONRY & FILTERS)
   ========================================================================== */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  background-color: transparent;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
  cursor: pointer;
}

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

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

.gallery-item {
  position: relative;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

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

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

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 59, 43, 0.75);
  opacity: 0;
  transition: opacity var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  padding: 20px;
  text-align: center;
}

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

.gallery-item-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-sand-light);
}

/* Lightbox Modal & Carousel */
.filter-count {
  opacity: 0.75;
  font-size: 0.8em;
  margin-left: 2px;
}

.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 20, 15, 0.94);
  backdrop-filter: blur(8px);
}

.lightbox-container {
  position: relative;
  z-index: 2;
  width: 94%;
  max-width: 1100px;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.lightbox-main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-height: 85vh;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: calc(85vh - 70px);
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease;
}

.lightbox-caption-bar {
  width: 100%;
  max-width: 800px;
  margin-top: 15px;
  padding: 12px 20px;
  background: rgba(27, 59, 43, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.lightbox-nav {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.lightbox-nav:hover {
  background: var(--color-gold);
  color: var(--color-primary-dark);
  border-color: var(--color-gold);
  transform: scale(1.1);
}

.lightbox-close {
  position: absolute;
  top: -15px;
  right: -10px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: #e74c3c;
  border-color: #e74c3c;
  transform: rotate(90deg);
}

/* ==========================================================================
   REVIEWS & GOOGLE REVIEWS
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.review-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: var(--color-gold);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.review-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  margin-bottom: 24px;
  line-height: 1.6;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.review-author-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.review-author-info p {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.google-review-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
}

/* ==========================================================================
   BLOG CARDS & SECTION
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.blog-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.blog-img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gold);
  margin-bottom: 8px;
  font-weight: 600;
}

.blog-title {
  margin-bottom: 12px;
}

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

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 20px;
}

/* ==========================================================================
   FINAL CTA BANNER
   ========================================================================== */
.cta-section {
  position: relative;
  padding: 120px 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  color: var(--color-white);
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 37, 26, 0.78);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  padding-right: 20px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-white);
  margin-bottom: 16px;
  display: block;
}

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

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

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

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

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-fast);
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-whatsapp {
  background-color: #25D366;
}

.float-call {
  background-color: var(--color-primary);
}

/* Modals & Write Review Popup */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-box {
  background: var(--color-white);
  border-radius: var(--radius-md);
  max-width: 550px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--color-muted);
  cursor: pointer;
}

/* ==========================================================================
   ADMIN DASHBOARD LAYOUT & COMPONENTS
   ========================================================================== */
.admin-body {
  background-color: #F4F6F5;
  font-family: var(--font-body);
}

.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background-color: var(--color-primary-dark);
  color: white;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.admin-nav-item:hover,
.admin-nav-item.active {
  background-color: rgba(255,255,255,0.1);
  color: var(--color-gold);
}

.admin-main {
  flex-grow: 1;
  padding: 40px;
  overflow-y: auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.stat-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  margin-top: 6px;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-muted);
}

/* Admin Data Table */
.admin-table-card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.admin-table th {
  background-color: var(--color-sand);
  padding: 14px 18px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
}

.admin-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.status-approved, .status-confirmed, .status-available {
  background: rgba(40, 167, 69, 0.15);
  color: #28a745;
}

.status-pending, .status-inquiry, .status-new {
  background: rgba(255, 193, 7, 0.2);
  color: #b78103;
}

.status-rejected, .status-cancelled {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
}

/* ==========================================================================
   ROOM TARIFF & AVAILABILITY CHART STYLES
   ========================================================================== */
.view-mode-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.view-mode-toggle {
  display: inline-flex;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  color: var(--color-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.view-btn:hover {
  color: var(--color-primary);
  background: var(--color-sand);
}

.view-btn.active {
  background: var(--color-primary);
  color: white;
}

.tariff-chart-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 30px;
}

.tariff-chart-header {
  background: var(--color-primary-dark);
  color: white;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tariff-chart-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-gold);
  margin: 0;
}

.tariff-chart-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.tariff-chart-table th {
  background: #f8f6f0;
  padding: 14px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-primary-dark);
  border-bottom: 2px solid var(--color-border);
}

.tariff-chart-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.tariff-chart-table tr:last-child td {
  border-bottom: none;
}

.tariff-chart-table tr:hover {
  background-color: rgba(245, 242, 236, 0.5);
}

.avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.avail-pill-success {
  background: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}

.avail-pill-danger {
  background: #fce8e6;
  color: #c5221f;
  border: 1px solid #fad2cf;
}

.avail-pill-warning {
  background: #fef7e0;
  color: #b06000;
  border: 1px solid #feefc3;
}

.matrix-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: white;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: center;
}

.matrix-table th {
  background: var(--color-primary-dark);
  color: white;
  padding: 10px 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.matrix-table td {
  padding: 12px;
  border: 1px solid var(--color-border);
}

.matrix-cell-free {
  background: #e6f4ea;
  color: #137333;
  font-weight: 700;
}

.matrix-cell-booked {
  background: #fce8e6;
  color: #c5221f;
  font-weight: 700;
}

/* ==========================================================================
   IMAGE UPLOADER & ADMIN RESPONSIVE DESIGN
   ========================================================================== */
.image-uploader-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fafafa;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.upload-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
}

.upload-tab-btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.upload-tab-btn:hover {
  color: var(--color-primary);
  background: var(--color-sand);
}

.upload-tab-btn.active {
  background: var(--color-primary);
  color: white;
}

.upload-dropzone {
  border: 2px dashed var(--color-gold);
  background: rgba(197, 160, 89, 0.06);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.upload-dropzone:hover, .upload-dropzone.dragover {
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--color-primary-dark);
}

.upload-preview-box {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-top: 6px;
  background: #333;
}

.upload-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(220, 53, 69, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  font-size: 1.2rem;
  line-height: 1;
}

.upload-remove-btn:hover {
  background: #dc3545;
}

.preset-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
  gap: 8px;
  max-height: 150px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: white;
}

.preset-img-thumb {
  width: 100%;
  height: 55px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.preset-img-thumb:hover, .preset-img-thumb.selected {
  border-color: var(--color-gold);
  transform: scale(1.04);
}

/* Mobile Topbar & Sidebar Responsive Styles for Admin Panel */
.admin-mobile-topbar {
  display: none;
  background-color: var(--color-primary-dark);
  padding: 12px 18px;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1100;
  width: 100%;
  box-shadow: var(--shadow-md);
}

.admin-mobile-toggle-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1150;
}

.admin-sidebar-overlay.active {
  display: block;
}

@media (max-width: 991px) {
  .admin-wrapper {
    flex-direction: column;
  }

  .admin-mobile-topbar {
    display: flex;
  }

  .admin-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 270px;
    height: 100vh;
    z-index: 1200;
    transition: left var(--transition-normal);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
  }

  .admin-sidebar.active {
    left: 0;
  }

  .admin-main {
    padding: 24px 16px;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .admin-header > button, .admin-header > a {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  #adminGalleryGrid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 14px !important;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-main {
    padding: 16px 12px;
  }

  #adminGalleryGrid {
    grid-template-columns: 1fr !important;
  }

  .modal-box {
    padding: 20px 14px;
    max-width: 95vw;
  }
}



