@import url('style.css');

.aftersales-hero {
    background: linear-gradient(rgba(31, 34, 53, 0.9), rgba(31, 34, 53, 0.9)), url('../images/banners/Hitachi.jpg') no-repeat center center;
    background-size: cover;
    padding: 15rem 2rem 8rem;
    text-align: center;
    margin-top: 5rem;
}

.aftersales-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.aftersales-hero h1 {
    font-size: 4.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.aftersales-hero p {
    font-size: 1.8rem;
    color: #ddd;
    line-height: 1.8;
}

.customer-support {
    background: #f9f9f9;
    padding: 4rem 2rem;
}

.customer-support .heading {
    margin-top: 0;
}

.support-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.support-card {
    flex: 1 1 30rem;
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 280px;
}

.support-card .support-icon {
    margin-bottom: 1.5rem;
}

.support-card .support-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.support-card h3 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.support-card .short-number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--navy);
}

.support-card .contact-note {
    font-size: 1.4rem;
    color: #888;
    margin-bottom: 1rem;
}

.support-card .contact-link {
    display: block;
    font-size: 1.8rem;
    color: #333;
    margin: 0.5rem 0;
    transition: color 0.3s ease;
}

.support-card .contact-link:hover {
    color: var(--navy);
}

.support-card .days {
    font-size: 1.6rem;
    color: #333;
    font-weight: bold;
}

.support-card .hours {
    font-size: 2rem;
    color: var(--navy);
    margin-top: 0.5rem;
}

.service-centers {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-centers .heading {
    margin-top: 0;
}

h3.heading {
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    margin: 0 0 1.5rem 0;
}

h3.heading span {
    color: var(--navy);
}

.locations-container {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    align-items: stretch;
}

.location-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.location-column .heading {
    margin-bottom: 1.5rem;
}

.map-container {
    flex: 1;
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.map-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    flex: 1;
}

.map-legend {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-icon {
    font-size: 1.2rem;
    width: 18px;
    text-align: center;
}

.legend-icon.direct {
    color: #ffffff;
    text-shadow: 0 0 1px #333;
}

.legend-icon.authorized {
    color: #2ECC71;
}

.legend-item span {
    font-size: 1rem;
    color: #333;
}

.centers-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.center-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--navy);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.center-card h3 {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.center-card p {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .aftersales-hero h1 {
        font-size: 3rem;
    }
    
    .aftersales-hero p {
        font-size: 1.5rem;
    }
    
    .support-grid {
        padding: 0 1rem;
    }
    
    .support-card {
        flex: 1 1 100%;
    }
    
    .locations-container {
        flex-direction: column;
    }
    
    .centers-grid {
        grid-template-columns: 1fr;
    }
}
