/* 
 * SRBSGC - Downloads Page Styles
 * Focused on document accessibility and clean UI
 */

/* =====================================================
   1. SECTION LAYOUT
   ===================================================== */
.downloads-section {
    padding: 60px 0 80px;
    min-height: 80vh;
    background-color: var(--white);
}

.downloads-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.downloads-section .section-header h2 {
    color: var(--secondary-maroon);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.downloads-section .section-header p {
    color: var(--primary-teal);
    font-size: 1.1rem;
    font-weight: 500;
}

/* =====================================================
   2. CATEGORY SECTIONS
   ===================================================== */
.download-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.6rem;
    color: var(--secondary-maroon);
    border-left: 6px solid var(--primary-teal);
    padding-left: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =====================================================
   3. GRID & CARD DESIGN
   ===================================================== */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.download-card {
    background: var(--primary-teal);
    border: 1px solid var(--primary-teal-dark);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    align-items: flex-start;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-teal-dark);
    border-color: var(--accent-gold);
}

/* =====================================================
   4. FILE ICONS & INFO
   ===================================================== */
.file-icon {
    font-size: 2.5rem;
    margin-right: 1.25rem;
    color: var(--dark-gray); /* Default gray */
    flex-shrink: 0;
}

/* Color-coded icons by type */
.file-icon.pdf {
    color: #e74c3c; /* Red for PDF */
}

.file-info {
    flex-grow: 1;
}

.file-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.file-meta {
    font-size: 0.85rem;
    color: var(--primary-teal-ultra-light);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

/* =====================================================
   5. INTERACTIVE BUTTONS
   ===================================================== */
.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    background: var(--white);
    color: var(--primary-teal-dark);
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all var(--transition-fast);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.download-btn i {
    margin-right: 0.5rem;
}

.download-card:hover .download-btn {
    background-color: var(--accent-gold);
    color: var(--secondary-maroon-dark);
    transform: scale(1.05);
}

/* =====================================================
   6. RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 768px) {
    .downloads-grid {
        grid-template-columns: 1fr;
    }
}

/* 7. Footer Wave Fix
   -------------------------------------------------------------------------- */
#footer .custom-shape-divider-top .shape-fill {
    fill: var(--white);
}
