/* ===================================================
   GALLERY.CSS — loaded on gallery.html only
=================================================== */
.gallery {
    width: 100%;
    padding: 2rem 0 7rem;
    position: relative;
    overflow: hidden;
}

.gallery .background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.gallery .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.gallery .shape-7 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.04) 70%, transparent 100%);
    top: 15%;
    right: -120px;
    animation: float 16s ease-in-out infinite;
}

.gallery .shape-8 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.03) 70%, transparent 100%);
    bottom: 15%;
    left: -80px;
    animation: float 17s ease-in-out infinite 2s;
}

.gallery-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gallery-list-img-container {
    width: 100%;
    margin: 3rem 0;
    padding: 3rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.gallery-list-img {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.gallery-img {
    width: calc(25% - 1rem);
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
    filter: brightness(0.9);
}

.gallery-img:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: var(--first-color);
}

.gallery-img:hover img {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.gallery-list-img .btn {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    color: var(--first-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    margin-top: 2rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: auto;
}

.gallery-list-img .btn:hover {
    background-color: var(--first-color);
    color: var(--black-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

.gallery-list-img .btn.is-hidden {
    display: none;
}

.gallery-social {
    display: none;
    margin-top: 1.5rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

.gallery-social.is-visible {
    display: flex;
}

.gallery-social i {
    color: var(--first-color);
    font-size: var(--h2-font-size);
    cursor: pointer;
    transition: transform 0.3s ease;
    margin: 0 10px;
}

.gallery-social i:hover {
    transform: scale(1.2);
}

@media screen and (max-width: 1200px) {
    .gallery-img {
        width: calc(33.33% - 1rem);
    }
}

@media screen and (max-width: 992px) {
    .gallery-img {
        width: calc(33.33% - 1rem);
        height: 160px;
    }
}

@media screen and (max-width: 768px) {
    .gallery-img {
        width: calc(50% - 1rem);
        height: 160px;
    }
}

@media screen and (max-width: 480px) {
    .gallery-img {
        width: calc(100% - 1rem);
        height: 180px;
    }
}
