/* Стили для страницы детали площадки */

/* Секция видео на всю ширину (как в деталях мероприятия) */
.video-section.full-width-video {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #000;
}

.video-wrapper {
  width: 100%;
}

.video-player {
  width: 100%;
  height: auto;
  display: block;
  background-color: #000;
}

/* Основной контент */
.venue-detail-content {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

/* Обертка для фото */
.venue-image-wrapper {
  flex: 0 0 50%;
}

.venue-image-wrapper img {
  object-fit: cover;
  display: block;
}

.venue-image-wrapper .image-wrapper.no-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: #f5f5f5;
}

.venue-image-wrapper .image-wrapper.no-image .card-logo-placeholder {
  width: 100%;
  height: 100%;
  padding: 10%;
  box-sizing: border-box;
  object-fit: contain;
}

@media (min-width: 769px) {
  .venue-image-wrapper {
    display: flex;
  }

  .venue-image-wrapper .image-wrapper.no-image {
    flex: 1;
    min-height: 0;
    aspect-ratio: unset;
  }
}

/* Информация о площадке */
.venue-info {
  flex: 0 0 45%;
}
.modal-content {
  padding: 15px;
}
.form-control,
.filter-input {
  width: 100%;
  padding: 7px 16px;
  border: 1px solid #777a8d !important;
  border-radius: 20px;
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  color: #333;
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  outline: none !important;
  font-family: inherit;
  box-sizing: border-box;
}
.modal-header {
  border-bottom: none;
}
.modal-dialog {
  margin-top: -30px !important;
}
.form-label {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.7rem, 0.9vw, 0.85rem);
  font-weight: 500;
  color: #444;
  margin-bottom: 2px;
}
.modal-title {
  font-family: "Verdana", sans-serif;
  font-size: clamp(0.8rem, 1vw, 1.5rem);
  font-weight: 400;
  color: #333;
  line-height: 1.2;
}
.modal-header {
  padding-bottom: 0;
}
.modal-header .btn-close {
  width: 15px !important;
  height: 15px !important;
  padding: 0;
  margin: 0;
  border: none;
}
.modal-header .btn-close:focus {
  box-shadow: none;
}
@media (max-width: 1024px) {
  .modal-content {
    padding: 10px;
  }
}
.venue-title {
  font-family: "Verdana", sans-serif;
  font-size: clamp(1rem, 1vw, 1.5rem);
  font-weight: 400;
  color: #333;
  margin: 0 0 15px 0;
  line-height: 1.2;
}

.venue-meta {
  font-family: "Verdana", sans-serif;
  font-size: clamp(0.8rem, 1vw, 1rem);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  color: #070707;
}

.icon-geo {
  width: 18px;
  height: 18px;
}

.venue-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.venue-stat {
  font-family: "Verdana", sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  color: #777a8d;
}

.icon-stat {
  width: 16px;
  height: 16px;
}

.venue-description {
  font-family: "Verdana", sans-serif;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  line-height: 1.3;
  color: #000000;
  margin-bottom: 20px;
  text-align: justify;
}

.venue-description p {
  margin-bottom: 15px;
}

.venue-price {
  font-family: "Verdana", sans-serif;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  color: #070707;
  margin-bottom: 15px;
}

.venue-price strong {
  font-weight: 600;
}

.venue-equipment {
  font-family: "Verdana", sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 25px;
  text-align: justify;
}

.venue-equipment strong {
  font-weight: 600;
}

/* Кнопка забронировать */
.book-button {
  display: inline-block;
  background-color: #ff7f3f;
  color: white;
  padding: 10px 50px 10px 50px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.book-button:hover {
  background-color: #ff6b2b;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 127, 63, 0.3);
}

/* Секция других залов */
.other-venues-section {
  margin-top: 60px;
}

.section-title {
  font-size: clamp(1rem, 1vw, 1.5rem);
  font-weight: 700;
  color: #333;
  margin: 0 0 30px 0;
}

.other-venues-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.venue-card {
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 1.1px 1.1px 5.49px 0px rgba(0, 0, 0, 0.5);
}

.venue-card:hover {
  transform: translateY(-8px);
}

.venue-card-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.venue-card-image.card-logo-placeholder {
  height: 180px;
  padding: 50px;
  box-sizing: border-box;
  object-fit: contain;
  background-color: #f5f5f5;
}

.venue-card-body {
  padding: 10px;
}

.venue-card-title {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.venue-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  color: #666;
}

.venue-card-stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  color: #555;
}

.venue-card-price {
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  font-weight: 600;
  color: black;
  margin-bottom: 15px;
}

.venue-card-body .book-button {
  width: 100%;
  text-align: center;
  padding: 8px 10px;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
}

@media (max-width: 1024px) {
  .other-venues-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .venue-detail-content {
    flex-direction: column;
  }

  .venue-image-wrapper,
  .venue-info {
    flex: 0 0 100%;
  }

  .other-venues-grid {
    grid-template-columns: 1fr;
  }
}
/* === Адаптивное отображение блоков с карточками === */

/* По умолчанию: показываем только мобильный блок */
.d-900-none {
  display: flex;
}

.d-900-flex,
.d-1300-flex {
  display: none;
}

/* Планшет: >= 900px — скрываем мобильный, показываем планшетный */
@media (min-width: 900px) {
  .d-900-none {
    display: none !important;
  }

  .d-900-flex {
    display: flex !important;
  }
}

/* Десктоп: >= 1300px — скрываем планшетный, показываем десктопный */
@media (min-width: 1300px) {
  .d-1300-none {
    display: none !important;
  }

  .d-1300-flex {
    display: flex !important;
  }
}

/* Убираем синюю тень (outline) у инпутов в модалке бронирования */
#bookingModal .form-control:focus,
#bookingModal input:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: #777a8d !important;
}

/* Стили для чекбокса согласия на обработку персональных данных */
.booking-consent {
  padding: 0 4px;
}

.booking-consent .consent-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.45;
  color: #333;
}

.booking-consent .consent-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.booking-consent .consent-label a {
  color: #0033a0;
  text-decoration: underline;
}

.booking-consent .consent-label a:hover {
  color: #0055cc;
}

/* Бейдж на странице детали площадки — на фото */
.venue-image-wrapper {
  position: relative;
}

.venue-badge--detail {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  z-index: 10;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: clamp(0.6rem, 1vw, 0.8rem);
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .section-title {
    margin: 0 0 10px 0;
  }
  .other-venues-section {
    margin-top: 20px;
  }
  .venue-detail-content {
    margin-bottom: 0;
  }
}
