/* Resources Page Specific Styles */

.resources-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-bottom: 1px solid var(--border-color);
}

.resources-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.main-content {
    padding: 80px 0;
}

.resources-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.resource-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.resource-section:hover {
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
}

.resource-header {
    padding: 40px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 20px;
}

.resource-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    flex-shrink: 0;
}

.resource-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.resource-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 4px 0 0 0;
}

.collapsible-sections {
    border-top: 1px solid var(--border-color);
}

.collapsible-item {
    border-bottom: 1px solid var(--border-color);
}

.collapsible-item:last-child {
    border-bottom: none;
}

.collapsible-header {
    width: 100%;
    padding: 24px 40px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.collapsible-header:hover {
    background: var(--hover-bg);
}

.collapsible-header.active {
    background: var(--bg-tertiary);
}

.chevron {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.collapsible-header.active .chevron {
    transform: rotate(180deg);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.collapsible-content.active {
    max-height: 1000px;
}

.content-inner {
    padding: 0 40px 32px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-inner h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 24px 0 12px;
}

.content-inner h4:first-child {
    margin-top: 0;
}

.content-inner ul {
    margin: 16px 0;
    padding-left: 20px;
}

.content-inner li {
    margin: 8px 0;
}

.content-inner li strong {
    color: var(--text-primary);
    font-weight: 500;
}

.content-inner a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.content-inner a:hover {
    border-bottom-color: var(--text-primary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin: 24px 0;
}

.tech-category {
    background: var(--bg-primary);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.tech-category h4 {
    margin: 0 0 16px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.tech-category ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tech-category li {
    margin: 12px 0;
    padding-left: 16px;
    position: relative;
}

.tech-category li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .resource-header {
        padding: 24px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .resource-icon {
        width: 48px;
        height: 48px;
    }
    
    .resource-title {
        font-size: 1.5rem;
    }
    
    .collapsible-header {
        padding: 20px 24px;
        font-size: 1rem;
    }
    
    .content-inner {
        padding: 0 24px 24px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .resources-header {
        padding: 100px 0 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1.125rem;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    .resources-grid {
        gap: 40px;
    }
}