﻿.gallery-section {
    background: #f8fbff;
    min-height: 100vh;
}

/* =========================
   Gallery Heading
========================= */

.gallery-title {
    color: #123b5d;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}

.gallery-subtitle {
    color: #6c757d;
    font-size: 17px;
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
}


/* =========================
   Gallery Card
========================= */

.gallery-card {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(18, 59, 93, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .gallery-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 35px rgba(18, 59, 93, 0.16);
    }


/* =========================
   Gallery Image
========================= */

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.08);
}


/* =========================
   Gallery Title Overlay
========================= */

.gallery-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 45px 20px 18px;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0) );
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h3 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}


/* =========================
   No Image
========================= */

.gallery-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #eef5fb;
    color: #6c757d;
}

    .gallery-no-image span {
        font-size: 48px;
        margin-bottom: 8px;
    }

    .gallery-no-image p {
        margin: 0;
        font-size: 15px;
    }


/* =========================
   Empty Gallery State
========================= */

.gallery-empty-state {
    max-width: 650px;
    margin: 40px auto 0;
    padding: 55px 30px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(18, 59, 93, 0.08);
}

.gallery-empty-icon {
    font-size: 55px;
    margin-bottom: 18px;
}

.gallery-empty-state h3 {
    color: #123b5d;
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 10px;
}

.gallery-empty-state p {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}


/* =========================
   Responsive
========================= */

@media (max-width: 768px) {

    .gallery-title {
        font-size: 34px;
    }

    .gallery-subtitle {
        font-size: 15px;
    }

    .gallery-card {
        height: 250px;
    }

    .gallery-content {
        transform: translateY(0);
        padding: 35px 16px 14px;
    }

        .gallery-content h3 {
            font-size: 18px;
        }
}

@media (max-width: 480px) {

    .gallery-title {
        font-size: 30px;
    }

    .gallery-card {
        height: 230px;
    }

    .gallery-empty-state {
        padding: 40px 20px;
    }
}
