/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e5e5e5;
    background-color: #1e1e2f;
}

/* Navigation */
nav {
    background: #2a2a42;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 10px 0;
}
.nav-links li {
    margin: 0 15px;
}
.nav-links a {
    color: #7fd1b9;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: #ffd972;
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.parallax h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.parallax p {
    font-size: 1.2rem;
}

/* Sections */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    color: #e5e5e5;
}
section {
    padding: 40px 0;
}

/* About Section */
#about {
    background: #1e1e2f;
    color: #e5e5e5;
    padding: 40px 0;
}
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.about-text {
    flex: 1;
}
.about-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffd972;
}
.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #a1a1c1;
}
.about-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
}

/* Proficiencies Section */
#languages h4 {
    font-size: 40px;
    color: #ffd972;
    text-shadow: 1px 1px 1px #0e0e0e;
    text-align: center;
    margin-bottom: 30px;
}
#languages .pics {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    justify-items: center;
}
#languages > .pics img:nth-child(2),
#languages > .pics img:nth-child(3),
#languages > .pics img:nth-child(6) {
    width: 100px;
    height: auto;
}
#languages > .pics img:nth-child(1),
#languages > .pics img:nth-child(4),
#languages > .pics img:nth-child(5) {
    width: 250px;
    height: auto;
    padding-right: 60px;
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.project {
    background: #2a2a42;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}
.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.project h3 {
    margin-bottom: 10px;
    color: #7fd1b9;
}
.project p {
    margin-bottom: 20px;
    color: #a1a1c1;
}
.project .btn {
    background: #7fd1b9;
    color: #1e1e2f;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease;
}
.project .btn:hover {
    background: #ffd972;
}

/* GitHub Section */
#github {
    text-align: center;
    padding: 50px;
    background-color: #a1a1c1;
    color: #303030;
    border-radius: 10px;
    margin: 20px;
}
.github-header {
    font-size: 28px;
    font-weight: bold;
    color: #303030;
    margin-bottom: 15px;
}
#github p {
    font-size: 18px;
    color: #505050;
    margin-bottom: 20px;
}
.github-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #303030;
    color: #f0f0f0;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.github-link:hover {
    background-color: #555;
}

/* Footer */
footer {
    background: #2a2a42;
    color: #a1a1c1;
    text-align: center;
    padding: 10px 0;
}
footer p {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about-container {
        gap: 10px;
    }
    #languages .pics {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-image img {
        margin-top: 20px;
    }
    #languages .pics {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 480px) {
    .about-container {
        flex-direction: column;
    }
    .parallax {
        height: 250px;
    }
    #languages .pics {
        grid-template-columns: repeat(2, 1fr);
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
}
