/* Archive Page Styles */

/* Archive Hero Section */
.archive-hero {
    padding: 120px 0 80px;
    background: transparent;
    text-align: center;
    display: flex;
    align-items: center;
}

.archive-hero-content {
    max-width: 800px;
    margin: 0 auto;
}


@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.archive-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.archive-subtitle {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Articles Section */
.articles-section {
    padding: 80px 0;
    background: transparent;
}

/* Search and Filter Controls */
.search-filter-container {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: #ffffff;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    fill: #7f8c8d;
    pointer-events: none;
}

.filter-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.year-filter {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: #ffffff;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s ease;
    min-width: 120px;
}

.year-filter:focus {
    outline: none;
    border-color: #3498db;
}

.clear-filters-btn {
    padding: 12px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.clear-filters-btn:hover {
    background: #5a6268;
}

.clear-filters-btn:active {
    transform: translateY(1px);
}



.loading-message {
    text-align: center;
    padding: 3rem;
    color: #ffffff;
    font-style: italic;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.no-archives-message {
    text-align: center;
    padding: 3rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.no-archives-message h3 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 1.5rem;
}

.articles-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 3rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}



.article-content {
    flex: 1;
    margin-bottom: 1.5rem;
}

.article-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.article-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-type {
    background: #3498db;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.article-actions {
    margin-top: auto;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 20px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.read-more-btn svg {
    fill: currentColor;
}

/* Features Preview Section */
.features-preview {
    padding: 80px 0;
    background: transparent;
}

.features-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 3rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}



.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    fill: #3498db;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .archive-hero {
        padding: 100px 0 60px;
        min-height: 40vh;
    }

    .archive-hero h1 {
        font-size: 2.5rem;
    }

    .archive-subtitle {
        font-size: 1.1rem;
    }

    .articles-section {
        padding: 60px 0;
    }

    .articles-section h2 {
        font-size: 2rem;
    }

    .search-filter-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .search-box {
        max-width: none;
    }

    .filter-controls {
        justify-content: space-between;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-card {
        padding: 1.5rem;
    }

    .features-preview {
        padding: 60px 0;
    }

    .features-preview h2 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 2rem;
    }
}

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

    .archive-subtitle {
        font-size: 1rem;
    }

    .search-filter-container {
        padding: 0 0.5rem;
        gap: 0.75rem;
    }

    .search-box {
        min-width: auto;
    }

    .filter-controls {
        flex-direction: column;
        width: 100%;
    }

    .year-filter {
        width: 100%;
    }

    .clear-filters-btn {
        width: 100%;
    }

    .article-card {
        padding: 1.2rem;
    }

    .article-title {
        font-size: 1.2rem;
    }

    .features-preview h2 {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

/* Animation for page load */
.archive-hero-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

 