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

:root {
    --primary-color: #0b0b0b; /* main black */
    --secondary-color: #3e2f2f; /* dark brown */
    --accent-color: #6b5544; /* soft brown */
    --dark-color: #0b0b0b; /* page background */
    --light-color: #e9e6e1; /* light text */
    --text-color: #e9e6e1;
    --border-radius: 8px;
    --shadow: 0 6px 18px rgba(0,0,0,0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--dark-color);
    position: relative;
}

/* Navigation */
.navbar {
    background: var(--dark-color);
    border-bottom: 3px solid rgba(255,255,255,0.03);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--light-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
}

.logo span {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: var(--light-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-icon {
    position: relative;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 20px;
    min-height: 500px;
}

/* Slider styles */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 2400px; /* allow the slider to grow on larger screens */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.03);
}
.slides {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1200 / 600; /* increased height for better visibility */
}
.slide {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.slide.active { opacity: 1; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: var(--light-color);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
}
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }

.hero-content h1 {
    font-size: 3rem;
    color: var(--light-color);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Bebas Neue', cursive;
}

.hero-content p {
    font-size: 1.2rem;
    color: #AAB8D3;
    margin-bottom: 2rem;
}

.cta-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border: none;
    background: var(--secondary-color);
    color: var(--dark-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    font-weight: bold;
    text-transform: uppercase;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.fashion-icon {
    display: none; /* remove animated icon when using slider */
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Products Section */
.product-card {
    background: #172033;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.18s ease;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.04);
    position: relative;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    border-color: rgba(255,255,255,0.06);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background-color: white;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #1F2747;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.4);
    border-color: var(--light-color);
}

.product-image {
    width: 100%;
    height: 250px;
    background: #1A1A2E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}

/* Sticker / graffiti label */
.product-card::before {
    content: 'STREET';
    position: absolute;
    top: 12px;
    left: -48px;
    transform: rotate(-22deg);
    background: var(--accent-color);
    color: var(--dark-color);
    font-family: 'Bebas Neue', cursive;
    padding: 6px 70px;
    font-weight: 700;
    font-size: 12px;
}

.product-image::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.2rem;
    color: var(--light-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-description {
    font-size: 0.9rem;
    color: #AAB8D3;
    margin-bottom: 1rem;
}

.product-rating {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--light-color);
    display: none;
}

.add-to-cart-btn {
    padding: 8px 15px;
    background-color: var(--light-color);
    color: var(--dark-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
}
.add-to-cart-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.cart-modal.active {
    display: flex;
}

.cart-content {
    background: #172033;
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid rgba(255,255,255,0.04);
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--secondary-color);
    transition: color 0.18s ease;
}

.close:hover {
    color: var(--light-color);
}

.cart-content h2 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-family: 'Bebas Neue', cursive;
}

.cart-items {
    margin-bottom: 1.5rem;
}

.empty-cart {
    text-align: center;
    color: #999;
    padding: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #3A4B67;
}

.cart-item-info h4 {
    color: var(--light-color);
    margin-bottom: 0.5rem;
}

.cart-item-info p {
    color: #AAB8D3;
    font-size: 0.9rem;
}

.cart-item-price {
    font-weight: bold;
    color: var(--light-color);
}

.remove-btn {
    background-color: #ff4757;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background-color: #ff3838;
}

.cart-total {
    padding: 1rem;
    background-color: #16213E;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: right;
    font-size: 1.2rem;
    color: var(--light-color);
    border: 1px solid var(--light-color);
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.checkout-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow);
}

/* About Section */
.about {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 110, 0.1));
    padding: 4rem 20px;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about-item {
    background: #1F2747;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.about-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.about-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.about-item h3 {
    color: var(--light-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.about-item p {
    color: var(--light-color);
}

/* Contact Section */
.contact {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 20px;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 2px solid #3A4B67;
    background-color: #1F2747;
    color: var(--text-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.submit-btn {
    padding: 12px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.info-item h4 {
    color: var(--light-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.info-item p {
    color: var(--light-color);
}

/* Footer */
.footer {
    background-color: #0A0E27;
    border-top: 3px solid var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 20px;
}

.footer p {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .fashion-icon {
        font-size: 100px;
    }

    .nav-menu {
        gap: 1rem;
    }

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

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    /* Make the hero slider full-bleed on small screens */
    .hero-slider {
        position: relative; /* ensure left/right offsets work */
        width: 100vw;
        max-width: none;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        border-radius: 0;
        overflow: hidden;
        border-left: none;
        border-right: none;
    }

    .slides, .slide, .slide img {
        width: 100vw;
        max-width: 100%;
        object-fit: cover;
        display: block;
    }
}

/* Responsive slider aspect-ratio adjustments for different breakpoints */
@media (max-width: 1200px) {
    /* medium screens: increase height slightly */
    .slides, .slide img {
        aspect-ratio: 1200 / 540;
    }
}

/* For small screens reduce height further and allow a max height cap */
@media (max-width: 480px) {
    .slides, .slide img {
        aspect-ratio: 1000 / 420;
        max-height: 420px;
    }
}

@media (max-width: 480px) {
    .logo span {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .products h2,
    .about h2,
    .contact h2 {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

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

/* Large screens: make slider full-bleed and taller for better presence */
@media (min-width: 1400px) {
    .hero-slider {
        width: 100vw;
        max-width: none;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        border-radius: 0;
        overflow: hidden;
        border-left: none;
        border-right: none;
    }

    .slides, .slide img {
        width: 100vw;
        height: 700px; /* larger fixed height on very wide screens */
        max-height: none;
        aspect-ratio: auto;
        left: 0; /* ensure image fills the slider */
    }
}
