/* ==========================================================
   SHELLIFY OFFROAD
   GLOBAL CSS
   PART 1 - RESET + BASE + HEADER
========================================================== */

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

html{
    scroll-behavior:smooth;
}

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

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

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

ul{
    list-style:none;
}

button{
    font:inherit;
    cursor:pointer;
}

.container{
    width:min(1280px, calc(100% - 80px));
    margin:0 auto;
}

section{
    padding:100px 0;
}

.section-title{
    font-size:42px;
    font-weight:700;
    margin-bottom:18px;
}

.section-subtitle{
    color:#bdbdbd;
    font-size:18px;
    margin-bottom:60px;
}

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

.primary-btn,
.secondary-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:15px 34px;
    border-radius:999px;
    transition:.3s;
    font-weight:600;
}

.primary-btn{
    background:#ffffff;
    color:#000000;
}

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

.secondary-btn{
    border:1px solid rgba(255,255,255,.18);
}

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

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

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    background:rgba(0,0,0,.65);
    backdrop-filter:blur(12px);
}

.navbar{
    height:80px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    font-size:28px;
    font-weight:700;
    letter-spacing:2px;
}

.logo span{
    color:#c9a55b;
}

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

.nav-links a{
    color:#ffffff;
    transition:.25s;
}

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

.nav-right{
    display:flex;
    align-items:center;
    gap:16px;
}
/* ==========================================================
   HERO
========================================================== */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    background:
        linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.65)),
        url("/images/hero.jpg") center center / cover no-repeat;
}

.overlay{
    width:100%;
}

.hero-content{
    max-width:760px;
}

.hero-tag{
    display:inline-block;
    margin-bottom:22px;
    padding:8px 18px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:999px;
    font-size:13px;
    letter-spacing:2px;
    color:#d7d7d7;
    text-transform:uppercase;
}

.hero h1{
    font-size:72px;
    line-height:1.08;
    margin-bottom:28px;
    font-weight:800;
}

.hero p{
    font-size:22px;
    color:#d5d5d5;
    margin-bottom:42px;
    max-width:620px;
}

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

.scroll-indicator{
    position:absolute;
    bottom:40px;
    left:50%;
    transform:translateX(-50%);
    font-size:14px;
    letter-spacing:2px;
    color:#bdbdbd;
    opacity:.8;
}

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

.services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.service-card{
    background:#151515;
    border:1px solid rgba(255,255,255,.06);
    border-radius:18px;
    padding:36px;
    transition:.3s;
}

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

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

.service-card p{
    color:#bdbdbd;
    font-size:16px;
    line-height:1.7;
}
/* ==========================================================
   FEATURED PRODUCTS
========================================================== */

.products-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.product-card{
    background:#151515;
    border:1px solid rgba(255,255,255,.06);
    border-radius:18px;
    overflow:hidden;
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-8px);
    border-color:#c9a55b;
}

.product-image{
    aspect-ratio:4/3;
    background:#232323;
}

.product-content{
    padding:28px;
}

.product-content h3{
    font-size:24px;
    margin-bottom:12px;
}

.product-content p{
    color:#bdbdbd;
    margin-bottom:22px;
    line-height:1.7;
}

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

.why-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:60px;
    align-items:center;
}

.why-content h2{
    font-size:42px;
    margin-bottom:24px;
}

.why-content p{
    color:#bdbdbd;
    margin-bottom:40px;
    line-height:1.8;
}

.feature-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.feature-item{
    display:flex;
    align-items:center;
    gap:16px;
    font-size:18px;
}

.feature-icon{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#c9a55b;
    color:#000;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
}

.why-image{
    aspect-ratio:4/5;
    background:#232323;
    border-radius:20px;
    overflow:hidden;
}

.why-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}
/* ==========================================================
   PROJECT SHOWCASE
========================================================== */

.showcase-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.showcase-card{
    overflow:hidden;
    border-radius:18px;
    background:#151515;
    border:1px solid rgba(255,255,255,.06);
    transition:.3s;
}

.showcase-card:hover{
    transform:translateY(-8px);
    border-color:#c9a55b;
}

.showcase-image{
    aspect-ratio:4/3;
    background:#232323;
}

.showcase-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.showcase-content{
    padding:24px;
}

.showcase-content h3{
    margin-bottom:10px;
    font-size:22px;
}

.showcase-content p{
    color:#bdbdbd;
    line-height:1.7;
}

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

footer{
    background:#080808;
    border-top:1px solid rgba(255,255,255,.08);
    padding:70px 0 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:60px;
}

.footer-logo{
    font-size:28px;
    font-weight:700;
    margin-bottom:20px;
}

.footer-logo span{
    color:#c9a55b;
}

.footer-text{
    color:#bdbdbd;
    line-height:1.8;
}

.footer-title{
    font-size:18px;
    margin-bottom:20px;
}

.footer-links{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.footer-links a{
    color:#bdbdbd;
    transition:.25s;
}

.footer-links a:hover{
    color:#ffffff;
}

.footer-bottom{
    margin-top:60px;
    padding-top:24px;
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
    color:#8d8d8d;
    font-size:14px;
}

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

@media (max-width:1024px){

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

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

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

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

@media (max-width:768px){

    .container{
        width:calc(100% - 40px);
    }

    section{
        padding:70px 0;
    }

    .navbar{
        height:70px;
    }

    .nav-links{
        display:none;
    }

    .hero{
        min-height:90vh;
    }

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

    .hero p{
        font-size:18px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:flex-start;
    }

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

    .section-title{
        font-size:34px;
    }

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