/* Reset & Core */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    /* Classic Nike font stack */
    background: #fff;
    color: #111;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.6;
}

ul {
    list-style: none;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px;
    height: 60px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -1px;
    cursor: pointer;
}

.navbar nav ul {
    display: flex;
    gap: 24px;
}

.navbar nav a {
    font-weight: 500;
    font-size: 16px;
    color: #111;
}

.nav-icons {
    display: flex;
    gap: 20px;
}

.nav-icons a {
    font-size: 14px;
    font-weight: 500;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    /* Large impactful hero */
    display: flex;
    justify-content: flex-start;
    /* Align simplified content left or center as needed */
    align-items: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Dark overlay for text readability if needed, but Nike often goes clean. 
   Using a very subtle gradient for text pop without ruining the clean look */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    z-index: 2;
}

.hero-content {
    position: absolute;
    bottom: 60px;
    left: 48px;
    z-index: 3;
    color: #fff;
    max-width: 600px;
}

.hero h1 {
    font-family: 'Arial Black', sans-serif;
    /* Heavy bold font */
    font-size: 72px;
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.hero p {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 24px;
}

.cta-group {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: #fff;
    color: #000;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
    background: #e5e5e5;
    transform: scale(1.02);
    opacity: 1;
    /* Override general a:hover */
}

/* Featured Sections */
.featured {
    padding: 60px 48px;
}

.section-header {
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 500;
}

/* Horizontal Scroll Layout for "The Latest" */
.product-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.product-scroll::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

/* Standard Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Card Styling */
.card {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

/* Make existing scroll cards strictly sized */
.product-scroll .card {
    min-width: 400px;
}

.card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Boxy square look */
    object-fit: cover;
    margin-bottom: 12px;
}

/* Full width card override (Trend grid) */
.card.full-width {
    grid-column: span 2;
    aspect-ratio: auto;
}

.card.full-width img {
    height: 100%;
    aspect-ratio: auto;
}

.card-info h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 4px;
}

.card-info p {
    font-size: 16px;
    color: #757575;
    /* Subdued grey */
    margin-bottom: 8px;
}

.card-info .price {
    font-size: 16px;
    font-weight: 500;
    color: #111;
}

/* Overlay style card */
.card-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: #fff;
    /* Assuming dark image */
}

.card-overlay h3 {
    font-size: 32px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 15px;
    display: inline-block;
}

.btn-secondary:hover {
    background: #ddd;
    opacity: 1;
}

/* Section Header Group */
.section-header-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

/* Footer */
footer {
    background: #111;
    color: #fff;
    padding: 60px 48px 20px;
    margin-top: auto;
}

.footer-links {
    display: flex;
    gap: 80px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.column h4 {
    font-family: 'Arial Black', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.column a {
    display: block;
    color: #7e7e7e;
    font-size: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.column a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: flex-end;
    /* Nike copyright usually right or spread */
}

.footer-bottom p {
    font-size: 11px;
    color: #7e7e7e;
}

/* Responsive */
@media (max-width: 900px) {
    .navbar {
        padding: 0 24px;
    }

    .navbar nav {
        display: none;
        /* Hide regular menu for simplicity for now -> Hamburger usually needed */
    }

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

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

    .card.full-width {
        grid-column: span 1;
    }

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

    .featured {
        padding: 40px 24px;
    }

    .hero-content {
        left: 24px;
    }
}