/* ========== HOME PAGE STYLES ========== */

main {
    max-width: 1000px;
    margin: var(--spacing-lg) auto;
    padding: var(--spacing-md);
}

/* ========== HERO SECTION ========== */
.hero-section {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    padding: var(--spacing-lg);
    background: var(--card-bg);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: fadeIn 0.8s ease-out;
}

.profile-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.profile-image {
    width: 220px;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.profile-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.profile-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.profile-links a:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.profile-links a img {
    width: 24px;
    height: 24px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
}

.button-link {
    display: inline-block;
    width: fit-content;
    text-decoration: none;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.button-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
    color: white;
    text-decoration: none;
}

/* ========== SKILLS SECTION ========== */
.skills-section {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.skills-section h3 {
    margin-bottom: 1.5rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.skills-list li {
    background: linear-gradient(135deg, var(--secondary-color), color-mix(in srgb, var(--secondary-color), var(--primary-color) 40%));
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.skills-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* ========== EDUCATION SECTION ========== */
.education-section {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.education-section h3 {
    margin-bottom: 1.5rem;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.education-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 4px solid var(--secondary-color);
    text-align: left;
    transition: all 0.3s ease;
}

.education-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.education-item h4 {
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.education-item p {
    margin: 0;
    color: var(--text-color);
}

.education-item .date {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* ========== FEATURED SECTION ========== */
.featured-section {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.featured-section h3 {
    margin-bottom: 1.5rem;
}

.featured-project {
    background: var(--card-bg);
    padding: var(--spacing-md);
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: left;
    transition: all 0.3s ease;
}

.featured-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.featured-project h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
}

.featured-project p {
    margin: 0 0 1rem 0;
    line-height: 1.7;
}

.featured-project a {
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.featured-project a:hover {
    color: var(--primary-color);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--spacing-md);
    }
    
    .profile-image {
        width: 180px;
        height: 180px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-content h2 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .education-item {
        text-align: center;
        border-left: none;
        border-top: 4px solid var(--secondary-color);
    }
}

@media (max-width: 480px) {
    main {
        padding: var(--spacing-sm);
    }
    
    .hero-section {
        padding: var(--spacing-sm);
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .skills-list li {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }
    
    .button-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}