/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* Navbar */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.nav-logo h1 {
    font-weight: 700;
    color: #333;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #007bff;
}

/* Hamburger */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger-menu span {
    height: 3px;
    width: 25px;
    background-color: #333;
    border-radius: 2px;
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 100px 20px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero {
    background: linear-gradient(135deg, #e3f2fd, #fff);
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: #007bff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.hero .social {
    margin: 1rem 0;
}

.hero .social img {
    width: 30px;
    margin: 0 10px;
    transition: transform 0.3s;
}

.hero .social img:hover {
    transform: scale(1.2);
}

.contact a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.contact a:hover {
    background-color: #0056b3;
}

/* About */
.about .container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.about-img img {
    max-width: 250px;
}

.about .content {
    max-width: 600px;
    font-size: 1rem;
}

/* Skills */
.skill ul {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: auto;
}

.skill li {
    margin-bottom: 2rem;
}

.skill h3 {
    color: #007bff;
}

/* Projects */
.project .container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.project-list {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 250px;
    text-align: center;
}

.project-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.project-description {
    margin-bottom: 1rem;
}

.project-list .button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.project-list .button:hover {
    background-color: #0056b3;
}

/* Contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1.2s ease-in-out forwards;
}

.contact-me h1 {
    margin-bottom: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;

}

.contact-item img {
    width: 28px;
    height: 28px;
    /* filter: brightness(0) invert(1); */
}

.contact-item a {
    color: #00adb5;
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-item a:hover {
    color: #00fff5;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .contact-info {
        font-size: 1rem;
        padding: 1.5rem;
    }

    .contact-item img {
        width: 24px;
        height: 24px;
    }
}


/* Animations */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .contact-me h1 {
        font-size: 2rem;
    }

    .contact-info {
        font-size: 1rem;
        padding: 1.5rem;
    }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 70px;
        right: 0;
        background: #fff;
        flex-direction: column;
        width: 200px;
        display: none;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        padding: 1rem;
    }

    .nav-menu.change {
        display: flex;
    }

    .hamburger-menu {
        display: flex;
    }

    .about .container {
        flex-direction: column;
    }

    .project .container {
        flex-direction: column;
    }
}
