
/* =====================================
   MGT AUTO CARE
   Grey & Blue Website Design
===================================== */

/* GLOBAL SETTINGS */

:root {
    --dark: #172333;
    --charcoal: #202B38;
    --blue: #2563EB;
    --light-blue: #60A5FA;
    --grey: #94A3B8;
    --light-grey: #F1F5F9;
    --white: #FFFFFF;
    --text: #475569;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

a {
    text-decoration: none;
}


/* HEADER */

.header {
    background: var(--dark);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #344256;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    background: var(--blue);
    color: var(--white);
    padding: 8px 12px;
    font-size: 19px;
    font-weight: bold;
    border-radius: 5px;
}

.logo-text {
    color: var(--white);
    font-size: 17px;
    letter-spacing: 1px;
}

.logo-text strong {
    color: var(--light-blue);
}

.navigation {
    display: flex;
    gap: 28px;
}

.navigation a {
    color: #CBD5E1;
    font-size: 14px;
    transition: 0.3s;
}

.navigation a:hover {
    color: var(--light-blue);
}

.nav-button {
    background: var(--blue);
    color: var(--white);
    padding: 11px 19px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

.nav-button:hover,
.primary-button:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
}


/* HERO SECTION */

.hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    position: relative;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.65)),
        url("../images/workshop.jpg") center/cover no-repeat;
    color: var(--white);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-label,
.section-label {
    color: var(--light-blue);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.12;
    max-width: 800px;
    margin-bottom: 22px;
}

.hero h1 span {
    color: var(--light-blue);
    display: block;
}

.hero-description {
    max-width: 600px;
    color: #CBD5E1;
    font-size: 17px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.primary-button,
.secondary-button {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

.primary-button {
    background: var(--blue);
    color: var(--white);
}

.secondary-button {
    border: 1px solid var(--grey);
    color: var(--white);
}

.secondary-button:hover {
    background: var(--white);
    color: var(--dark);
}

.hero-location {
    margin-top: 35px;
    color: #CBD5E1;
    font-size: 14px;
}


/* TRUST BAR */

.trust-bar {
    background: var(--charcoal);
    padding: 28px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 20px;
}

.trust-grid h3 {
    color: var(--light-blue);
    font-size: 18px;
}

.trust-grid p {
    color: #CBD5E1;
    font-size: 13px;
}


/* GENERAL SECTIONS */

.section {
    padding: 90px 0;
}

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 45px;
}

.section-heading h2,
.about-content h2 {
    color: var(--dark);
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 17px;
}

.section-heading h2 span,
.about-content h2 span {
    color: var(--blue);
}

.section-heading > p:last-child {
    color: var(--text);
}


/* ABOUT SECTION */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    height: 420px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--light-grey);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content > p:not(.section-label) {
    margin-bottom: 15px;
}

.text-link {
    display: inline-block;
    color: var(--blue);
    font-weight: bold;
    margin-top: 15px;
}


/* SERVICES SECTION */

.services {
    background: var(--light-grey);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.service-card {
    background: var(--white);
    padding: 30px 22px;
    border-radius: 8px;
    border-bottom: 4px solid transparent;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-7px);
    border-bottom-color: var(--blue);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
}

.service-icon {
    font-size: 35px;
    margin-bottom: 18px;
}

.service-card h3 {
    color: var(--dark);
    font-size: 18px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text);
}


/* CALL TO ACTION */

.cta {
    background: var(--dark);
    padding: 60px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta h2 {
    color: var(--white);
    font-size: 30px;
    margin-bottom: 10px;
}

.cta-content > div > p:last-child {
    color: #CBD5E1;
}


/* CONTACT SECTION */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.contact-card {
    background: var(--light-grey);
    padding: 28px;
    border-radius: 8px;
    border-left: 4px solid var(--blue);
}

.contact-card h3 {
    color: var(--dark);
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 14px;
    margin-bottom: 5px;
    overflow-wrap: anywhere;
}

.contact-card a {
    display: inline-block;
    color: var(--blue);
    font-size: 14px;
    font-weight: bold;
    margin-top: 8px;
}


/* FOOTER */

.footer {
    background: #101923;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer p {
    color: #94A3B8;
    font-size: 13px;
}


/* RESPONSIVE DESIGN */

@media (max-width: 900px) {

    .navigation {
        gap: 15px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 35px;
    }

}

@media (max-width: 650px) {

    .nav-container {
        flex-wrap: wrap;
    }

    .navigation {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }

    .navigation a {
        font-size: 13px;
    }

    .nav-button {
        padding: 9px 13px;
        font-size: 12px;
    }

    .hero {
        min-height: 560px;
    }

    .hero-content {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-description {
        font-size: 15px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .section {
        padding: 65px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 280px;
    }

    .section-heading h2,
    .about-content h2 {
        font-size: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta h2 {
        font-size: 25px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

}

/* =====================================
   GOOGLE MAPS SECTION
===================================== */

.map-section {
    margin-top: 60px;
}

.map-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.map-heading h2 {
    color: var(--dark);
    font-size: 30px;
    margin-bottom: 8px;
}

.map-heading h2 span {
    color: var(--blue);
}

.map-heading p:last-child {
    color: var(--text);
}

.map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #CBD5E1;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

@media (max-width: 650px) {

    .map-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-heading h2 {
        font-size: 25px;
    }

    .map-container {
        height: 350px;
    }

}

/* MGT AUTO CARE LOGO */

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 180px;
    height: 65px;
    object-fit: contain;
    display: block;
}

.footer .logo-image {
    width: 160px;
}

@media (max-width: 650px) {
    .logo-image {
        width: 145px;
        height: 55px;
    }
}
.demo-notice {
    background: #172333;
    color: #ffffff;
    text-align: center;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* =====================================
   MWS DEMO NOTICE
===================================== */

.demo-notice {
    background: #172333;
    color: #ffffff;
    text-align: center;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1.5;
}

/* =====================================
   MGT AUTO CARE LOGO
===================================== */

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 180px;
    height: 65px;
    object-fit: contain;
    display: block;
}

.footer .logo-image {
    width: 160px;
}

.demo-footer {
    font-size: 12px;
    opacity: 0.75;
}

@media (max-width: 650px) {

    .logo-image {
        width: 145px;
        height: 55px;
    }

}
