/**
 * Дополнительные стили для страницы "Строительство домов"
 */

.video-wrapper {
    width: 50%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 0px solid #fadf12;
}
.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== АДАПТИВ ===== */
/* Планшеты и маленькие десктопы */
@media (max-width: 992px) {
    .video-wrapper {
        width: 70%;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .video-wrapper {
        width: 100%;
        border-radius: 8px;
    }
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.gallery-item {
  background: #ffffff;
  border: 2px solid #f0ede8;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.gallery-item:hover {
  transform: translateY(-6px);
  border-color: #fadf12;
  box-shadow: 0 12px 40px rgba(250, 223, 18, 0.12);
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.03);
}
.gallery-item .gallery-info {
  padding: 16px 20px 20px;
  background: #ffffff;
}
.gallery-item .gallery-info h4 {
  font-weight: 700;
  font-size: 1.1rem;
  color: #040404;
  margin-bottom: 4px;
  line-height: 1.2;
}
.gallery-item .gallery-info p {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.gallery-item .gallery-info .price-tag {
  color: #fd0300;
  font-weight: 700;
  font-size: 1.1rem;
}

.gallery-placeholder {
  background: #f0ede8;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 1.1rem;
  flex-direction: column;
  gap: 8px;
}
.gallery-placeholder i {
  font-size: 3rem;
  color: #bbb;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 20px;
}
.breadcrumbs a {
  color: #fd0300;
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: #fadf12;
}
.breadcrumbs span {
  color: #040404;
  font-weight: 600;
}

/* Адаптив */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item img {
    height: 160px;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item img {
    height: 200px;
  }
}