/* Resources Page Styles */

.page-hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
    color: white;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Resources Intro */
.resources-intro {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.25rem;
    color: #7f8c8d;
    line-height: 1.8;
}

/* Resource Categories */
.resource-categories {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    padding: 40px 25px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #c9a15d;
}

.category-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.category-card p {
    color: #7f8c8d;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Resource Content */
.resource-content {
    padding: 40px 0 80px;
}

.resources-container {
    display: flex;
    gap: 40px;
}

.resources-sidebar {
    flex: 0 0 300px;
}

.sidebar-widget {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
}

.quick-links {
    list-style: none;
}

.quick-links li {
    margin-bottom: 15px;
}

.quick-links a {
    color: #7f8c8d;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.quick-links a:hover {
    color: #c9a15d;
    padding-left: 5px;
}

.resources-main {
    flex: 1;
}

.resource-section {
    margin-bottom: 60px;
}

.resource-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.resource-item {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.resource-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.resource-item h3 i {
    color: #c9a15d;
    margin-right: 10px;
}

.resource-item p {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.7;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.download-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.download-icon {
    font-size: 2rem;
    color: #c9a15d;
    min-width: 50px;
}

.download-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.download-info p {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.download-info a {
    color: #c9a15d;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.download-info a:hover {
    color: #2c3e50;
}

.faq-item {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.faq-item p {
    color: #7f8c8d;
    line-height: 1.7;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .resources-container {
        flex-direction: column;
    }
    
    .resources-sidebar {
        flex: 0 0 auto;
    }
    
    .page-hero {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .resources-intro,
    .resource-categories,
    .resource-content {
        padding: 60px 0;
    }
    
    .intro-content h2,
    .section-header h2 {
        font-size: 2rem;
    }
    
    .intro-content p,
    .section-header p {
        font-size: 1.1rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    
    .download-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-hero {
        height: 300px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .resource-section h2 {
        font-size: 1.7rem;
    }
    
    .resource-item,
    .faq-item,
    .sidebar-widget {
        padding: 20px;
    }
}