/* =========================================================
   ZEXOPARTS WEBSITE
   CLEAN MAIN STYLESHEET
   ========================================================= */


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

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

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    background:#fff;
    color:#111;
    font-family:Arial, Helvetica, sans-serif;
    line-height:1.6;
}


/* =========================
   HEADER
========================= */

header{
    width:100%;
    height:78px;

    background:#fff;
    border-bottom:1px solid #e8e8e8;

    position:relative;
    z-index:1000;
}

.header-container{
    width:92%;
    max-width:1450px;
    height:78px;

    margin:0 auto;

    display:flex;
    align-items:center;
}


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

.logo{
    flex-shrink:0;

    display:flex;
    flex-direction:column;
    justify-content:center;

    color:#111;

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

    line-height:1;

    letter-spacing:2px;

    white-space:nowrap;
}

.logo span{
    display:block;

    margin-top:6px;

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

    line-height:1;

    letter-spacing:3px;
}


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

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

    margin-left:55px;
    margin-right:auto;

    height:78px;
}

nav a{
    position:relative;

    display:flex;
    align-items:center;

    height:78px;

    margin:0 16px;

    padding:0;

    color:#111;

    text-decoration:none;

    font-size:14px;
    font-weight:500;

    white-space:nowrap;
}

nav a:hover{
    color:#e52b25;
}

nav a.active{
    color:#e52b25;
}

nav a::after{
    content:"";

    position:absolute;

    left:0;
    bottom:15px;

    width:0;
    height:2px;

    background:#e52b25;

    transition:width .25s ease;
}

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


/* =========================
   HEADER ACTIONS
========================= */

.header-actions{
    flex-shrink:0;

    display:flex;
    align-items:center;

    gap:12px;

    height:78px;
}


/* Search */

.search-box{
    width:185px;
    height:38px;

    display:flex;
    align-items:center;

    border:1px solid #dedede;
    border-radius:4px;

    background:#fff;
}

.search-box input{
    width:100%;
    height:100%;

    padding:0 10px;

    border:0;
    outline:0;

    font-size:12px;
    color:#333;
}

.search-box span{
    width:32px;

    text-align:center;

    color:#777;

    font-size:17px;
}


/* Language */

.language{
    height:38px;

    padding:0 13px;

    display:flex;
    align-items:center;

    border:1px solid #dedede;
    border-radius:4px;

    color:#222;

    font-size:12px;

    white-space:nowrap;
}


/* Inquiry */

.inquiry-btn{
    height:38px;

    padding:0 20px;

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

    background:#e52b25;
    color:#fff;

    border-radius:4px;

    text-decoration:none;

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

    white-space:nowrap;
}

.inquiry-btn:hover{
    background:#c8201b;
}


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

.hero{
    position:relative;

    width:100%;
    height:610px;

    background-image:
        linear-gradient(
            90deg,
            rgba(0,18,32,.50) 0%,
            rgba(0,18,32,.24) 38%,
            rgba(0,18,32,.05) 68%,
            rgba(0,18,32,0) 100%
        ),
        url("images/banner-new.jpg");

    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;

    display:flex;
    align-items:center;
}


/* Hero content */

.hero-content{
    width:92%;
    max-width:1450px;

    margin:0 auto;

    padding-left:2%;

    color:#fff;
}


/* Main brand */

.hero-content h1{
    margin:0 0 12px 0;

    font-size:58px;

    line-height:1.02;

    font-weight:800;

    letter-spacing:1px;

    color:#fff;
}


/* Main headline */

.hero-content h2{
    max-width:570px;

    margin:0 0 20px 0;

    padding:0;

    text-align:left;

    font-size:38px;

    line-height:1.14;

    font-weight:700;

    color:#fff;
}


/* Description */

.hero-content p{
    max-width:560px;

    margin:0 0 28px 0;

    font-size:16px;

    line-height:1.65;

    color:#fff;
}


/* Hero button */

.btn{
    display:inline-flex;

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

    min-width:180px;
    height:50px;

    padding:0 28px;

    background:#e52b25;
    color:#fff;

    border-radius:4px;

    text-decoration:none;

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

    transition:.25s ease;
}

.btn:hover{
    background:#c8201b;

    transform:translateY(-2px);
}


/* =========================
   GENERAL SECTIONS
========================= */

section{
    width:100%;

    padding:85px 6%;
}

section > h2{
    margin:0 0 50px 0;

    text-align:center;

    font-size:40px;

    line-height:1.2;

    font-weight:700;
}


/* =========================
   PRODUCT CATEGORIES
========================= */

.product-grid{
    width:92%;
    max-width:1400px;

    margin:0 auto;

    display:grid;

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

    gap:25px;
}

.product-card{
    min-height:210px;

    padding:32px;

    background:#fff;

    border:1px solid #dedede;

    transition:.25s ease;
}

.product-card:hover{
    transform:translateY(-5px);

    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.product-card h3{
    margin-bottom:18px;

    font-size:23px;

    line-height:1.3;
}

.product-card p{
    color:#555;

    font-size:15px;

    line-height:1.8;
}


/* =========================
   WHY CHOOSE
========================= */

#why{
    background:#f7f7f7;
}

.feature-grid{
    width:92%;
    max-width:1200px;

    margin:0 auto;

    display:grid;

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

    gap:25px;
}

.feature-grid > div{
    padding:30px;

    background:#fff;

    border:1px solid #e3e3e3;
}

.feature-grid h3{
    margin-bottom:12px;

    font-size:20px;
}

.feature-grid p{
    color:#666;

    font-size:14px;
}


/* =========================
   VEHICLE APPLICATIONS
========================= */

.vehicle-grid{
    width:92%;
    max-width:1200px;

    margin:0 auto;

    display:grid;

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

    gap:16px;
}

.vehicle-grid div{
    padding:22px;

    text-align:center;

    background:#fff;

    border:1px solid #ddd;

    font-size:15px;

    font-weight:600;

    transition:.25s ease;
}

.vehicle-grid div:hover{
    color:#e52b25;

    border-color:#e52b25;
}


/* =========================
   QUALITY
========================= */

.quality-grid{
    width:92%;
    max-width:1200px;

    margin:0 auto;

    display:grid;

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

    gap:25px;
}

.quality-grid > div{
    padding:35px;

    background:#fff;

    border:1px solid #ddd;
}

.quality-grid h3{
    margin-bottom:12px;

    font-size:20px;
}

.quality-grid p{
    color:#666;

    font-size:14px;
}


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

#about{
    background:#f7f7f7;
}

.about-text{
    max-width:850px;

    margin:0 auto;

    text-align:center;

    color:#555;

    font-size:17px;

    line-height:1.9;
}


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

.contact-box{
    max-width:700px;

    margin:0 auto;

    padding:42px;

    background:#fff;

    border:1px solid #ddd;

    text-align:center;
}

.contact-box p{
    margin:8px 0;

    color:#555;
}


/* =========================
   GLOBAL INQUIRY
========================= */

#inquiry{
    background:#f5f5f5;

    text-align:center;
}

.inquiry-box{
    max-width:700px;

    margin:0 auto;

    padding:45px;

    background:#fff;

    border:1px solid #ddd;
}

.inquiry-box h3{
    margin-bottom:15px;

    font-size:25px;
}

.inquiry-box p{
    margin-bottom:15px;

    color:#555;
}

.inquiry-box a{
    display:inline-flex;

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

    min-width:180px;
    height:48px;

    margin-top:12px;

    padding:0 25px;

    background:#e52b25;
    color:#fff;

    border-radius:4px;

    text-decoration:none;

    font-weight:700;
}


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

footer{
    padding:55px 6%;

    background:#111;

    color:#fff;

    text-align:center;
}

.footer-content h2{
    margin-bottom:15px;

    color:#fff;

    font-size:28px;
}

.footer-content p{
    margin:8px 0;

    color:#bbb;

    font-size:14px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1250px){

    .header-container{
        width:94%;
    }

    nav{
        margin-left:30px;
    }

    nav a{
        margin:0 10px;

        font-size:13px;
    }

    .search-box{
        width:150px;
    }

    .hero-content{
        padding-left:1%;
    }
}


@media(max-width:1050px){

    header{
        height:auto;
    }

    .header-container{
        height:auto;

        min-height:78px;

        flex-wrap:wrap;

        padding:14px 0;
    }

    nav{
        order:3;

        width:100%;

        height:42px;

        margin:12px 0 0;

        justify-content:center;
    }

    nav a{
        height:42px;
    }

    nav a::after{
        bottom:3px;
    }

    .header-actions{
        margin-left:auto;

        height:42px;
    }

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

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

    .vehicle-grid{
        grid-template-columns:repeat(3,1fr);
    }

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


@media(max-width:750px){

    .header-container{
        width:90%;
    }

    .logo{
        font-size:25px;
    }

    .logo span{
        font-size:7px;

        letter-spacing:2px;
    }

    .header-actions{
        width:100%;

        margin-top:12px;
    }

    .search-box{
        flex:1;

        width:auto;
    }

    nav{
        justify-content:flex-start;

        overflow-x:auto;
    }

    nav a{
        flex-shrink:0;

        margin:0 10px;
    }

    .hero{
        height:620px;

        background-position:60% center;
    }

    .hero-content{
        width:90%;

        padding-left:0;
    }

    .hero-content h1{
        font-size:46px;
    }

    .hero-content h2{
        font-size:32px;

        max-width:520px;
    }

    .hero-content p{
        font-size:15px;

        max-width:500px;
    }

    section{
        padding:70px 5%;
    }

    section > h2{
        font-size:32px;
    }

    .product-grid,
    .feature-grid,
    .quality-grid{
        grid-template-columns:1fr;
    }

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


@media(max-width:480px){

    .header-actions{
        flex-wrap:wrap;
    }

    .language,
    .inquiry-btn{
        flex:1;
    }

    .hero{
        height:650px;
    }

    .hero-content h1{
        font-size:40px;
    }

    .hero-content h2{
        font-size:29px;
    }

    .vehicle-grid{
        grid-template-columns:1fr;
    }
}
/* =========================================================
   ZEXOPARTS
   PRODUCT CATEGORIES
========================================================= */


/* =========================
   PRODUCT SECTION
========================= */

.products-section{
    background:#ffffff;
    padding:100px 6% 110px;
}


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

.section-heading{
    max-width:900px;
    margin:0 auto 60px;
    text-align:center;
}

.section-heading > span{
    display:block;

    margin-bottom:12px;

    color:#e52b25;

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

    letter-spacing:3px;
    text-transform:uppercase;
}

.section-heading h2{
    margin:0 0 18px;

    color:#111;

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

    line-height:1.2;

    letter-spacing:.5px;
}

.section-heading p{
    max-width:700px;

    margin:0 auto;

    color:#777;

    font-size:15px;

    line-height:1.8;
}


/* =========================
   PRODUCT GRID
========================= */

.products-section .product-grid{

    width:100%;
    max-width:1400px;

    margin:0 auto;

    display:grid;

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

    gap:28px;
}


/* =========================
   PRODUCT CARD
========================= */

.products-section .product-card{

    min-height:0;

    padding:0;

    background:#fff;

    border:1px solid #e4e4e4;

    overflow:hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.products-section .product-card:hover{

    transform:translateY(-6px);

    border-color:#d5d5d5;

    box-shadow:0 18px 40px rgba(0,0,0,.10);
}


/* =========================
   PRODUCT IMAGE
========================= */

.product-image{

    position:relative;

    width:100%;

    height:245px;

    overflow:hidden;

    background:#f3f3f3;
}

.product-image img{

    width:100%;
    height:100%;

    display:block;

    object-fit:cover;

    transition:transform .5s ease;
}

.product-card:hover .product-image img{

    transform:scale(1.04);
}


/* =========================
   PRODUCT INFO
========================= */

.product-info{

    position:relative;

    padding:28px 30px 30px;

    background:#fff;
}


/* Number */

.product-number{

    display:block;

    margin-bottom:9px;

    color:#aaa;

    font-size:11px;

    font-weight:700;

    letter-spacing:2px;
}


/* Title */

.product-info h3{

    margin:0 0 13px;

    color:#111;

    font-size:23px;

    font-weight:700;

    line-height:1.3;
}


/* Description */

.product-info p{

    min-height:52px;

    margin:0 0 22px;

    color:#777;

    font-size:13px;

    line-height:1.8;
}


/* Product link */

.product-info a{

    display:inline-flex;

    align-items:center;

    color:#111;

    text-decoration:none;

    font-size:12px;

    font-weight:700;

    letter-spacing:.8px;

    transition:color .25s ease;
}

.product-info a:hover{

    color:#e52b25;
}


/* =========================
   VIEW ALL PRODUCTS
========================= */

.products-more{

    margin-top:55px;

    text-align:center;
}

.products-more a{

    display:inline-flex;

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

    min-width:190px;

    height:48px;

    padding:0 25px;

    border:1px solid #222;

    background:#fff;

    color:#111;

    text-decoration:none;

    font-size:13px;

    font-weight:700;

    letter-spacing:.5px;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.products-more a:hover{

    background:#e52b25;

    border-color:#e52b25;

    color:#fff;
}


/* =========================================================
   PRODUCT RESPONSIVE
========================================================= */

@media(max-width:1050px){

    .products-section .product-grid{

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

    }

}


@media(max-width:750px){

    .products-section{

        padding:75px 5% 85px;

    }

    .section-heading{

        margin-bottom:40px;

    }

    .section-heading h2{

        font-size:32px;

    }

    .section-heading p{

        font-size:14px;

    }

    .products-section .product-grid{

        grid-template-columns:1fr;

        gap:22px;

    }

    .product-image{

        height:230px;

    }

}


@media(max-width:480px){

    .product-image{

        height:210px;

    }

    .product-info{

        padding:24px;

    }

    .product-info h3{

        font-size:21px;

    }

}
