/* styles.css */

/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #000;
}

/* Header and Navigation */
header {
    background-color: #1a1a1a;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

nav h1 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: #ccc;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #fff;
}

/* Home Section */
#home {
    padding: 4rem 2rem;
    background-color: #111;
    text-align: center;
}

.intro-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

.intro-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.intro-text p {
    font-size: 1.1rem;
    color: #ccc;
}

/* Skills Section */
#skills {
    padding: 4rem 2rem;
    background-color: #000;
    text-align: center;
}

#skills h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 2rem;
}

.skills-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skills-container span {
    background-color: #333;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.skills-container span:hover {
    transform: translateY(-5px);
    background-color: #555;
}

/* Projects Section */
#projects {
    padding: 4rem 2rem;
    background-color: #111;
    text-align: center;
}

#projects h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 2rem;
}

.project-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}
/* Projects Section */
#projects {
    padding: 4rem 2rem;
    background-color: #111;
    text-align: center;
}

#projects h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 2rem;
}

.project-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.project-card {
    background-color: #222;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-align: left;
    overflow: hidden;   

}

.project-card:hover {
    transform: translateY(-5px);
    background-color: #333;
}

.project-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.project-card p {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.project-card a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #555;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.project-card a:hover {
    background-color: #777;
}



/* Contact Section */
#contact {
    padding: 4rem 2rem;
    background-color: #000;
    text-align: center;
}

#contact h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

#contact p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.socials a {
    display: inline-block;
    margin: 0 1rem;
    padding: 0.5rem 1.5rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.socials a:hover {
    background-color: #555;
}

/* Resume Section */
#resume {
    padding: 4rem 2rem;
    background-color: #111;
    text-align: center;
}

#resume h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

#resume p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #555;
}

/* Footer */
footer {
    padding: 1.5rem;
    background-color: #1a1a1a;
    color: #ccc;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .intro-container {
        flex-direction: column;
        text-align: center;
    }

    .profile-img {
        width: 150px;
        height: 150px;
    }

    .intro-text h2 {
        font-size: 2rem;
    }

    .project-container {
        grid-template-columns: 1fr;
    }
}