/* ============================================
   GALLERY PAGE STYLES
   ============================================ */

/* Featured Gallery */
.featured-gallery {
    background: var(--white);
    padding: 5rem 3rem;
}

.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
}

.carousel {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(38, 151, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

/* Gallery Grid Section */
.gallery-grid-section {
    background: var(--bg-grey);
    padding: 5rem 0;
}

.gallery-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.gallery-icon {
    width: 50px;
    height: 50px;
    background: rgba(38, 151, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.gallery-header h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(38, 151, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Contact Banner */
.contact-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a74cc 100%);
    padding: 4rem 5%;
    color: var(--white);
}

.contact-info-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.contact-info-item i {
    font-size: 2rem;
    opacity: 0.9;
}

.contact-info-item h4 {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.contact-info-item p {
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive Gallery */
@media (max-width: 900px) {
    .gallery-hero {
        height: 240px;
    }

    .gallery-hero h1 {
        font-size: 1.8rem;
    }

    .carousel {
        height: 300px;
    }

    .featured-gallery {
        padding: 3rem 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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