/* ==========================================================================
   UTTARAKHAND STAYS - LUXURY PROPERTY DETAIL PAGE STYLES
   ========================================================================== */

/* Always keep Header Solid & Visible on Property Detail Pages */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background: rgba(7, 13, 11, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4) !important;
  z-index: 1050 !important;
}

.site-header .header-top-bar {
  display: flex !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1100px) {
  .site-header .header-top-bar {
    display: none !important;
  }
}

/* Detail Page Header & Breadcrumbs */
.detail-page-header {
  padding-top: calc(var(--header-height, 80px) + 3rem) !important;
  padding-bottom: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 246, 238, 0.94) 50%, rgba(243, 236, 224, 0.98) 100%);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.luxury-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.luxury-breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.luxury-breadcrumbs span.separator {
  color: var(--gold);
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
}

.property-header-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.property-title-main {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.property-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.property-address i {
  color: var(--gold);
  flex-shrink: 0;
}

.property-rating-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.property-rating-score-lg {
  background: var(--primary);
  color: var(--gold-light);
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   IMMERSIVE PHOTO GALLERY MOSAIC
   ========================================================================== */
.property-gallery-section {
  padding: 1.75rem 0 1rem;
}

.gallery-mosaic-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.gallery-mosaic-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #14221F;
}

.gallery-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-mosaic-main {
  grid-row: span 2;
}

.btn-view-all-photos {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(7, 13, 11, 0.85);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  border: 1px solid var(--border-gold);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  z-index: 5;
}

.btn-view-all-photos:hover {
  background: var(--gold);
  color: #070D0B;
}

/* Single Verified Image Hero */
.gallery-single-hero {
  display: block;
  width: 100%;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  background: #14221F;
}

.gallery-single-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-single-hero:hover img {
  transform: scale(1.03);
}

/* Key Facts Ribbon */
.property-key-facts-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.fact-item-card {
  background: var(--bg-surface);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: var(--radius-md);
  padding: 1.15rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.04);
  transition: all var(--transition-normal);
}

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

.fact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold-dark);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fact-title-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.fact-value-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

/* ==========================================================================
   CONTENT CARD & SECTIONS
   ========================================================================== */
.detail-content-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.04);
}

.detail-section-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.detail-body-text {
  font-size: 0.975rem;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   ULTRA-PREMIUM BOOKING SIDEBAR & ENQUIRY FORM
   ========================================================================== */
.booking-sidebar-card,
.sticky-enquiry-card {
  background: #FFFFFF;
  border: 1px solid rgba(197, 160, 89, 0.38);
  border-top: 4px solid var(--gold);
  border-radius: 20px;
  padding: 1.85rem 1.65rem;
  box-shadow: 0 16px 40px rgba(10, 22, 40, 0.08), 0 4px 12px rgba(197, 160, 89, 0.08);
  position: sticky;
  top: 90px;
  width: 100%;
  box-sizing: border-box;
  z-index: 20;
  transition: all var(--transition-normal);
}

.booking-sidebar-card.highlight-pulse {
  animation: pulseGoldBorder 1.5s ease-out;
}

@keyframes pulseGoldBorder {
  0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7); }
  50% { box-shadow: 0 0 0 14px rgba(197, 160, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

.sidebar-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.sidebar-price-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.sidebar-price-unit {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sidebar-form-badge {
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(197, 160, 89, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.direct-booking-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.15rem;
  padding: 0.75rem 0.5rem;
  background: #FBF9F4;
  border-radius: 12px;
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.perk-item {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.perk-item i {
  color: var(--gold-dark);
  font-size: 0.95rem;
}

.sidebar-form-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-form-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  line-height: 1.4;
}

.sidebar-enquiry-form .form-label-custom,
.sidebar-enquiry-form .form-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
  display: block;
}

.sidebar-enquiry-form .form-control,
.sidebar-enquiry-form .form-select {
  border: 1px solid rgba(10, 22, 40, 0.16);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  color: var(--text-main);
  background-color: #FAFAF8;
  transition: all var(--transition-fast);
}

.sidebar-enquiry-form .form-control:focus,
.sidebar-enquiry-form .form-select:focus {
  border-color: var(--gold);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.22);
  outline: none;
}

.sidebar-enquiry-form textarea.form-control {
  resize: vertical;
  min-height: 68px;
}

.btn-sidebar-submit {
  background: linear-gradient(135deg, #D4AF37 0%, #C5A059 50%, #A47D33 100%);
  color: #070D0B !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  border: none;
  width: 100%;
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-sidebar-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(197, 160, 89, 0.45);
  background: linear-gradient(135deg, #DFBE52 0%, #D4AF37 50%, #B38F46 100%);
  color: #070D0B !important;
}

.btn-sidebar-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%) !important;
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 1px solid #1EBE5D;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-sidebar-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  color: #FFFFFF !important;
}

.sidebar-trust-footer {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(10, 22, 40, 0.12);
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ==========================================================================
   MOBILE BOTTOM FLOATING CTA BAR & RESPONSIVENESS
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(7, 13, 11, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.85rem 1.25rem;
  padding-bottom: max(0.85rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border-gold);
  z-index: 1050;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

@media (max-width: 991px) {
  .mobile-bottom-bar {
    display: flex;
  }
  
  .booking-sidebar-card,
  .sticky-enquiry-card {
    position: static;
    top: auto;
    margin-top: 1rem;
  }
  
  .property-key-facts-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  body {
    padding-bottom: 76px !important;
  }
}

@media (max-width: 768px) {
  .detail-page-header {
    padding-top: calc(var(--header-height, 80px) + 1.5rem) !important;
    padding-bottom: 1.5rem;
  }
  
  .detail-content-card {
    padding: 1.5rem 1.25rem;
  }
  
  .gallery-mosaic-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 280px;
  }
  
  .gallery-mosaic-item:not(.gallery-mosaic-main) {
    display: none;
  }
}

@media (max-width: 576px) {
  .property-key-facts-bar {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .booking-sidebar-card,
  .sticky-enquiry-card {
    padding: 1.5rem 1.15rem;
  }
  
  .property-title-main {
    font-size: 1.6rem;
  }
}

/* Fullscreen Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 13, 11, 0.96);
  backdrop-filter: blur(16px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

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

.lightbox-container {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--gold);
  color: #070D0B;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--gold);
  color: #070D0B;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
}
