/* Homepage "Our Gallery" (index.blade.php, .hp-gal). Own file because the homepage stylesheet is purged. */

.hp-gal { position: relative; padding: 90px 0 100px; background: #fff; }

/* ── Header (same as Services / Workflow) ─────────────── */
.hp-gal .hp-gal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.hp-gal .hp-gal-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
    color: #c62828; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.hp-gal .hp-gal-eyebrow::before { content: ""; width: 34px; height: 2px; background: #c62828; }
.hp-gal .process-title { margin: 0 0 8px; font-size: 2.6rem; line-height: 1.15; }
.hp-gal .process-title span { color: #c62828; }
.hp-gal .hp-gal-sub { margin: 0; padding: 0; font-size: 17px; color: #555; }
.hp-gal .hp-gal-headactions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.hp-gal .hp-gal-count { padding: 7px 14px; border-radius: 999px; background: #fdecec; color: #a81f1f; font-size: 13.5px; font-weight: 700; white-space: nowrap; }

.hp-gal .hp-gal-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 26px; border-radius: 10px;
    font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.5;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.hp-gal .hp-gal-btn:hover { transform: translateY(-2px); }
.hp-gal .hp-gal-btn--red { background: #c62828; border: 1px solid #c62828; color: #fff; box-shadow: 0 10px 22px rgba(198, 40, 40, .25); }
.hp-gal .hp-gal-btn--red:hover { background: #a91f1f; border-color: #a91f1f; color: #fff; }
.hp-gal .hp-gal-btn--line { background: #fff; border: 1px solid #222; color: #222; }
.hp-gal .hp-gal-btn--line:hover { background: #222; color: #fff; }

/* ── Collage frames (layout = original .custom-gallery-grid; only the look) ── */
.hp-gal .custom-gallery-grid .project-one__single,
.hp-gal .custom-gallery-grid .project-one__single-img { margin: 0; max-width: none; border-radius: 18px; }
.hp-gal .custom-gallery-grid .project-one__single-img {
    overflow: hidden;
    isolation: isolate;            /* clip the photos to the rounded corner */
    background: #f3eded;
    box-shadow: 0 12px 28px rgba(17, 22, 31, .1);
}
.hp-gal .custom-gallery-grid .project-one__single-img::before { display: none; }
.hp-gal .custom-gallery-grid .project-one__single-img a { border-radius: 18px; overflow: hidden; }
.hp-gal .custom-gallery-grid .project-one__single-img img { border-radius: 0; transform: none; }
.hp-gal .custom-gallery-grid .project-one__single:hover .project-one__single-img img { transform: scale(1.05); }
.hp-gal .custom-gallery-grid .project-one__single-img::after {
    z-index: 1; border-radius: 18px;
    background: linear-gradient(to top, rgba(17, 22, 31, .55), rgba(17, 22, 31, 0) 55%);
}
.hp-gal .custom-gallery-grid .hover-icon {
    top: auto; left: auto; right: 14px; bottom: 14px;
    width: 44px; height: 44px; border-radius: 50%; background: #c62828;
    display: flex; align-items: center; justify-content: center;
    font-size: 0; text-shadow: none;
    box-shadow: 0 8px 18px rgba(198, 40, 40, .35);
    transform: translateY(8px); opacity: 0; transition: opacity .3s ease, transform .3s ease;
}
.hp-gal .custom-gallery-grid .hover-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.hp-gal .custom-gallery-grid .project-one__single:hover .hover-icon { opacity: 1; transform: none; }
/* ── Strip under the grid ─────────────────────────────── */
.hp-gal .hp-gal-strip {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    max-width: 900px; margin: 36px auto 0; padding: 16px 16px 16px 26px;
    border: 1px solid #f0dede; border-radius: 999px; background: #fff;
    box-shadow: 0 12px 28px rgba(17, 22, 31, .06);
}
.hp-gal .hp-gal-strip p { margin: 0; padding: 0; font-size: 16px; font-weight: 600; color: #222; }
.hp-gal .hp-gal-strip .hp-gal-btn { padding: 11px 22px; border-radius: 999px; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 991px) {
    .hp-gal { padding: 70px 0 80px; }
    .hp-gal .hp-gal-head { flex-direction: column; align-items: center; text-align: center; }
    .hp-gal .process-title { font-size: 2.2rem; }
}
@media (max-width: 767px) {
    .hp-gal { padding: 56px 0; }
    .hp-gal .hp-gal-eyebrow::after { content: ""; width: 34px; height: 2px; background: #c62828; }
    .hp-gal .process-title { font-size: 2rem; }
    .hp-gal .hp-gal-sub { font-size: 15.5px; }
    .hp-gal .hp-gal-head { margin-bottom: 20px; gap: 16px; }
    .hp-gal .hp-gal-headactions { gap: 10px; }
    .hp-gal .hp-gal-headactions .hp-gal-btn { padding: 11px 18px; font-size: 14px; }

    .hp-gal .custom-gallery-grid .hover-icon { opacity: 1; transform: none; width: 38px; height: 38px; }
    .hp-gal .hp-gal-strip { flex-direction: column; text-align: center; border-radius: 18px; padding: 18px; margin-top: 20px; }
    .hp-gal .hp-gal-strip p { font-size: 15px; }
    .hp-gal .hp-gal-strip .hp-gal-btn { width: 100%; }
}
