/* Documents page styles — extracted from documents.html */

/* Decorative quotes around title */
.page-title-quotes {
    position: relative;
    display: inline-block;
}
.page-title-quotes::before {
    content: '❝';
    position: absolute;
    top: -0.4em;
    left: -0.6em;
    font-size: 1.3em;
    color: #D4B86A;
    opacity: 0.8;
    line-height: 1;
}
.page-title-quotes::after {
    content: '❞';
    position: absolute;
    bottom: -0.5em;
    right: -0.6em;
    font-size: 1.3em;
    color: #D4B86A;
    opacity: 0.8;
    line-height: 1;
}

/* Documents Section */
.documents-section {
    padding-top: 2rem;
}

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

.section-description {
    color: var(--text-medium);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Document Category Card */
.document-category {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.document-category:hover {
    box-shadow: var(--shadow-lg);
}

.category-header {
    background: linear-gradient(135deg, var(--category-color) 0%, color-mix(in srgb, var(--category-color) 80%, black) 100%);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}
.category-icon img {
    filter: brightness(0) invert(1);
}

.category-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.document-list {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Document Item */
.document-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.document-item:hover {
    background: white;
    border-color: var(--category-color);
    transform: translateX(5px);
}

.document-icon {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #EF4444;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.document-info {
    flex: 1;
    min-width: 0;
}

.document-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.document-type {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.document-download {
    width: 36px;
    height: 36px;
    background: var(--category-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.document-item:hover .document-download {
    opacity: 1;
    transform: scale(1);
}

/* Responsive */
@media (max-width: 1024px) {
    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
    }

    .document-download {
        opacity: 1;
        transform: scale(1);
    }
}
