/**
 * Document Archive Styles
 * 
 * Styles for the document archive pages (bylaws, minutes, privacy)
 */

/* Hero Section */
.document-hero {
    position: relative;
    background-color: #063142;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0;
    margin-bottom: 50px;
    text-align: center;
}

.document-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(6, 49, 66, 0.8), rgba(6, 49, 66, 0.9));
    z-index: 1;
}

.document-hero .container {
    position: relative;
    z-index: 2;
}

.document-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
}

.document-hero .hero-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Section Headers */
.section-header {
    margin-bottom: 30px;
    position: relative;
}

.section-header h2 {
    font-size: 1.8rem;
    color: #1774A1;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #E53E3E;
}

/* Document Intro */
.document-intro {
    margin-bottom: 50px;
}

.document-intro .section-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

/* Document Grid */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Document Card */
.document-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.document-icon {
    margin-bottom: 20px;
    color: #1774A1;
}

.document-icon svg {
    width: 40px;
    height: 40px;
}

.document-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #063142;
    font-weight: 600;
}

.document-meta {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.document-date {
    display: inline-block;
    padding: 3px 10px;
    background-color: #f0f7fc;
    border-radius: 4px;
    color: #1774A1;
}

.document-description {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    flex-grow: 1;
}

.document-download {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background-color: #E53E3E;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
    margin-top: auto;
}

.document-download:hover {
    background-color: #C53030;
    color: #fff;
}

.download-icon {
    margin-right: 8px;
}

.download-icon svg {
    width: 18px;
    height: 18px;
}

/* Tab Navigation */
.document-tabs {
    margin-bottom: 50px;
}

.tab-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.tab-button {
    padding: 10px 20px;
    background-color: #f6f6f6;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
}

.tab-button:hover {
    background-color: #e0e0e0;
}

.tab-button.active {
    background-color: #1774A1;
    color: #fff;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Privacy Sections */
.privacy-sections {
    margin-bottom: 50px;
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section .section-header h3 {
    font-size: 1.4rem;
    color: #1774A1;
    margin-bottom: 15px;
}

.privacy-section .section-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* Download Section */
.document-download-section {
    margin: 50px 0;
    background-color: #f6f6f6;
    border-radius: 8px;
    padding: 30px;
}

.download-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.download-container h3 {
    font-size: 1.5rem;
    color: #063142;
    margin-bottom: 15px;
}

.download-container p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    background-color: #E53E3E;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.button-primary:hover {
    background-color: #C53030;
    color: #fff;
}

/* No Content Messages */
.no-documents-message,
.no-years-message,
.no-sections-message {
    padding: 20px;
    background-color: #f6f6f6;
    border-radius: 4px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .document-hero {
        padding: 60px 0;
    }
    
    .document-hero h1 {
        font-size: 2rem;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-navigation {
        flex-direction: column;
        gap: 5px;
    }
    
    .tab-button {
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
} 