/* ===== PAGE-SPECIFIC STYLES ===== */
/* Styles specific to individual pages */

/* About Page Styles */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Skills Section */
.skill-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1rem 0.75rem;
    text-align: center;
    box-shadow: 0 2px 8px var(--shadow-color);
    border: 1px solid var(--border-color);
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.skill-icon {
    font-size: 1.875rem;
    margin-bottom: 0.625rem;
    color: var(--accent-primary);
}

.skill-name {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.skill-description {
    color: var(--text-secondary);
    line-height: 1.4;
    font-size: 0.9rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px var(--shadow-color);
    border: 1px solid var(--border-color);
    margin-left: 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-primary);
    border: 3px solid var(--bg-primary);
}

.timeline-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-company {
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.timeline-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Education Card Styles */
.education-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.education-degree {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.education-school {
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.education-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.education-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact wrapper and form styles moved to main.css */

.contact-form-section h2,
.contact-info-section h2 {
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-hover);
    color: var(--accent-primary);
}

/* Contact CTA Section */
.contact-cta {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.cta-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    gap: 1.5rem;
    justify-content: center;
    max-width: 650px;
    margin: 0 auto;
}

/* Single CTA Card (like on about page) */
.cta-section > .cta-card {
    max-width: 500px;
    margin: 0 auto;
}

.cta-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.cta-card h2,
.cta-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.cta-card p {
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* CTA Card Buttons */
.cta-card .btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.cta-card .btn:hover {
    background: white;
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-intro p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.form-success {
    background: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #a7f3d0;
}

[data-theme="dark"] .form-success {
    background: #064e3b;
    color: #6ee7b7;
    border-color: #047857;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    font-size: 1.5rem;
}

.social-link:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

/* Home Page Latest Posts Section */
.latest-posts {
    margin: 3rem 0;
}

.latest-posts .posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.latest-posts .post-card {
    height: auto;
    min-height: 250px;
}

.latest-posts .post-excerpt {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Stats Section Specific to Home Page */
.stats-section {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin: 3rem 0;
    border: 1px solid var(--border-color);
}

.stats-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.stats-section .stat-card {
    border: none;
    background: var(--bg-primary);
}

/* Techstack Section */
.techstack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 140px));
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.tech-item {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1rem 0.75rem;
    text-align: center;
    box-shadow: 0 2px 8px var(--shadow-color);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    aspect-ratio: 1;
    justify-content: center;
}

.tech-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: grayscale(20%);
}

.tech-name {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.2;
}
