/* ============================================
   LED LIGHTING CATALOG LISTING STYLES
   ============================================ */

/* Hero Section */
.led-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Hero with Background Image */
.led-hero--with-bg {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.led-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://res.cloudinary.com/ddezu1pba/image/upload/persekian/premium-anti-glare-led-spotlight-retail-catalog.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.led-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 2;
}

.led-hero__content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.led-hero__title {
    color: #fefb72;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

/* LED Spotlights shining from above */
.led-hero__title::before {
    content: '';
    position: absolute;
    top: -150%;
    left: 10%;
    width: 25%;
    height: 300%;
    background: radial-gradient(
        ellipse at top,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.5) 15%,
        rgba(255, 255, 255, 0.3) 30%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 70%
    );
    transform: skewY(-5deg);
    pointer-events: none;
    z-index: -1;
    animation: spotlight1 4s ease-in-out infinite;
}

.led-hero__title::after {
    content: '';
    position: absolute;
    top: -150%;
    right: 15%;
    width: 30%;
    height: 300%;
    background: radial-gradient(
        ellipse at top,
        rgba(255, 255, 255, 0.7) 0%,
        rgba(255, 255, 255, 0.4) 15%,
        rgba(255, 255, 255, 0.25) 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: skewY(3deg);
    pointer-events: none;
    z-index: -1;
    animation: spotlight2 5s ease-in-out infinite;
}

/* Additional spotlight beams */
.led-hero__content::before {
    content: '';
    position: absolute;
    top: -180%;
    left: 40%;
    width: 20%;
    height: 350%;
    background: radial-gradient(
        ellipse at top,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0.35) 15%,
        rgba(255, 255, 255, 0.2) 30%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 70%
    );
    transform: skewY(-2deg);
    pointer-events: none;
    z-index: 1;
    animation: spotlight3 4.5s ease-in-out infinite;
}

/* Subtle spotlight animations */
@keyframes spotlight1 {
    0%, 100% {
        opacity: 0.7;
        transform: skewY(-5deg) translateY(0);
    }
    50% {
        opacity: 1;
        transform: skewY(-5deg) translateY(5px);
    }
}

@keyframes spotlight2 {
    0%, 100% {
        opacity: 0.6;
        transform: skewY(3deg) translateY(0);
    }
    50% {
        opacity: 0.9;
        transform: skewY(3deg) translateY(-3px);
    }
}

@keyframes spotlight3 {
    0%, 100% {
        opacity: 0.5;
        transform: skewY(-2deg) translateY(0);
    }
    50% {
        opacity: 0.8;
        transform: skewY(-2deg) translateY(8px);
    }
}

.led-hero__subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Products Grid */
.led-products {
    padding: 60px 0;
    background: #f8f9fa;
}

.led-products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Product Card */
.led-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.led-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.led-product-card__image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    background: #f5f5f5;
    overflow: hidden;
}

.led-product-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.led-product-card:hover .led-product-card__image {
    transform: scale(1.05);
}

.led-product-card__content {
    padding: 20px;
}

.led-product-card__title {
    font-size: 1.0rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #1a1a2e;
    line-height: 1.4;
}

.led-product-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.led-product-card__feature {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.875rem;
    color: #666;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 12px;
}

.led-product-card__feature i {
    font-size: 0.75rem;
    color: #4a90e2;
}

.led-product-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4a90e2;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.led-product-card:hover .led-product-card__cta {
    gap: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .led-hero__title {
        font-size: 3.5rem;
    }
}

@media (max-width: 968px) {
    .led-hero--with-bg {
        min-height: 70vh;
        height: 70vh;
    }

    .led-hero__title {
        font-size: 2.5rem;
    }

    .led-hero__title::before {
        width: 30%;
        height: 250%;
    }

    .led-hero__title::after {
        width: 35%;
        height: 250%;
    }

    .led-hero__content::before {
        width: 25%;
        height: 280%;
    }

    .led-products__grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .led-hero--with-bg {
        min-height: 60vh;
        height: 60vh;
    }

    .led-hero__title {
        font-size: 1.75rem;
        letter-spacing: 0.03em;
    }

    .led-hero__title::before {
        width: 40%;
        height: 200%;
        top: -120%;
    }

    .led-hero__title::after {
        width: 40%;
        height: 200%;
        top: -120%;
    }

    .led-hero__content::before {
        width: 35%;
        height: 220%;
        top: -140%;
    }

    .led-hero__subtitle {
        font-size: 1rem;
    }

    .led-products__grid {
        grid-template-columns: 1fr;
    }
}

/* Loading State */
.led-products__loading {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    grid-column: 1 / -1;
}

.led-products__loading i {
    font-size: 3rem;
    color: #4a90e2;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}