/**
 * Service Areas Archive Styles
 * File: assets/css/service-areas.css
 */

/* ==========================================================================
   Breadcrumb Navigation
   ========================================================================== */
   .vp_site_navigation {
    padding: 44px 16px 36px;
    background: var(--Primary-3);
}

.vp_site_navigation .vp-max-width span {
    margin-right: 4px;
}

.vp_site_navigation .vp-max-width svg {
    vertical-align: sub;
}

.vp_site_navigation .vp-text-100-medium:last-child {
    color: var(--Primary-primary);
}

.vp_site_navigation a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.vp_site_navigation a:hover {
    color: var(--Primary-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.vp-serv-areas-bacground-inner {
    background: var(--Primary-3);
}

.vp-serv-areas-order-block .vp-ligth-text {
    color: var(--Neutral-600);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 148%;
    margin-top: 24px;
    margin-bottom: 32px;
}

.vp-serv-areas-order-block .vp-serv-areas-order-block {
    width: 100%;
}

.vp-serv-areas-order-block .vp-services-areas-pic {
    position: absolute;
    right: 0;
    width: 619px;
    height: 524px;
}

.vp-serv-areas-order-block .vp-services-areas-pic img{
    height: 100%;
    object-fit: contain;
}

.vp-serv-areas-order-block .vp-serv-areas-title {
    width: 48%;
    margin-bottom: 60px;
}

/* ==========================================================================
   Search Bar
   ========================================================================== */
.vp-search-bar {
    display: flex;
    border-radius: var(--16, 16px);
    border: 1px solid var(--Neutral-400);
    background: var(--Neutral-100);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.02);
    max-width: 460px;
    max-height: 56px;
}

.vp-search-bar input {
    flex: 1;
    padding: 20px;
    border: 0;
    border-radius: var(--16);
    max-height: 56px;
    font-size: 16px;
}

.vp-search-bar input:focus {
    outline: none;
}

.vp-search-bar button {
    border-radius: var(--12, 12px);
    background: var(--Primary-primary);
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.12);
    border: none;
    color: var(--Neutral-100);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    padding: 0 20px;
    max-height: 50px;
    display: flex;
    align-items: center;
    align-self: center;
    padding: 20px;
    margin-right: 2px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.vp-search-bar button:hover {
    background: var(--Primary-dark, #7645c7);
}

/* ==========================================================================
   Service Areas Section
   ========================================================================== */
.vp-serv-areas-section {
    margin-top: 225px;
}

.vp-serv-areas-section .vp-ligth-text {
    width: 55%;
    margin-top: 24px;
    margin-bottom: 0;
    color: var(--Neutral-600);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 148%;
}

.vp-text-search {
    justify-content: space-between;
    margin: 0;
    align-items: end;
    margin-bottom: 44px;
}

/* ==========================================================================
   Service Areas Grid
   ========================================================================== */
.vp-serv-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    grid-row-gap: 40px;
}

.vp-serv-areas-grid .vp-card {
    border-radius: var(--24);
    border: 1px solid var(--Neutral-300);
    background: var(--Neutral-100);
    padding: var(--20, 20px);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.vp-serv-areas-grid .vp-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.vp-serv-areas-grid .vp-card img {
    width: 100%;
    border-radius: var(--24);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.vp-serv-areas-grid .vp-card p {
    color: var(--Neutral-600);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--Neutral-300);
    width: 100%;
}

.vp-serv-areas-grid .vp-card p span {
    gap: 6px;
}

/* ==========================================================================
   City Card States
   ========================================================================== */
.vp-city-hidden {
    display: none !important;
}

.vp-city-card {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Search Highlight */
.vp-highlight {
    background-color: var(--Primary-2, #E8D9F9);
    color: var(--Primary-primary, #8C58DA);
    padding: 0 2px;
    border-radius: 2px;
}

/* ==========================================================================
   Load More Button
   ========================================================================== */
.vp-load-more {
    display: flex;
    justify-content: center;
    margin-top: 44px;
}

/* ==========================================================================
   No Results / Empty States
   ========================================================================== */
.vp-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--Neutral-600);
    font-size: 18px;
}

.vp-no-cities {
    text-align: center;
    padding: 60px 20px;
    color: var(--Neutral-600);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Large screens */
@media (max-width: 1280px) {
    .vp-serv-areas-order-block .vp-services-areas-pic {
        width: 520px;
    }
    
    .vp-serv-areas-order-block .vp-serv-areas-section {
        margin-top: 230px;
    }
}

/* Medium-large screens */
@media (max-width: 1130px) {
    .vp-serv-areas-order-block .vp-services-areas-pic {
        width: 460px;
    }
    
    .vp-serv-areas-order-block .vp-serv-areas-section {
        margin-top: 130px;
    }
}

/* Tablet landscape */
@media (max-width: 1024px) {
    .vp-news-inner-blog .vp-title {
        max-width: max-content;
    }
}

/* Tablet */
@media (max-width: 980px) {
    .vp-serv-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vp-serv-areas-section {
        margin-top: 120px;
    }
}

/* Tablet - Hero adjustments */
@media (max-width: 970px) {
    .vp-serv-areas-order-block .vp-serv-areas-btns {
        display: none;
    }
    
    .vp-serv-areas-order-block .vp-services-areas-pic {
        position: unset;
        order: 2;
    }
    
    .vp-serv-areas-order-block .vp-serv-areas-title {
        width: 100%;
        margin-bottom: 32px;
    }
    
    .vp-serv-areas-order-block .vp-services-areas-pic {
        margin: 0 auto;
        height: auto;
    }
    
    .vp-serv-areas-order-block .vp-services-areas-pic img {
        border-radius: var(--20, 20px);
    }
}

/* Small tablet */
@media (max-width: 880px) {
    .vp-search-bar {
        order: 1;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .vp_site_navigation {
        padding: 32px 16px 36px;
    }
    
    .vp_site_navigation .vp-max-width {
        padding: 0;
    }
    
    .vp-news-inner-blog .vp-btn-stroke-white-medium {
        display: flex;
    }
    
    .vp-news-inner-blog .vp-btn-stroke-white-large {
        display: none;
    }
    
    .vp-search-bar {
        max-width: 100%;
        width: 100%;
    }
    
    .vp-load-more a,
    .vp-load-more button {
        display: flex !important;
    }
    
    .vp-serv-areas-grid {
        grid-template-columns: 1fr;
    }
    
    .vp-serv-areas-section .vp-ligth-text {
        width: 100%;
        margin-bottom: 24px;
    }
    
    .vp-services-areas-pic {
        width: 100%;
    }
}

/* Small mobile */
@media (max-width: 570px) {
    .vp-serv-areas-order-block .vp-services-areas-pic {
        max-width: 100%;
    }
}

/* Extra small mobile */
@media (max-width: 430px) {
    .vp-load-more a,
    .vp-load-more button {
        width: 100%;
    }
    
    .vp-load-more {
        width: 95%;
    }
}