/**
 * Venue Marketplace Styles - Dark Theme Edition
 * Integrated with GetTicket's unified dark theme design system
 * Glassmorphism, red accents (#dc2626), modern animations
 */

/* ===========================================
   CSS VARIABLES - DARK THEME
   =========================================== */
:root {
  /* Marketplace Dark Theme Colors */
  --mp-bg: #0a0a0f;
  --mp-bg-secondary: #121218;
  --mp-bg-tertiary: #1a1a24;
  --mp-surface: rgba(255, 255, 255, 0.03);
  --mp-surface-hover: rgba(255, 255, 255, 0.06);
  --mp-surface-active: rgba(255, 255, 255, 0.08);
  --mp-border: rgba(255, 255, 255, 0.08);
  --mp-border-hover: rgba(255, 255, 255, 0.15);
  --mp-text: #ffffff;
  --mp-text-secondary: #e2e8f0;
  --mp-text-muted: #94a3b8;
  --mp-text-subtle: #64748b;
  --mp-accent: #dc2626;
  --mp-accent-light: #ef4444;
  --mp-accent-dark: #b91c1c;
  --mp-accent-glow: rgba(220, 38, 38, 0.4);
  --mp-accent-secondary: #f97316;
  --mp-gradient: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
  --mp-gradient-subtle: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
  --mp-card-bg: rgba(255, 255, 255, 0.02);
  --mp-card-bg-hover: rgba(255, 255, 255, 0.04);
  --mp-card-border: rgba(255, 255, 255, 0.06);
  --mp-blur: 20px;
  --mp-radius: 16px;
  --mp-radius-sm: 8px;
  --mp-radius-lg: 24px;
  --mp-radius-full: 9999px;
  --mp-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --mp-transition-fast: 0.15s ease;
  --mp-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --mp-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
  --mp-shadow-glow: 0 0 40px rgba(220, 38, 38, 0.2);

  /* Status Colors */
  --mp-success: #10b981;
  --mp-warning: #f59e0b;
  --mp-error: #ef4444;
  --mp-info: #3b82f6;

  /* Rating Colors */
  --mp-star: #fbbf24;
}

/* ===========================================
   BASE STYLES
   =========================================== */
.marketplace-page {
  background: var(--mp-bg);
  min-height: 100vh;
  color: var(--mp-text);
  overflow-x: hidden;
}

.marketplace-page * {
  box-sizing: border-box;
}

/* Animated gradient mesh background */
.marketplace-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -20%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(249, 115, 22, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse 50% 30% at 10% 60%, rgba(220, 38, 38, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse 40% 50% at 90% 80%, rgba(249, 115, 22, 0.06) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
  animation: meshFloat 20s ease-in-out infinite;
}

@keyframes meshFloat {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.marketplace-page .container {
  position: relative;
  z-index: 1;
}

/* ===========================================
   OWNER BAR
   =========================================== */
.owner-bar {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
  border-bottom: 1px solid var(--mp-border);
  padding: 0.75rem 0;
  position: relative;
  z-index: 10;
}

.owner-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.owner-bar-text {
  font-size: 0.875rem;
  color: var(--mp-text-muted);
}

.owner-bar-text i {
  color: var(--mp-accent);
}

.owner-bar-actions {
  display: flex;
  gap: 0.5rem;
}

.owner-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--mp-text);
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.owner-bar-link:hover {
  background: var(--mp-surface-hover);
  border-color: var(--mp-accent);
  color: var(--mp-accent);
}

.owner-bar-link i {
  font-size: 0.75rem;
}

@media (max-width: 576px) {
  .owner-bar-content {
    justify-content: center;
    text-align: center;
  }

  .owner-bar-text {
    width: 100%;
  }
}

/* ===========================================
   HERO SECTION
   =========================================== */
.marketplace-hero {
  background: linear-gradient(180deg, var(--mp-bg) 0%, var(--mp-bg-secondary) 100%);
  color: var(--mp-text);
  padding: 80px 0 140px;
  position: relative;
  overflow: hidden;
}

.marketplace-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--mp-accent-glow) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite;
}

.hero-glow-left {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  pointer-events: none;
  animation: glowPulse 10s ease-in-out infinite reverse;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: heroFadeIn 0.8s ease-out;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--mp-gradient-subtle);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--mp-accent-light);
  padding: 10px 20px;
  border-radius: var(--mp-radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-badge i {
  margin-right: 10px;
  font-size: 14px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, var(--mp-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title span,
.hero-title-accent {
  background: var(--mp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--mp-text-muted);
  max-width: 550px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-stats {
  display: flex;
  gap: 50px;
  margin-top: 50px;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--mp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--mp-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

/* ===========================================
   SEARCH CARD
   =========================================== */
.search-card {
  background: var(--mp-surface);
  backdrop-filter: blur(var(--mp-blur));
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-lg);
  padding: 30px;
  margin-top: -80px;
  position: relative;
  z-index: 10;
  box-shadow: var(--mp-shadow-lg);
}

.search-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.search-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mp-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-card-title i {
  color: var(--mp-accent);
}

.quick-filters {
  display: flex;
  gap: 8px;
}

.quick-filter {
  padding: 8px 16px;
  border-radius: var(--mp-radius-full);
  border: 1px solid var(--mp-border);
  background: var(--mp-surface);
  color: var(--mp-text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--mp-transition-fast);
}

.quick-filter:hover {
  background: var(--mp-surface-hover);
  border-color: var(--mp-border-hover);
  color: var(--mp-text);
}

.quick-filter.active {
  background: var(--mp-gradient);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 15px var(--mp-accent-glow);
}

.search-form {
  display: flex;
  gap: 15px;
  align-items: stretch;
}

.search-input-group {
  flex: 2;
  position: relative;
}

.search-input-group i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mp-text-subtle);
  font-size: 16px;
  pointer-events: none;
}

.search-input-group input {
  width: 100%;
  padding: 16px 16px 16px 50px;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  font-size: 15px;
  background: var(--mp-bg-secondary);
  color: var(--mp-text);
  transition: all var(--mp-transition-fast);
}

.search-input-group input::placeholder {
  color: var(--mp-text-subtle);
}

.search-input-group input:focus {
  outline: none;
  border-color: var(--mp-accent);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
  background: var(--mp-bg-tertiary);
}

.filter-select {
  flex: 1;
  padding: 16px 40px 16px 20px;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  font-size: 15px;
  background: var(--mp-bg-secondary);
  color: var(--mp-text);
  cursor: pointer;
  transition: all var(--mp-transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.filter-select:focus {
  outline: none;
  border-color: var(--mp-accent);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

.filter-select option {
  background: var(--mp-bg-secondary);
  color: var(--mp-text);
}

.search-btn {
  padding: 16px 40px;
  background: var(--mp-gradient);
  border: none;
  border-radius: var(--mp-radius);
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--mp-transition);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  box-shadow: 0 4px 20px var(--mp-accent-glow);
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--mp-accent-glow);
  filter: brightness(1.1);
}

.search-btn i {
  font-size: 14px;
}

/* ===========================================
   RESULTS HEADER
   =========================================== */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--mp-border);
}

.results-count {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mp-text);
}

.results-count span {
  background: var(--mp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.view-options {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sort-select {
  padding: 10px 35px 10px 15px;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-sm);
  font-size: 14px;
  background: var(--mp-surface);
  color: var(--mp-text);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition: all var(--mp-transition-fast);
}

.sort-select:focus {
  outline: none;
  border-color: var(--mp-accent);
}

.view-toggle {
  display: flex;
  background: var(--mp-surface);
  border-radius: var(--mp-radius-sm);
  padding: 4px;
  border: 1px solid var(--mp-border);
}

.view-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 6px;
  color: var(--mp-text-muted);
  cursor: pointer;
  transition: all var(--mp-transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-btn:hover {
  color: var(--mp-text);
}

.view-btn.active {
  background: var(--mp-accent);
  color: white;
  box-shadow: 0 2px 8px var(--mp-accent-glow);
}

/* ===========================================
   VENUES GRID
   =========================================== */
.venues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  align-items: stretch;
}

.venues-grid.list-view {
  grid-template-columns: 1fr;
}

/* ===========================================
   VENUE CARDS - GRID VIEW
   =========================================== */
.venue-card {
  background: var(--mp-card-bg);
  backdrop-filter: blur(var(--mp-blur));
  border: 1px solid var(--mp-card-border);
  border-radius: var(--mp-radius);
  overflow: hidden;
  transition: all var(--mp-transition);
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.venue-card > a {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
}

.venue-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--mp-radius);
  background: var(--mp-gradient);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--mp-transition);
}

.venue-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: var(--mp-shadow-lg), var(--mp-shadow-glow);
}

.venue-card:hover::before {
  opacity: 0.3;
  filter: blur(20px);
}

.venue-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.venue-card-image {
  position: relative;
  height: 200px;
  min-height: 200px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--mp-bg-secondary);
}

.venue-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

/* ===========================================
   VENUE CARD SLIDESHOW
   =========================================== */
.venue-slideshow {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.venue-slideshow .slideshow-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.venue-slideshow .slideshow-img.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.slideshow-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--mp-radius-full);
}

.slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.slideshow-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.slideshow-dot.active {
  background: var(--mp-accent);
  width: 20px;
  border-radius: 4px;
}

.slideshow-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border-radius: var(--mp-radius-full);
  font-size: 0.75rem;
  color: #fff;
  z-index: 10;
  font-weight: 500;
}

/* Navigation arrows on hover */
.venue-slideshow::before,
.venue-slideshow::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  z-index: 15;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.venue-slideshow::before {
  left: 10px;
  background: rgba(0, 0, 0, 0.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.venue-slideshow::after {
  right: 10px;
  background: rgba(0, 0, 0, 0.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.venue-card:hover .venue-slideshow::before,
.venue-card:hover .venue-slideshow::after {
  opacity: 1;
}

/* Clickable navigation overlays */
.slideshow-nav {
  position: absolute;
  top: 0;
  width: 40%;
  height: 100%;
  z-index: 20;
  cursor: pointer;
  opacity: 0;
}

.slideshow-prev {
  left: 0;
}

.slideshow-next {
  right: 0;
}

.venue-card:hover .slideshow-nav {
  opacity: 1;
}

.venue-card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--mp-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.venue-card-placeholder i {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
}

.venue-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 20px 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.venue-card-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.venue-badge {
  padding: 5px 12px;
  border-radius: var(--mp-radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}

.venue-badge.featured {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.venue-badge.new {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

.venue-badge.popular {
  background: var(--mp-gradient);
  color: white;
  box-shadow: 0 2px 10px var(--mp-accent-glow);
}

.venue-badge.verified {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.4);
}

/* Favorite Button */
.btn-favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--mp-transition-fast);
  z-index: 10;
  color: white;
}

.btn-favorite:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.btn-favorite.active {
  background: var(--mp-accent);
  border-color: var(--mp-accent);
  color: white;
}

.btn-favorite.active .bi-heart::before {
  content: "\f415";
}

.venue-card-body {
  padding: 20px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.venue-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mp-text);
  margin: 0 0 8px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.venue-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--mp-text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.venue-card-location i {
  color: var(--mp-accent);
  font-size: 0.85rem;
}

.venue-card-features {
  display: flex;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--mp-border);
  flex-wrap: wrap;
  margin-top: auto;
}

.venue-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--mp-text-muted);
}

.venue-feature i {
  color: var(--mp-accent);
  font-size: 0.9rem;
}

.venue-feature strong {
  color: var(--mp-text);
  font-weight: 600;
}

.venue-card-footer {
  padding: 15px 20px;
  background: var(--mp-surface);
  border-top: 1px solid var(--mp-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.venue-card-price {
  font-size: 0.8rem;
  color: var(--mp-text-muted);
}

.venue-card-price strong {
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--mp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.venue-card-cta {
  padding: 10px 20px;
  background: var(--mp-gradient);
  color: white;
  border-radius: var(--mp-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--mp-transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.venue-card-cta:hover {
  filter: brightness(1.1);
  transform: translateX(3px);
  color: white;
}

/* Amenities */
.venue-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.amenity-tag {
  font-size: 0.7rem;
  padding: 4px 10px;
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-full);
  color: var(--mp-text-muted);
  transition: all var(--mp-transition-fast);
}

.amenity-tag:hover {
  border-color: var(--mp-accent);
  color: var(--mp-text);
}

.amenity-tag.more {
  background: var(--mp-accent);
  border-color: var(--mp-accent);
  color: white;
}

/* Rating Badge */
.rating-badge {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--mp-star);
  gap: 4px;
}

.rating-badge i {
  font-size: 0.75rem;
}

/* ===========================================
   VENUE CARDS - LIST VIEW
   =========================================== */
.venues-grid.list-view .venue-card {
  display: flex;
  flex-direction: row;
}

.venues-grid.list-view .venue-card-image {
  flex: 0 0 280px;
  height: auto;
  min-height: 200px;
}

.venues-grid.list-view .venue-card-image img,
.venues-grid.list-view .venue-card-placeholder {
  border-radius: var(--mp-radius) 0 0 var(--mp-radius);
}

.venues-grid.list-view .venue-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.venues-grid.list-view .venue-card-footer {
  border-radius: 0 0 var(--mp-radius) 0;
}

/* ===========================================
   EMPTY STATE
   =========================================== */
.empty-state,
.no-results {
  text-align: center;
  padding: 100px 40px;
  background: var(--mp-card-bg);
  backdrop-filter: blur(var(--mp-blur));
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-lg);
}

.empty-icon {
  width: 140px;
  height: 140px;
  background: var(--mp-gradient-subtle);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.empty-icon i,
.no-results .bi-building {
  font-size: 3.5rem;
  color: var(--mp-accent);
}

.empty-state h3,
.no-results h5 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--mp-text);
  margin-bottom: 15px;
}

.empty-state p,
.no-results p {
  color: var(--mp-text-muted);
  font-size: 1.05rem;
  max-width: 450px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.empty-state .btn,
.no-results .btn {
  padding: 14px 30px;
  font-weight: 600;
  background: var(--mp-gradient);
  border: none;
  color: white;
  border-radius: var(--mp-radius);
  transition: all var(--mp-transition);
}

.empty-state .btn:hover,
.no-results .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--mp-accent-glow);
}

/* ===========================================
   CTA SECTION
   =========================================== */
.cta-section {
  background: linear-gradient(180deg, var(--mp-bg-secondary) 0%, var(--mp-bg) 100%);
  padding: 100px 0;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--mp-accent-glow) 0%, transparent 70%);
  bottom: -200px;
  left: -100px;
  pointer-events: none;
  animation: glowPulse 10s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-text {
  flex: 1;
  color: var(--mp-text);
}

.cta-text h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, var(--mp-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-text p {
  font-size: 1.15rem;
  color: var(--mp-text-muted);
  max-width: 500px;
  line-height: 1.7;
}

.cta-btn {
  padding: 18px 45px;
  background: var(--mp-gradient);
  border: none;
  border-radius: var(--mp-radius);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all var(--mp-transition);
  box-shadow: 0 10px 40px var(--mp-accent-glow);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  text-decoration: none;
}

.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px var(--mp-accent-glow);
  color: white;
  filter: brightness(1.1);
}

/* ===========================================
   PAGINATION
   =========================================== */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}

.pagination .page-link {
  border-radius: var(--mp-radius-sm);
  margin: 0;
  border: 1px solid var(--mp-border);
  background: var(--mp-surface);
  color: var(--mp-text-muted);
  padding: 10px 16px;
  transition: all var(--mp-transition-fast);
}

.pagination .page-link:hover {
  background: var(--mp-surface-hover);
  border-color: var(--mp-border-hover);
  color: var(--mp-text);
}

.pagination .page-item.active .page-link {
  background: var(--mp-gradient);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 15px var(--mp-accent-glow);
}

.pagination .page-item.disabled .page-link {
  background: var(--mp-surface);
  color: var(--mp-text-subtle);
  cursor: not-allowed;
}

/* ===========================================
   FILTERS SIDEBAR
   =========================================== */
.filters-sidebar .card {
  position: sticky;
  top: 24px;
  background: var(--mp-card-bg);
  backdrop-filter: blur(var(--mp-blur));
  border: 1px solid var(--mp-card-border);
  border-radius: var(--mp-radius);
}

.filters-sidebar .card-header {
  background: var(--mp-surface);
  border-bottom: 1px solid var(--mp-border);
  padding: 16px 20px;
}

.filters-sidebar .card-title {
  color: var(--mp-text);
  font-weight: 600;
  margin: 0;
}

.filters-sidebar .card-body {
  padding: 20px;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group label.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mp-text);
  margin-bottom: 12px;
  display: block;
}

.filter-group .form-check {
  padding-left: 28px;
  margin-bottom: 10px;
}

.filter-group .form-check-input {
  width: 18px;
  height: 18px;
  margin-left: -28px;
  background-color: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--mp-transition-fast);
}

.filter-group .form-check-input:checked {
  background-color: var(--mp-accent);
  border-color: var(--mp-accent);
}

.filter-group .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.filter-group .form-check-label {
  font-size: 0.875rem;
  color: var(--mp-text-muted);
  cursor: pointer;
  transition: color var(--mp-transition-fast);
}

.filter-group .form-check-label:hover {
  color: var(--mp-text);
}

.rating-filter .bi-star-fill {
  font-size: 0.75rem;
  color: var(--mp-star);
}

/* Price Range Slider */
.price-range-slider {
  padding: 10px 0;
}

.price-range-slider input[type="range"] {
  width: 100%;
  height: 6px;
  background: var(--mp-surface);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--mp-gradient);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--mp-accent-glow);
}

.price-range-values {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--mp-text-muted);
}

/* ===========================================
   FEATURED SECTION
   =========================================== */
.featured-section {
  padding: 60px 0;
  background: var(--mp-bg-secondary);
  border-top: 1px solid var(--mp-border);
  border-bottom: 1px solid var(--mp-border);
}

.featured-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--mp-accent) var(--mp-surface);
}

.featured-scroll::-webkit-scrollbar {
  height: 6px;
}

.featured-scroll::-webkit-scrollbar-track {
  background: var(--mp-surface);
  border-radius: 3px;
}

.featured-scroll::-webkit-scrollbar-thumb {
  background: var(--mp-accent);
  border-radius: 3px;
}

.featured-card {
  flex: 0 0 220px;
  background: var(--mp-card-bg);
  border: 1px solid var(--mp-card-border);
  border-radius: var(--mp-radius);
  overflow: hidden;
  transition: all var(--mp-transition);
}

.featured-card:hover {
  transform: translateY(-4px);
  border-color: var(--mp-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.featured-card .card-img-top {
  height: 140px;
  object-fit: cover;
}

.featured-card .card-body {
  padding: 16px;
}

.featured-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--mp-text);
  margin-bottom: 8px;
}

.featured-card .card-text {
  font-size: 0.85rem;
  color: var(--mp-text-muted);
}

/* ===========================================
   COMPARE MODAL
   =========================================== */
.compare-modal .modal-content {
  background: var(--mp-bg-secondary);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-lg);
}

.compare-modal .modal-header {
  background: var(--mp-surface);
  border-bottom: 1px solid var(--mp-border);
  padding: 20px 24px;
}

.compare-modal .modal-title {
  color: var(--mp-text);
  font-weight: 700;
}

.compare-modal .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.compare-table {
  width: 100%;
}

.compare-table th {
  background: var(--mp-surface);
  padding: 16px;
  font-weight: 600;
  text-align: left;
  width: 150px;
  color: var(--mp-text-muted);
  border-bottom: 1px solid var(--mp-border);
}

.compare-table td {
  padding: 16px;
  border-bottom: 1px solid var(--mp-border);
  color: var(--mp-text);
}

.compare-venue-header {
  text-align: center;
  padding: 20px;
  border-bottom: 1px solid var(--mp-border);
}

.compare-venue-header img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--mp-radius);
  margin-bottom: 12px;
}

.compare-venue-header h5 {
  color: var(--mp-text);
  font-weight: 600;
  margin: 0;
}

/* ===========================================
   QUICK VIEW MODAL
   =========================================== */
.quickview-modal .modal-content {
  background: var(--mp-bg-secondary);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-lg);
}

.quickview-modal .modal-body {
  padding: 24px;
}

.quickview-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.quickview-gallery img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: var(--mp-radius-sm);
  cursor: pointer;
  transition: all var(--mp-transition-fast);
  border: 2px solid transparent;
}

.quickview-gallery img:hover {
  border-color: var(--mp-accent);
  transform: scale(1.05);
}

.quickview-main-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--mp-radius);
  margin-bottom: 20px;
}

/* ===========================================
   VENUE DETAIL PAGE - GALLERY
   =========================================== */
.venue-gallery {
  position: relative;
  margin-bottom: 32px;
}

.venue-gallery-main {
  position: relative;
  border-radius: var(--mp-radius);
  overflow: hidden;
  cursor: pointer;
}

.venue-gallery-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.venue-gallery-main:hover img {
  transform: scale(1.02);
}

.venue-gallery-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.venue-gallery-placeholder {
  width: 100%;
  height: 400px;
  background: var(--mp-gradient);
  border-radius: var(--mp-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 80px;
}

.gallery-expand-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: var(--mp-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--mp-transition-fast);
  z-index: 10;
}

.gallery-expand-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

.venue-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.venue-gallery-thumb {
  aspect-ratio: 4/3;
  border-radius: var(--mp-radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  transition: all var(--mp-transition-fast);
}

.venue-gallery-thumb:hover,
.venue-gallery-thumb.active {
  border-color: var(--mp-accent);
}

.venue-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-gallery-thumb.more-photos {
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

/* ===========================================
   LIGHTBOX MODAL
   =========================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1055;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox-modal.show {
  display: block;
}

.lightbox-modal .modal-dialog {
  max-width: 90vw;
  margin: 1rem auto;
  position: relative;
  pointer-events: none;
}

.lightbox-modal .modal-content {
  background: #000;
  border: none;
  border-radius: var(--mp-radius);
  pointer-events: auto;
}

.lightbox-modal .modal-header {
  border: none;
  padding: 16px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
}

.lightbox-modal .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.lightbox-modal .modal-body {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  position: relative;
}

.lightbox-image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 70vh;
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--mp-transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav.prev {
  left: 20px;
  right: auto;
}

.lightbox-nav.next {
  right: 20px;
  left: auto;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: var(--mp-radius-full);
  font-size: 0.875rem;
}

.lightbox-thumbnails {
  padding: 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
}

.lightbox-thumb {
  flex: 0 0 80px;
  height: 60px;
  border-radius: var(--mp-radius-sm);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: all var(--mp-transition-fast);
  border: 2px solid transparent;
}

.lightbox-thumb:hover,
.lightbox-thumb.active {
  opacity: 1;
  border-color: var(--mp-accent);
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===========================================
   VENUE DETAIL PAGE - CONTENT
   =========================================== */
.venue-detail-page {
  background: var(--mp-bg);
  color: var(--mp-text);
  min-height: 100vh;
}

.venue-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--mp-border);
  margin-bottom: 32px;
}

.venue-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--mp-text);
  margin: 0 0 12px 0;
}

.venue-header-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--mp-text-muted);
  font-size: 14px;
  flex-wrap: wrap;
}

.venue-header-meta i {
  color: var(--mp-accent);
  margin-right: 6px;
}

.venue-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}

.venue-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--mp-border);
}

.venue-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.venue-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mp-text);
  margin: 0 0 20px 0;
}

.venue-section p {
  color: var(--mp-text-muted);
  line-height: 1.8;
  margin: 0;
}

.venue-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.venue-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  transition: all var(--mp-transition-fast);
}

.venue-feature:hover {
  border-color: var(--mp-accent);
  background: var(--mp-surface-hover);
}

.venue-feature i {
  font-size: 1.25rem;
  color: var(--mp-accent);
  width: 28px;
  text-align: center;
}

.venue-feature-text {
  font-size: 14px;
}

.venue-feature-label {
  color: var(--mp-text-subtle);
  font-size: 12px;
  margin-bottom: 2px;
}

.venue-feature-value {
  color: var(--mp-text);
  font-weight: 600;
}

/* ===========================================
   VENUE DETAIL - SIDEBAR
   =========================================== */
.venue-sidebar {
  position: sticky;
  top: 24px;
}

.booking-card {
  background: var(--mp-card-bg);
  backdrop-filter: blur(var(--mp-blur));
  border: 1px solid var(--mp-card-border);
  border-radius: var(--mp-radius);
  padding: 24px;
  box-shadow: var(--mp-shadow);
}

.booking-card-price {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--mp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.booking-card-price span {
  font-size: 14px;
  font-weight: 400;
  -webkit-text-fill-color: var(--mp-text-muted);
}

.booking-card-capacity {
  font-size: 14px;
  color: var(--mp-text-muted);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--mp-border);
}

.booking-card-info {
  margin-bottom: 20px;
}

.booking-card-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
}

.booking-card-row:first-child {
  padding-top: 0;
}

.booking-card-label {
  color: var(--mp-text-muted);
}

.booking-card-value {
  color: var(--mp-text);
  font-weight: 500;
}

.btn-inquiry {
  display: block;
  width: 100%;
  background: var(--mp-gradient);
  color: white;
  padding: 16px;
  border-radius: var(--mp-radius);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--mp-transition);
  box-shadow: 0 4px 20px var(--mp-accent-glow);
}

.btn-inquiry:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--mp-accent-glow);
  color: white;
  filter: brightness(1.1);
}

.btn-inquiry i {
  margin-right: 8px;
}

.booking-card-note {
  text-align: center;
  font-size: 13px;
  color: var(--mp-text-subtle);
  margin-top: 16px;
}

.event-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--mp-border);
}

.event-type-tag {
  background: var(--mp-gradient-subtle);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: var(--mp-accent-light);
  padding: 6px 14px;
  border-radius: var(--mp-radius-full);
  font-size: 12px;
  font-weight: 500;
}

/* ===========================================
   CALENDAR STYLES
   =========================================== */
.calendar-wrapper {
  background: var(--mp-card-bg);
  backdrop-filter: blur(var(--mp-blur));
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  padding: 24px;
}

#calendar {
  border-radius: var(--mp-radius);
  overflow: hidden;
}

.fc {
  font-family: inherit;
}

.fc .fc-toolbar {
  margin-bottom: 24px;
}

.fc .fc-toolbar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mp-text);
}

.fc .fc-button {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--mp-radius-sm);
  text-transform: capitalize;
  transition: all var(--mp-transition-fast);
}

.fc .fc-button-primary {
  background: var(--mp-accent) !important;
  border-color: var(--mp-accent) !important;
}

.fc .fc-button-primary:hover {
  background: var(--mp-accent-dark) !important;
  border-color: var(--mp-accent-dark) !important;
}

.fc .fc-button-primary:disabled {
  background: var(--mp-surface) !important;
  border-color: var(--mp-border) !important;
  color: var(--mp-text-subtle) !important;
}

.fc .fc-button-primary:not(:disabled).fc-button-active {
  background: var(--mp-accent-dark) !important;
  border-color: var(--mp-accent-dark) !important;
}

.fc .fc-button-primary:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3) !important;
}

.fc .fc-daygrid-day {
  transition: background var(--mp-transition-fast);
  background: var(--mp-bg-secondary);
}

.fc .fc-daygrid-day:hover {
  background: var(--mp-surface-hover);
}

.fc .fc-daygrid-day-number {
  font-size: 13px;
  font-weight: 500;
  color: var(--mp-text-muted);
  padding: 8px;
}

.fc .fc-day-today {
  background: var(--mp-gradient-subtle) !important;
}

.fc .fc-day-today .fc-daygrid-day-number {
  background: var(--mp-accent);
  color: white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc .fc-col-header-cell {
  padding: 14px 0;
  background: var(--mp-surface);
  border-color: var(--mp-border);
}

.fc .fc-col-header-cell-cushion {
  font-size: 12px;
  font-weight: 600;
  color: var(--mp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fc .fc-scrollgrid {
  border-color: var(--mp-border);
}

.fc .fc-scrollgrid td,
.fc .fc-scrollgrid th {
  border-color: var(--mp-border);
}

.fc .fc-event {
  border: none;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  cursor: pointer;
  transition: all var(--mp-transition-fast);
}

.fc .fc-event:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.fc .fc-daygrid-event-dot {
  display: none;
}

.fc .fc-list-event:hover td {
  background: var(--mp-surface-hover);
}

.fc .fc-list-day-cushion {
  background: var(--mp-surface);
}

.calendar-legend {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--mp-border);
}

.calendar-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--mp-text-muted);
}

.calendar-legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.calendar-legend-dot.available {
  background: var(--mp-success);
}

.calendar-legend-dot.booked {
  background: var(--mp-error);
}

/* Slot List */
.slot-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slot-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  transition: all var(--mp-transition-fast);
}

.slot-item:hover {
  border-color: var(--mp-accent);
  background: var(--mp-surface-hover);
}

.slot-date {
  font-weight: 600;
  color: var(--mp-text);
}

.slot-time {
  font-size: 13px;
  color: var(--mp-text-muted);
  margin-top: 4px;
}

.slot-price {
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--mp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.slot-btn {
  background: var(--mp-gradient);
  color: white;
  padding: 10px 24px;
  border-radius: var(--mp-radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all var(--mp-transition-fast);
}

.slot-btn:hover {
  color: white;
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* ===========================================
   REVIEWS SECTION
   =========================================== */
.reviews-summary {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--mp-border);
}

.reviews-average {
  text-align: center;
  padding: 24px;
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  min-width: 140px;
}

.reviews-average .rating-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--mp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.reviews-average .rating-stars {
  color: var(--mp-star);
  margin: 10px 0;
}

.reviews-average .rating-count {
  font-size: 0.875rem;
  color: var(--mp-text-muted);
}

.reviews-distribution {
  flex: 1;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.rating-bar-label {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 50px;
  font-size: 0.875rem;
  color: var(--mp-text-muted);
}

.rating-bar-label i {
  color: var(--mp-star);
  font-size: 0.75rem;
}

.rating-bar-track {
  flex: 1;
  height: 8px;
  background: var(--mp-surface);
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: var(--mp-gradient);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.rating-bar-count {
  width: 35px;
  text-align: right;
  font-size: 0.8rem;
  color: var(--mp-text-subtle);
}

/* Individual Review */
.review-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--mp-border);
}

.review-item:last-child {
  border-bottom: none;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mp-gradient-subtle);
  border: 1px solid var(--mp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--mp-accent);
}

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer-name {
  font-weight: 600;
  color: var(--mp-text);
  margin-bottom: 4px;
}

.reviewer-meta {
  font-size: 0.8rem;
  color: var(--mp-text-muted);
}

.reviewer-meta .verified-badge {
  color: var(--mp-success);
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-rating .stars {
  color: var(--mp-star);
}

.review-content {
  margin-bottom: 16px;
  color: var(--mp-text-secondary);
  line-height: 1.7;
}

.review-content h5 {
  margin-bottom: 8px;
  color: var(--mp-text);
}

.review-pros-cons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.review-pros,
.review-cons {
  font-size: 0.875rem;
}

.review-pros strong {
  color: var(--mp-success);
}

.review-cons strong {
  color: var(--mp-error);
}

.review-photos {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.review-photo {
  width: 80px;
  height: 80px;
  border-radius: var(--mp-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--mp-transition-fast);
}

.review-photo:hover {
  transform: scale(1.05);
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.review-action-btn {
  font-size: 0.8rem;
  color: var(--mp-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--mp-radius-sm);
  transition: all var(--mp-transition-fast);
}

.review-action-btn:hover {
  background: var(--mp-surface);
  color: var(--mp-text);
}

.review-action-btn.helpful.active {
  color: var(--mp-accent);
}

/* Owner Response */
.owner-response {
  margin-top: 16px;
  padding: 16px;
  background: var(--mp-surface);
  border-radius: var(--mp-radius);
  border-left: 3px solid var(--mp-accent);
}

.owner-response-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.owner-badge {
  font-size: 0.7rem;
  background: var(--mp-gradient);
  color: white;
  padding: 3px 10px;
  border-radius: var(--mp-radius-full);
  font-weight: 600;
}

.owner-response-date {
  font-size: 0.75rem;
  color: var(--mp-text-subtle);
}

.owner-response p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--mp-text-muted);
  line-height: 1.6;
}

/* Category Ratings in Review */
.category-ratings-mini {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.category-rating-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 8px 12px;
  background: var(--mp-surface);
  border-radius: var(--mp-radius-sm);
}

.category-rating-item .label {
  color: var(--mp-text-muted);
}

.category-rating-item .value {
  font-weight: 500;
  color: var(--mp-text);
}

/* Review Form */
.write-review-form {
  padding: 24px;
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  margin-top: 24px;
}

.star-rating-input {
  display: flex;
  gap: 4px;
}

.star-rating-input input {
  display: none;
}

.star-rating-input label {
  font-size: 1.75rem;
  color: var(--mp-border);
  cursor: pointer;
  transition: color var(--mp-transition-fast);
}

.star-rating-input:hover label,
.star-rating-input input:checked ~ label {
  color: var(--mp-star);
}

.star-rating-input input:checked ~ label ~ label {
  color: var(--mp-border);
}

/* ===========================================
   SOCIAL SHARE
   =========================================== */
.share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: white;
  cursor: pointer;
  transition: all var(--mp-transition-fast);
}

.share-btn:hover {
  transform: scale(1.1);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.copy-link {
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  color: var(--mp-text-muted);
}

.share-btn.copy-link:hover {
  border-color: var(--mp-accent);
  color: var(--mp-accent);
}

.share-btn.copy-link.copied {
  background: var(--mp-success);
  border-color: var(--mp-success);
  color: white;
}

/* ===========================================
   VIRTUAL TOUR
   =========================================== */
.virtual-tour-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--mp-bg-secondary);
  border-radius: var(--mp-radius);
}

.virtual-tour-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.virtual-tour-container[data-type="matterport"] {
  padding-bottom: 62.5%;
}

.venue-card .virtual-tour-badge {
  position: absolute;
  top: 12px;
  right: 52px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: white;
  padding: 6px 12px;
  border-radius: var(--mp-radius-sm);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

.venue-card .virtual-tour-badge i {
  font-size: 0.875rem;
}

/* ===========================================
   RECENTLY VIEWED
   =========================================== */
.recently-viewed-section {
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  padding: 24px;
  margin-bottom: 32px;
}

.recently-viewed-section h5 {
  color: var(--mp-text);
  font-weight: 600;
  margin-bottom: 20px;
}

.recently-viewed-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.recently-viewed-carousel::-webkit-scrollbar {
  height: 6px;
}

.recently-viewed-carousel::-webkit-scrollbar-track {
  background: var(--mp-surface);
  border-radius: 3px;
}

.recently-viewed-carousel::-webkit-scrollbar-thumb {
  background: var(--mp-accent);
  border-radius: 3px;
}

.recently-viewed-item {
  flex: 0 0 auto;
  width: 200px;
  background: var(--mp-bg-secondary);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  overflow: hidden;
  transition: all var(--mp-transition-fast);
  text-decoration: none;
  color: inherit;
}

.recently-viewed-item:hover {
  transform: translateY(-4px);
  border-color: var(--mp-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.recently-viewed-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.recently-viewed-item .item-info {
  padding: 14px;
}

.recently-viewed-item .item-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--mp-text);
}

.recently-viewed-item .item-meta {
  font-size: 0.8rem;
  color: var(--mp-text-muted);
}

.recently-viewed-item .item-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--mp-star);
}

/* ===========================================
   ANIMATIONS
   =========================================== */
.venue-card-wrapper {
  animation: fadeInUp 0.5s ease both;
  display: flex;
  width: 100%;
}

.venue-card-wrapper:nth-child(1) { animation-delay: 0.05s; }
.venue-card-wrapper:nth-child(2) { animation-delay: 0.1s; }
.venue-card-wrapper:nth-child(3) { animation-delay: 0.15s; }
.venue-card-wrapper:nth-child(4) { animation-delay: 0.2s; }
.venue-card-wrapper:nth-child(5) { animation-delay: 0.25s; }
.venue-card-wrapper:nth-child(6) { animation-delay: 0.3s; }
.venue-card-wrapper:nth-child(7) { animation-delay: 0.35s; }
.venue-card-wrapper:nth-child(8) { animation-delay: 0.4s; }
.venue-card-wrapper:nth-child(9) { animation-delay: 0.45s; }

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Modal animation */
.modal.show .modal-dialog {
  animation: scaleIn 0.3s ease-out;
}

/* Loading States */
.venue-card.loading {
  opacity: 0.5;
  pointer-events: none;
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--mp-surface) 25%,
    var(--mp-surface-hover) 50%,
    var(--mp-surface) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--mp-radius-sm);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===========================================
   RESPONSIVE - TABLET
   =========================================== */
@media (max-width: 1200px) {
  .venues-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    gap: 30px;
  }

  .search-form {
    flex-wrap: wrap;
  }

  .search-input-group {
    flex: 1 1 100%;
  }

  .filter-select {
    flex: 1 1 calc(50% - 8px);
  }

  .search-btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .venue-content {
    grid-template-columns: 1fr;
  }

  .venue-sidebar {
    position: static;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-text h2 {
    font-size: 2rem;
  }

  .venues-grid.list-view .venue-card {
    flex-direction: column;
  }

  .venues-grid.list-view .venue-card-image {
    flex: none;
    height: 200px;
  }

  .venues-grid.list-view .venue-card-image img,
  .venues-grid.list-view .venue-card-placeholder {
    border-radius: var(--mp-radius) var(--mp-radius) 0 0;
  }

  .filters-sidebar .card {
    position: static;
  }
}

/* ===========================================
   RESPONSIVE - MOBILE
   =========================================== */
@media (max-width: 768px) {
  .venues-grid {
    grid-template-columns: 1fr;
  }


  .marketplace-hero {
    padding: 60px 0 120px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
    letter-spacing: -1px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-stat {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }

  .hero-stat-number {
    font-size: 2rem;
  }

  .search-card {
    padding: 20px;
    margin-top: -60px;
  }

  .filter-select {
    flex: 1 1 100%;
  }

  .results-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .view-options {
    width: 100%;
    justify-content: space-between;
  }

  .venue-features {
    grid-template-columns: 1fr;
  }

  .venue-gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .reviews-summary {
    flex-direction: column;
    gap: 20px;
  }

  .reviews-average {
    min-width: auto;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-nav.prev {
    left: 10px;
    right: auto;
  }

  .lightbox-nav.next {
    right: 10px;
    left: auto;
  }

  .virtual-tour-container {
    padding-bottom: 75%;
  }

  .recently-viewed-item {
    width: 160px;
  }

  .recently-viewed-item img {
    height: 100px;
  }

  .quick-filters {
    display: none !important;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===========================================
   DARK FOOTER OVERRIDE
   =========================================== */
body:has(.marketplace-page) footer {
  background: var(--mp-bg-secondary, #121218) !important;
  border-top: 1px solid var(--mp-border, rgba(255, 255, 255, 0.08)) !important;
  margin-top: 0;
}

body:has(.marketplace-page) footer .footer-links a {
  color: var(--mp-text-muted, #94a3b8);
}

body:has(.marketplace-page) footer .footer-links a:hover {
  color: var(--mp-accent, #dc2626);
}

body:has(.marketplace-page) footer p {
  color: var(--mp-text-subtle, #64748b);
}

/* Venue CTA Banner for marketplace */
body:has(.marketplace-page) .venue-cta-banner {
  display: none;
}

/* ===========================================
   BOOTSTRAP OVERRIDES FOR DARK THEME
   =========================================== */
.marketplace-page .btn-primary {
  background: var(--mp-gradient);
  border: none;
  box-shadow: 0 4px 15px var(--mp-accent-glow);
}

.marketplace-page .btn-primary:hover,
.marketplace-page .btn-primary:focus {
  background: var(--mp-gradient);
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--mp-accent-glow);
}

.marketplace-page .btn-outline-primary {
  color: var(--mp-accent);
  border-color: var(--mp-accent);
  background: transparent;
}

.marketplace-page .btn-outline-primary:hover {
  background: var(--mp-gradient);
  border-color: transparent;
  color: white;
}

.marketplace-page .form-control {
  background: var(--mp-bg-secondary);
  border: 1px solid var(--mp-border);
  color: var(--mp-text);
}

.marketplace-page .form-control:focus {
  background: var(--mp-bg-tertiary);
  border-color: var(--mp-accent);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
  color: var(--mp-text);
}

.marketplace-page .form-control::placeholder {
  color: var(--mp-text-subtle);
}

.marketplace-page .card {
  background: var(--mp-card-bg);
  border: 1px solid var(--mp-card-border);
}

.marketplace-page .card-header {
  background: var(--mp-surface);
  border-bottom: 1px solid var(--mp-border);
}

.marketplace-page .card-footer {
  background: var(--mp-surface);
  border-top: 1px solid var(--mp-border);
}

.marketplace-page .text-muted {
  color: var(--mp-text-muted) !important;
}

.marketplace-page .border-bottom {
  border-color: var(--mp-border) !important;
}

.marketplace-page .bg-light {
  background: var(--mp-surface) !important;
}

/* Make sure links are visible */
.marketplace-page a:not(.btn):not(.venue-card-cta):not(.cta-btn):not(.slot-btn):not(.btn-inquiry) {
  color: var(--mp-accent-light);
}

.marketplace-page a:not(.btn):not(.venue-card-cta):not(.cta-btn):not(.slot-btn):not(.btn-inquiry):hover {
  color: var(--mp-accent);
}
