/* ─── 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;
    gap: 16px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden; /* Clip the hover image to the box */
}

.shop-cat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: 0;
    filter: brightness(0.4);
}

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

.shop-cat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.shop-cat-card:hover::after {
    opacity: 0.7;
}

.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 svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.4));
}

.shop-cat-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.4s ease;
    z-index: 1;
}

.shop-cat-card:hover .shop-cat-name {
    color: #fff;
    letter-spacing: 0.05em;
}

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

.shop-cat-card:hover .shop-cat-count {
    color: rgba(255, 255, 255, 0.7);
}


/* 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: 60px 5%;
    }
}

@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; }
}
