/* 
    Jesko Store Custom Styles
    Premium, Luxury, Modern, Black and Gold Theme
*/

:root {
    --store-bg: #0a0a0a;
    --store-surface: #141414;
    --store-surface-lighter: #1c1c1c;
    --store-gold: #D4AF37;
    --store-gold-hover: #b8972e;
    --store-gold-light: #f3e5ab;
    --store-text: #eaeaea;
    --store-text-muted: #999999;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--store-gold);
}

.store-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

.store-btn-gold {
    background-color: var(--store-gold);
    color: #000;
    border: 1px solid var(--store-gold);
}

.store-btn-gold:hover {
    background-color: var(--store-gold-hover);
    border-color: var(--store-gold-hover);
    color: #000;
}

.store-btn-outline {
    background-color: transparent;
    color: var(--store-gold);
    border: 1px solid var(--store-gold);
}

.store-btn-outline:hover {
    background-color: var(--store-gold);
    color: #000;
}

/* 1. HERO SECTION */
.store-hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1549449339-da77bf89aa4d?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    margin-top: 70px; /* Offset for navbar */
}

.store-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.9) 100%);
    z-index: 1;
}

.store-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.store-hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.store-hero-tagline {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.store-hero-desc {
    font-size: 1.1rem;
    color: var(--store-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.store-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* 2. CATEGORY GRID SECTION */
.store-section {
    padding: 6rem 20px;
}

.store-section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.store-section-desc {
    text-align: center;
    color: var(--store-text-muted);
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
    group: category;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    transition: background 0.4s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
}

.category-title {
    font-size: 1.5rem;
    color: var(--store-gold);
    margin: 0;
    position: relative;
}

.category-title::after {
    content: '→';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease, right 0.3s ease;
}

.category-card:hover .category-title::after {
    opacity: 1;
    right: -30px;
}

/* 3. FEATURED PRODUCTS SECTION */
.products-wrapper {
    background-color: var(--store-surface);
}

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

.product-card {
    background-color: var(--store-surface-lighter);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border-color: rgba(212, 175, 55, 0.4);
}

.product-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--store-gold);
    color: #000;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--store-text-muted);
    margin-bottom: 1.5rem;
    min-height: 40px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.product-price {
    font-size: 1.25rem;
    color: var(--store-gold);
    font-weight: 600;
}

.btn-view {
    background: transparent;
    color: var(--store-gold);
    border: 1px solid var(--store-gold);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: var(--store-gold);
    color: #000;
}

/* 4. CUSTOM ORDER BANNER */
.custom-order-banner {
    position: relative;
    padding: 8rem 20px;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1615800098779-1be32e60cccc?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.custom-order-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
}

.custom-order-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.custom-order-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.custom-order-text {
    font-size: 1.2rem;
    color: var(--store-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* 5. WHY CHOOSE US */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-block {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--store-gold);
    font-size: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-weight: 500;
}

.feature-desc {
    color: var(--store-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 6. CONTACT CTA */
.cta-section {
    background-color: var(--store-surface);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    padding: 6rem 20px;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--store-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* 7. CATEGORY PAGE: BREADCRUMBS & HEADERS */
.breadcrumbs {
    padding: 2rem 20px 0;
    max-width: 1200px;
    margin: 80px auto 0; /* offset for navbar */
    color: var(--store-text-muted);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--store-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--store-gold-light);
}

.breadcrumbs span {
    margin: 0 0.5rem;
}

.category-hero {
    text-align: center;
    padding: 3rem 20px 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.category-hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.category-hero-desc {
    color: var(--store-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 8. CATEGORY PAGE: SIDEBAR & LAYOUT */
.category-layout {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 6rem;
    gap: 3rem;
}

.filter-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.filter-group {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 1.5rem;
}

.filter-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--store-gold);
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--store-text);
    font-size: 0.95rem;
    cursor: pointer;
}

.filter-option input {
    margin-right: 0.8rem;
    accent-color: var(--store-gold);
}

.product-list-area {
    flex-grow: 1;
}

.category-card-content {
    width: 100%;
}

.category-desc {
    color: #ccc;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    font-family: 'Inter', sans-serif;
}

/* 9. PRODUCT CARD EXTENSIONS (COLORS, SIZES) */
.product-variants {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--store-text-muted);
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.color-swatch {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid #444;
}

.tag-customizable {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--store-gold-light);
    border: 1px solid var(--store-gold-light);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    border-style: dashed;
}

/* 10. TABS (GIFT ITEMS) */
.tab-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--store-text-muted);
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    padding: 1rem 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn:hover, .tab-btn.active {
    color: var(--store-gold);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--store-gold);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 11. CUSTOM FRAME STEPS UI */
.custom-steps {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto 5rem;
    padding: 0 20px;
    position: relative;
}

.custom-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 1px;
    background-color: rgba(212, 175, 55, 0.3);
    z-index: 0;
}

.step-block {
    text-align: center;
    width: 150px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--store-surface);
    border: 2px solid var(--store-gold);
    color: var(--store-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    margin: 0 auto 1rem;
}

.step-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--store-text-muted);
}

.custom-gallery {
    max-width: 1200px;
    margin: 0 auto 5rem;
    padding: 0 20px;
    text-align: center;
}

.gallery-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-grid-3 img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .category-layout {
        flex-direction: column;
    }
    .filter-sidebar {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .filter-group {
        border-bottom: none;
        flex: 1;
        min-width: 150px;
    }
    .custom-steps {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    .custom-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .store-hero-title, .category-hero-title { font-size: 2.5rem; }
    .store-hero-tagline { font-size: 1.2rem; }
    .store-hero-buttons, .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .custom-order-title { font-size: 2rem; }
    .gallery-grid-3 {
        grid-template-columns: 1fr;
    }
    .tab-nav {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .category-grid, .product-grid {
        grid-template-columns: 1fr;
    }
}
