/* ============================================================ */
/* GALLERY.HTML — PAGE-SPECIFIC STYLES                           */
/* Shared styles (header/nav/footer/premium-banner/why-section/  */
/* testimonials/inquiry-form) already live in assets/css/style.css */
/* Portfolio grid uses "gal-" prefix so it never collides with   */
/* the shared .grid-3/.premium-card used elsewhere on the site   */
/* ============================================================ */

/* ---------------- AUTO-SCROLL SHOWCASE ---------------- */
@keyframes infiniteScrollEffect {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 10px)); }
}

@media (min-width: 769px) {
    .hero-scroll-container:hover .hero-scroll-track {
        animation-play-state: paused;
    }
}

.hero-scroll-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    width: calc(50vw - 25px);
    max-width: 650px;
    height: 520px;
    background: #111;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .hero-scroll-item {
        width: calc(85vw - 15px);
        height: 380px;
    }
}

/* ---------------- WHY CHOOSE US GRID (3 columns, this page only) ---------------- */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
}

.why-us-grid .premium-card {
    width: 100%;
    background: #fff;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .why-us-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

/* ---------------- PORTFOLIO GALLERY (unique "gal-" names, no collision) ---------------- */
.gal-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}

.gal-portfolio-card {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding-bottom: 20px;
}

.gal-portfolio-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.gal-view-link {
    cursor: pointer;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .gal-portfolio-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    .gal-portfolio-card img {
        height: 220px;
    }
}

/* ---------------- LIGHTBOX POPUP (mobile arrow adjustments) ---------------- */
@media (max-width: 768px) {
    .nav-arrow {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 10px 14px !important;
        font-size: 20px !important;
        left: 5px !important;
    }
    .nav-arrow:last-of-type {
        left: auto !important;
        right: 5px !important;
    }
    #lightboxImg {
        max-width: 100vw !important;
        max-height: 80vh !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }
}
