
/* ==============================
   DETAIL PAGE BANNER
================================ */



.hp-gallery-detail-content {
    padding-top: 55px;
    padding-bottom: 55px;
}

.hp-gallery-detail-banner h1 {
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 800;
    margin: 5px 0 14px;
}

.hp-gallery-detail-banner p {
    color: #ddd;
    line-height: 1.7;
}


/* ==============================
   PROJECT INFORMATION
================================ */

.hp-project-detail-section {
    padding: 75px 0;
    background: #f8f8f8;
}

.hp-project-detail-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.hp-project-detail-heading h2 {
    color: #151515;
    font-size: clamp(25px, 4vw, 34px);
    font-weight: 800;
    margin: 12px 0;
}

.hp-project-detail-heading p {
    color: #777;
    font-size: 14px;
    margin: 0;
}

.hp-project-detail-heading p i {
    color: #F15A24;
    margin-right: 6px;
}

.hp-back-gallery-btn {
    flex-shrink: 0;
    display: inline-block;
    padding: 12px 18px;
    background: #151515;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    transition: .3s;
}

.hp-back-gallery-btn:hover {
    background: #F15A24;
    color: #fff;
}

.hp-back-gallery-btn i {
    margin-right: 7px;
}


/* ==============================
   FEATURE IMAGE
================================ */

.hp-detail-feature-image {
    width: 100%;
    height: 480px;
    overflow: hidden;
    border-radius: 10px;
    background: #e5e5e5;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    margin-bottom: 65px;
}

.hp-detail-feature-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .7s ease;
}

.hp-detail-feature-image:hover img {
    transform: scale(1.04);
}


/* ==============================
   GALLERY HEADING
================================ */

.hp-detail-gallery-heading {
    text-align: center;
    margin-bottom: 38px;
}

.hp-detail-gallery-heading h3 {
    color: #151515;
    font-size: clamp(27px, 4vw, 36px);
    font-weight: 800;
    margin: 5px 0 12px;
}

.hp-detail-gallery-heading h3 span {
    color: #F15A24;
}

.hp-detail-gallery-heading p {
    color: #777;
    font-size: 14px;
}


/* ==============================
   GALLERY IMAGE CARDS
================================ */

.hp-detail-gallery-card {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 22px rgba(0,0,0,.07);
    transition: transform .4s ease, box-shadow .4s ease;
}

.hp-detail-gallery-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 30px rgba(0,0,0,.13);
}

.hp-detail-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e5e5e5;
}

.hp-detail-image-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .65s ease;
}

.hp-detail-gallery-card:hover img {
    transform: scale(1.10);
}

.hp-detail-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.38);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity .4s ease;
}

.hp-detail-gallery-card:hover .hp-detail-image-overlay {
    opacity: 1;
}

.hp-detail-image-overlay i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F15A24;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    transform: scale(.7);
    transition: transform .4s ease;
}

.hp-detail-gallery-card:hover .hp-detail-image-overlay i {
    transform: scale(1);
}


/* ==============================
   EMPTY STATE
================================ */

.hp-project-detail-section .hp-gallery-empty {
    background: #fff;
    border-radius: 8px;
}


/* ==============================
   RESPONSIVE
================================ */

@media (max-width: 767px) {

    .hp-gallery-detail-banner {
        min-height: 270px;
    }

    .hp-project-detail-section {
        padding: 50px 0;
    }

    .hp-project-detail-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .hp-detail-feature-image {
        height: 280px;
        margin-bottom: 45px;
    }

    .hp-detail-gallery-heading {
        margin-bottom: 28px;
    }
}

@media (max-width: 480px) {

    .hp-detail-feature-image {
        height: 220px;
    }

    .hp-back-gallery-btn {
        width: 100%;
        text-align: center;
    }
}
