/* Critical CSS for GitHub Pages compatibility */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
    color: #1f2937;
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

nav {
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 0.75rem 0;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
    color: #ffffff;
    padding-top: 60px;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .skills-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .skills-container {
        grid-template-columns: 1fr;
    }
}

.skill-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3b82f6;
    display: inline-block;
}

.skill-name {
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: #ffffff;
    color: #3b82f6;
    border-radius: 9999px;
    text-decoration: none;
}

.social-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.25rem;
    height: 2.25rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 0.5rem;
    font-size: 1rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-3px);
    background-color: #3b82f6;
    color: #ffffff;
}

.social-link i {
    font-size: 1.5rem;
    line-height: 1;
}

/* Dark theme compatibility */
body.dark-theme {
    background-color: #111827;
    color: #f9fafb;
}

body.dark-theme nav {
    background-color: #1f2937;
}

body.dark-theme .skill-card {
    background-color: #1f2937;
}

body.dark-theme .skill-icon {
    color: #60a5fa;
}

body.dark-theme .social-link {
    background-color: #1f2937;
    color: #60a5fa;
}

body.dark-theme .social-link:hover {
    background-color: #60a5fa;
    color: #ffffff;
}
