/* ==========================================================================
   New Service Cards V2 Styles (Photo Background)
   ========================================================================== */

.services-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 10px;
}

.service-card-v2 {
    position: relative;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.service-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.service-bg-v2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.service-bg-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-card-v2:hover .service-bg-v2 img {
    transform: scale(1.1);
}

.overlay-v2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.6) 70%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
    transition: opacity 0.3s ease;
}

.service-content-v2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.service-content-v2 h3 {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 70%;
}

.arrow-link-v2 {
    width: 60px;
    height: 60px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(239, 105, 54, 0.3);
    transition: all 0.3s ease;
}

.service-card-v2:hover .arrow-link-v2 {
    background: white;
    color: var(--primary-orange);
    transform: rotate(-45deg);
}

@media (max-width: 992px) {
    .services-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card-v2 {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .services-grid-v2 {
        grid-template-columns: 1fr;
    }

    .service-card-v2 {
        height: 300px;
    }

    .service-content-v2 h3 {
        font-size: 1.4rem;
    }

    .arrow-link-v2 {
        width: 50px;
        height: 50px;
    }
}