/* Resources Page Specific Styles */

/* Resource Section */
.resource-section {
    margin-bottom: 4rem;
}

.resource-section.section-alt {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: 15px;
    margin-left: -20px;
    margin-right: -20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary-color);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.resource-card p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.resource-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.resource-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.resource-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.resource-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.resource-link:hover {
    color: var(--secondary-color);
}

/* Experience Grid */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.experience-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.experience-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.experience-card p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.experience-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.topic-tag {
    padding: 0.4rem 1rem;
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-color);
}

/* Learning Grid */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.learning-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.learning-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.learning-list {
    list-style: none;
}

.learning-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.6;
}

.learning-list li:last-child {
    border-bottom: none;
}

.learning-list strong {
    color: var(--secondary-color);
}

/* Timeline Guide */
.timeline-guide {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-phase {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-phase:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 90px;
    top: 80px;
    width: 2px;
    height: calc(100% + 1rem);
    background: var(--border-color);
}

.phase-duration {
    width: 180px;
    flex-shrink: 0;
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    height: fit-content;
}

.phase-content {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.phase-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.phase-content ul {
    margin-left: 1.5rem;
}

.phase-content ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tip-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.tip-card ul {
    list-style: none;
}

.tip-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.tip-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.link-category {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.link-category h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.link-category ul {
    list-style: none;
}

.link-category ul li {
    margin-bottom: 0.75rem;
}

.link-category a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.link-category a:hover {
    color: var(--primary-color);
}

/* Checklist Card */
.checklist-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.checklist-card h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.checklist-card > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.checklist-column h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.checklist-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: background 0.3s;
}

.checklist-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.checklist-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    cursor: pointer;
}

.checklist-item span {
    flex: 1;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .resource-section.section-alt {
        padding: 2rem 1rem;
        margin-left: 0;
        margin-right: 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .resources-grid,
    .experience-grid,
    .learning-grid,
    .tips-grid,
    .links-grid {
        grid-template-columns: 1fr;
    }

    .timeline-phase {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-phase::after {
        display: none;
    }

    .phase-duration {
        width: 100%;
    }

    .checklist-grid {
        grid-template-columns: 1fr;
    }

    .checklist-card {
        padding: 2rem 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .resource-link,
    .btn {
        display: none;
    }

    .resource-card,
    .experience-card,
    .learning-card,
    .tip-card {
        page-break-inside: avoid;
    }
}