:root {

    --primary: #ff3b30;

    --dark: #080808;

    --dark-light: #111111;

    --card: #161616;

    --gray: #a0a0a0;

    --white: #ffffff;

    --border: #252525;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family: "Montserrat", sans-serif;

    background: var(--dark);

    color: white;

    line-height: 1.6;
}


img {
    width: 100%;
    display: block;
}


a {
    text-decoration: none;
}


button,
input {
    font-family: inherit;
}


.container {

    width: min(1180px, 90%);

    margin: auto;
}


/* NAVBAR */

.navbar {

    position: fixed;

    width: 100%;

    top: 0;

    z-index: 1000;

    padding: 20px 0;

    background:
        rgba(0,0,0,0.75);

    backdrop-filter:
        blur(15px);

    border-bottom:
        1px solid rgba(255,255,255,0.08);
}


.nav-container {

    display: flex;

    justify-content: space-between;

    align-items: center;
}


.logo {

    color: white;

    font-size: 27px;

    font-weight: 800;

    letter-spacing: 2px;
}


.logo span,
.footer-logo span {

    color: var(--primary);
}


.nav-menu {

    display: flex;

    gap: 35px;
}


.nav-menu a {

    color: #ccc;

    font-size: 14px;

    transition: 0.3s;
}


.nav-menu a:hover {

    color: white;
}


.nav-button {

    padding: 11px 22px;

    border-radius: 7px;

    background: var(--primary);

    color: white;

    font-weight: 600;
}


/* HERO */

.hero {

    min-height: 760px;

    position: relative;

    display: flex;

    align-items: center;

    background:
        url("images/hero-motor.jpg");

    background-size: cover;

    background-position: center;
}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.95),
            rgba(0,0,0,0.72),
            rgba(0,0,0,0.25)
        );
}


.hero-content {

    position: relative;

    z-index: 2;

    padding-top: 70px;
}


.hero-tag {

    color: var(--primary);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 3px;
}


.hero h1 {

    font-size:
        clamp(55px, 8vw, 95px);

    line-height: 1;

    max-width: 800px;

    margin: 20px 0;
}


.hero h1 span {

    display: block;

    color: transparent;

    -webkit-text-stroke:
        2px white;
}


.hero p {

    max-width: 620px;

    font-size: 18px;

    color: #bbb;
}


.hero-buttons {

    margin-top: 35px;

    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}


.primary-button {

    display: inline-block;

    padding: 15px 27px;

    background:
        var(--primary);

    color: white;

    border-radius: 6px;

    font-weight: 600;

    transition: 0.3s;
}


.primary-button:hover {

    transform:
        translateY(-3px);

    background:
        #d92820;
}


.secondary-button {

    color: white;

    padding: 15px 27px;

    border:
        1px solid #444;

    border-radius: 6px;
}


/* SEARCH */

.search-section {

    position: relative;

    margin-top: -38px;

    z-index: 5;
}


.search-box {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 17px;

    background:
        var(--card);

    border:
        1px solid var(--border);

    border-radius: 10px;

    box-shadow:
        0 15px 50px rgba(0,0,0,0.5);
}


.search-box input {

    flex: 1;

    border: none;

    outline: none;

    background: transparent;

    color: white;

    padding: 14px;

    font-size: 15px;
}


.search-box button {

    border: none;

    background:
        var(--primary);

    color: white;

    padding:
        14px 28px;

    border-radius: 6px;

    cursor: pointer;

    font-weight: 600;
}


/* SECTION */

.category-section,
.article-section,
.about-section {

    padding: 110px 0;
}


.section-label {

    color: var(--primary);

    letter-spacing: 3px;

    font-size: 12px;

    font-weight: 700;
}


.section-header h2,
.about-content h2 {

    margin-top: 10px;

    font-size:
        clamp(35px,5vw,52px);
}


.section-header p {

    margin-top: 12px;

    color: var(--gray);

    max-width: 620px;
}


/* CATEGORY */

.category-section {

    background:
        var(--dark-light);
}


.category-grid {

    margin-top: 45px;

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 20px;
}


.category-card {

    padding: 35px 27px;

    border:
        1px solid var(--border);

    background: var(--card);

    border-radius: 12px;

    transition: 0.35s;
}


.category-card:hover {

    transform:
        translateY(-8px);

    border-color:
        var(--primary);
}


.category-icon {

    font-size: 35px;

    margin-bottom: 20px;
}


.category-card h3 {

    margin-bottom: 10px;
}


.category-card p {

    color: var(--gray);

    font-size: 14px;
}


/* FILTER */

.filter-menu {

    display: flex;

    gap: 10px;

    margin: 35px 0;

    flex-wrap: wrap;
}


.filter {

    padding:
        10px 18px;

    background:
        var(--card);

    border:
        1px solid var(--border);

    color: #ccc;

    border-radius: 6px;

    cursor: pointer;
}


.filter.active,
.filter:hover {

    background:
        var(--primary);

    color: white;

    border-color:
        var(--primary);
}


/* ARTICLE */

.article-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 28px;
}


.article-card {

    background:
        var(--card);

    border:
        1px solid var(--border);

    border-radius: 12px;

    overflow: hidden;

    transition: 0.35s;
}


.article-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        0 20px 40px rgba(0,0,0,0.3);
}


.article-image {

    height: 300px;

    position: relative;

    overflow: hidden;
}


.article-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}


.article-card:hover
.article-image img {

    transform:
        scale(1.07);
}


.article-badge {

    position: absolute;

    left: 20px;

    top: 20px;

    background:
        var(--primary);

    color: white;

    padding:
        7px 12px;

    border-radius: 5px;

    font-size: 11px;

    font-weight: 700;
}


.article-content {

    padding: 25px;
}


.article-date {

    color:
        var(--gray);

    font-size: 12px;
}


.article-content h3 {

    font-size: 23px;

    margin: 10px 0;
}


.article-content p {

    color:
        var(--gray);

    font-size: 14px;

    margin-bottom: 20px;
}


.article-content a {

    color:
        var(--primary);

    font-size: 14px;

    font-weight: 600;
}


/* QUOTE */

.quote-section {

    padding:
        100px 0;

    text-align: center;

    background:
        linear-gradient(
            rgba(0,0,0,0.82),
            rgba(0,0,0,0.82)
        ),
        url("images/motor-touring.jpg");

    background-size: cover;

    background-position: center;

    background-attachment: fixed;
}


.quote-section blockquote {

    font-size:
        clamp(28px,5vw,48px);

    max-width: 850px;

    margin: auto;

    font-weight: 700;
}


.quote-section p {

    color:
        var(--primary);

    margin-top: 20px;

    letter-spacing: 3px;
}


/* ABOUT */

.about-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;
}


.about-image {

    position: relative;
}


.about-image img {

    height: 540px;

    object-fit: cover;

    border-radius: 12px;
}


.about-box {

    position: absolute;

    bottom: 25px;

    right: -25px;

    padding: 20px 30px;

    background:
        var(--primary);

    border-radius: 8px;

    display: flex;

    flex-direction: column;
}


.about-box strong {

    font-size: 24px;
}


.about-box span {

    font-size: 12px;
}


.about-content p {

    color:
        var(--gray);

    margin:
        20px 0;

    line-height: 1.8;
}


/* FOOTER */

footer {

    background:
        #050505;

    border-top:
        1px solid var(--border);

    padding:
        70px 0 25px;
}


.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 50px;
}


.footer-logo {

    font-size: 28px;

    font-weight: 800;
}


footer p {

    color:
        var(--gray);

    margin-top: 10px;
}


footer h4 {

    margin-bottom: 18px;
}


footer a {

    display: block;

    color:
        var(--gray);

    margin-bottom: 9px;
}


footer a:hover {

    color:
        white;
}


.copyright {

    margin-top: 50px;

    padding-top: 25px;

    border-top:
        1px solid var(--border);

    text-align: center;

    color:
        #666;

    font-size: 13px;
}


/* RESPONSIVE */

@media(max-width:900px) {

    .nav-menu {
        display: none;
    }

    .category-grid {

        grid-template-columns:
            repeat(2,1fr);
    }

    .article-grid {

        grid-template-columns:
            1fr;
    }

    .about-grid {

        grid-template-columns:
            1fr;

        gap: 40px;
    }

}


@media(max-width:600px) {

    .nav-button {
        display: none;
    }

    .hero {

        min-height: 680px;
    }

    .hero h1 {

        font-size: 50px;
    }

    .category-grid {

        grid-template-columns:
            1fr;
    }

    .search-box {

        flex-wrap: wrap;
    }

    .search-box input {

        width:
            calc(100% - 50px);
    }

    .search-box button {

        width: 100%;
    }

    .article-image {

        height: 230px;
    }

    .footer-grid {

        grid-template-columns:
            1fr;
    }

    .about-image img {

        height: 400px;
    }

}
/* ========================================
   FULL ARTICLE PAGE
======================================== */

.article-page {
    background: #080808;
    color: white;
    min-height: 100vh;
    padding: 80px 20px;
}


.full-article {
    max-width: 900px;
    margin: auto;
}


/* CATEGORY */

.article-category {
    display: inline-block;

    background: #ff2b2b;
    color: white;

    font-size: 12px;
    font-weight: 700;

    padding: 7px 14px;

    border-radius: 4px;

    margin-bottom: 20px;
}


/* JUDUL */

.full-article h1 {
    font-size: 52px;
    line-height: 1.1;

    margin-bottom: 20px;

    color: white;
}


/* META */

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    color: #888;

    font-size: 14px;

    margin-bottom: 35px;
}


/* GAMBAR HERO */

.article-hero {
    width: 100%;
    height: 500px;

    object-fit: cover;

    border-radius: 12px;

    margin-bottom: 40px;
}


/* ISI ARTIKEL */

.article-body {
    max-width: 760px;

    margin: auto;

    font-size: 18px;
    line-height: 1.9;

    color: #c7c7c7;
}


.article-body p {
    margin-bottom: 25px;
}


/* PARAGRAF PEMBUKA */

.article-body .lead {
    font-size: 21px;

    color: #eeeeee;

    line-height: 1.8;
}


/* H2 */

.article-body h2 {
    color: white;

    font-size: 30px;

    margin-top: 50px;
    margin-bottom: 20px;
}


/* H3 */

.article-body h3 {
    color: white;

    font-size: 22px;

    margin-top: 35px;
    margin-bottom: 15px;
}


/* QUOTE */

.article-body blockquote {

    border-left: 4px solid #ff3333;

    background: #111;

    padding: 25px 30px;

    margin: 40px 0;

    font-size: 20px;
    font-style: italic;

    color: white;

    border-radius: 0 8px 8px 0;
}


/* NAVIGATION */

.article-navigation {
    max-width: 760px;

    margin: 60px auto 0;
}


/* BACK BUTTON */

.back-button {

    display: inline-block;

    padding: 15px 25px;

    background: #ff2f2f;

    color: white;

    text-decoration: none;

    font-weight: 600;

    border-radius: 7px;

    transition: 0.3s;
}


.back-button:hover {

    background: white;

    color: black;

    transform: translateY(-2px);
}
.read-more {

    display: inline-block;

    margin-top: 15px;

    color: #ff3333;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    transition: 0.3s;
}


.read-more:hover {

    color: white;

    transform: translateX(5px);
}
.full-article {

    animation: articleOpen 0.7s ease;
}


@keyframes articleOpen {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}