﻿/* Gallery Filter Styles */
.gallery-filters {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    justify-content: flex-start;
    border-bottom: 1px solid #e0e0e0;
}

.gallery-filters button {
    font-family: Satoshi-Medium;
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 24px;
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.gallery-filters button:hover {
    color: #1a1a1a;
}

.gallery-filters button.active {
    color: #1a1a1a;
    font-family: Satoshi-Bold;
}

.gallery-filters button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #1a1a1a;
}

/* Gallery Grid Styles */
.gallery-grid {
    /* display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin-bottom: 60px; */
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.gallery-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
}

.gallery-right {
    position: relative;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    /* aspect-ratio: 1; */
}

.gallery-item img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.large {
    height: 100%;
}

.gallery-item.large img {
    height: 100%;
    /* aspect-ratio: 4/3; */
}

/* Play Button Overlay */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.play-overlay:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-overlay::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid #1a1a1a;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

/* Hide/Show Items Based on Filter */
.gallery-grid .gallery-item {
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.gallery-grid .gallery-item.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-left {
        gap: 15px;
    }

    .gallery-right {
        order: 1;
    }

    .gallery-item.large {
        aspect-ratio: 16/10;
    }
}

@media (max-width: 576px) {
    .gallery-filters {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        margin-bottom: 40px;
    }

    .gallery-filters button {
        padding: 12px 16px;
        font-size: 12px;
    }

    .gallery-left {
        gap: 15px;
    }

    .gallery-grid {
        gap: 20px;
    }

    .play-overlay {
        width: 60px;
        height: 60px;
    }

    .play-overlay::after {
        border-left: 15px solid #1a1a1a;
        border-top: 9px solid transparent;
        border-bottom: 9px solid transparent;
    }
}

/* Animation for filter transitions */
.gallery-item {
    /* animation: fadeIn 0.5s ease-in-out; */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-title {   
    padding: 100px 0;
    text-align: center;
    padding-top: 200px;
    h1 {
        font-size: 24px;
    line-height: 26.4px;
    letter-spacing: 3px;
    text-transform: uppercase;
    }
}
