/* Gallery Slider */
.property-gallery { margin-bottom: 30px; }
.gallery-main-wrapper { position: relative; }
.gallery-main {
  position: relative;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}
.gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  cursor: pointer;
}
.gallery-slide.active { opacity: 1; z-index: 1; }
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.gallery-nav:hover { background: var(--color-primary); color: #000; }
.gallery-prev { left: 15px; }
.gallery-next { right: 15px; }
.gallery-counter {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 10;
  background: rgba(0,0,0,0.7);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--color-text-white);
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto;
  padding-bottom: 5px;
}
.gallery-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  opacity: 0.6;
  transition: var(--transition-fast);
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--color-primary); opacity: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox.open { display: flex; }
.gallery-lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10000;
}
.gallery-lightbox .gallery-nav { position: fixed; }

/* Calendar */
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-weight: 600;
}
.cal-nav {
  background: rgba(212,175,55,0.1);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-day-name {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  padding: 5px;
}
.cal-day {
  text-align: center;
  padding: 10px 5px;
  border-radius: 6px;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.03);
}
.cal-day.available { background: rgba(16,185,129,0.15); color: #10B981; }
.cal-day.unavailable { background: rgba(239,68,68,0.15); color: #EF4444; text-decoration: line-through; }
.cal-day.empty { background: transparent; }

@media (max-width: 768px) {
  .gallery-main { height: 280px; }
  .gallery-nav { width: 44px; height: 44px; }
}
