/*==============================================================================
# Stays Custom Premium Stylesheet (stays.css)
# Designed for SLWoRLD Stays Module
==============================================================================*/

:root {
  /* Fonts */
  --default-font: "Roboto", system-ui, -apple-system, sans-serif;
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;

  /* Premium Brand Colors */
  --bg-color: #f7fafb;
  --text-color: #1a2f32;
  --heading-color: #0d282e;
  --accent-color: #ff8c00; /* Rich Gold/Amber */
  --accent-rgb: 255, 140, 0;
  --primary-color: #008cad; /* Teal/Cyan */
  --primary-rgb: 0, 140, 173;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  
  /* Glassmorphism & Borders */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.4);
  --card-border: 1px solid rgba(0, 140, 173, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(6, 49, 74, 0.06);
  --shadow-lg: 0 20px 45px rgba(6, 49, 74, 0.12);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark theme helper variables for specific sections */
.dark-background {
  --bg-color: #031013;
  --text-color: rgba(255, 255, 255, 0.85);
  --heading-color: #ffffff;
  --surface-color: #0c2024;
  --glass-bg: rgba(12, 32, 36, 0.7);
  --glass-border: rgba(255, 255, 255, 0.06);
  --card-border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Global Reset & Base */
body {
  color: var(--text-color);
  background-color: var(--bg-color);
  font-family: var(--default-font);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

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

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

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 700;
  margin-top: 0;
}

/*==============================================================================
# Header & Navigation (Replicated & Enhanced from main.css)
==============================================================================*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(3, 16, 19, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  transition: var(--transition-smooth);
  z-index: 997;
}

.scrolled .header {
  padding: 12px 0;
  background: rgba(3, 16, 19, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

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

.header .logo h1 {
  font-size: 26px;
  margin: 0;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #fff 40%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }
  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
  }
  .navmenu a {
    color: rgba(255, 255, 255, 0.75);
    padding: 10px 18px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 500;
    border-radius: 30px;
    transition: var(--transition-smooth);
  }
  .navmenu a:hover,
  .navmenu .active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
  }
  .navmenu .active {
    background: rgba(255, 140, 0, 0.15) !important;
    color: var(--accent-color) !important;
  }
}

/* Navmenu - Mobile toggler */
.mobile-nav-toggle {
  display: none;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  z-index: 998;
  transition: var(--transition-smooth);
}

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navmenu {
    display: none;
  }
}

/*==============================================================================
# Page Title Header
==============================================================================*/
.page-title {
  position: relative;
  padding: 160px 0 100px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 16, 19, 0.8) 0%, rgba(3, 16, 19, 0.4) 60%, rgba(247, 250, 251, 1) 100%);
  z-index: 1;
}

/* Dark mode adjust for background bleed */
.dark-theme-bleed .page-title::before {
  background: linear-gradient(to bottom, rgba(3, 16, 19, 0.8) 0%, rgba(3, 16, 19, 0.5) 60%, #031013 100%);
}

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

.page-title h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
}

.page-title p {
  font-size: 18px;
  max-width: 600px;
  margin: 15px auto 0 auto;
  opacity: 0.9;
  line-height: 1.6;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 20px auto 0 auto;
  font-size: 14px;
  font-weight: 500;
}

.breadcrumbs li + li::before {
  content: "/";
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumbs .current {
  color: #fff;
}

/*==============================================================================
# Premium Filter Design (Tabs-Based)
==============================================================================*/
.stays-filter-container {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: var(--card-border);
  margin-top: -50px;
  margin-bottom: 50px;
  position: relative;
  z-index: 10;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (min-width: 992px) {
  .filter-row {
    flex-wrap: nowrap;
    gap: 16px;
  }
  .stay-tabs {
    flex-wrap: nowrap;
    gap: 6px;
  }
  .stay-tab-btn {
    padding: 8px 15px;
    font-size: 13px;
  }
  .stays-search-box {
    flex: 0 1 250px;
    min-width: 220px;
  }
  .stays-search-box input {
    padding: 8px 15px 8px 38px;
    font-size: 13px;
  }
  .stays-search-box i {
    left: 15px;
    font-size: 14px;
  }
}

/* Tabs */
.stay-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stay-tab-btn {
  background: transparent;
  border: 1px solid rgba(0, 140, 173, 0.15);
  color: var(--text-color);
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.stay-tab-btn i {
  font-size: 16px;
}

.stay-tab-btn:hover {
  background: rgba(0, 140, 173, 0.05);
  color: var(--primary-color);
  transform: translateY(-1px);
}

.stay-tab-btn.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, #007692 100%);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 140, 173, 0.25);
}

/* Quick Search input */
.stays-search-box {
  position: relative;
  min-width: 280px;
  max-width: 100%;
}

.stays-search-box input {
  width: 100%;
  padding: 10px 20px 10px 48px;
  border-radius: 50px;
  border: 2px solid rgba(0, 140, 173, 0.35);
  outline: none;
  font-size: 14px;
  color: var(--text-color);
  transition: var(--transition-smooth);
  background: #ffffff;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stays-search-box input:focus {
  border-color: var(--primary-color);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 140, 173, 0.15), inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.stays-search-box i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 16px;
  pointer-events: none;
}

/*==============================================================================
# Stays Grid & Elegant Cards
==============================================================================*/
.stays-grid-container {
  transition: var(--transition-smooth);
}

.stay-card-wrapper {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stay-card-wrapper.fade-out {
  opacity: 0;
  transform: scale(0.92) translateY(15px);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.stay-card-wrapper.fade-in {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.tour-card {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: var(--card-border);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 140, 0, 0.25);
}

.tour-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Tag Badge for Stay Type */
.stay-type-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.stay-type-badge.hotel {
  background: linear-gradient(135deg, #008cad 0%, #005f77 100%);
}

.stay-type-badge.apartment {
  background: linear-gradient(135deg, #9b59b6 0%, #7d3c98 100%);
}

.stay-type-badge.home {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.stay-type-badge.restaurant {
  background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

/* Rating Star overlay */
.stay-stars-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  background: rgba(3, 16, 19, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  color: #ffc107;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 3;
}

/* Location display overlay */
.tour-price {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(3, 16, 19, 0.85) 0%, rgba(3, 16, 19, 0) 100%);
  padding: 25px 20px 15px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

/* Content */
.tour-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tour-content h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--heading-color);
  transition: var(--transition-smooth);
}

.tour-card:hover .tour-content h4 {
  color: var(--primary-color);
}

.tour-content p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(26, 47, 50, 0.75);
  margin-bottom: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tour-details {
  border-top: 1px solid rgba(0, 140, 173, 0.08);
  padding-top: 15px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(26, 47, 50, 0.6);
  font-weight: 500;
}

.tour-details span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tour-details i {
  color: var(--primary-color);
  font-size: 15px;
}

/* Button */
.btn-view-stay {
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: 30px;
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 14px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 6px rgba(0, 140, 173, 0.05);
}

.btn-view-stay:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, #007692 100%);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 140, 173, 0.2);
  transform: translateY(-1px);
}

/*==============================================================================
# Special Deals Banner
==============================================================================*/
.special-offers {
  margin-top: 60px;
}

.section-subtitle {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 30px;
  position: relative;
  padding-left: 15px;
  color: var(--heading-color);
}

.section-subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 5px;
  background: var(--accent-color);
  border-radius: 10px;
}

.offer-banner {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: var(--card-border);
  display: flex;
  min-height: 250px;
  transition: var(--transition-smooth);
}

.offer-banner:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.offer-content {
  padding: 30px;
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.discount-badge {
  background: var(--accent-color);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(255, 140, 0, 0.25);
}

.offer-content h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

.offer-content p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(26, 47, 50, 0.7);
  margin-bottom: 15px;
}

.urgency {
  font-size: 12px;
  font-weight: 700;
  color: #e74c3c;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-color) 0%, #e07b00 100%);
  color: #fff;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.25);
  transition: var(--transition-smooth);
}

.btn-accent:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.offer-image {
  flex: 0.8;
  position: relative;
  min-height: 100%;
}

.offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .offer-banner {
    flex-direction: column-reverse;
  }
  .offer-image {
    height: 200px;
  }
}

/*==============================================================================
# Call to Action (CTA) Section
==============================================================================*/
.cta-section {
  background: linear-gradient(135deg, #051d22 0%, #0d3840 100%);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  color: #fff;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 50px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-section h3 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 30px auto;
  opacity: 0.85;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary-cta {
  background: linear-gradient(135deg, var(--accent-color) 0%, #e07b00 100%);
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.25);
  transition: var(--transition-smooth);
}

.btn-primary-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.btn-secondary-cta {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  transition: var(--transition-smooth);
}

.btn-secondary-cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/*==============================================================================
# Footer (Replicated & Cleaned)
==============================================================================*/


.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: var(--transition-smooth);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.scroll-top i {
  font-size: 24px;
}

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

.scroll-top:hover {
  background: #e07b00;
  color: #fff;
  transform: scale(1.1);
}

/*==============================================================================
# Stays Detail Page Custom Override Style rules
==============================================================================*/
.hotel-details {
  background: #f7fafb;
}

.hotel-description h2, 
.hotel-amenities h3, 
.gallery-section h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--heading-color);
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 25px;
}

.hotel-description h2::after, 
.hotel-amenities h3::after, 
.gallery-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.hotel-amenities .bi-check-circle-fill {
  color: var(--primary-color) !important;
}

/* Sidebar Info Card */
.hotel-details .card {
  background: #fff;
  border-radius: var(--radius-md) !important;
  border: var(--card-border) !important;
  box-shadow: var(--shadow-md) !important;
}

.hotel-details .card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--heading-color);
}

.hotel-details h5 i {
  margin-right: 8px;
  font-size: 16px;
}

.hotel-details .btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #007692 100%);
  border: none;
  font-weight: 600;
  padding: 12px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 140, 173, 0.25);
  transition: var(--transition-smooth);
}

.hotel-details .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 140, 173, 0.4);
}

.hotel-details .btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
  padding: 10px;
  border-radius: 30px;
  background: transparent;
  transition: var(--transition-smooth);
}

.hotel-details .btn-outline-primary:hover {
  background: rgba(0, 140, 173, 0.05);
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/*==============================================================================
# Mobile Navigation Overlay (For JS Menu Toggle)
==============================================================================*/
.mobile-nav-active {
  overflow: hidden;
}

/* Override header containing block when mobile nav is open */
.mobile-nav-active .header {
  position: static !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
}

@media (max-width: 1199px) {
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed; /* Use fixed so it stays relative to the viewport */
    top: 18px;
    right: 15px;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    display: flex !important;
    position: fixed;
    inset: 0;
    background: rgba(3, 16, 19, 0.97);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9997;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease forwards;
  }

  .mobile-nav-active .navmenu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0;
    list-style: none;
    width: 100%;
  }

  .mobile-nav-active .navmenu a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 22px;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    display: block;
    text-align: center;
  }

  .mobile-nav-active .navmenu a:hover,
  .mobile-nav-active .navmenu .active {
    color: #fff;
    background: rgba(255, 140, 0, 0.15);
    border-color: rgba(255, 140, 0, 0.4);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.1);
    transform: scale(1.05);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile Responsiveness Overrides */
@media (max-width: 768px) {
  .page-title {
    padding: 120px 0 60px 0;
  }
  .page-title h1 {
    font-size: 36px;
    letter-spacing: -0.5px;
  }
  .page-title p {
    font-size: 15px;
    line-height: 1.5;
  }
  .stays-filter-container {
    padding: 16px;
    margin-top: -35px;
    margin-bottom: 35px;
    border-radius: var(--radius-md);
  }
  .filter-row {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .stay-tabs {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    justify-content: flex-start;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .stay-tabs::-webkit-scrollbar {
    display: none;
  }
  .stay-tab-btn {
    flex: 0 0 auto;
    justify-content: center;
    padding: 8px 16px;
    font-size: 13px;
  }
  .stays-search-box {
    width: 100%;
    min-width: 100%;
  }
  .stays-search-box input {
    padding: 12px 20px 12px 42px;
  }
  .section-subtitle {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .tour-card {
    margin-bottom: 20px;
  }
  .offer-banner {
    flex-direction: column-reverse;
  }
  .offer-image {
    height: 180px;
  }
  .offer-content {
    padding: 20px;
  }
  .cta-section {
    padding: 35px 20px;
    margin-top: 40px;
  }
  .cta-section h3 {
    font-size: 26px;
  }
  .cta-section p {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

/*==============================================================================
# Photo Gallery & Tabs (Replicated & Adaptive from destination_details.php)
==============================================================================*/
/* Gallery Premium Design */
.gallery-item-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  aspect-ratio: 4 / 3;
  margin-bottom: 30px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-item-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 29, 34, 0.85) 0%, rgba(5, 29, 34, 0.2) 60%, rgba(5, 29, 34, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

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

.gallery-info p {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.gallery-info h5 {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0;
}

/* Responsive tweaks for destination details hero & gallery */
@media (max-width: 768px) {
  .gallery-item-wrapper {
    margin-bottom: 15px !important;
    border-radius: 10px !important;
  }
  .gallery-info p {
    font-size: 0.65rem !important;
  }
  .gallery-info h5 {
    font-size: 0.8rem !important;
  }
  .gallery-overlay {
    padding: 10px !important;
  }
}

/* Gallery Asymmetric Bento Grid */
.gallery-grid-layout {
  height: 480px;
  margin-bottom: 40px;
}

.gallery-grid-layout .col-md-8,
.gallery-grid-layout .col-md-4 {
  height: 100%;
}

.gallery-grid-layout .gallery-item-wrapper {
  margin-bottom: 0 !important;
  aspect-ratio: auto !important;
  height: 100%;
  border-radius: 12px;
}

.gallery-grid-layout .sub-featured {
  height: calc(50% - 4px);
}

.photos-count-badge:hover {
  background: var(--accent-color) !important;
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .gallery-grid-layout {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .gallery-grid-layout .col-md-8 {
    height: 300px !important;
    padding: 0 !important;
  }
  .gallery-grid-layout .col-md-4 {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 0 !important;
  }
  .gallery-grid-layout .sub-featured {
    height: 180px !important;
  }
}

/* Refined Details Page Tabs */
.details-nav-tabs {
  border-bottom: 2px solid #eee !important;
}
.details-nav-tabs .nav-link {
  background: none !important;
  border: none !important;
  color: #777 !important;
  font-weight: 600 !important;
  padding: 12px 0 !important;
  font-size: 1.05rem !important;
  position: relative !important;
  outline: none !important;
  transition: color 0.25s ease !important;
}
.details-nav-tabs .nav-link:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2.5px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.details-nav-tabs .nav-link:hover {
  color: var(--primary-color) !important;
}
.details-nav-tabs .nav-link.active {
  color: var(--primary-color) !important;
}
.details-nav-tabs .nav-link.active:after {
  transform: scaleX(1);
}

.read-more-toggle {
  transition: color 0.2s ease;
}
.read-more-toggle:hover {
  color: var(--accent-color) !important;
}

/* Mobile Gallery Carousel Styling */
.mobile-gallery-carousel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 280px;
  margin-bottom: 25px;
}

.mobile-gallery-carousel .carousel-inner,
.mobile-gallery-carousel .carousel-item {
  height: 100%;
}

.mobile-gallery-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Custom Circle Navigation Buttons */
.mobile-gallery-carousel .carousel-btn-prev,
.mobile-gallery-carousel .carousel-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--heading-color);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.mobile-gallery-carousel .carousel-btn-prev {
  left: 15px;
}

.mobile-gallery-carousel .carousel-btn-next {
  right: 15px;
}

.mobile-gallery-carousel .carousel-btn-prev:hover,
.mobile-gallery-carousel .carousel-btn-next:hover,
.mobile-gallery-carousel .carousel-btn-prev:focus,
.mobile-gallery-carousel .carousel-btn-next:focus {
  background-color: var(--accent-color);
  transform: translateY(-50%) scale(1.05);
  outline: none;
}

.mobile-gallery-carousel .carousel-btn-prev i,
.mobile-gallery-carousel .carousel-btn-next i {
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  display: inline-block;
}

/* Custom Photos Count Badge */
.mobile-gallery-carousel .mobile-photos-count-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: var(--heading-color);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.mobile-gallery-carousel .mobile-photos-count-badge:hover {
  background-color: var(--accent-color);
}

/* TripAdvisor-style Header Section for Stays Detail */
.destination-header-section {
  background: var(--surface-color);
  padding: 120px 0 25px 0;
  border-bottom: 1px solid rgba(0, 140, 173, 0.08);
}

.destination-breadcrumbs {
  font-size: 0.85rem;
  color: #666;
  font-family: var(--default-font);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.destination-breadcrumbs .breadcrumb-item-link {
  cursor: pointer;
  transition: var(--transition-smooth);
}

.destination-breadcrumbs .breadcrumb-item-link:hover {
  color: var(--accent-color);
}

.destination-breadcrumbs .breadcrumb-item-link.underline {
  text-decoration: underline;
}

.destination-breadcrumbs .separator {
  font-size: 0.75rem;
  margin: 0 2px;
}

.destination-title {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-family: var(--heading-font);
}

.destination-ratings-row {
  font-size: 0.95rem;
  color: #555;
}

.destination-ratings-row .rating-score {
  font-weight: 700;
  color: #333;
  font-size: 1.05rem;
}

.destination-ratings-row .rating-bubbles {
  color: var(--accent-color); /* amber/gold accent */
  margin-left: 2px;
}

.destination-ratings-row .rating-bubbles .bi-circle-fill,
.destination-ratings-row .rating-bubbles .bi-circle {
  font-size: 0.85rem;
}

.destination-ratings-row .reviews-link {
  color: #555;
  text-decoration: underline;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.destination-ratings-row .reviews-link:hover {
  color: var(--accent-color);
}

/* Mobile responsive adjustments for page header */
@media (max-width: 767px) {
  .destination-header-section {
    padding: 100px 0 20px 0 !important;
  }
  .destination-breadcrumbs {
    font-size: 0.72rem !important;
  }
  .destination-breadcrumbs .separator {
    font-size: 0.65rem !important;
  }
  .destination-title {
    font-size: 1.6rem !important;
    margin-bottom: 8px !important;
  }
  .destination-ratings-row {
    font-size: 0.82rem !important;
  }
  .destination-ratings-row .rating-score {
    font-size: 0.9rem !important;
  }
  .destination-ratings-row .rating-bubbles .bi-circle-fill,
  .destination-ratings-row .rating-bubbles .bi-circle {
    font-size: 0.72rem !important;
  }
}



