/* Resources Page Styles */

.resources-hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
}

.resources-hero__content {
    max-width: 700px;
    margin: 0 auto;
}

.resources-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.resources-hero__subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 0;
}

.resources-content {
    padding: 4rem 0;
    background: #f8fafc;
}

.resource-category {
    margin-bottom: 4rem;
}

.resource-category:last-child {
    margin-bottom: 0;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.category-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 0;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.resource-card__header {
    margin-bottom: 1rem;
}

.resource-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.resource-card__type {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.resource-card__description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.resource-card__link {
    display: inline-flex;
    align-items: center;
    color: #3b82f6;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.resource-card__link:hover {
    color: #1e40af;
}

.resource-card__link::after {
    content: '';
    width: 0;
    height: 2px;
    background: #3b82f6;
    position: absolute;
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease;
}

.resource-card:hover .resource-card__link::after {
    width: 100%;
}

/* Call-to-Action Section */
.resources-cta {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 4rem 0;
    margin-top: 4rem;
    border-radius: 16px;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .resources-hero {
        padding: 6rem 0 3rem;
    }
    
    .resources-hero__title {
        font-size: 2.5rem;
    }
    
    .resources-hero__subtitle {
        font-size: 1.1rem;
    }
    
    .resources-content {
        padding: 3rem 0;
    }
    
    .resource-category {
        margin-bottom: 3rem;
    }
    
    .category-header {
        margin-bottom: 2rem;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .category-description {
        font-size: 1rem;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .resource-card {
        padding: 1.5rem;
    }
    
    .resources-cta {
        padding: 3rem 0;
        margin-top: 3rem;
        border-radius: 12px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn--large {
        width: 100%;
        max-width: 300px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .resources-hero__title {
        font-size: 2rem;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
    }
    
    .resource-card {
        padding: 1rem;
    }
    
    .resource-card__title {
        font-size: 1.1rem;
    }
    
    .resource-card__description {
        font-size: 0.9rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}

/* Focus States for Accessibility */
.resource-card__link:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 4px;
}

.btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .resources-hero,
    .resources-cta,
    .nav,
    .footer {
        display: none;
    }
    
    .resources-content {
        background: white;
        padding: 0;
    }
    
    .resource-card {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    .resource-card__link {
        color: #000;
        text-decoration: underline;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .resource-card {
        border: 2px solid #000;
    }
    
    .resource-card__type {
        background: #000;
        color: #fff;
    }
    
    .resource-card__link {
        color: #0000EE;
        text-decoration: underline;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .resource-card {
        transition: none;
    }
    
    .resource-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
}

