
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero-4.webp');
    background-size: cover;
    background-position: center top;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    min-height: 400px; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
}


/* Gallery Page Styles */
.gallery-page {
    margin: 0;
    padding: 100px 5%;
    background: #f9f9f9;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.gallery-intro {
    text-align: center;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.gallery-intro h2 {
    color: #4CAF50;
    /* font-size: var(--fs-subheading); */
    margin-bottom: 1rem;
}

.gallery-intro p {
    color: #666;
    font-size: var(--fs-body);
    line-height: 1.6;
}

/* Gallery Filter */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #4CAF50;
    background: transparent;
    color: #4CAF50;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: var(--fs-button);
}

.filter-btn:hover,
.filter-btn.active {
    background: #4CAF50;
    color: white;
}

/* Gallery Grid */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 15px;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.gallery-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.gallery-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
}

.gallery-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    /* font-size: var(--fs-body); */
    margin-bottom: 0.5rem;
    color: #F3EB28;
}

.gallery-overlay p {
    font-size: var(--fs-body);
    opacity: 0.9;
}

/* Gallery CTA */
.gallery-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: #247246;
    border-radius: 15px;
    color: white;
}

.gallery-cta h2 {
    /* font-size: var(--fs-subheading); */
    margin-bottom: 1rem;
    color: #F3EB28;
}

.gallery-cta p {
    font-size: var(--fs-body);
    opacity: 0.9;
    margin-bottom: 30px;
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-page {
        width: 100%;
        padding: 1rem;
        overflow-x: hidden;
    }



    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .gallery-card img {
        height: 250px;
    }

}

@media (max-width: 480px) {
    .gallery-filter {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 200px;
    }

    .gallery-container {
        grid-template-columns: 1fr;
    }
}

.hero-title {
    font-size: var(--fs-heading);
}

.hero-subtitle {
    font-size: var(--fs-subheading);
}


.gallery-filters button {
    font-size: var(--fs-button);
}



.gallery-item p {
    font-size: var(--fs-body);
}

.gallery-category {
    font-size: var(--fs-caption);
}

