/* Specific styles for the gallery page */

/* Hero Section for Gallery */
#gallery-hero {
    padding-top: 10rem; /* Give more space for the fixed header */
    padding-bottom: 5rem;
}
img{
    height: 35px;
    margin-right: 10px;
    
}

/* In your CSS file (e.g., styles/common.css or styles/gallery.css) */

.contact-icon i {
    color: white; /* This will make the Font Awesome icons white */
}

.hero-content { /* General hero content for gallery page */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr; /* Single column for gallery hero */
    text-align: center;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 250px; /* Standardize image height */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

.gallery-item .overlay h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.gallery-item .overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item img {
        height: 200px;
    }
    .hero-title {
        font-size: 2rem;
    }
}   