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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
}

a {
    color: #007acc;
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

/* HEADER */
.header {
    background-color: #121212;
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header h1 {
    font-size: 1.8rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.short-logo {
    display: none;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
}

nav {
    margin-top: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: white;
    font-weight: bold;
}

.nav-links li a:hover {
    color: #00c9a7;
}

.theme-button {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 0.9rem;
}

.theme-button:hover {
    background-color: white;
    color: #121212;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #007acc, #00c9a7);
    color: white;
    padding: 80px 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-text {
    max-width: 500px;
}

.hero-text h2 {
    font-size: 2.3rem;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 1.05rem;
    line-height: 1.4;
    margin: 6px 0;
}

.hero-buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 24px;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s ease;
    font-size: 1rem;
    display: inline-block;
}

.primary-btn {
    background: white;
    color: #007acc;
}

.secondary-btn {
    border: 2px solid white;
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
}

.profile-pic {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid white;
}

/* SECTIONS */
.section {
    padding: 60px 0;
    background-color: white;
    margin-top: 10px;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #007acc;
}

#resume a {
    font-weight: bold;
}

.project-card {
    background-color: #ffffff;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 5px solid #00c9a7;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.project-card h3 {
    margin-bottom: 10px;
    color: #007acc;
}

/* DARK MODE */
.dark-mode {
    background-color: #1e1e1e;
    color: #f9f9f9;
}

.dark-mode .header,
.dark-mode .footer {
    background-color: #000;
}

.dark-mode a {
    color: #00c9a7;
}

.dark-mode .project-card {
    background-color: #2e2e2e;
    border-left-color: #00c9a7;
}

/* FOOTER */
.footer {
    text-align: center;
    background-color: #121212;
    color: white;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* MOBILE */
@media (max-width: 768px) {
    .header-flex {
        flex-wrap: nowrap;
    }

    .full-logo {
        display: none;
    }

    .short-logo {
        display: inline;
        font-size: 1.1rem;
    }

    .header h1 {
        font-size: 1.5rem;
        white-space: nowrap;
    }

    .header-right {
        gap: 10px;
        margin-left: auto;
    }

    .theme-button {
        font-size: 0.75rem;
        padding: 5px 8px;
    }

    .menu-toggle {
        display: block;
        font-size: 26px;
    }

    nav {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: #121212;
        display: none;
    }

    nav.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .nav-links li {
        margin: 12px 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 35px;
    }

    .profile-pic {
        width: 120px;
        height: 120px;
    }

    .hero-text {
        max-width: 340px;
        margin: 0 auto;
    }

    .hero-text h2 {
        font-size: 2rem;
        margin-bottom: 14px;
    }

    .hero-text p {
        font-size: 1rem;
        line-height: 1.35;
        margin: 4px 0;
    }

    .hero-buttons {
        margin-top: 24px;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .section {
        padding: 40px 20px;
    }
}