.gallery-section {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.showroom-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.showroom-main {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.showroom-featured {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    aspect-ratio: 16/10;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    border: 1px solid var(--border-gold);
}

.showroom-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.showroom-featured:hover img {
    transform: scale(1.03);
}

.showroom-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 31, 56, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.showroom-loading.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.showroom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showroom-featured:hover .showroom-overlay {
    opacity: 1;
}

.showroom-zoom {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    color: var(--navy);
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform 0.3s ease, background 0.3s ease;
}

.showroom-zoom:hover {
    transform: scale(1);
    background: var(--gold-light);
}

.showroom-info {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.showroom-counter {
    font-size: 1rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1px;
}

.showroom-title {
    display: none;
}

.showroom-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
    max-height: none;
    overflow: visible;
    justify-content: center;
}

.showroom-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.showroom-thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.showroom-thumbnails::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

.thumbnail-item {
    width: 100px;
    height: 75px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.thumbnail-item:hover img {
    transform: scale(1.1);
}

.thumbnail-item.active {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 168, 75, 0.4);
}

.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 10000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 70vh;
}

.lightbox-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-loading.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-loading .loading-spinner {
    width: 60px;
    height: 60px;
    border-width: 5px;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 70vh;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.lightbox-image.loading {
    opacity: 0;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 3rem;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease, transform 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.lightbox-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.6);
    padding: var(--spacing-sm) 20px;
    border-radius: 20px;
}

.lightbox-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    max-width: 90vw;
    overflow-x: auto;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-md);
}

.lightbox-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 2px;
}

.lightbox-thumbnails .thumbnail-item {
    width: 70px;
    height: 52px;
    border-width: 2px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 40px 15px;
    }

    .showroom-featured {
        aspect-ratio: 4/3;
    }

    .showroom-zoom {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .showroom-thumbnails {
        gap: 8px;
    }

    .thumbnail-item {
        width: 70px;
        height: 52px;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-counter {
        bottom: 100px;
        font-size: 0.9rem;
    }

    .lightbox-thumbnails {
        bottom: 10px;
        padding: var(--spacing-sm);
        flex-wrap: nowrap;
        overflow-x: auto;
        max-width: 95vw;
    }

    .lightbox-thumbnails .thumbnail-item {
        width: 45px;
        height: 34px;
        flex-shrink: 0;
    }
}
