/* =========================================================
   AUTOMOTIVE PAGE
   Alabash India Enterprise
========================================================= */

:root {
    --automotive-red: #e30613;
    --automotive-red-dark: #b9000a;
    --automotive-black: #111111;
    --automotive-dark: #181818;
    --automotive-gray: #666666;
    --automotive-light-gray: #f5f5f3;
    --automotive-border: #ddddda;
    --automotive-white: #ffffff;
    --automotive-heading: #171717;
}


/* =========================================================
   GLOBAL
========================================================= */

.automotive-page {
    width: 100%;
    overflow-x: hidden;
    background: var(--automotive-white);
    color: var(--automotive-black);
}

.automotive-page *,
.automotive-page *::before,
.automotive-page *::after {
    box-sizing: border-box;
}

.automotive-container {
    width: min(1240px, calc(100% - 80px));
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.automotive-hero {
    position: relative;
    width: 100%;
    min-height: 650px;
    overflow: hidden;
    background: #111;
}

.automotive-hero-image {
    position: absolute;
    inset: 0;
}

.automotive-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.automotive-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.58) 42%,
            rgba(0, 0, 0, 0.15) 100%
        );
}

.automotive-hero-content {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 80px));
    margin: 0 auto;
    min-height: 650px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    color: var(--automotive-white);
    padding: 80px 0;
}

.automotive-eyebrow {
    display: inline-block;
    margin-bottom: 22px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;

    color: #ffffff;
}

.automotive-eyebrow::before {
    content: "";
    display: inline-block;
    width: 42px;
    height: 2px;
    margin-right: 14px;
    vertical-align: middle;
    background: var(--automotive-red);
}

.automotive-hero h1 {
    margin: 0;
    max-width: 800px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 7vw, 105px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -3px;
}

.automotive-hero p {
    max-width: 650px;
    margin: 32px 0 0;

    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}


/* =========================================================
   CATEGORY NAVIGATION
========================================================= */

.automotive-category-nav {
    position: sticky;
    top: 0;
    z-index: 900;

    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--automotive-border);

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);

    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;
}

.automotive-category-nav::-webkit-scrollbar {
    height: 0;
}

.automotive-category-nav-inner {
    width: min(1240px, calc(100% - 80px));
    min-height: 76px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    white-space: nowrap;
}

.automotive-category-link {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 76px;
    padding: 0 25px;

    color: #555555;
    text-decoration: none;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;

    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.automotive-category-link::after {
    content: "";
    position: absolute;

    left: 25px;
    right: 25px;
    bottom: 0;

    height: 3px;

    background: var(--automotive-red);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.25s ease;
}

.automotive-category-link:hover,
.automotive-category-link.active {
    color: var(--automotive-red);
}

.automotive-category-link:hover::after,
.automotive-category-link.active::after {
    transform: scaleX(1);
}


/* =========================================================
   SECTION HEADING
========================================================= */

.automotive-section-label {
    display: block;
    margin-bottom: 16px;

    color: var(--automotive-red);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.automotive-section-heading h2 {
    margin: 0;

    color: var(--automotive-heading);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -1.5px;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.automotive-introduction {
    padding: 120px 0 110px;
    background: #ffffff;
}

.automotive-introduction-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 90px;
    margin-top: 55px;
    align-items: start;
}

.automotive-introduction-text {
    max-width: 850px;
}

.automotive-introduction-text p {
    margin: 0 0 25px;

    color: #555555;

    font-size: 17px;
    line-height: 1.9;
}

.automotive-introduction-text p:last-child {
    margin-bottom: 0;
}

.automotive-introduction-highlight {
    padding: 42px 35px;

    background: var(--automotive-black);
    color: white;

    position: relative;
    overflow: hidden;
}

.automotive-introduction-highlight::after {
    content: "";
    position: absolute;

    width: 180px;
    height: 180px;

    right: -90px;
    bottom: -90px;

    border-radius: 50%;
    border: 35px solid rgba(227, 6, 19, 0.35);
}

.automotive-highlight-number {
    margin-bottom: 20px;

    color: var(--automotive-red);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 70px;
    line-height: 1;
}

.automotive-highlight-content span {
    display: block;

    margin-bottom: 15px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.automotive-highlight-content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   VEHICLE SECTION
========================================================= */

.automotive-vehicle-section {
    padding: 115px 0 125px;
    background: var(--automotive-light-gray);
}

.automotive-vehicle-section-alt {
    background: #ffffff;
}

.automotive-vehicle-intro {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 30px;

    margin-bottom: 60px;
}

.automotive-vehicle-number {
    color: var(--automotive-red);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 65px;
    line-height: 1;
}

.automotive-vehicle-intro h2 {
    margin: 0 0 20px;

    color: var(--automotive-heading);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5vw, 65px);
    font-weight: 400;
    line-height: 1.05;
}

.automotive-vehicle-intro p {
    max-width: 760px;
    margin: 0;

    color: #666666;

    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   VEHICLE IMAGE + SUMMARY
========================================================= */

.automotive-vehicle-feature {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;

    min-height: 470px;
    margin-bottom: 90px;

    background: var(--automotive-white);

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.automotive-feature-reverse {
    grid-template-columns: 1.4fr 0.6fr;
}

.automotive-vehicle-image {
    min-height: 470px;
    overflow: hidden;
}

.automotive-vehicle-image img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;

    transition: transform 0.8s ease;
}

.automotive-vehicle-feature:hover .automotive-vehicle-image img {
    transform: scale(1.035);
}

.automotive-vehicle-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px 45px;

    background: var(--automotive-black);
    color: #ffffff;
}

.automotive-summary-label {
    margin-bottom: 30px;

    color: var(--automotive-red);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.automotive-summary-item {
    padding: 23px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.automotive-summary-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.automotive-summary-item strong {
    display: block;
    margin-bottom: 8px;

    font-size: 13px;
    font-weight: 700;
}

.automotive-summary-item span {
    display: block;

    color: rgba(255, 255, 255, 0.68);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   SPECIFICATIONS
========================================================= */

.automotive-spec-section {
    margin-bottom: 75px;
}

.automotive-last-spec-section {
    margin-bottom: 0;
}

.automotive-spec-heading {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-bottom: 32px;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--automotive-border);
}

.automotive-spec-heading span {
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--automotive-red);
    color: white;

    font-size: 12px;
    font-weight: 800;
}

.automotive-spec-heading h3 {
    margin: 0;

    color: var(--automotive-heading);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 400;
}

.automotive-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.automotive-spec-grid-three {
    grid-template-columns: repeat(3, 1fr);
}

.automotive-spec-card {
    min-height: 135px;
    padding: 25px;

    background: #ffffff;
    border: 1px solid #e2e2df;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.automotive-vehicle-section-alt .automotive-spec-card {
    background: #fafafa;
}

.automotive-spec-card:hover {
    transform: translateY(-3px);

    border-color: rgba(227, 6, 19, 0.45);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.automotive-spec-card span {
    display: block;

    margin-bottom: 12px;

    color: var(--automotive-red);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
    line-height: 1.4;
    text-transform: uppercase;
}

.automotive-spec-card strong {
    display: block;

    color: #333333;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
}


/* =========================================================
   CTA
========================================================= */

.automotive-cta {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.68)
        ),
        url("../images/what-we-do/automotive/automotive-hero.jpg")
        center / cover no-repeat;
}

.automotive-cta-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(227, 6, 19, 0.12),
            transparent 55%
        );
}

.automotive-cta-content {
    position: relative;
    z-index: 2;

    color: white;
}

.automotive-cta-content h2 {
    max-width: 850px;

    margin: 0 0 25px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5.5vw, 72px);
    font-weight: 400;
    line-height: 1.05;
}

.automotive-cta-content p {
    max-width: 720px;

    margin: 0 0 35px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 16px;
    line-height: 1.8;
}

.automotive-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 22px;

    padding: 16px 25px;

    background: var(--automotive-red);
    color: white;

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.automotive-cta-button span {
    font-size: 20px;
    line-height: 1;
}

.automotive-cta-button:hover {
    background: var(--automotive-red-dark);
    transform: translateY(-2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .automotive-container,
    .automotive-hero-content,
    .automotive-category-nav-inner {
        width: min(100% - 50px, 1000px);
    }

    .automotive-introduction-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .automotive-introduction-highlight {
        max-width: 500px;
    }

    .automotive-spec-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .automotive-spec-grid-three {
        grid-template-columns: repeat(2, 1fr);
    }

    .automotive-vehicle-feature {
        grid-template-columns: 1fr;
    }

    .automotive-vehicle-image {
        min-height: 420px;
    }

    .automotive-vehicle-summary {
        min-height: auto;
    }

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 768px) {

    .automotive-container,
    .automotive-hero-content,
    .automotive-category-nav-inner {
        width: calc(100% - 36px);
    }

    .automotive-hero {
        min-height: 560px;
    }

    .automotive-hero-content {
        min-height: 560px;
        padding: 60px 0;
    }

    .automotive-hero h1 {
        font-size: clamp(52px, 15vw, 75px);
        letter-spacing: -2px;
    }

    .automotive-hero p {
        font-size: 16px;
    }

    .automotive-category-nav {
        position: relative;
    }

    .automotive-category-nav-inner {
        justify-content: flex-start;
        width: max-content;
        min-width: 100%;
    }

    .automotive-category-link {
        min-height: 65px;
        padding: 0 17px;
        font-size: 10px;
    }

    .automotive-category-link::after {
        left: 17px;
        right: 17px;
    }

    .automotive-introduction {
        padding: 80px 0;
    }

    .automotive-section-heading h2 {
        font-size: 43px;
    }

    .automotive-vehicle-section {
        padding: 80px 0;
    }

    .automotive-vehicle-intro {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .automotive-vehicle-number {
        font-size: 45px;
    }

    .automotive-vehicle-intro h2 {
        font-size: 43px;
    }

    .automotive-vehicle-feature {
        margin-bottom: 65px;
    }

    .automotive-vehicle-image {
        min-height: 300px;
    }

    .automotive-vehicle-summary {
        padding: 38px 28px;
    }

    .automotive-spec-grid,
    .automotive-spec-grid-three {
        grid-template-columns: 1fr;
    }

    .automotive-spec-heading h3 {
        font-size: 25px;
    }

    .automotive-spec-section {
        margin-bottom: 55px;
    }

    .automotive-cta {
        min-height: 500px;
    }

    .automotive-cta-content h2 {
        font-size: 45px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .automotive-container,
    .automotive-hero-content {
        width: calc(100% - 28px);
    }

    .automotive-hero {
        min-height: 520px;
    }

    .automotive-hero-content {
        min-height: 520px;
    }

    .automotive-eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .automotive-hero h1 {
        font-size: 50px;
    }

    .automotive-hero p {
        margin-top: 22px;
        font-size: 15px;
        line-height: 1.7;
    }

    .automotive-introduction {
        padding: 65px 0;
    }

    .automotive-section-heading h2,
    .automotive-vehicle-intro h2 {
        font-size: 37px;
    }

    .automotive-introduction-text p {
        font-size: 15px;
    }

    .automotive-introduction-highlight {
        padding: 32px 25px;
    }

    .automotive-highlight-number {
        font-size: 58px;
    }

    .automotive-vehicle-section {
        padding: 65px 0;
    }

    .automotive-vehicle-image {
        min-height: 250px;
    }

    .automotive-vehicle-summary {
        padding: 32px 23px;
    }

    .automotive-spec-heading {
        gap: 14px;
    }

    .automotive-spec-heading span {
        width: 36px;
        height: 36px;
    }

    .automotive-spec-heading h3 {
        font-size: 22px;
    }

    .automotive-spec-card {
        min-height: auto;
        padding: 22px;
    }

    .automotive-spec-card strong {
        font-size: 13px;
    }

    .automotive-cta {
        min-height: 470px;
    }

    .automotive-cta-content h2 {
        font-size: 39px;
    }

}

.automotive-spec-card,
.automotive-introduction-highlight,
.automotive-vehicle-feature {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {

    .automotive-spec-card,
    .automotive-introduction-highlight,
    .automotive-vehicle-feature {
        opacity: 0;
        transform: translateY(25px);
        transition:
            opacity 0.65s ease,
            transform 0.65s ease;
    }

    .automotive-spec-card.automotive-visible,
    .automotive-introduction-highlight.automotive-visible,
    .automotive-vehicle-feature.automotive-visible {
        opacity: 1;
        transform: translateY(0);
    }

}