        body {
            background-color: #121212;
            color: #e0e0e0;
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        }
        /* Хедер */
        .navbar {
            background-color: rgba(18, 18, 18, 0.9) !important;
            backdrop-filter: blur(10px);
        }
        .navbar-brand {
            font-weight: 700;
            letter-spacing: 1px;
            color: #fff !important;
        }
        .nav-link {
            color: #adb5bd !important;
            transition: color 0.3s;
        }
        .nav-link:hover, .nav-link.active {
            color: #ffffff !important;
        }
        /* Hero секция на весь экран */
        .hero-section {
            height: 100vh;
            position: relative;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            overflow: hidden;
            background-color: #000;
        }
.hero-content {
            position: relative;
            z-index: 3;
            text-align: center;
            padding: 0 15px;
        }
        .hero-videos {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
/*            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 5px; */
            opacity: 1;
            z-index: 1;
        }
        .hero-videos video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0;
            transition: opacity 0.8s ease-in-out; /* Плавное затухание/появление */
/*            width: 100%;
            height: 100%;
            object-fit: cover; */
        }
        .hero-video.active {
            opacity: 1;
        }
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(18,18,18,0.5), rgba(18,18,18,0.95));
            z-index: 1;
        }
        /* Карточки проектов */
        .portfolio-card {
            background-color: #1e1e1e;
            border: 1px solid #2d2d2d;
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
            height: 100%;
        }
        .portfolio-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        }
        .portfolio-img-wrap {
            height: 220px;
            overflow: hidden;
            position: relative;
        }
        .portfolio-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .portfolio-card:hover .portfolio-img-wrap img {
            transform: scale(1.05);
        }
        .badge-category {
            background-color: #333;
            color: #ccc;
            font-size: 0.75rem;
        }
        /* Секции */
        section {
            padding: 90px 0;
        }
        /* Футер */
        footer {
            background-color: #0a0a0a;
            border-top: 1px solid #222;
            padding: 60px 0 30px;
        }

/* --- Стили для улучшенного блока экстерьеров --- */
.exterior-showcase {
    background-color: #181818;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 25px;
}

/* Главная большая картинка в блоке */
.exterior-main-img-wrap {
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background-color: #000;
}

.exterior-main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.exterior-main-img-wrap:hover img {
    transform: scale(1.02);
}

.zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exterior-main-img-wrap:hover .zoom-hint {
    opacity: 1;
}

/* Сетка миниатюр (от 3 до 7 штук) */
.exterior-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.exterior-thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.exterior-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exterior-thumb:hover {
    opacity: 1;
}

.exterior-thumb.active {
    border-color: #fff;
    opacity: 1;
}

/* Кастомные стили для модальной галереи во весь экран */
.gallery-modal-content {
    background-color: #0d0d0d !important;
    border: 1px solid #333 !important;
}

.gallery-img-container {
    position: relative;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-img-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.gallery-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.gallery-control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }

/* --- Стили галереи проекта --- */
.project-gallery-card {
    background-color: #181818;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 30px;
}

/* Главное (большое) медиа-окно */
.gallery-main-view {
    width: 100%;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
    cursor: pointer;
    position: relative;
    margin-bottom: 15px;
}

.gallery-main-view img,
.gallery-main-view video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-main-view:hover img {
    transform: scale(1.02);
}

/* Подсказка при наведении */
.gallery-zoom-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-main-view:hover .gallery-zoom-badge {
    opacity: 1;
}

/* Лента миниатюр */
.gallery-thumbs-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.gallery-thumb-item {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: #000;
    position: relative;
}

.gallery-thumb-item img,
.gallery-thumb-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb-item:hover {
    opacity: 1;
}

.gallery-thumb-item.active {
    border-color: #ffffff;
    opacity: 1;
}

/* Иконка видео на миниатюре */
.thumb-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
}

/* Полноэкранный просмотрщик (Lightbox) */
.lightbox-modal-content {
    background-color: #0b0b0b !important;
    border: 1px solid #333 !important;
}

.lightbox-body-screen {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-body-screen img,
.lightbox-body-screen video {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.lightbox-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }