/* Modern Nike Roshe Run Store - Fresh Design */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Header Styles */
.header-main {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    color: #000;
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Navigation */
.header-nav {
    flex: 1;
}

.header-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.header-nav li {
    position: relative;
}

.header-nav > ul > li > a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.header-nav > ul > li > a:hover {
    color: #000;
}

/* Dropdown */
.header-nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    min-width: 220px;
    z-index: 100;
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 8px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.header-nav li:hover .submenu {
    display: block;
}

.header-nav .submenu li {
    border-bottom: 1px solid #f5f5f5;
}

.header-nav .submenu li:last-child {
    border-bottom: none;
}

.header-nav .submenu a {
    display: block;
    padding: 12px 24px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    text-transform: none;
}

.header-nav .submenu a:hover {
    background: #f8f9fa;
    color: #000;
    padding-left: 30px;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-link {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s;
}

.header-link:hover {
    background: #f8f9fa;
    color: #000;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 30px;
}

/* Products Grid */
.featured-section {
    margin: 40px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 50px;
    text-align: center;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #000;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: #e0e0e0;
}

.product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    position: relative;
    padding-top: 100%;
    background: #f8f9fa;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 24px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.5;
    min-height: 45px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-current {
    font-size: 22px;
    font-weight: 800;
    color: #000;
}

.price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

/* Product Detail Page */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 40px 0;
}

.product-detail-image {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-detail-image img {
    width: 100%;
    height: auto;
}

.product-detail-info h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #000;
}

.product-detail-price {
    font-size: 28px;
    font-weight: 700;
    margin: 20px 0;
    color: #000;
}

.product-description {
    margin: 30px 0;
    line-height: 1.8;
    color: #666;
}

.btn-add-cart {
    background: #000;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-add-cart:hover {
    background: #333;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #111;
    color: #fff;
    padding: 60px 0 0;
    margin-top: 100px;
    border-top: 1px solid #222;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px 50px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.footer-section p {
    color: #999;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    display: inline-block;
}

.footer-section a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 25px 30px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 13px;
    background: #0a0a0a;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .header-nav {
        order: 3;
        flex-basis: 100%;
    }
    
    .header-nav ul {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .header-nav > ul > li > a {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
        flex-direction: column;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .header-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .header-nav > ul > li {
        width: 100%;
    }
    
    .header-nav > ul > li > a {
        padding: 12px 20px;
        text-align: center;
    }
    
    .header-nav .submenu {
        position: static;
        transform: none;
        box-shadow: none;
        margin-top: 0;
        border-radius: 0;
        background: #f8f9fa;
    }
    
    .header-actions {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .section-title {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .container {
        padding: 30px 20px;
    }
}

/* Category Pages */
.category-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.category-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.category-description {
    font-size: 18px;
    opacity: 0.9;
}

/* Loading Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-card {
    animation: fadeIn 0.5s ease-out;
}

