/* ============================================
   ПОЛНАЯ СТРАНИЦА ГАЛЕРЕИ
   ============================================ */

.full-gallery {
    min-height: 100vh;
    background: #ffffff;
    padding: 20px 28px 80px;
}

.full-gallery__container {
    max-width: 1728px;
    margin: 0 auto;
}

.full-gallery__header {
    text-align: center;
    margin-bottom: 60px;
}

.full-gallery__title {
    font-family: 'Coolvetica', 'Yanone Kaffeesatz', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #1d1d1d;
    margin-bottom: 20px;
}

.full-gallery__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #666;
    font-weight: 300;
}

.full-gallery__counter {
    font-size: 24px;
    color: #958ad1;
    margin-top: 10px;
}

/* Сетка фотографий */
.full-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.full-gallery__item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.6s ease;
}

.full-gallery__item:hover {
    transform: scale(1.0) !important;
    box-shadow: 0 8px 20px rgba(149, 138, 209, 0.2);
    z-index: 10;
}

.full-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.full-gallery__item:hover .full-gallery__image {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.full-gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(149, 138, 209, 0.15) 0%,
        rgba(149, 138, 209, 0.35) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.full-gallery__item:hover .full-gallery__overlay {
    opacity: 1;
}

.full-gallery__zoom {
    display: none;
}

.full-gallery__loading {
    text-align: center;
    padding: 100px 20px;
    font-size: 24px;
    color: #958ad1;
}

.full-gallery__error {
    text-align: center;
    padding: 60px 40px;
    background: #fff3cd;
    border: 2px dashed #ffc107;
    border-radius: 20px;
    margin: 40px auto;
    max-width: 600px;
}

.full-gallery__error h3 {
    color: #856404;
    font-size: 24px;
    margin-bottom: 20px;
}

.full-gallery__error p {
    color: #856404;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .full-gallery__title {
        font-size: 36px;
    }

    .full-gallery__grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .full-gallery__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
