/**
 * Categories Page Styles
 */

/* ========================================
   Categories Hero Section
   ======================================== */

.categories-hero {
    position: relative;
    padding: 3rem 0 4rem;
    overflow: hidden;
    background: var(--color-text-heading);
    min-height: 400px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .categories-hero {
        padding: 4rem 0 5rem;
        min-height: 450px;
    }
}

/* Background Marquee */
.categories-hero-marquee {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    overflow: hidden;
    opacity: 0.2;
    padding: 10px 0;
}

.categories-hero .marquee-strip {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.categories-hero .marquee-content {
    display: flex;
    animation: marquee-scroll 30s linear infinite;
}

.categories-hero .marquee-right .marquee-content {
    animation: marquee-scroll-reverse 30s linear infinite;
}

.categories-hero .marquee-item {
    flex-shrink: 0;
    padding: 4px;
}

.categories-hero .marquee-icon-wrapper {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    max-width: 70px;
    max-height: 70px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: rgba(var(--color-white-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.categories-hero .marquee-icon-wrapper iconify-icon {
    font-size: 2rem;
    color: var(--color-white);
}

@media (min-width: 576px) {
    .categories-hero .marquee-icon-wrapper {
        width: 75px;
        height: 75px;
        min-width: 75px;
        min-height: 75px;
        max-width: 75px;
        max-height: 75px;
    }
    .categories-hero .marquee-icon-wrapper iconify-icon {
        font-size: 2.25rem;
    }
}

@media (min-width: 768px) {
    .categories-hero .marquee-icon-wrapper {
        width: 82px;
        height: 82px;
        min-width: 82px;
        min-height: 82px;
        max-width: 82px;
        max-height: 82px;
        border-radius: var(--radius-md);
    }
    .categories-hero .marquee-icon-wrapper iconify-icon {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) {
    .categories-hero .marquee-icon-wrapper {
        width: 85px;
        height: 85px;
        min-width: 85px;
        min-height: 85px;
        max-width: 85px;
        max-height: 85px;
    }
    .categories-hero .marquee-icon-wrapper iconify-icon {
        font-size: 2.75rem;
    }
}

@media (min-width: 1200px) {
    .categories-hero .marquee-icon-wrapper {
        width: 88px;
        height: 88px;
        min-width: 88px;
        min-height: 88px;
        max-width: 88px;
        max-height: 88px;
    }
}

/* marquee keyframes moved to shared/_variables.css */

/* Overlay Gradient */
.categories-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(var(--color-hero-light-rgb), 0.97) 0%,
        rgba(var(--color-hero-light-rgb), 0.9) 25%,
        rgba(var(--color-hero-light-rgb), 0.7) 50%,
        rgba(var(--color-hero-light-rgb), 0.4) 75%,
        rgba(var(--color-hero-light-rgb), 0.2) 100%
    );
    z-index: 2;
}

/* Hero Content */
.categories-hero-content {
    position: relative;
    z-index: 3;
}

.categories-hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .categories-hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 992px) {
    .categories-hero-title {
        font-size: 3.5rem;
    }
}

.categories-hero-description {
    font-size: 1.125rem;
    color: rgba(var(--color-white-rgb), 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 540px;
}

/* Hero Stats */
.categories-hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.categories-hero-stat {
    text-align: left;
}

.categories-hero-stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .categories-hero-stat-value {
        font-size: 2.25rem;
    }
}

.categories-hero-stat-label {
    font-size: 0.875rem;
    color: rgba(var(--color-white-rgb), 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Actions */
.categories-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.categories-hero-actions .btn {
    justify-content: center;
}

@media (min-width: 480px) {
    .categories-hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

.categories-hero-actions .btn-light {
    background: var(--color-bg-primary);
    color: var(--color-text-heading);
    border: none;
    font-weight: 600;
}

.categories-hero-actions .btn-light:hover {
    background: var(--color-bg-hover);
    color: var(--color-text-heading);
}

.categories-hero-actions .btn-outline-light {
    border-color: rgba(var(--color-white-rgb), 0.4);
    color: var(--color-white);
}

.categories-hero-actions .btn-outline-light:hover {
    background: rgba(var(--color-white-rgb), 0.1);
    border-color: rgba(var(--color-white-rgb), 0.6);
}

/* Breadcrumb Light Theme */
.categories-hero .breadcrumb-light .breadcrumb-item a {
    color: rgba(var(--color-white-rgb), 0.7);
}

.categories-hero .breadcrumb-light .breadcrumb-item a:hover {
    color: var(--color-white);
}

.categories-hero .breadcrumb-light .breadcrumb-item.active {
    color: rgba(var(--color-white-rgb), 0.5);
}

.categories-hero .breadcrumb-light .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(var(--color-white-rgb), 0.4);
}

/* A-Z Navigation - Current Letter */
.az-nav-letter.current {
    background: var(--bs-primary) !important;
    color: white !important;
    border-color: var(--bs-primary) !important;
}
