/* ============================================================ */
/* SERVICES.HTML — PAGE-SPECIFIC STYLES                          */
/* Shared styles (header/nav/footer/premium-banner/testimonials) */
/* already live in assets/css/style.css                          */
/* ============================================================ */

/* ---------------- FULL WIDTH HERO BANNER (this page's own image) ---------------- */
.full-width-banner-container {
    width: 100%;
    overflow: hidden;
    background-color: #0b2d28;
}

.banner-wrapper {
    width: 100%;
    height: 40vw;
    min-height: 300px;
    background: url('../images/hero-banner-2.jpg') no-repeat center center;
    background-size: cover;
}

@media (max-width: 768px) {
    .banner-wrapper {
        height: 60vw;
        min-height: 250px;
    }
}

/* ---------------- 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;
    }
}

/* ---------------- PREMIUM CTA BANNER (gold border animation, "modern cut" style) ---------------- */
.modern-cut-cta {
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 2px;
    z-index: 1;
    border-radius: 24px;
    transition: transform 0.3s ease;
}

.modern-cut-cta:hover {
    transform: scale(1.005);
}

.cut-border-animation {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(212, 175, 55, 0.4) 120deg,
        transparent 180deg,
        transparent 240deg,
        rgba(212, 175, 55, 0.4) 300deg,
        transparent 360deg
    );
    animation: rotateCutGlow 6s linear infinite;
    z-index: -2;
}

.cta-inner-content {
    position: relative;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, transparent 15px, #0b2d28 0) top left,
        linear-gradient(-135deg, transparent 15px, #0b2d28 0) top right,
        linear-gradient(45deg, transparent 15px, #0b2d28 0) bottom left,
        linear-gradient(-45deg, transparent 15px, #0b2d28 0) bottom right;
    background-size: 51% 51%;
    background-repeat: no-repeat;
    padding: 45px 50px;
    border-radius: 22px;
    z-index: -1;
}

.cta-buttons-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 35px;
    padding: 0 15px;
    gap: 20px;
}

.banner-left-btn-wrap, .banner-right-btn-wrap {
    flex: 0 1 auto;
}

@keyframes rotateCutGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modern-cut-cta .banner-left h2 {
    margin-bottom: 25px;
}

@media (max-width: 991px) {
    .cta-inner-content {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 25px !important;
        padding: 35px 20px !important;
        background: #0b2d28 !important;
        border-radius: 16px !important;
    }

    .modern-cut-cta {
        border-radius: 18px !important;
    }

    .modern-cut-cta .cta-buttons-row {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 !important;
        margin-top: 15px !important;
    }

    .modern-cut-cta .banner-left-btn-wrap,
    .modern-cut-cta .banner-right-btn-wrap {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .modern-cut-cta .banner-left h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 0px !important;
    }

    .modern-cut-cta .cta-bullets {
        display: block !important;
        text-align: left !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .modern-cut-cta .cta-bullets span {
        display: block !important;
        margin-bottom: 10px !important;
        width: 100% !important;
    }

    .modern-cut-cta .banner-btn {
        display: inline-block !important;
        width: 100% !important;
        max-width: 290px !important;
        text-align: center !important;
    }
}

/* ---------------- PORTFOLIO SECTION (unique names — never collides with shared .grid-3/.premium-card) ---------------- */
.svc-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}

.svc-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;
}

.svc-portfolio-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.svc-portfolio-view-link {
    cursor: pointer;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .svc-portfolio-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    .svc-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;
    }
}
