/* Archive Page Specific Styles */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Dana', sans-serif;
}

.archive-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6b 50%, #1a2f4f 100%);
    overflow: hidden;
    border-bottom: 3px solid rgba(212, 175, 55, 0.4);
}

.archive-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.archive-hero-content {
    position: relative;
    text-align: center;
    color: white;
}

.archive-hero-content h1 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-family: 'Medina', 'Dana', sans-serif;
}

.archive-hero-content p {
    font-size: 20px;
    margin-bottom: 48px;
    opacity: 0.95;
}

.archive-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 24px 32px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.filter-section {
    padding: 60px 0;
    background: #0a1526;
}

.filter-container {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6b 100%);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.filter-container h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-container h3 i {
    color: var(--primary-color);
}

.filter-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 10, 20, 0.5);
    color: #ffffff;
    border: 2px solid rgba(255, 215, 0, 0.4);
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-btn i {
    font-size: 16px;
}

.filter-btn:hover {
    border-color: #D4AF37;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.filter-btn.active {
    background: linear-gradient(135deg, #0f1f35, #1a2f4f);
    color: #D4AF37;
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.services-archive-section {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #050a14 0%, #0a1526 100%);
}

.services-grid-archive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.service-item.hidden {
    display: none;
    animation: fadeOut 0.3s ease;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

@media (max-width: 1024px) {
    .archive-hero {
        padding: 100px 0 60px;
    }

    .archive-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .archive-hero {
        padding: 80px 0 50px;
    }

    .archive-hero-content h1 {
        font-size: 32px;
    }

    .archive-hero-content p {
        font-size: 16px;
    }

    .archive-stats {
        gap: 16px;
    }

    .stat-box {
        padding: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .filter-section {
        padding: 40px 0;
    }

    .filter-container {
        padding: 24px;
    }

    .filter-container h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .filter-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .services-archive-section {
        padding: 60px 0 80px;
    }

    .services-grid-archive {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .archive-hero-content h1 {
        font-size: 28px;
    }

    .archive-hero-content p {
        font-size: 14px;
    }

    .stat-box {
        padding: 16px;
    }

    .stat-number {
        font-size: 24px;
    }

    .filter-container {
        padding: 20px;
    }
}

/* Modern Light Theme Overrides */
.archive-hero {
    background: linear-gradient(135deg, #0f2a4d 0%, #1b4578 55%, #2f5f96 100%);
    border-bottom: 1px solid rgba(15, 42, 77, 0.18);
}

.filter-section,
.services-archive-section {
    background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
}

.filter-container {
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 42, 77, 0.1);
    border: 1px solid rgba(15, 42, 77, 0.1);
}

.filter-container h3 {
    color: #0b2340;
}

.filter-btn {
    background: #f8fbff;
    color: #163a67;
    border-color: rgba(15, 42, 77, 0.2);
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(20, 54, 95, 0.08);
    color: #0b2340;
    border-color: rgba(15, 42, 77, 0.4);
    box-shadow: 0 8px 18px rgba(15, 42, 77, 0.12);
}

/* Archive Card Contrast Fixes */
.services-grid-archive .service-item.premium {
    background: #ffffff;
    border: 1px solid rgba(15, 42, 77, 0.12);
    box-shadow: 0 14px 32px rgba(15, 42, 77, 0.12);
}

.services-grid-archive .service-info h3 {
    color: #0b2340;
}

.services-grid-archive .service-info p {
    color: #334155;
}

.services-grid-archive .service-features span {
    color: #475569;
}

