/* ------------------------------
   JD DIESEL REPAIR
   MAIN STYLES
------------------------------ */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #111111;
    color: #f5f3ee;
    font-family: "Inter", Arial, sans-serif;
}

h1,
h2,
h3,
.logo,
.brand-names {
    font-family: "Barlow Condensed", Arial, sans-serif;
    text-transform: uppercase;
}

/* ------------------------------
   NAVIGATION
------------------------------ */

header {
    background-color: #0a0a0a;
    border-bottom: 2px solid #c65d2e;
}
nav {
    max-width: 1200px;
    margin: auto;
    min-height: 80px;

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

    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo span {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #f5f3ee;
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    color: #c65d2e;
}

.call-button {
    background-color: #c65d2e;
    color: white;

    padding: 12px 22px;

    text-decoration: none;
    font-weight: bold;
}

.call-button:hover {
    background-color: #a94824;
}


/* ------------------------------
   HERO SECTION
------------------------------ */

.hero {
    min-height: 700px;

    display: flex;
    align-items: center;

   background:
    linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.72) 50%,
        rgba(0, 0, 0, 0.45) 100%
    ),
    url("images/hero.jpg");

    background-size: cover;
    background-position: center;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.small-heading {
    color: #c65d2e;

    font-size: 16px;
    font-weight: bold;

    letter-spacing: 4px;

    margin-bottom: 15px;
}

.hero h1 {
    font-size: 70px;
    line-height: 1;

    max-width: 850px;

    margin-bottom: 25px;

    font-weight: 800;
    letter-spacing: 2px;
}

.hero-description {
    color: #cccccc;

    font-size: 20px;
    line-height: 1.6;

    max-width: 650px;

    margin-bottom: 25px;
}

.credentials {
    font-size: 15px;
    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 35px;
}



/* ------------------------------
   HERO BUTTONS
------------------------------ */

.hero-buttons {
    display: flex;
    gap: 15px;
}

.primary-button,
.secondary-button {
    display: inline-block;

    padding: 16px 25px;

    text-decoration: none;
    font-weight: bold;

    transition: 0.3s;
}

.primary-button {
    background-color: #c65d2e;
    color: white;
}

.primary-button:hover {
    background-color: #a94824;
}

.secondary-button {
    border: 2px solid #f5f3ee;
    color: #f5f3ee;
}

.secondary-button:hover {
    background-color: #f5f3ee;
    color: #111111;
}
/* ------------------------------
   SERVICES
------------------------------ */

.services {
    background-color: #181818;
    padding: 100px 30px;
}

.section-heading {
    max-width: 1200px;
    margin: 0 auto 60px;
}

.section-heading > p:first-child {
    color: #c65d2e;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 45px;
    margin-bottom: 15px;
}

.orange-line {
    width: 70px;
    height: 4px;
    background-color: #c65d2e;
    margin-bottom: 25px;
}

.section-description {
    color: #aaaaaa;
    font-size: 18px;
    line-height: 1.6;
    max-width: 650px;
}


/* Service Card Layout */

.service-grid {
    max-width: 1200px;
    margin: auto;

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

    gap: 20px;
}


/* Individual Service Cards */

.service-card {
    background-color: #111111;
    border: 1px solid #333333;

    padding: 35px;

    min-height: 250px;

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: #c65d2e;
}

.service-number {
    color: #c65d2e;

    font-size: 15px;
    font-weight: bold;

    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 21px;
    margin-bottom: 15px;
}

.service-card p {
    color: #aaaaaa;

    line-height: 1.7;
    font-size: 16px;
}
/* ------------------------------
   ABOUT / EXPERIENCE
------------------------------ */

.about {
    background-color: #111111;
    padding: 100px 30px 0;
}

.about-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;

    align-items: center;
}


/* Photo */

.about-image {
    height: 550px;
    overflow: hidden;

    border-left: 5px solid #c65d2e;
}

.about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* About Text */

.about-content h2 {
    font-size: 45px;
    line-height: 1.1;

    margin-bottom: 20px;
}

.about-text {
    color: #aaaaaa;

    font-size: 17px;
    line-height: 1.8;

    margin-bottom: 20px;
}


/* Credentials */

.credential-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin-top: 35px;
}

.credential-box {
    border: 1px solid #333333;

    padding: 25px;
}

.credential-box span {
    color: #c65d2e;

    font-size: 30px;
    font-weight: bold;
}

.credential-box p {
    margin-top: 5px;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 1px;
}


/* Diesel Brands */

.diesel-brands {
    max-width: 1200px;
    margin: 100px auto 0;

    text-align: center;

    border-top: 1px solid #333333;

    padding: 50px 20px;
}

.diesel-brands > p {
    color: #c65d2e;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 4px;

    margin-bottom: 20px;
}

.brand-names {
    display: flex;

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

    gap: 25px;

    font-size: 28px;
    font-weight: bold;

    letter-spacing: 2px;
}

.dot {
    color: #c65d2e;
}
/* ------------------------------
   CONTACT
------------------------------ */

.contact {
    background-color: #181818;
    padding: 100px 30px;
}

.contact-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;

    align-items: center;
}

.contact-content h2 {
    font-size: 45px;
    line-height: 1.1;

    max-width: 600px;

    margin-bottom: 20px;
}

.contact-description {
    color: #aaaaaa;

    font-size: 18px;
    line-height: 1.7;

    max-width: 600px;

    margin-bottom: 30px;
}

.contact-buttons {
    display: flex;
    gap: 15px;
}


/* Shop Information */

.shop-info {
    border-left: 3px solid #c65d2e;
    padding-left: 40px;
}

.info-box {
    padding: 20px 0;
    border-bottom: 1px solid #333333;
}

.info-box:last-child {
    border-bottom: none;
}

.info-title {
    color: #c65d2e;

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

    letter-spacing: 3px;

    margin-bottom: 8px;
}

.info-box p {
    line-height: 1.6;
}

.info-box a {
    color: #f5f3ee;
    text-decoration: none;
}

.info-box a:hover {
    color: #c65d2e;
}


/* ------------------------------
   FOOTER
------------------------------ */

footer {
    background-color: #080808;

    border-top: 1px solid #333333;

    padding: 40px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: space-between;

    gap: 30px;
}

.footer-container h3 {
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.footer-container p {
    color: #777777;

    font-size: 13px;
    line-height: 1.7;
}

.footer-right {
    text-align: right;
}
/* ------------------------------
   MOBILE CALL BUTTON
------------------------------ */

.mobile-call {
    display: none;
}
/* ------------------------------
   MOBILE
------------------------------ */

@media (max-width: 768px) { 

        .mobile-call {
            display: block;
            position: fixed;

            bottom: 15px;
            left: 15px;
            right: 15px;

            background-color: #c65d2e;
            color: white;

            padding: 16px;

            text-align: center;
            text-decoration: none;

            font-weight: bold;
            letter-spacing: 1px;

            z-index: 1000;

             box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    }

    body {
        padding-bottom: 75px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: 400px;
    }

    .about-content h2 {
        font-size: 34px;
    }

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

    .diesel-brands {
        margin-top: 70px;
    }

    .brand-names {
        flex-direction: column;
        gap: 10px;

        font-size: 24px;
    }

    .dot {
        display: none;
    } .services {
        padding: 70px 20px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

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

    .service-card {
        min-height: auto;
    }

    nav {
        padding: 20px;
    }

    .nav-links {
        display: none;
    }

    .logo {
        font-size: 18px;
    }

    .call-button {
        padding: 10px 15px;
    }

    .hero {
        min-height: 600px;
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-description {
        font-size: 17px;
    }

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

    .primary-button,
    .secondary-button {
        text-align: center;
    }
        .contact {
        padding: 70px 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-content h2 {
        font-size: 34px;
    }

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

    .shop-info {
        padding-left: 25px;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-right {
        text-align: left;
    }
}
