/* ===== REPORTS PAGE STYLES ===== */

/* Reports Hero Section */
.reports-hero {
    background: linear-gradient(135deg, 
        rgba(214, 45, 140, 0.95) 0%, 
        rgba(123, 45, 126, 0.95) 100%),
        url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=1920&h=1080&fit=crop') center/cover;
    padding: 8rem 0 4rem;
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.reports-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(214, 45, 140, 0.1) 0%, 
        rgba(123, 45, 126, 0.2) 50%, 
        rgba(214, 45, 140, 0.1) 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.reports-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 2rem;
}

.breadcrumbs__list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.875rem;
}

.breadcrumbs__link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.breadcrumbs__link:hover {
    color: var(--white-color);
}

.breadcrumbs__separator {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0.25rem;
}

.breadcrumbs__current {
    color: var(--white-color);
    font-weight: var(--font-semibold);
}

/* Hero Title and Description */
.reports-hero__title {
    font-size: 3rem;
    font-weight: var(--font-black);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.reports-hero__description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats */
.reports-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.hero-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.hero-stat:hover {
    transform: translateY(-5px);
}

.hero-stat__number {
    display: block;
    font-size: 2.5rem;
    font-weight: var(--font-black);
    color: var(--white-color);
    margin-bottom: 0.5rem;
}

.hero-stat__label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Filter Tabs */
.reports-filters {
    background: var(--white-color);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(214, 45, 140, 0.1);
    position: sticky;
    top: 80px; /* Below fixed header */
    z-index: 10;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: rgba(214, 45, 140, 0.05);
    border: 2px solid transparent;
    border-radius: 25px;
    color: var(--gray-color);
    font-weight: var(--font-semibold);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-tab:hover {
    background: rgba(214, 45, 140, 0.1);
    color: var(--primary-color);
    border-color: rgba(214, 45, 140, 0.2);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(214, 45, 140, 0.3);
}

.filter-tab i {
    font-size: 1rem;
}

/* Featured Reports Section */
.featured-reports {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.featured-reports .section__title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.featured-reports .section__description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* Enhanced Reports Grid */
.reports-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Featured Report Card Enhancements */
.report-card.featured {
    border: 2px solid rgba(214, 45, 140, 0.15);
    position: relative;
    overflow: hidden;
}

.report-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 2;
}

.report-card.featured::after {
    content: 'FEATURED';
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: linear-gradient(45deg, var(--accent-orange), #ff6b35);
    color: var(--white-color);
    padding: 0.5rem 3rem;
    font-size: 0.75rem;
    font-weight: var(--font-bold);
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(248, 158, 59, 0.4);
    z-index: 3;
}

/* Load More Button */
.reports-load-more {
    text-align: center;
    padding: 2rem 0;
}

.reports-load-more .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.reports-load-more .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Newsletter Section */
.reports-newsletter {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2c3e50 100%);
    padding: 4rem 0;
}

.newsletter-card {
    background: var(--white-color);
    border-radius: 16px;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.newsletter-card__title {
    font-size: 2rem;
    font-weight: var(--font-bold);
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.newsletter-card__description {
    font-size: 1rem;
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.newsletter-card__form {
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-control {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(214, 45, 140, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(214, 45, 140, 0.1);
}

.form-disclaimer {
    font-size: 0.875rem;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.form-disclaimer i {
    color: var(--primary-color);
}

/* Search Results Highlighting */
.search-highlight {
    background: linear-gradient(120deg, rgba(255, 193, 7, 0.3) 0%, rgba(255, 193, 7, 0.1) 100%);
    padding: 0.125rem 0.25rem;
    border-radius: 3px;
    font-weight: var(--font-semibold);
}

/* Filter Animations */
.report-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.report-card.filtered-out {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    margin: 0;
    height: 0;
    overflow: hidden;
}

.report-card.filtered-in {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile Styles */
@media screen and (max-width: 576px) {
    .reports-hero {
        padding: 6rem 0 3rem;
    }
    
    .reports-hero__title {
        font-size: 2rem;
    }
    
    .reports-hero__description {
        font-size: 1rem;
    }
    
    .reports-hero__stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-tab {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .newsletter-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .breadcrumbs__list {
        justify-content: flex-start;
    }
}

/* Tablet Styles */
@media screen and (min-width: 768px) {
    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .reports-hero__stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .filter-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-tab {
        width: auto;
    }
}

/* Desktop Styles */
@media screen and (min-width: 992px) {
    .reports-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .reports-hero__title {
        font-size: 3.5rem;
    }
    
    .filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .filter-tabs::-webkit-scrollbar {
        display: none;
    }
}

/* Large Desktop */
@media screen and (min-width: 1200px) {
    .reports-grid {
        gap: 3rem;
    }
    
    .newsletter-card {
        padding: 4rem;
    }
}

/* Print Styles */
@media print {
    .reports-hero,
    .reports-filters,
    .reports-newsletter,
    .header,
    .footer {
        display: none;
    }
    
    .report-card {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 2rem;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .filter-tab {
        border-width: 3px;
    }
    
    .filter-tab.active {
        background: var(--dark-color);
        border-color: var(--dark-color);
    }
    
    .reports-hero {
        background-image: none;
        background-color: var(--dark-color);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .report-card,
    .filter-tab,
    .hero-stat {
        transition: none;
    }
    
    .shimmer {
        animation: none;
    }
    
    .reports-hero::before {
        animation: none;
        opacity: 0.5;
    }
}