/* =========================================================
   BLACK STALLION AUTOMOTIVE
   MODERN BLACK + GOLD WEBSITE
========================================================= */


/* =========================================================
   ROOT / VARIABLES
========================================================= */

:root {
    --black: #080808;
    --black-soft: #111111;
    --black-light: #181818;

    --gold: #c9a35a;
    --gold-light: #e2c47c;
    --gold-dark: #967437;

    --white: #ffffff;
    --off-white: #f5f5f3;

    --grey: #a5a5a5;
    --grey-dark: #686868;

    --border: rgba(255, 255, 255, 0.10);

    --max-width: 1200px;

    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

    --transition: all 0.3s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================================
   GLOBAL CONTAINER
========================================================= */

.section {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 110px 30px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;

    background: rgba(8, 8, 8, 0.94);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--max-width);
    margin: auto;

    min-height: 86px;

    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;
    flex-direction: column;

    line-height: 0.9;

    min-width: 180px;
}

.logo-main {
    font-family: 'Oswald', sans-serif;

    font-size: 24px;
    font-weight: 700;

    letter-spacing: 4px;
}

.logo-gold {
    font-family: 'Oswald', sans-serif;

    color: var(--gold);

    font-size: 25px;
    font-weight: 700;

    letter-spacing: 3px;
}

.logo small {
    margin-top: 8px;

    font-size: 8px;
    letter-spacing: 5px;

    color: var(--grey);
}


/* =========================================================
   NAV LINKS
========================================================= */

.nav-links {
    display: flex;
    align-items: center;

    gap: 34px;
}

.nav-links a {
    position: relative;

    color: #d5d5d5;

    font-size: 12px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1.5px;

    padding: 8px 0;

    transition: var(--transition);
}

.nav-links a::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


/* =========================================================
   NAV BUTTON
========================================================= */

.nav-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 13px 23px;

    background: var(--gold);
    color: var(--black);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;

    transition: var(--transition);
}

.nav-button:hover {
    background: var(--gold-light);

    transform: translateY(-2px);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.mobile-menu {
    display: none;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    padding: 0;

    background: transparent;

    border: 1px solid rgba(201, 163, 90, 0.55);

    color: var(--white);

    font-family: Arial, sans-serif;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.2s ease;
}

.mobile-menu:hover {
    color: var(--gold);

    border-color: var(--gold);

    background: rgba(201, 163, 90, 0.08);
}

.mobile-menu:active {
    transform: scale(0.94);
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

.eyebrow {
    color: var(--gold);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 3px;

    text-transform: uppercase;

    margin-bottom: 15px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Oswald', sans-serif;
}

h1 {
    font-size: clamp(48px, 7vw, 88px);

    line-height: 0.98;

    font-weight: 700;

    letter-spacing: -1px;
}

h2 {
    font-size: clamp(40px, 5vw, 65px);

    line-height: 1;
}

h2 span,
h1 span {
    color: var(--gold);
}

h3 {
    font-size: 22px;

    letter-spacing: 1px;
}

p {
    color: var(--grey);
}


/* =========================================================
   BUTTONS
========================================================= */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 28px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.7px;

    text-transform: uppercase;

    transition: var(--transition);
}

.button-gold {
    background: var(--gold);

    color: var(--black);
}

.button-gold:hover {
    background: var(--gold-light);

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(201, 163, 90, 0.18);
}

.button-outline {
    border: 1px solid rgba(255, 255, 255, 0.4);

    color: var(--white);
}

.button-outline:hover {
    border-color: var(--gold);

    color: var(--gold);

    transform: translateY(-3px);
}

.button-dark {
    background: var(--black);

    color: var(--white);
}

.button-dark:hover {
    background: var(--gold);

    color: var(--black);

    transform: translateY(-3px);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: calc(100vh - 86px);

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.68) 50%,
            rgba(0, 0, 0, 0.35) 100%
        ),
        url("images/hero.jpg")
        center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 65%,
            rgba(8, 8, 8, 0.9)
        );
}

.hero-content {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: var(--max-width);

    margin: auto;

    padding: 100px 30px;
}

.hero-content h1 {
    max-width: 900px;
}

.hero-text {
    max-width: 580px;

    margin-top: 25px;

    font-size: 16px;

    line-height: 1.8;
}

.hero-buttons {
    display: flex;

    gap: 14px;

    margin-top: 35px;

    flex-wrap: wrap;
}


/* =========================================================
   HERO STATS
========================================================= */

.hero-stats {
    display: flex;

    gap: 55px;

    margin-top: 70px;
}

.hero-stats div {
    display: flex;

    flex-direction: column;
}

.hero-stats strong {
    font-family: 'Oswald', sans-serif;

    color: var(--gold);

    font-size: 30px;
}

.hero-stats span {
    margin-top: 4px;

    color: var(--grey);

    font-size: 9px;

    letter-spacing: 1.5px;
}


/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {
    min-height: 430px;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.9)
        ),
        url("images/page-hero.jpg")
        center / cover no-repeat;

    border-bottom: 1px solid var(--border);
}

.page-hero-content {
    max-width: 800px;

    padding: 80px 25px;
}

.page-hero-content p:last-child {
    max-width: 650px;

    margin: 25px auto 0;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    max-width: 750px;

    margin-bottom: 60px;
}

.section-heading > p:last-child {
    margin-top: 20px;

    max-width: 600px;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    background: var(--off-white);

    color: var(--black);
}

.services p {
    color: #666;
}

.services .eyebrow {
    color: var(--gold-dark);
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.service-card {
    position: relative;

    padding: 38px 30px;

    min-height: 390px;

    background: var(--white);

    border: 1px solid #e8e8e8;

    transition: var(--transition);

    overflow: hidden;
}

.service-card::before {
    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 3px;

    background: var(--gold);

    transform: scaleX(0);

    transform-origin: left;

    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.10);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-number {
    color: #d3d3d3;

    font-family: 'Oswald', sans-serif;

    font-size: 14px;
}

.service-icon {
    margin: 35px 0 25px;

    color: var(--gold-dark);

    font-size: 32px;
}

.service-card h3 {
    margin-bottom: 18px;
}

.service-card p {
    font-size: 14px;

    line-height: 1.8;
}

.service-card a {
    position: absolute;

    bottom: 30px;

    color: var(--black);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.service-card a:hover {
    color: var(--gold-dark);
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 650px;

    background: var(--black);
}

.about-image {
    min-height: 550px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.4)
        ),
        url("images/about.jpg")
        center / cover no-repeat;
}

.about-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 90px max(30px, 7vw);
}

.about-content > p:not(.eyebrow) {
    max-width: 600px;

    margin-top: 22px;

    font-size: 15px;

    line-height: 1.9;
}

.about-features {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

    margin: 40px 0;
}

.about-features div {
    display: flex;

    flex-direction: column;

    gap: 7px;

    padding: 20px 0;

    border-top: 1px solid var(--border);
}

.about-features strong {
    color: var(--gold);

    font-family: 'Oswald', sans-serif;
}

.about-features span {
    color: var(--grey);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery {
    background: var(--off-white);

    color: var(--black);
}

.gallery .eyebrow {
    color: var(--gold-dark);
}

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    grid-auto-rows: 260px;

    gap: 14px;
}

.gallery-item {
    overflow: hidden;
}

.gallery-large {
    grid-row: span 2;
}

.image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #1a1a1a,
            #303030
        );

    color: var(--gold);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    transition: var(--transition);
}

.gallery-item:hover .image-placeholder {
    transform: scale(1.04);
}

.center-button {
    display: flex;

    justify-content: center;

    margin-top: 45px;
}


/* =========================================================
   WHY US
========================================================= */

.why-us {
    background: var(--black-soft);

    padding: 110px 30px;
}

.why-container {
    max-width: var(--max-width);

    margin: auto;
}

.why-heading {
    margin-bottom: 65px;
}

.why-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 0;

    border-top: 1px solid var(--border);
}

.why-item {
    display: flex;

    gap: 25px;

    padding: 35px 30px;

    border-bottom: 1px solid var(--border);
}

.why-item:nth-child(odd) {
    border-right: 1px solid var(--border);
}

.why-icon {
    flex-shrink: 0;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--gold);

    color: var(--gold);

    font-size: 18px;
}

.why-item h3 {
    margin-bottom: 8px;

    font-size: 18px;
}

.why-item p {
    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    position: relative;

    padding: 130px 30px;

    text-align: center;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.82),
            rgba(0, 0, 0, 0.94)
        ),
        url("images/cta.jpg")
        center / cover no-repeat;
}

.cta-content {
    max-width: 850px;

    margin: auto;
}

.cta h2 {
    margin-bottom: 25px;
}

.cta p:not(.eyebrow) {
    max-width: 600px;

    margin: 0 auto;
}

.cta-buttons {
    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

    margin-top: 35px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    max-width: var(--max-width);

    margin: auto;

    padding: 110px 30px;

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 90px;
}

.contact-info h2 {
    margin-bottom: 25px;
}

.contact-info > p:not(.eyebrow) {
    max-width: 550px;

    line-height: 1.9;
}

.contact-details {
    display: grid;

    gap: 25px;

    margin-top: 45px;
}

.contact-details div {
    display: flex;

    flex-direction: column;

    gap: 4px;
}

.contact-details strong {
    color: var(--gold);

    font-size: 9px;

    letter-spacing: 2px;
}

.contact-details a,
.contact-details span {
    color: var(--white);

    font-size: 15px;
}

.contact-details a:hover {
    color: var(--gold);
}


/* =========================================================
   FORM
========================================================= */

.contact-form {
    padding: 40px;

    background: var(--black-soft);

    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--gold);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    padding: 15px 16px;

    background: #0a0a0a;

    border: 1px solid rgba(255, 255, 255, 0.12);

    color: var(--white);

    outline: none;

    font-size: 13px;

    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;

    min-height: 140px;
}

.form-group select {
    cursor: pointer;
}

.contact-form .button {
    border: none;

    cursor: pointer;

    width: 100%;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #050505;

    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: var(--max-width);

    margin: auto;

    padding: 75px 30px;

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr;

    gap: 50px;
}

.footer-brand p {
    max-width: 300px;

    margin-top: 20px;

    font-size: 13px;

    line-height: 1.8;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 13px;
}

.footer-column h4 {
    margin-bottom: 10px;

    color: var(--gold);

    font-size: 11px;

    letter-spacing: 2px;
}

.footer-column a,
.footer-column span {
    color: var(--grey);

    font-size: 12px;

    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--gold);
}

.socials {
    display: flex;

    gap: 8px;
}

.socials a {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    color: var(--white);

    font-size: 9px;

    font-weight: 800;
}

.socials a:hover {
    border-color: var(--gold);

    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--border);

    padding: 22px 30px;

    text-align: center;
}

.footer-bottom p {
    font-size: 10px;

    letter-spacing: 0.5px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .nav-links {
        gap: 18px;
    }

    .nav-button {
        display: none;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .contact-section {
        gap: 50px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {
.logo {
    width: 165px;
    height: 58px;
}

.brand-logo {
    width: 165px;
    height: 58px;
}
    /* NAV */

    .navbar {
        position: sticky;

        top: 0;

        z-index: 9999;
    }

    .nav-container {
        position: relative;

        min-height: 72px;

        padding: 0 20px;
    }

    .logo {
        min-width: auto;
    }

    .logo-main {
        font-size: 20px;
    }

    .logo-gold {
        font-size: 21px;
    }

    .logo small {
        font-size: 6px;

        letter-spacing: 3px;
    }


    /* HIDE DESKTOP NAV */

    .nav-links {
        display: none !important;
    }


    /* SHOW HAMBURGER */

    .mobile-menu {
        display: flex !important;

        z-index: 10001;
    }


    /* MOBILE MENU OPEN */

    .nav-links.mobile-open {
        display: flex !important;

        position: absolute;

        top: 72px;

        left: 0;

        right: 0;

        width: 100%;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 8px 20px 20px;

        background: rgba(8, 8, 8, 0.98);

        backdrop-filter: blur(18px);

        -webkit-backdrop-filter: blur(18px);

        border-top:
            1px solid rgba(255, 255, 255, 0.08);

        border-bottom:
            1px solid rgba(201, 163, 90, 0.35);

        box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.65);

        z-index: 10000;

        animation:
            mobileNavDrop 0.25s ease forwards;
    }


    /* MOBILE MENU ANIMATION */

    @keyframes mobileNavDrop {

        from {
            opacity: 0;

            transform:
                translateY(-12px);
        }

        to {
            opacity: 1;

            transform:
                translateY(0);
        }

    }


    /* MOBILE LINKS */

    .nav-links.mobile-open a {
        display: flex;

        align-items: center;

        width: 100%;

        min-height: 55px;

        padding: 16px 5px;

        color: #ffffff;

        font-size: 12px;

        font-weight: 700;

        letter-spacing: 1.8px;

        text-transform: uppercase;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.08);

        transition:
            color 0.2s ease,
            padding-left 0.2s ease;
    }


    /* LAST LINK */

    .nav-links.mobile-open a:last-child {
        border-bottom: none;
    }


    /* LINK HOVER */

    .nav-links.mobile-open a:hover {
        color: var(--gold);

        padding-left: 12px;
    }


    /* REMOVE DESKTOP UNDERLINE */

    .nav-links.mobile-open a::after {
        display: none !important;
    }


    /* ACTIVE PAGE */

    .nav-links.mobile-open a.active {
        color: var(--gold);
    }


    /* HIDE BOOK NOW */

    .nav-button {
        display: none !important;
    }


    /* SECTIONS */

    .section {
        padding: 75px 20px;
    }


    /* HERO */

    .hero {
        min-height: 750px;

        background-position:
            center center;
    }

    .hero-content {
        padding: 70px 20px;
    }

    h1 {
        font-size:
            clamp(
                43px,
                13vw,
                65px
            );
    }

    h2 {
        font-size:
            clamp(
                38px,
                11vw,
                55px
            );
    }

    .hero-text {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-buttons .button {
        width: 100%;
    }


    /* HERO STATS */

    .hero-stats {
        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 15px;

        margin-top: 50px;
    }

    .hero-stats strong {
        font-size: 23px;
    }

    .hero-stats span {
        font-size: 7px;

        line-height: 1.4;
    }


    /* PAGE HERO */

    .page-hero {
        min-height: 340px;
    }


    /* SERVICES */

    .services-grid {
        grid-template-columns: 1fr;
    }

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


    /* ABOUT */

    .about {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 400px;
    }

    .about-content {
        padding: 70px 20px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }


    /* GALLERY */

    .gallery-grid {
        grid-template-columns:
            1fr 1fr;

        grid-auto-rows: 200px;
    }

    .gallery-large {
        grid-row: span 2;
    }


    /* WHY US */

    .why-us {
        padding: 75px 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-item:nth-child(odd) {
        border-right: none;
    }

    .why-item {
        padding: 28px 0;
    }


    /* CTA */

    .cta {
        padding: 90px 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .button {
        width: 100%;
    }


    /* CONTACT */

    .contact-section {
        grid-template-columns: 1fr;

        padding: 75px 20px;

        gap: 55px;
    }

    .contact-form {
        padding: 25px 20px;
    }


    /* FOOTER */

    .footer-container {
        grid-template-columns: 1fr;

        padding: 60px 20px;

        gap: 40px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .hero {
        min-height: 700px;
    }

    .hero-stats {
        gap: 8px;
    }

    .hero-stats strong {
        font-size: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;

        grid-auto-rows: 250px;
    }

    .gallery-large {
        grid-row: span 1;
    }

    .why-item {
        gap: 15px;
    }

    .why-icon {
        width: 42px;
        height: 42px;
    }

}/* =========================================================
   BLACK STALLION LOGO
========================================================= */

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 205px;
    height: 64px;

    flex-shrink: 0;
    overflow: hidden;

    text-decoration: none;
}

.brand-logo {
    display: block;

    width: 205px;
    height: 64px;

    object-fit: contain;
    object-position: center;
}