﻿/* =========================================================
   SS AUTONATION
   INDEX / HOME PAGE STYLES
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.ss-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    background: linear-gradient( 90deg, rgba(11, 13, 16, 0.96) 0%, rgba(11, 13, 16, 0.82) 45%, rgba(11, 13, 16, 0.35) 100% ), url('/img/hero/automotive-hero.jpg') center center / cover no-repeat;
    color: #ffffff;
}

.ss-hero-content {
    max-width: 720px;
    padding: 90px 0;
}

.ss-hero-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 14px;
    border-left: 3px solid var(--ss-red);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.ss-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -2px;
}

    .ss-hero h1 span {
        color: var(--ss-red);
    }

.ss-hero p {
    max-width: 650px;
    margin-bottom: 32px;
    color: #d7dbe0;
    font-size: 18px;
    line-height: 1.8;
}

.ss-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.ss-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    background: var(--ss-red);
    border: 1px solid var(--ss-red);
    border-radius: 6px;
    color: #ffffff;
    font-weight: 700;
}

    .ss-btn-primary:hover {
        background: var(--ss-red-dark);
        border-color: var(--ss-red-dark);
        color: #ffffff;
    }

.ss-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    color: #ffffff;
    font-weight: 700;
}

    .ss-btn-outline:hover {
        background: #ffffff;
        border-color: #ffffff;
        color: var(--ss-dark);
    }


/* =========================================================
   SERVICES SECTION
   ========================================================= */

.ss-services-section {
    padding: 100px 0;
    background: var(--ss-light);
}

.ss-section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

    .ss-section-heading > span {
        display: block;
        margin-bottom: 10px;
        color: var(--ss-red);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 2px;
    }

    .ss-section-heading h2 {
        margin-bottom: 12px;
        color: var(--ss-dark);
        font-size: clamp(32px, 4vw, 48px);
        font-weight: 800;
        letter-spacing: -1px;
    }

    .ss-section-heading p {
        margin: 0;
        color: var(--ss-muted);
        font-size: 16px;
    }


/* =========================================================
   SERVICE CARDS
   ========================================================= */

.ss-service-card {
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--ss-border);
    border-radius: var(--ss-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform var(--ss-transition), box-shadow var(--ss-transition);
}

    .ss-service-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    }

.ss-service-image {
    height: 235px;
    overflow: hidden;
    background: var(--ss-dark-soft);
}

    .ss-service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.45s ease;
    }

.ss-service-card:hover .ss-service-image img {
    transform: scale(1.06);
}

.ss-service-content {
    padding: 25px;
}

    .ss-service-content h3 {
        margin: 0 0 10px;
        color: var(--ss-dark);
        font-size: 21px;
        font-weight: 800;
    }

    .ss-service-content p {
        min-height: 52px;
        margin-bottom: 18px;
        color: var(--ss-muted);
        font-size: 14px;
        line-height: 1.7;
    }

.ss-service-link {
    display: inline-block;
    color: var(--ss-red);
    font-size: 13px;
    font-weight: 700;
}

    .ss-service-link:hover {
        color: var(--ss-red-dark);
    }


/* =========================================================
   ABOUT SECTION
   ========================================================= */

.ss-about-section {
    padding: 110px 0;
    background: #ffffff;
}

.ss-about-label {
    display: block;
    margin-bottom: 12px;
    color: var(--ss-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.ss-about-section h2 {
    margin-bottom: 25px;
    color: var(--ss-dark);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.15;
    font-weight: 800;
}

    .ss-about-section h2 span {
        display: block;
        color: var(--ss-red);
    }

.ss-about-section p {
    max-width: 650px;
    margin-bottom: 18px;
    color: var(--ss-muted);
    font-size: 16px;
    line-height: 1.8;
}

.ss-about-highlight {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border-radius: 10px;
    background: var(--ss-dark);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

    .ss-about-highlight > div {
        min-height: 190px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 25px 15px;
        text-align: center;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

        .ss-about-highlight > div:last-child {
            border-right: none;
        }

    .ss-about-highlight strong {
        display: block;
        margin-bottom: 8px;
        color: var(--ss-red);
        font-size: 48px;
        line-height: 1;
        font-weight: 800;
    }

    .ss-about-highlight span {
        color: #c5cad0;
        font-size: 12px;
        font-weight: 600;
    }


/* =========================================================
   CTA SECTION
   ========================================================= */

.ss-cta-section {
    padding: 95px 0;
    background: linear-gradient( 135deg, var(--ss-dark) 0%, var(--ss-dark-soft) 100% );
    color: #ffffff;
}

.ss-cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

    .ss-cta-content > span {
        display: block;
        margin-bottom: 12px;
        color: var(--ss-red);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 2px;
    }

    .ss-cta-content h2 {
        margin-bottom: 20px;
        font-size: clamp(34px, 5vw, 56px);
        line-height: 1.1;
        font-weight: 800;
    }

    .ss-cta-content p {
        max-width: 650px;
        margin: 0 auto 30px;
        color: #bfc5cc;
        font-size: 16px;
    }


/* =========================================================
   INDEX RESPONSIVE
   ========================================================= */

@media (max-width: 767.98px) {

    .ss-hero {
        min-height: 560px;
    }

    .ss-hero-content {
        padding: 70px 0;
    }

    .ss-hero h1 {
        font-size: 48px;
        letter-spacing: -1.5px;
    }

    .ss-hero p {
        font-size: 16px;
    }

    .ss-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

        .ss-hero-buttons .btn {
            width: 100%;
        }

    .ss-services-section,
    .ss-about-section {
        padding: 70px 0;
    }

    .ss-service-image {
        height: 220px;
    }

    .ss-about-highlight {
        grid-template-columns: 1fr;
    }

        .ss-about-highlight > div {
            min-height: 140px;
            border-right: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

            .ss-about-highlight > div:last-child {
                border-bottom: none;
            }

    .ss-cta-section {
        padding: 70px 0;
    }
}
