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

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


/* ==========================================
   BODY
========================================== */

body{
    font-family:'Poppins',sans-serif;

    background:#010D31;

    color:white;

    overflow-x:hidden;
}


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

header{
    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    padding:0 30px;
}

.branding{
    display:flex;

    flex-direction:column;

    align-items:flex-start;
}

.logo{
    display:block;

    width:320px;

    height:auto;

    margin:0;
}


/* SMALLER BRAND SLOGAN */

.slogan{
    margin-top:-40px;

    margin-left:32px;

    color:#A9A9A9;

    font-size:13px;

    letter-spacing:.2px;

    white-space:nowrap;
}


nav{
    display:flex;

    align-items:center;

    margin-top:25px;
}

nav a{
    color:#C7C7C7;

    text-decoration:none;

    margin-left:30px;

    font-size:16px;

    transition:.25s ease;
}

nav a:hover{
    color:white;
}


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

.hero{
    max-width:1300px;

    /*
       More breathing room than the
       previous version
    */
    margin:45px auto 45px;

    padding:0 50px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:60px;
}

.hero-left{
    flex:1;

    min-width:0;
}

.hero-left h1{
    font-size:56px;

    line-height:1.1;

    margin-bottom:20px;

    letter-spacing:-1.5px;
}

.hero-left p{
    color:#BBBBBB;

    font-size:19px;

    line-height:1.6;

    max-width:540px;
}


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

.buttons{
    display:flex;

    gap:18px;

    margin-top:32px;
}

.primary-btn{
    display:inline-block;

    background:white;

    color:#010D31;

    padding:15px 30px;

    border-radius:12px;

    text-decoration:none;

    font-weight:600;

    transition:.25s ease;
}

.primary-btn:hover{
    transform:translateY(-3px);
}

.secondary-btn{
    display:inline-block;

    border:1px solid rgba(255,255,255,.25);

    color:white;

    padding:15px 30px;

    border-radius:12px;

    text-decoration:none;

    transition:.25s ease;
}

.secondary-btn:hover{
    background:rgba(255,255,255,.08);

    transform:translateY(-3px);
}


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

.hero-right{
    flex:1;

    display:flex;

    justify-content:flex-end;

    align-items:center;

    min-width:0;

    max-height:320px;
}

.hero-car{
    width:600px;

    max-width:100%;

    height:auto;

    filter:drop-shadow(
        0 25px 35px rgba(0,0,0,.45)
    );

    transition:.3s ease;
}

.hero-car:hover{
    transform:translateY(-6px);
}


/* ==========================================
   GREAT PRICES
========================================== */

.featured{
    max-width:1300px;

    margin:0 auto 85px;

    padding:0 50px;
}

.featured h2{
    font-size:32px;

    margin-bottom:30px;

    letter-spacing:-.7px;
}


/* ==========================================
   LISTINGS
========================================== */

.listings{
    display:grid;

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

    gap:22px;
}

.listing{
    min-width:0;

    background:#ECEFF3;

    border:1px solid #D9DEE5;

    border-radius:18px;

    overflow:hidden;

    text-decoration:none;

    color:#010D31;

    box-shadow:
        0 15px 35px rgba(0,0,0,.18);

    transition:.25s ease;
}

.listing:hover{
    transform:translateY(-7px);

    background:#F5F7FA;

    border-color:#4A7DFF;

    box-shadow:
        0 22px 45px rgba(0,0,0,.28);
}

.listing img{
    display:block;

    width:100%;

    height:170px;

    object-fit:cover;
}

.listing-info{
    padding:18px;
}

.price{
    color:#0E8A3B;

    font-size:24px;

    font-weight:700;
}

.car-name{
    margin-top:9px;

    font-size:18px;

    line-height:1.35;

    font-weight:600;
}

.details{
    margin-top:8px;

    color:#666;

    font-size:14px;

    line-height:1.6;
}

.view-all{
    display:inline-block;

    margin-top:24px;

    color:white;

    text-decoration:none;

    font-weight:600;

    font-size:17px;
}

.view-all:hover{
    text-decoration:underline;
}


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

.services{
    max-width:1300px;

    margin:0 auto 100px;

    padding:0 50px;
}

.services h2{
    text-align:center;

    font-size:36px;

    margin-bottom:38px;

    letter-spacing:-.8px;
}

.service-grid{
    display:grid;

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

    gap:22px;
}

.service-card{
    position:relative;

    min-height:220px;

    padding:32px 34px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.065),
            rgba(255,255,255,.025)
        );

    border:1px solid rgba(255,255,255,.10);

    border-radius:20px;

    color:white;

    text-decoration:none;

    overflow:hidden;

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

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

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:2px;

    background:rgba(255,255,255,.12);

    transition:.25s ease;
}

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

    background:
        linear-gradient(
            145deg,
            rgba(220,220,220,.20),
            rgba(180,180,180,.10)
        );

    border-color:rgba(220,220,220,.45);

    box-shadow:
        0 15px 35px rgba(0,0,0,.30);
}

.service-card:hover::before{
    background:#D6D6D6;
}

.service-card:hover::before{
    background:white;
}


/* SERVICE LABEL */

.service-label{
    color:#8F9AB5;

    font-size:12px;

    font-weight:600;

    letter-spacing:2px;

    margin-bottom:17px;
}

.service-card h3{
    font-size:25px;

    font-weight:600;

    letter-spacing:-.4px;
}

.service-card p{
    margin-top:9px;

    max-width:620px;

    color:#AEB5C5;

    font-size:16px;

    line-height:1.6;
}

.service-arrow{
    position:absolute;

    right:30px;

    bottom:26px;

    font-size:24px;

    color:#8F9AB5;

    transition:.25s ease;
}

.service-card:hover .service-arrow{
    color:white;

    transform:translateX(5px);
}


/* ==========================================
   SIMPLE SECTIONS
========================================== */

/* ==========================================
   SIMPLE SECTIONS
========================================== */

.simple-section{
    max-width:1050px;

    margin:0 auto;

    padding:105px 50px;

    text-align:center;

    position:relative;
}


/* DIVIDER BETWEEN SECTIONS */

.simple-section:not(:first-of-type)::before{
    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:1px;

    background:
        rgba(255,255,255,.08);
}


/* ==========================================
   SMALL SECTION LABEL
========================================== */

.section-label{
    color:#91A7D6;

    font-size:14px;

    font-weight:500;

    letter-spacing:4px;

    margin-bottom:14px;
}


/* ==========================================
   SECTION TITLE
========================================== */

.simple-section h2{
    font-size:36px;

    line-height:1.2;

    font-weight:600;

    letter-spacing:-.8px;

    margin:0;
}


/* ==========================================
   BLUE ACCENT LINE
========================================== */

.section-line{
    width:65px;

    height:2px;

    background:#4A8DFF;

    margin:20px auto 32px;

    border-radius:10px;
}


/* ==========================================
   SECTION DESCRIPTION
========================================== */

.simple-section p{
    max-width:900px;

    margin:0 auto;

    color:#B8BCC8;

    font-size:19px;

    line-height:1.7;

    font-weight:400;
}


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

.contact-section{
    padding-top:110px;

    padding-bottom:110px;
}


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

.contact-btn{
    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:20px;

    margin-top:38px;

    min-width:225px;

    padding:17px 28px;

    background:white;

    color:#010D31;

    border-radius:14px;

    text-decoration:none;

    font-size:17px;

    font-weight:600;

    box-shadow:
        0 10px 30px rgba(0,0,0,.20);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.contact-btn span{
    font-size:24px;

    line-height:1;

    transition:.25s ease;
}

.contact-btn:hover{
    transform:translateY(-4px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.30);

    background:#F1F3F5;
}

.contact-btn:hover span{
    transform:translateX(5px);
}


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

footer{
    margin-top:90px;

    padding:40px 50px;

    text-align:center;

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

    color:#777;

    font-size:14px;

    line-height:2;
}


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

@media(max-width:950px){

    header{
        padding:0 20px;

        flex-direction:column;
    }


    .logo{
        width:250px;
    }


    .slogan{
        margin-top:-30px;

        margin-left:25px;

        font-size:12px;
    }


    nav{
        margin-top:20px;

        flex-wrap:wrap;
    }


    nav a{
        margin-left:0;

        margin-right:20px;

        margin-bottom:10px;
    }


    .hero{
        flex-direction:column;

        text-align:center;

        margin-top:50px;

        padding:0 25px;

        gap:30px;
    }


    .hero-left p{
        margin:0 auto;
    }


    .hero-right{
        justify-content:center;

        max-height:none;
    }


    .hero-car{
        width:560px;
    }


    .buttons{
        justify-content:center;

        flex-wrap:wrap;
    }


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


    .featured{
        padding:0 25px;
    }


    .services{
        padding:0 25px;
    }

}


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

@media(max-width:600px){

    .hero-left h1{
        font-size:42px;
    }


    .hero-left p{
        font-size:17px;
    }


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


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


    .services h2{
        font-size:30px;
    }


    .simple-section{
        padding:0 25px;
    }

}/* ==========================================
   DEDICATED PAGE HERO
========================================== */

.page-hero{
    max-width:900px;

    margin:0 auto;

    padding:100px 40px 85px;

    text-align:center;
}


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

    margin:0 auto;

    font-size:52px;

    line-height:1.12;

    font-weight:600;

    letter-spacing:-1.5px;
}


.page-hero p{
    max-width:760px;

    margin:0 auto;

    color:#B8BCC8;

    font-size:19px;

    line-height:1.7;
}



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

.about-content{
    max-width:1100px;

    margin:0 auto;

    padding:75px 50px;

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

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

    display:grid;

    grid-template-columns:
        1fr 1fr;

    gap:80px;
}


.about-block h2{
    margin-top:8px;

    font-size:31px;

    line-height:1.25;

    font-weight:600;

    letter-spacing:-.6px;
}


.about-block > p{
    margin-top:20px;

    color:#B8BCC8;

    font-size:16px;

    line-height:1.7;
}



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

.about-services{
    margin-top:30px;

    display:flex;

    flex-direction:column;

    gap:0;
}


.about-service{
    display:flex;

    gap:22px;

    padding:19px 0;

    border-top:
        1px solid rgba(255,255,255,.08);
}


.about-service:last-child{
    border-bottom:
        1px solid rgba(255,255,255,.08);
}


.about-service > span{
    color:#7188B8;

    font-size:13px;

    font-weight:600;

    letter-spacing:1px;

    padding-top:4px;
}


.about-service h3{
    font-size:18px;

    font-weight:600;
}


.about-service p{
    margin-top:3px;

    color:#9FA7B8;

    font-size:14px;

    line-height:1.5;
}



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

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

    margin:0 auto;

    padding:100px 40px;

    text-align:center;
}


.about-closing h2{
    max-width:700px;

    margin:0 auto;

    font-size:38px;

    line-height:1.2;

    font-weight:600;

    letter-spacing:-.8px;
}


.about-closing p{
    max-width:700px;

    margin:22px auto 30px;

    color:#B8BCC8;

    font-size:17px;

    line-height:1.7;
}



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

.contact-hero{
    padding-bottom:80px;
}


.contact-content{
    max-width:1100px;

    margin:0 auto;

    padding:75px 50px;

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

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

    display:grid;

    grid-template-columns:
        .85fr 1.15fr;

    gap:75px;

    align-items:start;
}


.contact-info h2{
    margin-top:8px;

    font-size:32px;

    line-height:1.2;

    font-weight:600;
}


.contact-info > p{
    margin-top:20px;

    color:#B8BCC8;

    font-size:16px;

    line-height:1.7;
}



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

.contact-detail{
    margin-top:35px;

    padding-top:22px;

    border-top:
        1px solid rgba(255,255,255,.08);
}


.contact-detail-label{
    display:block;

    margin-bottom:8px;

    color:#7188B8;

    font-size:11px;

    font-weight:600;

    letter-spacing:2px;
}


.contact-detail a{
    color:white;

    text-decoration:none;

    font-size:16px;

    transition:.25s ease;
}


.contact-detail a:hover{
    color:#BDBDBD;
}


.contact-detail p{
    color:#9FA7B8;

    font-size:15px;

    line-height:1.6;
}



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

.contact-card{
    padding:32px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.065),
            rgba(255,255,255,.025)
        );

    border:
        1px solid rgba(255,255,255,.10);

    border-radius:20px;
}


.contact-card h2{
    margin-top:8px;

    font-size:28px;

    font-weight:600;
}



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

.contact-options{
    margin-top:25px;

    display:flex;

    flex-direction:column;
}


.contact-option{
    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:21px 0;

    color:white;

    text-decoration:none;

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

    transition:.25s ease;
}


.contact-option:last-child{
    border-bottom:
        1px solid rgba(255,255,255,.08);
}


.contact-option:hover{
    padding-left:8px;

    padding-right:8px;

    background:
        rgba(210,210,210,.08);
}


.option-label{
    color:#7188B8;

    font-size:10px;

    font-weight:600;

    letter-spacing:2px;
}


.contact-option h3{
    margin-top:5px;

    font-size:16px;

    font-weight:500;
}


.option-arrow{
    color:#8F9AB5;

    font-size:23px;

    transition:.25s ease;
}


.contact-option:hover .option-arrow{
    color:#D6D6D6;

    transform:translateX(5px);
}



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

.contact-closing{
    max-width:850px;

    margin:0 auto;

    padding:90px 40px;

    text-align:center;
}


.contact-closing h2{
    font-size:35px;

    line-height:1.2;

    font-weight:600;

    letter-spacing:-.7px;
}


.contact-closing p{
    max-width:650px;

    margin:18px auto 0;

    color:#B8BCC8;

    font-size:17px;

    line-height:1.7;
}



/* ==========================================
   DEDICATED PAGES MOBILE
========================================== */

@media(max-width:800px){

    .page-hero{
        padding:
            75px
            25px
            65px;
    }


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


    .page-hero p{
        font-size:17px;
    }


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

        gap:60px;

        padding:
            65px
            25px;
    }


    .about-closing{
        padding:
            75px
            25px;
    }


    .about-closing h2{
        font-size:32px;
    }


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

        gap:50px;

        padding:
            65px
            25px;
    }


    .contact-closing{
        padding:
            70px
            25px;
    }


    .contact-closing h2{
        font-size:31px;
    }

}