/* Typography & Reset */
:root {
    --black: #111111;
    --white: #ffffff;
    --grey-light: #f5f5f5;
    --grey-med: #e5e5e5;
    --grey-dark: #757575;
    --font-heading: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.max-w-md { max-width: 700px; margin: 0 auto; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.bg-light { background-color: var(--grey-light); }
.bg-dark { background-color: var(--black); }
.img-fluid { width: 100%; height: auto; display: block; object-fit: cover; }
.mb-sm { margin-bottom: 20px; }
.mb-md { margin-bottom: 40px; }
.mt-lg { margin-top: 40px; }

/* Navbar */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--grey-med);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
}
.nav-logo {
    max-height: 90px;
    width: auto;
    display: block;
}
.nav-links {
    display: flex;
    gap: 20px;
}
.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.nav-links a:hover {
    color: var(--grey-dark);
}

/* Sections */
.section { padding: 60px 0; }
@media (min-width: 768px) { .section { padding: 100px 0; } }

/* Top Banner */
.top-banner {
    background-color: var(--grey-light);
    text-align: center;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
}
.top-banner a {
    color: var(--black);
    text-decoration: underline;
    font-weight: bold;
}
.top-banner a:hover {
    color: var(--grey-dark);
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.nike-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 20px;
    line-height: 0.95;
}

.nike-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--grey-dark);
    margin-bottom: 30px;
    font-weight: 500;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.body-text {
    font-size: 1.1rem;
    color: var(--grey-dark);
}
.bg-dark .body-text { color: var(--grey-med); }

/* Buttons (Nike/Adidas Pill/Block Style) */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 30px; /* Pill shape like modern Nike */
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid var(--black);
}

.btn-dark {
    background-color: var(--black);
    color: var(--white);
}
.btn-dark:hover {
    background-color: var(--grey-dark);
    border-color: var(--grey-dark);
}

.btn-light {
    background-color: transparent;
    color: var(--black);
}
.btn-light:hover {
    border-color: var(--grey-dark);
    color: var(--grey-dark);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    padding-top: 0;
}
.hero-image-container {
    width: 100%;
    background-color: var(--grey-light);
    display: flex;
    justify-content: center;
}
.hero-img {
    width: 100%;
    max-height: 85vh;
    height: auto;
    object-fit: contain; /* Menampilkan seluruh gambar tanpa crop */
    object-position: center;
}
.hero-text {
    padding: 0 20px;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .pl-md { padding-left: 60px; }
}

/* Cards / Flat items */
.card-flat {
    background: var(--white);
    padding: 30px 0;
    border-top: 2px solid var(--black);
}

/* Testimonials (Carousel) */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
}
.carousel-btn {
    background-color: var(--black);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 10;
    transition: background-color 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.carousel-btn:hover {
    background-color: var(--grey-dark);
}
.prev-btn { left: -15px; }
.next-btn { right: -15px; }

.slider-wrapper {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
}
.slider-wrapper::-webkit-scrollbar { display: none; }

.slider-track {
    display: flex;
    gap: 20px;
}

.testi-item {
    scroll-snap-align: start;
    min-width: 100%;
    flex-shrink: 0;
    background-color: var(--grey-light);
    padding: 40px;
}

@media (min-width: 768px) {
    .testi-item {
        min-width: calc(33.333% - 14px); /* Tampilkan 3 item di desktop */
    }
}
@media (max-width: 767px) {
    .prev-btn { left: -5px; width: 35px; height: 35px; font-size: 1rem; }
    .next-btn { right: -5px; width: 35px; height: 35px; font-size: 1rem; }
}

.stars {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--black);
}
.review-text {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--black);
    line-height: 1.4;
}
.reviewer {
    color: var(--grey-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Promo Box */
.promo-box {
    border: 2px solid var(--grey-med);
    padding: 30px;
    display: inline-block;
    text-align: left;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}
.promo-box p {
    font-size: 1.2rem;
    padding: 15px 0;
    font-weight: 500;
}
.promo-box hr {
    border: none;
    border-top: 1px solid var(--grey-med);
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--grey-med);
}
.footer h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.footer p {
    color: var(--grey-dark);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for grid items */
.grid-3 .card-flat:nth-child(1) { transition-delay: 0.1s; }
.grid-3 .card-flat:nth-child(2) { transition-delay: 0.2s; }
.grid-3 .card-flat:nth-child(3) { transition-delay: 0.3s; }
.slider-track .testi-item:nth-child(1) { transition-delay: 0.1s; }
.slider-track .testi-item:nth-child(2) { transition-delay: 0.2s; }
.slider-track .testi-item:nth-child(3) { transition-delay: 0.3s; }

/* Mobile Specific UI/UX Adjustments */
@media (max-width: 767px) {
    .nav-content {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }
    .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    .hero-img {
        max-height: 55vh;
    }
    .section {
        padding: 50px 0;
    }
    .nike-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        letter-spacing: -1.5px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
}
