/* ─── SHOP ENTRY SECTION (index.html) ─────────────────────────────────────── */
/* This is the gateway section on the homepage that links to shop.html */

.shop-entry-section {
    padding: 120px 8%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.shop-entry-inner {
    text-align: center;
}

.shop-entry-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    opacity: 0.9;
    margin-bottom: 24px;
}

.shop-entry-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1;
}

.shop-entry-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 80px;
    line-height: 1.8;
    font-weight: 300;
}

/* Category Cards Grid */
.shop-entry-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto 60px;
}

.shop-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 20px;
    background: #14141a; /* Solid background to prevent transparency */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.shop-cat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Hidden by default */
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 0;
    filter: brightness(0.5) saturate(0.8);
    transform: scale(1.05);
}

.shop-cat-card:nth-child(1)::after { background-image: url('../images/cat_tracklights.webp'); }
.shop-cat-card:nth-child(2)::after { background-image: url('../images/cat_downlights.webp'); }
.shop-cat-card:nth-child(3)::after { background-image: url('../images/cat_spots.webp'); }
.shop-cat-card:nth-child(4)::after { background-image: url('../images/cat_outdoor.webp'); }
.shop-cat-card:nth-child(5)::after { background-image: url('../images/cat_profiles.webp'); }
.shop-cat-card:nth-child(6)::after { background-image: url('../images/cat_studio_abby.webp'); }

/* Background images moved up */

.shop-cat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.5);
    background: #0a0a0f; /* Keep solid on hover */
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.shop-cat-card:hover::after {
    opacity: 1;
    filter: none; /* Full clarity, no filters */
    transform: scale(1.1); /* Zoom in for a more dynamic reveal */
}

.shop-cat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.5s ease;
    z-index: 1;
}

.shop-cat-icon svg {
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
}

.shop-cat-card:hover .shop-cat-icon {
    opacity: 0;
    transform: translateY(-10px);
}

.shop-cat-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
    z-index: 1;
}

.shop-cat-card:hover .shop-cat-name {
    opacity: 0;
    transform: translateY(10px);
}

.shop-cat-count {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    z-index: 1;
}

.shop-cat-card:hover .shop-cat-count {
    opacity: 0;
    transform: translateY(15px);
}


/* CTA Button */
.shop-entry-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.shop-entry-cta:hover {
    background: var(--text-primary);
    color: #000;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.shop-entry-cta svg {
    transition: transform 0.3s ease;
}

.shop-entry-cta:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .shop-entry-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    .shop-entry-section {
        padding: 30px 5% 60px;
    }
    .shop-entry-title {
        font-size: 1.8rem !important;
    }
    .shop-entry-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 40px !important;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .shop-entry-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .shop-cat-card {
        padding: 20px 12px;
    }
    .shop-cat-icon {
        width: 56px;
        height: 56px;
    }
    .shop-cat-name { font-size: 0.85rem; }
    .shop-cat-count { font-size: 0.68rem; }
}
/* Light Mode Overrides for Ecommerce Section */
.light-mode .shop-cat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(245, 236, 215, 0.1);
}

.light-mode .shop-cat-card:hover {
    border-color: rgba(245, 236, 215, 0.3);
    background: #1a1a20; /* Solid background for light mode hover too */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.light-mode .shop-cat-name {
    color: #F5ECD7;
    text-shadow: none;
}

.light-mode .shop-cat-count {
    color: rgba(245, 236, 215, 0.7);
}

.light-mode .shop-cat-card:hover .shop-cat-count {
    color: #F5ECD7;
}

.light-mode .shop-entry-cta {
    border-color: rgba(245, 236, 215, 0.2);
    color: #F5ECD7;
}

.light-mode .shop-entry-cta:hover {
    background: #F5ECD7;
    color: #160D08;
}

.light-mode .shop-cat-card::after {
    filter: brightness(1.1) contrast(0.9);
    opacity: 0; /* Hidden by default in light mode too */
}

.light-mode .shop-cat-card:hover::after {
    opacity: 1; /* Full opacity on hover for clarity */
}


