:root {
  /*--primary-color: #f91942;*/
  --muted: #6b7280;
}

.border-primary {
  border-color: var(--primary-color) !important;
}

.bg-pink-50 {
  background-color: #fdf2f8;
}

.text-primary {
  color: var(--primary-color);
}

/* Buttons */
.btn-primary {
  background: var(--primary-color);
  color: #fff;
  padding: .5rem .9rem;
  border-radius: .5rem;
}

.btn-secondary {
  background: white;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: .5rem .9rem;
  border-radius: .5rem;
}

/* Desktop Filter Buttons */
.filter-btn {
  background: white;
  border: 2px solid #e5e7eb;
  color: #374151;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover {
  border-color: var(--primary-color);
  background: #fef7f7;
  color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(249, 25, 66, 0.15);
  transform: translateY(-1px);
}

.filter-btn:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(249, 25, 66, 0.1);
}

.filter-btn i {
  transition: transform 0.2s ease;
  color: #9ca3af;
}

.filter-btn:hover i {
  color: var(--primary-color);
  transform: rotate(180deg);
}

/* Filter dropdown */
.filter-dropdown {
  position: absolute;
  /* top: calc(100% + 0.75rem); */
  left: 0;
  width: 18rem;
  max-width: calc(100vw - 2rem);
  background: white;
  border: 2px solid #f3f4f6;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  padding: 1rem;
  border-radius: 1rem;
  z-index: 50;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  overflow: hidden;
}

.filter-dropdown.show {
  opacity: 1;
  transform: translateY(0);
}

.filter-dropdown input.filter-search {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #f3f4f6;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  background: #f9fafb;
}

.filter-dropdown input.filter-search:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(249, 25, 66, 0.1);
}

.filter-dropdown input.filter-search::placeholder {
  color: #9ca3af;
}

.filter-list {
  max-height: 200px;
  overflow-y: auto;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.filter-list::-webkit-scrollbar {
  width: 6px;
}

.filter-list::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 3px;
}

.filter-list::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.filter-list::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.filter-list li {
  padding: 0.75rem;
  cursor: pointer;
  border-radius: 0.5rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
  color: #374151;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-list li:hover {
  background: linear-gradient(135deg, #fef7f7 0%, #fdf2f8 100%);
  color: var(--primary-color);
  /* transform: translateX(4px); */
  box-shadow: 0 2px 8px rgba(249, 25, 66, 0.1);
}

.filter-list li:active {
  transform: translateX(2px);
}

/* No results message */
.no-results {
  padding: 1.5rem;
  text-align: center;
  color: #9ca3af;
  font-style: italic;
  background: #f9fafb;
  border-radius: 0.75rem;
  border: 2px dashed #e5e7eb;
}

/* Desktop dropdown hover behavior */
.relative:hover .filter-dropdown {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
}


/* Carousel controls */
.carousel-prev,
.carousel-next {
  display: none;
  z-index: 20;
}

.carousel-area:hover .carousel-prev,
.carousel-area:hover .carousel-next {
  display: block;
}

/* Image styling with borders */
.carousel-img {
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
}

.carousel-area {
  border-radius: 0.5rem;
  overflow: hidden;
}

/* more overlay */
.more-overlay {
  display: none;
}

.carousel-area .more-overlay {
  display: block;
}

/* Info panel - slide from right -> left
   default: placed off-screen to the right using translateX(100%)
*/
.info-panel {
  min-width: 200px;
  transform: translateX(100%);
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
  z-index: 15;
}

/* Show more images overlay */
.show-more-overlay {
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
}

.show-more-overlay i {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.show-more-overlay:hover i {
  opacity: 0.6;
  transform: scale(1.1);
}

/* Carousel dots styling */
.carousel-dots {
  z-index: 15;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.carousel-dot {
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.carousel-dot:hover {
  transform: scale(1.2);
}

.carousel-dot.bg-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color);
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

/* Info button positioning on right */
.info-btn {
  transition: all 0.2s ease;
  z-index: 15;
}

.info-btn:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* mobile bottom sheet */
#sheetBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 40;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#sheetBackdrop.show {
  display: block;
  opacity: 1;
}

#bottomSheet {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: white;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
  z-index: 50;
  display: block;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

#bottomSheet.show {
  transform: translateY(0);
}

/* #bottomSheet { display: none; } */
#bottomSheet.show {
  display: block;
}

/* sheet panel */
#sheetPanel {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* centered round top handle (close) */
.sheet-handle {
  justify-items: center;
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 40;
}

/* Hide sheet handle on desktop */
@media (min-width: 768px) {
  .sheet-handle {
    display: none !important;
  }
}

/* Bottom sheet fixed height */
#bottomSheet {
  max-height: 55vh !important;
}

#sheetPanel {
  max-height: 55vh;
  overflow: hidden;
}

/* content scrolling area */
.sheet-scroll-content {
  max-height: 45vh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Mobile bottom sheet content */
#sheetContent {
  overflow-x: hidden;
}

#sheetList .filter-option {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* sticky footer inside sheet */
.sheet-footer {
  position: sticky;
  bottom: 0;
  background: white;
  border-top: 1px solid #eee;
  z-index: 30;
}

/* prevent body scroll when sheet open - we add .no-scroll to body via JS */
body.no-scroll {
  overflow: hidden;
}

/* mobile fixed bottom bar spacing */
@media (max-width: 767px) {
  main {
    padding-bottom: 96px;
  }

  /* space for bottom bar */
}

/* dashed hr */
hr.border-dashed {
  border-style: dashed;
  border-color: #e5e7eb;
}

/* small animation */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in .25s ease;
}


.bottom-sheet {
  position: fixed;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 70vh;
  background: #fff;
  border-radius: 16px 16px 0 0;
  z-index: 50;
  transition: bottom 0.35s ease;
  overflow-y: auto;
  padding-bottom: 80px;
  /* so submit button doesn’t hide */
}

/* When sheet visible */
.bottom-sheet.active {
  bottom: 0;
}

/* Disable scrolling behind sheet */
.body-no-scroll {
  overflow: hidden;
}

/* Filter container styling */
.filter-container {
  background: white;
  padding: 5px 0 5px 0;
  /* border-radius: 1rem; */
}

/* Active filter button styles */
.filter-btn.filter-active {
  background: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 4px 12px rgba(249, 25, 66, 0.25) !important;
}

.filter-btn.filter-active:hover {
  background: rgba(249, 25, 66, 0.9) !important;
  transform: translateY(-1px);
}

.filter-btn.filter-active i.clear-filter {
  color: white !important;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.filter-btn.filter-active i.clear-filter:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Mobile filter active styles */
.mobile-filter.mobile-filter-active {
  background: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
  font-weight: 600;
}

.mobile-filter.mobile-filter-active:hover {
  background: rgba(249, 25, 66, 0.9) !important;
}

/* Collapsible Title Section */
.collapsible-toggle {
  cursor: pointer;
  user-select: none;
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.collapsible-content.expanded {
  max-height: 500px;
  transition: max-height 0.3s ease-in;
}

.toggle-icon {
  transition: transform 0.2s ease;
}

.toggle-icon.rotated {
  transform: rotate(180deg);
}

/* Collapsible content styling */
#collapsibleContent {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 500px;
  opacity: 1;
  overflow: hidden;
}

#collapsibleContent.collapsed {
  max-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  opacity: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Image Gallery Modal */
#imageGalleryModal {
  backdrop-filter: blur(4px);
}

#imageGalleryModal img {
  transition: all 0.3s ease;
}

#imageGalleryModal button {
  transition: all 0.2s ease;
  padding: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
}

#imageGalleryModal button:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.1);
}

/* Venue Detail Page Enhancements */
.thumbnail {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail.active {
  border-color: var(--primary-color);
  opacity: 1 !important;
}

.thumbnail:hover {
  opacity: 1 !important;
  transform: scale(1.05);
}

/* Package selection buttons */
.package-card {
  transition: all 0.3s ease;
}

.package-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Enhanced FAQ styling */
.faq-item {
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Review cards */
.review-card {
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Venue Detail Page Styles */
.scroll-mt-32 {
  scroll-margin-top: 8rem;
}

.nav-link {
  transition: all 0.2s ease;
}

.nav-link:hover {
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

/* Sticky sidebar */
.sticky {
  position: sticky;
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(249, 25, 66, 0.1);
}

/* FAQ styles */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-content.open {
  max-height: 200px;
}


