
/* ===============================
   HERO SECTION — POLISHED & AIRY
================================ */
/* =====================================================
   HERO SECTION — CLEAN, BRIGHT, PROFESSIONAL
===================================================== */

/* ---------- THEME VARIABLES ---------- */
/* These can be overridden dynamically via JS */
:root {
  --hero-accent: #0d6efd;          /* fallback accent */
  --hero-accent-soft: rgba(13,110,253,.12);
  --hero-accent-strong: rgba(13,110,253,.95);
  --hero-text-dark: #111;
  --hero-text-light: #fff;
}

/* ---------- WRAPPER ---------- */
.hero-wrap {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 36px;
  background: #000;
}

/* ---------- IMAGE CONTAINER ---------- */
.hero-img {
  position: relative;
  height: 440px;
  overflow: hidden;
}

/* ---------- HERO IMAGE ---------- */
.hero-img img.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform .6s ease;
}

/* ---------- LIGHT IMAGE ENHANCER (NOT DARKENER) ---------- */
.hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.05),
      rgba(0,0,0,.25)
    );
}

/* ---------- SUBTLE EDGE FADE ---------- */
.hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at center,
      rgba(255,255,255,.06) 0%,
      rgba(0,0,0,.25) 80%
    );
}

/* ---------- HOVER DEPTH ---------- */
.hero-wrap:hover img.hero-image {
  transform: scale(1.035);
}

/* =====================================================
   FLOATING CONTENT PANEL
===================================================== */

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1100px;
  padding: 22px 26px;
  z-index: 3;

  /* LIGHT GLASS — DOES NOT KILL IMAGE */
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);

  border-radius: 16px;

  box-shadow:
    0 20px 40px rgba(0,0,0,.25),
    inset 0 0 0 1px rgba(255,255,255,.45);

  color: var(--hero-text-dark);
}

/* =====================================================
   TYPOGRAPHY
===================================================== */

.hero-title {
  font-size: 2.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.25;
  color: #111;
}

.hero-location {
  font-size: .95rem;
  color: #444;
  margin-bottom: 4px;
}

.hero-price {
  font-size: .95rem;
  margin: 6px 0 10px;
  color: #333;
}

/* =====================================================
   STAR RATING
===================================================== */

.hero-stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-stars .star {
  font-size: 1.1rem;
}

.star-fill {
  color: #f5c518;
}

.star-empty {
  color: #ccc;
}

.star-label {
  font-size: .8rem;
  margin-left: 6px;
  color: #666;
}

/* =====================================================
   ACTION BAR
===================================================== */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hero-actions .btn {
  font-size: .85rem;
  border-radius: 8px;
  transition: all .25s ease;
}

/* SECONDARY / OUTLINE BUTTONS */
.hero-actions .btn-outline-success,
.hero-actions .btn-outline-danger,
.hero-actions .btn-outline-secondary {
  background: #fff;
}

/* PRIMARY CTA */
.hero-actions .btn-primary {
  background: var(--hero-accent);
  border-color: var(--hero-accent);
  color: black;
  box-shadow: 0 8px 18px rgba(13,110,253,.35);
}

.hero-actions .btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px)
}

/* ALL BUTTONS HOVER */
.hero-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
  color: black;
}

/* =====================================================
   HERO BADGES (CATEGORY + VISITS)
===================================================== */

.hero-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.hero-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

/* CATEGORY BADGE */
.category-badge {
  background: var(--hero-accent-strong);
  color: #fff;
}

/* VISIT COUNT BADGE */
.visit-badge {
  background: rgba(0,0,0,.75);
  color: #fff;
}

/* =====================================================
   MOBILE OPTIMIZATION
===================================================== */

@media (max-width: 768px) {

  /* Give image real presence */
  .hero-img {
    height: 360px;
  }

  /* Keep overlay but push it DOWN */
  .hero-content {
    position: absolute;
    left: 50%;
    bottom: 16px;               /* stays anchored at bottom */
    transform: translateX(-50%);

    width: calc(100% - 20px);
    padding: 14px 16px;

    /* MUCH lighter glass */
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(0.6px);
    -webkit-backdrop-filter: blur(0.6px);

    box-shadow:
      0 10px 22px rgba(0,0,0,.18),
      inset 0 0 0 1px rgba(255,255,255,.55);
  }

  /* Reduce content height dominance */
  .hero-title {
    font-size: 1.35rem;
    margin-bottom: 4px;
  }

  .hero-stars {
    margin-bottom: 4px;
  }

  .hero-location,
  .hero-price {
    font-size: .82rem;
    margin-bottom: 4px;
  }

  /* Buttons stay usable but lighter */
  .hero-actions {
    gap: 8px;
    margin-top: 8px;
  }

  .hero-actions .btn {
    font-size: .75rem;
    padding: 6px 10px;
  }

  /* Badges untouched, still floating */
  .hero-badges {
    top: 12px;
    left: 12px;
    right: 12px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 5px 10px;
  }
}

.info-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.section-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.info-list li {
  margin-bottom: 6px;
  color: #444;
}

.map-wrap iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 14px;
}
/* ===============================
   GLOBAL SECTION SPACING
================================ */
section {
  scroll-margin-top: 90px;
}

.section-title {
  position: relative;
  padding-left: 12px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  height: 70%;
  width: 4px;
  background: linear-gradient(180deg, #0d6efd, #6610f2);
  border-radius: 4px;
}

/* ===============================
   ROOM CARD
================================ */
.room-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.room-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* ===============================
   AMENITIES ICON TILE
================================ */
.amenity-tile {
  transition: all .25s ease;
}

.amenity-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}
/* ===============================
   OVERVIEW SECTION
================================ */
.overview-box {
  background: rgba(255,255,255,0.92);
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow: 0 14px 35px rgba(0,0,0,.08);
  line-height: 1.75;
  font-size: 15.5px;
  color: #333;
}

.overview-box p {
  margin-bottom: 0;
  text-align:justify;
}
/* ===============================
   GALLERY MODAL
================================ */

#ImgModal .modal-content {
  background: #0b0b0b;
  border-radius: 0;
}

#ImgModal .modal-header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

#ImgModal .modal-title {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.gallery-img {
  max-height: 85vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: auto;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

#galleryCarousel .carousel-control-prev-icon,
#galleryCarousel .carousel-control-next-icon {
  filter: invert(1);
  width: 2.5rem;
  height: 2.5rem;
}

#galleryCarousel .carousel-item {
  transition: transform 0.5s ease-in-out;
}

/* MOBILE */
@media (max-width: 768px) {
  .gallery-img {
    max-height: 70vh;
  }
}

/* ===============================
   PROPERTY POLICIES
================================ */

.policy-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.policy-list {
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
}

.policy-list li {
  padding: 6px 0;
  font-size: 0.95rem;
  border-bottom: 1px dashed #eee;
}

.policy-list li:last-child {
  border-bottom: none;
}
.amenity-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.amenity-icon {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.amenity-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}
.coupon-card {
  background: #fff;
  border: 1px dashed #28a745;
  border-radius: 12px;
  padding: 16px;
}

.coupon-price {
  font-weight: 700;
  color: #28a745;
  margin: 6px 0;
}

.coupon-code {
  background: #f8f9fa;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
}
.offer-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
  overflow: hidden;
}

.offer-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* =========================
   NEARBY PLACES
========================= */
/* =========================
   NEARBY PLACES CAROUSEL
========================= */

.nearby-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.nearby-viewport::-webkit-scrollbar {
  display: none;
}
/* SLIDER */
.nearby-slider {
  display: flex;
  gap: 18px;
  padding-bottom: 5px;
}
.nearby-viewport {
  scrollbar-width: none;
}
.nearby-slider:active {
  cursor: grabbing;
}

/* CARD */
.nearby-card {
  min-width: 260px;
  max-width: 260px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
  transition: transform .25s ease;
}

.nearby-card:hover {
  transform: translateY(-6px);
}

/* IMAGE */
.nearby-img {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.nearby-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* EXPERIENCE BADGE ON IMAGE */
.exp-badge {
   position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 3;
  white-space: nowrap;
  pointer-events: none;
}

/* OVERLAY */
.nearby-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 10px;
  font-size: 13px;
}

/* BODY */
.nearby-body {
  padding: 14px;
}

.nearby-body h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.nearby-desc {
  font-size: 13px;
  color: #555;
}

/* ACTIONS */
.nearby-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.nearby-actions a {
  font-size: 13px;
  text-decoration: none;
  color: #0d6efd;
}

/* NAV */
.nearby-nav {
  display: flex;
  gap: 10px;
}

.nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #0d6efd;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all .25s ease;
}

.nav-btn:hover {
  background: #084298;
  transform: scale(1.1);
}

.nav-btn.disabled {
  opacity: .35;
  pointer-events: none;
}

/* AUTO-HIDE ARROWS ON MOBILE */
@media (max-width: 768px) {
  .nearby-nav {
    display: none;
  }
}
.nearby-img {
  position: relative;
}

.nearby-overlay {
  z-index: 1;
}

.exp-badge,
.exp-badge-img {
  z-index: 2;
}
/* ===============================
   SHARE PANEL (CUSTOM)
================================ */

.share-wrap {
  position: relative;
}

.share-panel {
  position: absolute;
  bottom: 110%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.25);
  padding: 6px 0;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all .25s ease;
  z-index: 999;
}

.share-panel.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.share-item {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: #222;
  text-decoration: none;
}

.share-item:hover {
  background: #f4f6f8;
}

/* Mobile center popup */
@media (max-width: 768px) {
  .share-panel {
    left: 50%;
    transform: translate(-50%,10px);
  }

  .share-panel.show {
    transform: translate(-50%,0);
  }
}


/*Room CSS*/
/* ================================
   ROOM LIST – RESPONSIVE FIXES
================================ */

/* Base safety */
.info-card {
    width: 100%;
}

.room-card {
    width: 100%;
    box-sizing: border-box;
}

/* Prevent overflow on small screens */
.room-card * {
    max-width: 100%;
}

/* ================================
   MEDIA BLOCK
================================ */
.room-media {
    width: 180px;
    flex-shrink: 0;
}

/* Image safety */
.room-media img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

/* Image count badge */
.room-img-count {
    position: absolute;
    bottom: 6px;
    right: 6px;
    font-size: 11px;
    padding: 3px 6px;
}

/* ================================
   MOBILE (≤576px)
================================ */
@media (max-width: 576px) {

    .room-card {
        flex-direction: column;
        gap: 12px;
    }

    .room-media {
        width: 100%;
    }

    .room-media img {
        height: 180px;
    }

    /* Header stack */
    .room-card h5 {
        font-size: 1rem;
        line-height: 1.3;
    }

    .room-card .badge.bg-success {
        font-size: 0.9rem;
        margin-top: 6px;
    }

    .room-card .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    /* Meta text */
    .room-card small {
        font-size: 0.8rem;
    }

    /* Description clamp */
    .room-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    /* Options spacing */
    .form-check {
        margin-bottom: 6px;
    }

    /* Amenities wrap nicely */
    .room-card .badge.bg-secondary {
        font-size: 0.75rem;
        padding: 4px 6px;
    }

    /* Booking action centered */
    .room-card .text-end {
        text-align: left !important;
    }

    .select-room-btn {
        width: 100%;
        padding: 8px 0;
    }
}

/* ================================
   TABLET (577px–768px)
================================ */
@media (min-width: 577px) and (max-width: 768px) {

    .room-card {
        gap: 14px;
    }

    .room-media {
        width: 150px;
    }

    .room-media img {
        height: 130px;
    }

    .room-card h5 {
        font-size: 1.05rem;
    }

    .room-card p {
        font-size: 0.9rem;
    }
}

/* ================================
   LARGE TABLET / SMALL LAPTOP
================================ */
@media (min-width: 769px) and (max-width: 991px) {

    .room-media {
        width: 170px;
    }

    .room-media img {
        height: 135px;
    }
}

/*Caraousel CSS*/

#galleryCarousel .carousel-control-prev-icon {
  background-color: white;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M11 1 3 8l8 7V1z'/%3E%3C/svg%3E");
}

#galleryCarousel .carousel-control-next-icon {
  background-color: white;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M5 1l8 7-8 7V1z'/%3E%3C/svg%3E");
}
/* Specific styling for coupons section */
.coupon-card {
    border: 2px dashed #007bff; /* dashed blue border */
    border-radius: 10px;
    padding: 15px;
    background-color: #f9f9f9;
    transition: transform 0.3s, box-shadow 0.3s;
}

.coupon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.coupon-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.coupon-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 5px;
}

.coupon-code {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.section-title {
    border-bottom: 2px solid #007bff;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #007bff;
}
/* Offer cards styling */
.offer-card {
    border: 1.5px solid #ccc; /* subtle border */
    border-radius: 12px;
    background-color: #ffffff;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.offer-card img.offer-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.offer-card h5 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.offer-card p {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.offer-card .btn {
    font-size: 0.85rem;
}

/* Active & Upcoming badge styling */
.offer-card .badge {
    font-size: 0.75rem;
    margin-left: 5px;
}

/* Section title styling */
.section-title {
    border-bottom: 2px solid #17a2b8; /* teal underline */
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #17a2b8;
}

  