/* Gallery Page Styles */

.gallery-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 160px 5% 100px;
    background: #000000;
    position: relative;
    overflow: hidden;
}

/* Background Glowing Effect for Gallery */
.gallery-hero::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 100%;
    right: -15%;
    bottom: -10%;
    background: radial-gradient(circle, rgba(74, 146, 146, 0.2) 0%, transparent 80%);
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
}

.gallery-hero .hero-content h1 {
    font-size: clamp(40px, 7vw, 75px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -3px;
    background: linear-gradient(180deg, #FFFFFF 0%, #AFAFAF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Filter Tags Styles */
.gallery-filters {
    padding: 60px 10%;
    text-align: center;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #4A9292;
    color: #4A9292;
}

.filter-btn.active {
    border-color: #4A9292;
    color: #4A9292;
    background: rgba(74, 146, 146, 0.05);
}

/* Gallery Grid Styles */
.gallery-grid-section {
    padding: 80px 10%;
    background: #110E0D;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 450px;
    gap: 32px;
    max-width: 1440px;
    margin: 0 auto;
}

.gallery-item-wrapper {
    background: #1A1A1A;
    /* Placeholder color */
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-item-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item-wrapper:hover img {
    transform: scale(1.05);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1A1A1A 0%, #121212 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item-wrapper.wide {
    grid-column: span 1.5;
    /* This doesn't work with grid directly, I'll use 6 cols */
}

/* More precise grid for the 3-2 layout */
@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    /* Top Row: 3 items, each span 2 columns */
    .gallery-item-wrapper {
        grid-column: span 2;
    }

    /* Bottom Row: 2 items, each span 3 columns */
    .gallery-item-wrapper.wide {
        grid-column: span 3;
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 350px;
    }

    .gallery-item-wrapper.wide {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }

    .gallery-item-wrapper.wide {
        grid-column: span 1;
    }

    .gallery-filters {
        padding: 40px 5%;
    }
}