/* Sethos Station - Immersive Boutique Styles */

:root {
    --neon-blue: #00f3ff;
    --neon-purple: #bc13fe;
    --glass-bg: rgba(10, 10, 20, 0.85);
    /* Increased opacity for better readability */
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    /* Lighter secondary text for better contrast */
    --card-bg: rgba(20, 20, 30, 0.8);
    /* Darker card background */
    --accent-gradient: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #050510;
    color: var(--text-primary);
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Container */
.station-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('../assets/images/sethos-station-bg.png') no-repeat center center;
    background-size: cover;
    filter: brightness(0.5);
    /* Slightly brighter to show off the new image */
}

.station-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #050510 90%);
    pointer-events: none;
    z-index: -1;
}

/* Navbar */
.station-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(5, 5, 16, 0.9);
    /* More solid navbar */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.back-link-nav {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.back-link-nav:hover {
    color: var(--text-primary);
}

.brand-text {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 2px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

/* Search Bar */
.search-bar {
    position: relative;
    width: 400px;
}

.search-bar input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: #fff;
    font-family: inherit;
    transition: all 0.3s;
}

.search-bar input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

/* User Actions */
.icon-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s, color 0.2s;
}

.icon-btn:hover {
    color: var(--neon-blue);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--neon-purple);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

/* Shop Layout */
.shop-container {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
    /* Ensure z-index works */
}

/* Sidebar */
.shop-sidebar {
    width: 260px;
    padding: 2rem;
    background: rgba(5, 5, 16, 0.85);
    /* Darker sidebar */
    backdrop-filter: blur(15px);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 3rem;
    z-index: 10;
    height: 100%;
    /* Full height */
    overflow-y: auto;
}

.category-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--neon-blue);
    /* Highlight title */
    margin-bottom: 1rem;
    font-weight: 700;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.category-item:hover,
.category-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(5px);
}

.category-item.active {
    border-left: 3px solid var(--neon-blue);
    background: linear-gradient(90deg, rgba(0, 243, 255, 0.1), transparent);
}

.category-item i {
    width: 20px;
    text-align: center;
}

/* Slider */
.slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--neon-blue);
    cursor: pointer;
    box-shadow: 0 0 10px var(--neon-blue);
}

/* Main Content */
.shop-main {
    flex: 1;
    padding: 2rem 3rem;
    overflow-y: auto;
    position: relative;
}

.shop-hero {
    margin-bottom: 3rem;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    animation: fadeInDown 1s ease-out;
}

.shop-hero h1 {
    font-size: 3rem;
    margin: 0 0 1rem 0;
    background: linear-gradient(to right, #fff, var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
}

.shop-hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding-bottom: 4rem;
}

/* Product Card */
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    display: flex;
    flex-direction: column;
}

.products-grid .product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.products-grid .product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.products-grid .product-card:nth-child(3) {
    animation-delay: 0.3s;
}

.products-grid .product-card:nth-child(4) {
    animation-delay: 0.4s;
}

.products-grid .product-card:nth-child(5) {
    animation-delay: 0.5s;
}

.products-grid .product-card:nth-child(6) {
    animation-delay: 0.6s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: var(--neon-blue);
}

.product-image {
    width: 100%;
    aspect-ratio: 9/16;
    height: auto;
    position: relative;
    overflow: hidden;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.5s;
}

.product-card:hover .img-placeholder {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view {
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid var(--neon-blue);
    color: #fff;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quick-view:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-meta {
    font-size: 0.8rem;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
    color: #fff;
}

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

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.add-cart-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.add-cart-btn:hover {
    background: var(--neon-purple);
    border-color: var(--neon-purple);
    transform: rotate(90deg);
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.5);
}

/* Footer */
.shop-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

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

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

/* Responsive */
@media (max-width: 900px) {
    .shop-sidebar {
        display: none;
        /* Hide sidebar on mobile for now */
    }

    .search-bar {
        width: 200px;
    }
}

@media (max-width: 600px) {
    .station-navbar {
        padding: 1rem;
    }

    .brand-text {
        display: none;
    }

    .search-bar {
        width: 100%;
    }

    .nav-center {
        flex: 1;
        margin: 0 1rem;
    }

    .shop-hero {
        padding: 2rem;
    }

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