/* Убираем старый оверлей */
.photo-overlay {
  display: none !important;
}

/* Простая элегантная плашка */
.status-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 16px;
  border-radius: 4px;
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #ffffff;
  background: #dc2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3), 0 1px 2px rgba(0, 0, 0, 0.1);
  z-index: 6;
  transition: all 0.25s ease;
  line-height: 1.5;
  text-transform: none;
}

/* Статус Занято */
.status-badge.occupied {
  background: #dc2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35), 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Статус Свободно */
.status-badge.free {
  background: #16a34a;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35), 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Эффект при наведении */
.photo-item:hover .status-badge {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4), 0 2px 4px rgba(0, 0, 0, 0.15);
}

.photo-item:hover .status-badge.free {
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4), 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Скрываем старый контейнер статуса */
.status-container {
  display: none !important;
}

/* Адаптив */
@media (max-width: 768px) {
  .status-badge {
    top: 12px;
    right: 12px;
    padding: 5px 14px;
    font-size: 0.7rem;
  }
  
  .photo-item:hover .status-badge {
    transform: translateY(-1px);
  }
}

@media (max-width: 480px) {
  .status-badge {
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    font-size: 0.65rem;
  }
}
    .navbar-fixed-top {
      transition: transform 0.3s ease-in-out;
    }
    .navbar-hidden {
      transform: translateY(-100%);
    }
    .navbar-visible {
      transform: translateY(0);
    }
    @media (max-width: 767.98px) {
      .article4 .image-wrapper img {
        height: auto;
        max-height: 400px;
      }
    }
    .image-caption {
      display: none !important;
    }
    #partners-1-uVi2ZGcjDx .mbr-section-title {
      color: #ffffff;
    }
    #partners-1-uVi2ZGcjDx .item-title {
      color: #ffffff;
    }
    #partners-1-uVi2ZGcjDx .item-title strong {
      color: #ffffff;
    }
    
    /* Стили для слайдшоу */
    .hero-slideshow {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      overflow: hidden;
    }
    
    .slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      opacity: 0;
      transition: opacity 1.5s ease-in-out;
    }
    
    .slide.active {
      opacity: 1;
    }
    
    /* Убедимся, что контент поверх слайдов */
    #hero-15-uVi2ZGbLRs .container-fluid {
      position: relative;
      z-index: 2;
    }

    .navbar-brand .navbar-logo img {
      object-fit: contain;
      border-radius: 12px !important;
    }

    /* Стили для модального окна с фото */
    .photo-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.95);
      z-index: 10000;
      overflow-y: auto;
    }

    .photo-modal-content {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      max-width: 1400px;
      margin: 0 auto;
      padding: 20px;
    }

    .photo-modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      padding-bottom: 15px;
      border-bottom: 2px solid rgba(255,255,255,0.2);
      flex-shrink: 0;
    }

    .photo-modal-header h2 {
      color: white;
      font-size: 2rem;
      margin: 0;
    }

    .close-modal {
      background: none;
      border: none;
      color: white;
      font-size: 40px;
      cursor: pointer;
      transition: 0.3s;
      line-height: 1;
    }

    .close-modal:hover {
      color: #ff6b35;
      transform: scale(1.1);
    }

    .category-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 35px;
      justify-content: center;
      flex-shrink: 0;
    }

    .category-tab {
      background: rgba(255,255,255,0.1);
      border: none;
      padding: 12px 28px;
      font-size: 1rem;
      font-weight: 600;
      border-radius: 50px;
      color: white;
      cursor: pointer;
      transition: 0.3s;
    }

    .category-tab:hover {
      background: rgba(255,255,255,0.25);
      transform: translateY(-2px);
    }

    .category-tab.active {
      background: #ff6b35;
      color: white;
    }

    .photos-grid-wrapper {
      flex: 1;
      margin-bottom: 30px;
    }

    .photos-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
    }

    .photo-item {
      position: relative;
      overflow: hidden;
      border-radius: 12px;
      cursor: pointer;
      background: #1a1a1a;
      aspect-ratio: 4/3;
    }

    .photo-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .photo-item:hover img {
      transform: scale(1.05);
    }

    .photo-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
      padding: 15px;
      opacity: 0;
      transition: 0.3s;
    }

    .photo-item:hover .photo-overlay {
      opacity: 1;
    }

    .photo-overlay span {
      color: white;
      font-size: 0.85rem;
    }

    /* Лайтбокс для просмотра фото */
    .lightbox {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.98);
      z-index: 10001;
      justify-content: center;
      align-items: center;
    }

    .lightbox.active {
      display: flex;
    }

    .lightbox-img {
      max-width: 90%;
      max-height: 85vh;
      object-fit: contain;
      border-radius: 8px;
    }

    .lightbox-close {
      position: absolute;
      top: 20px;
      right: 35px;
      font-size: 45px;
      color: white;
      cursor: pointer;
      transition: 0.3s;
    }

    .lightbox-close:hover {
      color: #ff6b35;
    }

    .lightbox-prev, .lightbox-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 50px;
      color: white;
      cursor: pointer;
      background: rgba(0,0,0,0.5);
      width: 60px;
      height: 60px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: 0.3s;
    }

    .lightbox-prev { left: 20px; }
    .lightbox-next { right: 20px; }

    .lightbox-prev:hover, .lightbox-next:hover {
      background: #ff6b35;
      color: white;
    }

    .lightbox-counter {
      position: absolute;
      bottom: 20px;
      left: 0;
      right: 0;
      text-align: center;
      color: white;
      font-size: 1rem;
    }

   .status-container {
  flex-shrink: 0;
  margin-top: 30px;
  padding: 0 10px;
  position: relative;
  top: -20px;  /* отрицательное значение поднимает вверх */
}

    .status-info {
      background: rgba(255,255,255,0.08);
      border-radius: 16px;
      padding: 20px;
      backdrop-filter: blur(5px);
    }

    .status-title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      font-weight: 600;
      color: #fff;
      flex-wrap: wrap;
      gap: 10px;
    }

    .status-percent {
      font-size: 0.9rem;
      color: #ff6b35;
    }

    .progress-bar-container {
      background: rgba(255,255,255,0.2);
      border-radius: 50px;
      height: 32px;
      overflow: hidden;
      margin: 10px 0;
    }

    .progress-bar-filled {
      height: 100%;
      border-radius: 50px;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      padding-right: 12px;
      transition: width 0.5s ease;
    }