@font-face {
    font-family: 'Poppins';
    src: url('./font/poppins/Poppins-Medium.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('./font/poppins/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: bold;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0f0f0f;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #1a1a1a;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    z-index: 1000;
}

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

.logo {
    color: #fff;
    font-size: 1.5rem;
    padding: 1rem 0;
}

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

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 1rem 0;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #64b5f6;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Home Section */
.home-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    text-align: center;
    padding-top: 60px;
}

.home-content {
    padding: 2rem;
}

.profile-picture {
    width: 300px;
    height: 300px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
}

.intro {
    font-size: 1.6rem;
    margin-top: 1.5rem;
    max-width: 700px;
    line-height: 1.8;
    opacity: 0.95;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: #1a1a1a;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.about-section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Projects Section */
.projects-section {
    padding: 5rem 0;
    background-color: #0f0f0f;
}

.projects-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    padding: 2rem;
    background-color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.7);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.project-card p {
    color: #b0b0b0;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
    align-items: center;
}

.tag {
    font-size: 0.95rem;
    color: #64b5f6;
    font-weight: 500;
    opacity: 0.7;
}

.tag-separator {
    color: #666;
    font-size: 0.95rem;
}

/* Skills Section */
.skills-section {
    padding: 5rem 0;
    background-color: #1a1a1a;
}

.skills-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
}

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

.skill-item {
    padding: 2rem;
    background-color: #0f0f0f;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.7);
}

.skill-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
    text-align: center;
}

.skill-columns {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.skill-col {
    list-style: none;
}

.skill-col li {
    padding: 0.5rem 0;
    text-align: center;
    font-size: 1.1rem;
    color: #b0b0b0;
}

.skill-center {
    text-align: center;
    margin-top: 0.5rem;
}

.skill-center span {
    font-size: 1.1rem;
    color: #b0b0b0;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: #0f0f0f;
    color: #fff;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-info {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
    font-size: 1.1rem;
}

.contact-info a:hover {
    opacity: 0.7;
}

.contact-info .separator {
    color: #fff;
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hamburger Menu Display */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: #1a1a1a;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        font-size: 1.2rem;
    }

    /* Home Section */
    .home-section h1 {
        font-size: 2rem;
    }

    .intro {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .profile-picture {
        width: 200px;
        height: 200px;
    }

    /* Section Titles */
    .projects-section h2,
    .skills-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }

    /* Projects Grid */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-card h3 {
        font-size: 1.3rem;
    }

    /* Skills Grid */
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-item {
        padding: 1.5rem;
    }

    .skill-columns {
        gap: 1.5rem;
    }

    /* Contact Section */
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-info .separator {
        display: none;
    }

    .contact-info a {
        padding: 0.5rem 1rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .home-section h1 {
        font-size: 1.7rem;
    }

    .intro {
        font-size: 1rem;
    }

    .profile-picture {
        width: 160px;
        height: 160px;
    }

    .projects-section,
    .skills-section,
    .contact-section {
        padding: 3rem 0;
    }

    .projects-section h2,
    .skills-section h2,
    .contact-section h2 {
        font-size: 1.7rem;
        margin-bottom: 2rem;
    }
}
