/* --- UNIFIED COLOR THEME --- */
:root {
  --primary-text: #222222;
  --secondary-text: #717171;
  --border-color: #ebebeb;
  /* A premium, modern luxury emerald/sage palette */
  --accent-color: #00473e;
  /* A soft version of the accent color for active backgrounds */
  --accent-bg: #f1f5f4;
  --accent-hover: #00332c;
  /* Modern shadow tokens for depth */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 35px rgba(0, 71, 62, 0.08);
  --shadow-lg: 0 25px 60px rgba(0, 71, 62, 0.12);
  /* Glassmorphism background */
  --glass-bg: rgba(255, 255, 255, 0.75);
}

/* Navbar breakpoint hardening for 992px - 1149px range */
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-nav .nav-link {
    margin-right: 1.25rem !important; /* Reduced from me-4 */
    font-size: 11px !important;
  }
  .navbar-brand {
    font-size: 1.2rem !important;
  }
  #nav-bar {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

/* Mobile Header Single-Row Scaling */
@media (max-width: 380px) {
  .navbar-brand {
    font-size: 1.05rem !important;
    max-width: 50% !important;
  }
  #nav-bar {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  .navbar-toggler {
    padding: 0.25rem 0.4rem !important;
  }
}

/* Reduced padding for header buttons on mobile */
@media (max-width: 575px) {
  #nav-bar .btn-pill {
    padding: 5px 12px !important;
    font-size: 11px !important;
  }
}

/* Navigation Visibility & Modes */
.fs-8 {
  font-size: 0.7rem !important;
}

/* Offcanvas Mobile Links (Always Readable) - Explicitly overriding navbar-dark white */
.offcanvas .navbar-nav .nav-link {
  padding: 12px 20px !important;
  border-bottom: 1px solid var(--border-color) !important;
  color: #222 !important; /* Force dark color for visibility on white background */
  text-align: left;
  width: 100%;
  font-weight: 500 !important;
  text-transform: capitalize !important;
  letter-spacing: 0.5px !important;
}
.offcanvas .navbar-nav .nav-link.active {
  background-color: var(--accent-bg);
  color: var(--accent-color) !important;
}

/* Global Transition for all interactive elements */

a,
button,
.card,
.form-control {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Update the price text to match the theme */
.price-night {
  font-weight: 700;
  color: var(--accent-color);
  font-size: 18px;
}

/* Unified Button Styling */
.btn-theme {
  background: var(--accent-color) !important;
  color: #fff !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  border: none !important;
  transition: all 0.3s ease !important;
}
.btn-theme:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 71, 62, 0.25);
}

.btn-white-theme {
  background: #fff !important;
  color: var(--accent-color) !important;
  border-radius: 30px !important;
  border: 1px solid var(--border-color) !important;
  transition: all 0.3s ease !important;
}
.btn-white-theme:hover {
  background: var(--accent-color) !important;
  color: #fff !important;
  border-color: var(--accent-color) !important;
}

.btn-theme-outline {
  background: transparent !important;
  border: 1px solid var(--accent-color) !important;
  color: var(--accent-color) !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}
.btn-theme-outline:hover {
  background: var(--accent-color) !important;
  color: #fff !important;
}

* {
  font-family: "Inter", sans-serif;
}

.h-font {
  font-family: "Playfair Display", serif;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.custom-bg {
  background-color: var(--accent-color);
  border: 1px solid var(--accent-color);
  color: #fff !important;
}

.custom-bg:hover {
  background-color: #7a603c;
  border-color: #7a603c;
  color: #fff !important;
}

.h-line {
  width: 150px;
  margin: 0 auto;
  height: 1.7px;
}

.custom-alert {
  position: fixed;
  top: 80px;
  right: 25px;
  z-index: 1111;
}

/* Brand specific styling */
.navbar-brand {
  letter-spacing: 2px;
  font-weight: 400 !important;
}

/* Nav Link overrides */
.navbar-nav .nav-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  color: #fff !important;
}

/* Transparent Navbar utility */
.transparent-navbar {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
  transition: all 0.4s ease;
}

.transparent-navbar.navbar-scrolled {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.transparent-navbar .navbar-brand {
  color: #fff !important;
}

/* Registration/Utility Buttons */
.btn-pill {
  border-radius: 50px !important;
  padding: 8px 24px !important;
  font-size: 13px !important;
  font-weight: 500;
}

/* Hero Section */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  pointer-events: none;
}
.hero-overlay h1 {
  font-size: 3.5rem;
  letter-spacing: 5px;
  font-weight: 500;
  margin-bottom: 10px;
}
.hero-overlay p {
  font-size: 1.1rem;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
}

/* Reservation Box */
.reservation-container {
  margin-top: -60px;
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 20px;
  padding: 35px 45px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}
.reservation-container h5 {
  text-align: center;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 25px !important;
  color: var(--primary-text);
}
/* ---------------------------------
   MODAL SPECIFIC INPUT STYLING
---------------------------------- */
.modal .form-control,
.modal .form-select {
  border-radius: 10px !important;
  border: 1.5px solid #e9ecef !important;
  font-size: 14px !important;
  padding: 8px 15px !important;
  background-color: #fcfdfe !important;
  transition: all 0.2s ease !important;
  color: var(--primary-text) !important;
}

.modal .form-control:focus,
.modal .form-select:focus {
  border-color: var(--accent-color) !important;
  background-color: #fff !important;
  box-shadow: 0 0 0 4px rgba(0, 71, 62, 0.1) !important;
  outline: none !important;
}

.modal .res-label {
  margin-bottom: 8px;
  color: var(--primary-text);
  opacity: 0.8;
}

/* ---------------------------------
   RESERVATION BOX (Homepage)
---------------------------------- */

/* Cards & Layout */
.room-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.room-card-text {
  font-size: 13px;
  color: var(--secondary-text);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Minimal Card */
.minimal-card {
  background: #fdfdfd;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s;
}
.minimal-card:hover {
  transform: translateY(-5px);
}
.minimal-card img {
  width: 40px;
  margin-bottom: 15px;
}
.minimal-card h6 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}
.minimal-card p {
  font-size: 12px;
  color: var(--secondary-text);
  line-height: 1.6;
}
.minimal-link {
  font-size: 12px;
  color: var(--primary-text);
  text-decoration: none;
  font-weight: 600;
}

/* Connect With Us Banner */
.connect-banner {
  background-image: url("../images/rooms/1.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 100px;
  padding: 24px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.connect-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}
.connect-banner-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

/* Venue Card */
.venue-card {
  display: flex;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.venue-card img {
  width: 150px;
  object-fit: cover;
}
.venue-card .content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.venue-card h6 {
  font-weight: 600;
  font-size: 16px;
}
.venue-card p {
  font-size: 12px;
  color: var(--secondary-text);
}

/* ---------------------------------
   SCROLLED NAVBAR STATES
---------------------------------- */
.navbar-scrolled {
  position: fixed !important;
  background: #ffffff !important; /* Forces solid white */
  background-image: none !important; /* Removes the linear-gradient */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  border-bottom: none;
}

.navbar-scrolled .nav-link,
.navbar-scrolled .navbar-brand {
  color: var(--accent-color) !important;
  transition: color 0.3s ease;
}

.navbar-scrolled .nav-link:hover,
.navbar-scrolled .nav-link.active {
  color: #000 !important;
}

.navbar-scrolled .btn-white-theme {
  background-color: transparent !important;
  color: var(--accent-color) !important;
  border: 1px solid var(--accent-color) !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.navbar-scrolled .btn-white-theme:hover {
  background-color: var(--accent-color) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
/* Styling for the active link */
.nav-link.active {
  color: var(
    --accent-color
  ) !important; /* Using your existing accent variable */
  font-weight: 700;
  border-bottom: 2px solid var(--accent-color);
}

/* Ensure the hover state matches the brand */
.nav-link:hover {
  color: var(--accent-color) !important;
}
/* ---------------------------------
   INNER PAGE HERO BANNER
---------------------------------- */
.inner-hero {
  position: relative;
  height: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 5rem;
}

.inner-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* 50% opacity mask */
  z-index: 1;
}

.inner-hero .container {
  position: relative;
  z-index: 2; /* keep text above overlay */
}

.inner-hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.inner-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.inner-hero .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: rgba(255, 255, 255, 0.7);
}

.inner-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.7);
}

.inner-hero .breadcrumb-item a {
  color: #fff;
  text-decoration: none;
}
.inner-hero .breadcrumb-item a:hover {
  text-decoration: underline;
}

/* watermark-section  */
.watermark-section {
  position: relative;
  background: #1c1c1c;
  padding: 80px 0 0px 0; /* Minimal bottom padding so cards sit near the edge */
  color: #fff;
  z-index: 10; /* Ensures the dropdown overlaps sections below */
  margin-bottom: 220px;
}

.watermark-text {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14vw;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.watermark-section .container {
  position: relative;
  z-index: 1;
}

/* --- THE CARD LOGIC --- */

/* 1. Wrapper holds the exact height of the default "arch only" state */
.card-wrapper {
  position: relative;
  height: 200px;
  width: 100%;
}

/* 2. The Card itself is absolute. It grows on hover. */
.arch-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px; /* Default height (just the arch) */
  border-radius: 200px 200px 0px 0px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #2a2a2a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
}

/* HOVER: Card expands downwards */
.arch-card:hover {
  height: 400px; /* Full height revealing the image */
  z-index: 100;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  border-radius: 200px 200px;
}

/* 3. Top Section (Always visible) */
.card-top {
  position: relative;
  height: 200px; /* Matches default card height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  flex-shrink: 0;
}

.card-top h5 {
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

/* Scoped Pill Button (Hidden by default) */
.arch-card .btn-pill {
  position: absolute;
  bottom: 6px; /* Sits perfectly between text and image */
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  color: var(--primary-text);
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  z-index: 10;

  /* Animation states */
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease;
}

/* Button reveal on hover */
.arch-card:hover .btn-pill {
  opacity: 1;
  transform: translateY(0);
}

.arch-card .btn-pill:hover {
  background: var(--border-color);
}

/* 4. Bottom Image Section (Hidden by default) */
.card-bottom {
  position: relative;
  height: 200px; /* The extra height added on hover */
  width: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Image reveal on hover */
.arch-card:hover .card-bottom {
  opacity: 1;
}

.arch-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.section-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.subtle-text {
  color: var(--secondary-text);
  font-size: 14px;
}

.feature-category {
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-color);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-item {
  background: var(--accent-bg);
  border-radius: 50px;
  padding: 8px 14px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}

.feature-item i {
  color: var(--accent-color);
}

.feature-item:hover {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

.feature-item:hover i {
  color: #fff;
}

.info-box {
  background: var(--accent-bg);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
}

.info-box:hover {
  background: var(--accent-color);
  color: #fff;
}

.info-box i {
  color: var(--accent-color);
}

.info-box:hover i {
  color: #fff;
}

.room-card {
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: var(--shadow-sm);
}

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

.room-img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.room-body {
  padding: 20px;
}

.room-title {
  font-size: 20px;
  font-weight: 600;
}

.room-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: var(--accent-bg);
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 12px;
}

.room-meta {
  font-size: 13px;
  color: var(--secondary-text);
  margin-top: 8px;
}

.room-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-color);
}

.room-per-night {
  font-size: 12px;
  color: var(--secondary-text);
}

.room-btn-outline {
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 8px;
  border-radius: 30px;
  text-decoration: none;
}

.room-btn-outline:hover {
  background: var(--accent-color);
  color: #fff;
}

.room-meta i {
  color: var(--accent-color);
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 0;
  transition: all 0.3s ease;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 12px;
}
.room-card:hover .carousel-control-prev,
.room-card:hover .carousel-control-next {
  opacity: 1;
}
.carousel-control-prev {
  left: 10px;
}

.carousel-control-next {
  right: 10px;
}

/* Skeleton Base */
.skeleton-card {
  animation: pulse 1.5s infinite;
}

.skeleton-img {
  height: 220px;
  background: var(--border-color);
}

.skeleton-line {
  height: 12px;
  background: var(--border-color);
  border-radius: 6px;
}

.skeleton-btn {
  height: 35px;
  background: var(--border-color);
  border-radius: 20px;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.img-wrapper {
  position: relative;
}

.urgency-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #d9534f;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.room-card {
  animation: fadeIn 0.4s ease;
}

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

.skeleton-card {
  position: relative;
  overflow: hidden;
  background: #f6f7f8;
}

.skeleton-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150px;
  height: 100%;
  width: 150px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  0% {
    left: -150px;
  }
  100% {
    left: 100%;
  }
}

/* --- MODERN HERO SECTION --- */
.inner-hero {
  height: 100vh; /* Covers the full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Creates a modern parallax scroll effect */
  position: relative;
  margin-top: 0; /* Ensures it hits the very top of the page */
}

.inner-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.6)
  );
}

/* --- DYNAMIC NAVBAR OVERRIDES --- */
#nav-bar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    padding 0.3s ease;
}

/* Class added via JS when scrolled */
.navbar-scrolled {
  background-color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* --- STICKY FILTER SIDEBAR --- */
.filter-sidebar {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Calculates height: viewport minus navbar height minus margins */
  height: calc(100vh - 120px);
  position: sticky;
  top: 100px; /* Sits just below the scrolled navbar */
}

.filter-content-scroll {
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin; /* Modern thin scrollbar */
}

.filter-footer {
  padding: 16px 20px;
  background: #fff;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.02);
  margin-top: auto; /* Pushes to the bottom */
}

/* =========================================
   UNIFIED BUTTON STYLES
========================================= */

/* Primary Theme Button (Replaces btn-black) */
.btn-theme {
  background-color: var(--accent-color) !important;
  color: #ffffff !important;
  border: 1px solid var(--accent-color) !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-theme:hover {
  background-color: #7a603c !important; /* Slightly darker rich shade */
  border-color: #7a603c !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 111, 71, 0.25);
}

/* Outline Theme Button (Replaces btn-outline-black) */
.btn-outline-theme {
  background-color: transparent !important;
  color: var(--accent-color) !important;
  border: 1px solid var(--accent-color) !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-theme:hover {
  background-color: var(--accent-color) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(139, 111, 71, 0.2);
}

/* White Theme Button - Great for dark backgrounds/heroes (Replaces btn-white) */
.btn-white-theme {
  background-color: #ffffff !important;
  color: var(--accent-color) !important;
  border: 1px solid #ffffff !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-white-theme:hover {
  background-color: var(
    --accent-bg
  ) !important; /* Very soft theme background */
  color: var(--accent-color) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled .btn-white-theme {
  background-color: var(--accent-color) !important;
  color: #ffffff !important;
  border-color: var(--accent-color) !important;
}

.navbar-scrolled .btn-white-theme:hover {
  background-color: var(--accent-color) !important;
  color: #fff !important;
  box-shadow: var(--shadow-md);
}

.btn-outline-dark-theme {
  background-color: transparent !important;
  color: var(--accent-color) !important;
  border: 1px solid var(--accent-color) !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-dark-theme:hover {
  background-color: var(--accent-color) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 34, 34, 0.15);
}

.rooms-swiper {
  overflow: hidden !important;
  width: 100%;
}

.rooms-swiper .swiper-wrapper {
  display: flex;
}

.rooms-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}
.rooms-swiper .swiper-pagination-bullet {
  width: 25px;
  height: 6px;
  border-radius: 4px;
  background-color: #e0e0e0;
  opacity: 1;
  transition: 0.3s;
  margin: 0 4px !important;
}
.rooms-swiper .swiper-pagination-bullet-active {
  background-color: var(--accent-color); /* Updated to match your theme */
}

.room-card-btn {
  border-radius: 0 !important; /* Keeps the bottom edges flush with the card */
  padding: 16px 0;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.room-card-btn:focus,
.room-card-btn:active {
  outline: none;
  box-shadow: none;
}
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: -12px !important;
}
/* Swiper Container Fix (Prevents Horizontal Scroll) */
.dining-swiper {
  width: 100%;
  overflow: hidden !important;
  padding: 15px 5px 30px 5px; /* Adds padding so hover shadows don't get cut off */
}

/* Dining Card Styles */
.dining-card-outer {
  background-color: #f7f7f7;
  border-radius: 20px;
  padding: 12px;
  height: 100%;
  transition: all 0.3s ease;
}

.dining-card-inner {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 35px 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s ease;
}

/* Elevate card slightly on hover */
.dining-card-outer:hover .dining-card-inner {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border-color: #e8e8e8;
}

.dining-icon-circle {
  width: 65px;
  height: 65px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
  border: 1px solid #f8f8f8;
  transition: transform 0.3s ease;
}

.dining-card-outer:hover .dining-icon-circle {
  transform: scale(1.05);
}

.text-truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

/* HOVER EFFECT: Hidden Button Wrapper */
.dining-btn-wrapper {
  width: 100%;
  margin-top: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px); /* Starts slightly lower */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Smooth bouncy slide up */
  height: 0; /* Prevents it from taking up space when hidden */
}

/* Reveal Button on Card Hover */
.dining-card-outer:hover .dining-btn-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  height: auto;
  margin-top: 20px;
}

/* The actual button inside the wrapper */
.dining-btn {
  background-color: #ffffff;
  color: #000;
  font-weight: 500;
  font-size: 14px;
  padding: 12px 0;
  width: 100%;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--accent-color, #000);
  transition: all 0.3s ease;
}

.dining-btn:hover {
  background-color: var(--accent-color, #000);
  color: #ffffff !important;
}

/* Custom Swiper Pagination for Dining */
.dining-swiper .swiper-pagination-bullet {
  width: 25px;
  height: 6px;
  border-radius: 4px;
  background-color: #e0e0e0;
  opacity: 1;
  transition: 0.3s;
  margin: 0 4px !important;
}
.dining-swiper .swiper-pagination-bullet-active {
  background-color: var(--accent-color, #000);
}

/* Testimonial Section Styles */
.testimonials-swiper {
  width: 100%;
  overflow: hidden !important;
  /* Added 20px left/right padding so cards don't touch the edges */
  padding: 20px 20px 50px 20px;
}

.testimonial-card {
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  border-color: #e8e8e8;
}

.profile-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.rating-stars i {
  color: #ffd700;
  font-size: 14px;
  margin-right: 2px;
}

/* Custom Pagination Dashes */
.testimonials-swiper .swiper-pagination-bullet {
  width: 25px;
  height: 6px;
  border-radius: 4px;
  background-color: #e0e0e0;
  opacity: 1;
  transition: 0.3s;
  margin: 0 4px !important;
}
.testimonials-swiper .swiper-pagination-bullet-active {
  background-color: var(--accent-color, #000);
}
.h-line {
  width: 150px;
  margin: 0 auto;
  height: 2px;
  background-color: var(--accent-color, #000);
}

/* Reusing the exact Card Styles from your Index page */
.dining-card-outer {
  background-color: #f7f7f7;
  border-radius: 20px;
  padding: 12px;
  height: 100%;
  transition: all 0.3s ease;
}

.dining-card-inner {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 40px 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s ease;
}

.dining-card-outer:hover .dining-card-inner {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border-color: #e8e8e8;
}

.dining-icon-circle {
  width: 70px;
  height: 70px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  margin-bottom: 25px;
  border: 1px solid #f8f8f8;
  transition: transform 0.3s ease;
}

.dining-card-outer:hover .dining-icon-circle {
  transform: scale(1.05);
}

/* Button styles - Reveal on Hover */
.dining-btn-wrapper {
  width: 100%;
  margin-top: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 0;
}

.dining-card-outer:hover .dining-btn-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  height: auto;
  margin-top: 25px;
}

.dining-btn {
  background-color: #ffffff;
  color: #000;
  font-weight: 500;
  font-size: 14px;
  padding: 12px 0;
  width: 100%;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--accent-color, #000);
  transition: all 0.3s ease;
}

.dining-btn:hover {
  background-color: var(--accent-color, #000);
  color: #ffffff !important;
}

/* Custom Flatpickr Boutique Theme */
.flatpickr-calendar {
  background: #fff;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 12px;
  padding: 10px;
  font-family: "Poppins", sans-serif; /* Use your h-font if preferred */
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
  background: #8b6f47 !important; /* Your Accent Color */
  border-color: #8b6f47 !important;
  color: #fff !important;
}

.flatpickr-day.inRange {
  background: #f6f3eb !important; /* Your Accent BG */
  box-shadow:
    -5px 0 0 #f6f3eb,
    5px 0 0 #f6f3eb !important;
  color: #8b6f47 !important;
}

.flatpickr-months .flatpickr-month {
  color: #222;
  fill: #222;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  font-weight: 700;
}

.high-shadow {
  /* Subtle border + Multi-layered shadow for depth */
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 30px 60px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(0, 0, 0, 0.03) !important;
  transition: all 0.3s ease;
}

/* Optional: Slight lift effect when interacting with form fields */
.high-shadow:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.border-dashed {
  border: 1px dashed var(--accent-color) !important;
}

.is-invalid-custom {
  border-bottom: 1.5px solid #dc3545 !important;
}

.is-valid-custom {
  border-bottom: 1.5px solid #198754 !important;
}

.error-text {
  font-size: 10px;
  color: #dc3545;
  margin-top: 4px;
  display: none;
  font-weight: 600;
}

/* Force the Hamburger Icon to be visible */
.navbar-toggler {
  border: none !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}

/* When scrolled, the icon should turn dark to match the white background */
.navbar-scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}

/* Mobile Menu Background (Prevent Transparency issues when open) */
@media screen and (max-width: 991px) {
  .navbar-collapse {
    background: #1a1a1a; /* Dark background for mobile dropdown */
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  /* If navbar is scrolled (white), make the mobile menu white too */
  .navbar-scrolled .navbar-collapse {
    background: #ffffff;
    border: 1px solid #eee;
  }

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

/* Desktop Hover Logic (Keep your existing ones, but wrap them or override here) */
@media screen and (min-width: 992px) {
  .card-bottom {
    height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
  }
  .card-wrapper:hover .card-bottom {
    height: 250px; /* Adjust to your image height */
  }
}

/* Mobile Fix: Show everything by default */
@media screen and (max-width: 991px) {
  .watermark-section h2 {
    font-size: 2rem !important; /* Scale down heading for mobile */
  }

  .card-wrapper {
    margin-bottom: 30px;
  }

  .arch-card {
    background: rgba(
      255,
      255,
      255,
      0.05
    ); /* Subtle background to define the card */
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .card-top {
    padding: 20px;
    order: 1; /* Text on top */
  }

  .card-bottom {
    height: 200px !important; /* Force image visible */
    order: 2; /* Image on bottom */
    opacity: 1 !important;
    display: block !important;
  }

  .card-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Optional: Make the "See Detail" button more prominent on mobile */
  .btn-outline-theme {
    background: #fff;
    color: #000;
  }
}

/* --- UNIVERSAL PRICING STYLES --- */
.price-wrap {
  display: flex;
  flex-direction: column;
}
.price-original {
  font-size: 0.85rem;
  color: #94a3b8 !important; /* Muted Slate */
  text-decoration: line-through;
  font-weight: 500;
  opacity: 0.7;
}
.price-discounted {
  font-size: 1.4rem;
  font-weight: 800;
  color: #b89564 !important; /* Antique Gold */
  line-height: 1.2;
}
.price-standard {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-color);
}
.badge-discount {
  background: var(--accent-color) !important;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 71, 62, 0.15);
  z-index: 5;
}

.badge-seasonal {
  background: #b89564 !important;
  color: #fff !important;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(184, 149, 100, 0.15);
}

/* Premium Savings Highlight (Used on single room & confirm booking) */
.savings-summary-premium {
  background: #fcfbf8 !important;
  border: 1px solid #e9dfce !important;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(184, 149, 100, 0.05);
  transition: all 0.3s ease;
}

.savings-summary-premium:hover {
  box-shadow: 0 15px 40px rgba(184, 149, 100, 0.08);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .savings-summary-premium {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .savings-summary-premium .border-start {
    border-left: none !important;
    padding-left: 0 !important;
    border-top: 1px solid #e9dfce;
    padding-top: 15px;
    width: 100%;
  }
}

/* --- INTERACTIVE CART UI --- */
.cart-item-row {
  transition: background 0.3s ease;
}

.cart-item-row:hover {
  background-color: var(--accent-bg);
  border-radius: 8px;
  margin-left: -5px;
  margin-right: -5px;
  padding-left: 5px;
  padding-right: 5px;
}

.qty-controls {
  border: 1px solid var(--border-color);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
}

.qty-controls button {
  color: var(--primary-text);
  transition: all 0.2s ease;
}

.qty-controls button:hover {
  background-color: var(--accent-color) !important;
  color: white !important;
}

.cart-item-row .text-accent {
  color: var(--accent-color) !important;
  letter-spacing: -0.5px;
}

#cart_count_badge {
  border: 2px solid #fff;
  font-weight: 700;
}

.offcanvas-footer .btn-dark {
  letter-spacing: 1.5px;
}

/* --- GLOBAL ROOM CARD UI --- */
.room-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 16px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 71, 62, 0.1);
}
.room-img-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 20px;
}
.room-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.room-card:hover .room-img-wrapper img {
  transform: scale(1.08);
}
.badge-rating {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--glass-bg);
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  z-index: 15;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
}
.btn-heart {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--glass-bg);
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--primary-text);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  z-index: 15;
}
.btn-heart:hover {
  transform: scale(1.15);
  color: #ff4757;
  background: #fff;
  box-shadow: 0 5px 15px rgba(255, 71, 87, 0.2);
}
.btn-heart.active i {
  color: #ff4757;
}
.badge-discount {
  background-color: var(--accent-color);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.badge-seasonal-premium {
  background-color: #b89564;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.btn-theme-outline {
  background: transparent;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  border-radius: 8px;
  font-weight: 600;
  transition: 0.2s;
}
.btn-theme-outline:hover {
  background: var(--accent-bg);
  color: var(--accent-color);
}
.room-card-btn {
  border-radius: 0 !important;
  padding: 12px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}
.btn-outline-theme {
  color: var(--accent-color) !important;
  background: transparent !important;
  border: 1px solid var(--accent-color) !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}
.btn-outline-theme:hover {
  background: var(--accent-color) !important;
  color: #fff !important;
}
.btn-theme {
  background: var(--accent-color) !important;
  color: #fff !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  border: none !important;
  transition: all 0.3s ease !important;
}
.btn-theme:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 71, 62, 0.25);
}
/* Room Details typography enhancement */
.room-card .room-title {
  font-family: "Playfair Display", serif !important;
  font-size: 20px !important;
  margin-bottom: 12px !important;
  color: #1a1a1a !important;
}
.svg-icon-inline {
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: 0.8;
}

/* --- CENTRALIZED FILTER SIDEBAR --- */
.filter-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.filter-content {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
}
.filter-footer {
  padding: 16px 24px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  z-index: 10;
}
.filter-section {
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}
.filter-section:first-child {
  padding-top: 0;
}
.filter-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.filter-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary-text);
  font-family: "Playfair Display", serif;
}

.btn-floating-filter {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1050;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-floating-filter:hover {
  transform: scale(1.1) rotate(5deg);
  background: var(--accent-hover);
}

/* --- ROOM GRID --- */
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
  width: 100%;
}

@media screen and (max-width: 1200px) {
  .room-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media screen and (max-width: 768px) {
  .room-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media screen and (max-width: 576px) {
  .room-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --- CENTRALIZED PAGINATION (PILL) --- */
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  margin-top: 40px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}
.page-numbers button {
  border: 1px solid transparent;
  background: transparent;
  padding: 6px 16px;
  border-radius: 30px;
  margin: 0 2px;
  color: var(--secondary-text);
  font-weight: 500;
  transition: 0.3s;
}
.page-numbers button:hover {
  background: var(--accent-bg);
  color: var(--accent-color);
}
.page-numbers button.active {
  background: var(--accent-color);
  color: #fff;
  font-weight: 600;
}

/* --- CENTRALIZED GALLERY UI --- */
.gallery-card {
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: none !important;
}
.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.gallery-card img {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.gallery-card:hover img {
  transform: scale(1.1);
}

/* --- CUSTOM FORM CONTROLS --- */
.custom-checkbox .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
.pill-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill-radio {
  display: none;
}
.pill-label {
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 6px 16px;
  cursor: pointer;
  color: var(--secondary-text);
  transition: 0.2s;
  font-size: 14px;
}
.pill-radio:checked + .pill-label {
  border-color: var(--accent-color);
  background-color: var(--accent-bg);
  color: var(--accent-color);
  font-weight: 600;
}

.reservation-container .form-control,
.reservation-container .form-select {
  border-radius: 10px !important;
  border: 1.5px solid #e9ecef !important;
  font-size: 14px !important;
  padding: 8px 15px !important;
  background-color: #fcfdfe !important;
  transition: all 0.2s ease !important;
  color: var(--primary-text) !important;
}

.reservation-container .form-control:focus,
.reservation-container .form-select:focus {
  border-color: var(--accent-color) !important;
  background-color: #fff !important;
  box-shadow: 0 0 0 4px rgba(0, 71, 62, 0.1) !important;
  outline: none !important;
}

.reservation-container .res-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-color);
  margin-bottom: 10px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 6px;
}

.reservation-container .res-label i {
  font-size: 14px;
}

.reservation-container .res-input {
  border-radius: 12px !important;
  border: 1.5px solid #eaeaea !important;
  background-color: #fbfbfb !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.reservation-container .res-input:focus {
  border-color: var(--accent-color) !important;
  background-color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 71, 62, 0.08) !important;
  transform: translateY(-1px);
}

/* --- THEME-MATCHED WHATSAPP WIDGET --- */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: var(--accent-color) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 50px !important;
  z-index: 1000;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: var(--shadow-lg) !important;
}

.whatsapp-widget:hover {
  background-color: var(--accent-hover) !important;
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 15px 40px rgba(0, 71, 62, 0.3) !important;
  color: #fff !important;
}

.whatsapp-widget i {
  font-size: 1.2rem;
}

/* Specific iPad & Tablet Refinement (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .whatsapp-widget {
    padding: 12px 24px !important;
    bottom: 25px;
    left: 25px;
  }
  .whatsapp-widget span {
    display: inline-block !important; /* Keep text visible on iPads */
  }
}

/* Small Mobile Refinement (<767px) */
@media (max-width: 767px) {
  .whatsapp-widget {
    border-radius: 50% !important;
    bottom: 20px;
    left: 20px;
    aspect-ratio: 1/1;
    width: 50px;
    height: 50px;
  }
  .whatsapp-widget span {
    display: none !important;
  }
}

/* --- WHATSAPP CHAT MINI WINDOW --- */
.whatsapp-chat-container {
  position: fixed;
  bottom: 0px;
  left: 0px;
  z-index: 1001; /* Higher than navbar/whatsapp button */
  pointer-events: none; /* Let clicks through back of container */
  padding: 30px;
}

.whatsapp-chat-container .whatsapp-widget,
.whatsapp-chat-container .whatsapp-chat-window {
  pointer-events: auto; /* Active elements within container */
}

.whatsapp-chat-window {
  width: 320px;
  bottom: 82px;
  left: 30px;
  position: fixed;
  background-color: #f0f2f5;
  border-radius: 12px;
  overflow: hidden;
  z-index: 1040;
}

.chat-header {
  background-color: var(--accent-color) !important;
  color: white;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header h6 {
  font-size: 15px;
  line-height: 1.2;
}

.chat-body {
  height: 300px;
  overflow-y: auto;
  background-image: url("https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png"); /* Pattern bg */
  background-color: #efe7dd;
  background-blend-mode: overlay;
}

.chat-bubble {
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 85%;
  font-size: 13.5px;
  background-color: white;
  color: #333;
  line-height: 1.4;
}

.chat-bubble.left {
  border-top-left-radius: 0;
}

.chat-footer .input-group input {
  font-size: 14px;
  background-color: transparent;
}

.chat-footer .text-accent {
  color: var(--accent-color) !important;
  transition: transform 0.2s;
}

.chat-footer .text-accent:hover {
  transform: scale(1.1);
}

/* Animations */
#whatsapp-chat-window.d-none {
  display: none !important;
}

#whatsapp-chat-window:not(.d-none) {
  animation: waSlideUp 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Mobile Adjustments for Chat Window */
@media (max-width: 575px) {
  .whatsapp-chat-window {
    width: 280px;
    bottom: 80px;
    left: 20px;
  }
}

/* --- DECISION TREE BOT STYLES --- */
.chat-options {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 15px;
}

.btn-wa-option {
  background-color: white;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 11.5px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-weight: 500;
  white-space: nowrap;
}

.btn-wa-option:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateX(5px);
}

.chat-bubble.right {
  background-color: var(--accent-color);
  color: white;
  align-self: flex-end;
  border-top-right-radius: 0;
  margin-left: auto;
}

.chat-bubble.bot-answer {
  background-color: white;
  border-left: 4px solid var(--accent-color);
}

.typing-loader {
  display: flex;
  gap: 4px;
  padding: 10px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: #999;
  border-radius: 50%;
  animation: typingBounce 1s infinite alternate;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-5px);
  }
}

.chat-body-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
