:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --nav-bg: #000000;
    --card-bg: #ffffff;
    --accent-color: #DA291C;
    --secondary-bg: #0a0a0a;
}

.light-theme {
    --bg-color: #ffffff;
    --text-color: #111111;
    --nav-bg: #ffffff;
    --card-bg: #f8f8f8;
    --secondary-bg: #f0f0f0;
}

.light-theme .btn-shop {
    background-color: #000;
    color: #fff;
}

.light-theme .card {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.light-theme .hero-para {
    color: #444;
}

.light-theme .brand-spotlight {
    background-color: var(--bg-color);
}

.light-theme .spotlight-content {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.5), transparent);
}

.light-theme .spotlight-content h3 {
    color: #000;
    text-shadow: none;
}

.light-theme .spotlight-content p {
    color: #333;
}

.light-theme .btn-spotlight {
    background: #000;
    color: #fff;
}

.light-theme .btn-spotlight:hover {
    background: #DA291C;
    color: #fff;
}

.light-theme .hero-heading {
    color: #000;
}




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

body {
    background-color: var(--bg-color);
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav {
    height: 140px;
    width: 100%;
    background-color: var(--nav-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
    padding: 0 50px;
    transition: background-color 0.3s ease;
}

.logo {
    height: 130px;
    width: 130px;
    background-image: url("assets/logo/stylerush-logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: transform 0.9s ease;
}

.logo:hover {
    transform: scale(1.5);
}

nav ul {
    display: flex;
    gap: 40px;
    align-items: center;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #DA291C;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #DA291C;
}

nav ul li a:hover::after {
    width: 100%;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover {
    background-color: rgba(128, 128, 128, 0.15);
    transform: rotate(30deg) scale(1.1);
}

.light-theme .sun {
    display: none;
}

.light-theme .moon {
    display: block !important;
}

/* Hero Section */
.hero {
    height: 90vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--bg-color);

}

.slider {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 0 5%;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide.active .hero-content {
    animation: fadeSlideIn 1s ease-out forwards;
}

.slide.active .hero-shoe {
    animation: float 6s ease-in-out infinite;
}

.slide:not(.active) .hero-content,
.slide:not(.active) .hero-shoe {
    animation: none;
}

/* Hero Content */
.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-heading {
    font-size: 8rem;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 20px;
    font-style: italic;
    letter-spacing: -2px;
}

.highlight {
    color: #DA291C;
}

.hero-para {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 40px;
    font-weight: 300;
}

.btn-shop {
    padding: 15px 40px;
    background-color: white;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-shop:hover {
    background-color: #DA291C;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(218, 41, 28, 0.4);
}

.hero-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-background {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 60, 60, 1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    animation: pulse 4s infinite alternate;
}

.hero-shoe {
    width: 120%;
    max-width: 800px;
    transform: rotate(-25deg);
    z-index: 1;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(-25deg);
    }

    50% {
        transform: translateY(-30px) rotate(-20deg);
    }
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    from {
        transform: scale(0.9);
        opacity: 0.5;
    }

    to {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Infinite Scroll Section */
.infinite-scroll {
    max-width: 100%;
    overflow: hidden;
    padding: 60px 0;
    position: relative;
    background: var(--bg-color);
    transition: background-color 0.3s ease;
    mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
    -webkit-mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
}

.scroller-inner {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.scroller-inner:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 15px));
    }
}

.card {
    background-color: white;
    border-radius: 16px;
    height: 120px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.card img {
    height: 50px;
    width: auto;
    max-width: 70%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.card:hover img {
    filter: grayscale(0%);
}

/* Categories Section */
.categories {
    padding: 100px 50px;
    background-color: var(--bg-color);
    transition: background-color 0.3s ease;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.7);
}

.category-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.5);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding: 20px;
}

.category-overlay h3 {
    color: white;
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.btn-shop-cat {
    color: white;
    border: 2px solid white;
    padding: 10px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.category-card:hover .btn-shop-cat {
    opacity: 1;
    transform: translateY(0);
    background: white;
    color: black;
}

/* Trending Section */
.trending {
    padding: 100px 50px;
    background-color: var(--secondary-bg);
    transition: background-color 0.3s ease;
}

.section-title {
    color: var(--text-color);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 800;
    letter-spacing: -1px;
    transition: color 0.3s ease;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: #151515;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    border: 1px solid #222;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: #333;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.product-card:hover img {
    transform: scale(1.05) rotate(-5deg);
}

.product-info h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.brand {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.price {
    color: #DA291C;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.btn-add {
    background: white;
    color: black;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.product-card:hover .btn-add {
    opacity: 1;
    background: #DA291C;
    color: white;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(45deg, #111, #000);
    padding: 100px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(218, 41, 28, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 15px;
    font-style: italic;
}

.newsletter p {
    color: #ccc;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    padding: 15px 40px;
    background: #DA291C;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #b01f14;
}

/* Footer */
footer {
    background-color: var(--nav-bg);
    padding: 80px 50px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    margin-bottom: 20px;
    width: 80px !important;
    height: 80px !important;
}

.footer-col p {
    color: #888;
    line-height: 1.6;
    max-width: 300px;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #DA291C;
}

.footer-col ul li {
    list-style: none;
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    background: #222;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #DA291C;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
    color: #444;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .slide,
    .hero-content,
    .hero {
        padding-top: 80px;
        text-align: center;
        flex-direction: column;
    }

    .hero-heading {
        font-size: 4rem;
    }

    .hero-shoe {
        width: 100%;
        margin-top: 30px;
    }

    .circle-background {
        width: 300px;
        height: 300px;
    }

    .categories,
    .trending,
    .newsletter,
    footer {
        padding: 60px 20px;
    }

    .footer-content {
        flex-direction: column;
    }

    nav {
        padding: 0 20px;
    }

    nav ul {
        display: none;
        /* Hide nav links on mobile for simplicity */
    }

    .newsletter-form {
        flex-direction: column;
    }
}


/* Category Selection Section (User Renamed) */
.category-selection {
    padding: 100px 50px;
    background-color: black;
}

.category-selection h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 60px;
    font-style: italic;
    text-transform: uppercase;
    text-align: center;
}

/* Brand Spotlight Section */
.brand-spotlight {
    padding: 100px 50px;
    background-color: #0b0b0b;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.spotlight-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease;
    cursor: pointer;
}

.spotlight-card:hover {
    transform: translateY(-10px);
}

.spotlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.7);
}

.spotlight-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.4);
}

.spotlight-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.spotlight-card:hover .spotlight-content {
    transform: translateY(0);
}

.spotlight-content h3 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 10px;
    font-weight: 900;
    font-style: italic;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.spotlight-content p {
    color: #ddd;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.5;
    opacity: 0.9;
}

.btn-spotlight {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-spotlight:hover {
    background: #DA291C;
    color: white;
}

/* Product Rating System */
.product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.product-rating .stars {
    color: #FFD700;
    font-size: 1.1rem;
    display: flex;
    gap: 3px;
}

.rating-score {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color);
}

.rating-count {
    font-size: 0.9rem;
    color: #888;
    text-decoration: underline;
    cursor: pointer;
}

.rating-count:hover {
    color: var(--text-color);
}

/* Interactive User Review Section */
.user-review-section {
    margin-top: 50px;
    padding: 40px;
    background: var(--secondary-bg);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.light-theme .user-review-section {
    background: #fff;
    border-color: #eee;
}

.user-review-section h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 800;
}

.interactive-stars {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.interactive-stars i {
    font-size: 2rem;
    cursor: pointer;
    color: #ffd700;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.interactive-stars i:hover {
    transform: scale(1.2);
}

.interactive-stars i.active {
    color: #ffd700;
}

.user-review-section textarea {
    width: 100%;
    min-height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 20px;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.light-theme .user-review-section textarea {
    background: #f9f9f9;
    border-color: #eee;
}

.user-review-section textarea:focus {
    outline: none;
    border-color: #DA291C;
}

.btn-submit-review {
    padding: 15px 40px;
    background: #DA291C;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit-review:hover {
    background: #b21e15;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 41, 28, 0.3);
}

.review-success-msg {
    margin-top: 15px;
    color: #4BB543;
    font-weight: 600;
    display: none;
    align-items: center;
    gap: 10px;
}

/* Reviews Display Section */
.reviews-display {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 20px;
    animation: slideIn 0.4s ease-out;
}

.light-theme .review-card {
    background: #fdfdfd;
    border-color: #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.reviewer-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.review-stars {
    color: #ffd700;
    font-size: 0.9rem;
    display: flex;
    gap: 3px;
}

.review-text {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
    font-size: 0.95rem;
}

.review-date {
    font-size: 0.8rem;
    opacity: 0.4;
    margin-top: 15px;
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}