* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    -webkit-tap-hightlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #151515;
    min-height: 100vh;
    color: #e4e4e7;
}

/* NAVBAR */
.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0.7rem;
    color: black;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 6px 0 #000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 2px solid #000;
    border-top: none;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 1rem;
    height: 4.5rem;
}

.logo-container span {
    font-size: 2rem;
    font-weight: bold;
}

.navbar-logo {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
    user-select: none;
}

.menu {
    display: flex;
    gap: 1.25rem;
    margin-right: 1rem;
}

.menu a {
    color: black;
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 0.8rem;
    font-size: 1.1rem;
    border-radius: 0px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid #000;
    box-shadow: 2px 2px #000;
    display: inline-block;
}

.menu a:hover {
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: none;
    background: none;
    color: black;
}

.burger-container {
    display: none;
}

.burger {
    font-size: 1.8rem;
    cursor: pointer;
    margin-right: 1rem;
}

/* HERO SECTION */
.hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
    width: 100%;
    background: #151515;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
}

.hero p {
    color: #aaa;
    font-size: 1.1rem;
    max-width: 45ch;
}

/* PROJECTS SECTION */
.projects-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.4rem;
    padding: 2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.projects-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.projects-grid {
    width: 100%;
    max-width: 80rem;
    padding: 0 1rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.project-card {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem;
    border: 2px solid #fff;
    border-radius: 0px;
    box-shadow: 6px 6px 0 #000;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.project-card:hover {
    box-shadow: none;
    transform: translate(6px, 6px);
}

.project-icon {
    width: 250px;
    height: 250px;
    margin-bottom: 0.8rem;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}

.badge {
    display: inline-block;
    background: rgba(60, 179, 113, 0.2);
    border: 2px solid #3CB371;
    color: #3CB371;
    padding: 0.3rem 0.8rem;
    border-radius: 0px;
    box-shadow: 3px 3px 0 #000;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}

.project-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.project-description {
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    background-color: #3CB371;
    box-shadow: 4px 4px #000;
    padding: 0.6rem 1.5rem;
    text-align: center;
    display: inline-block;
    border: 2px solid #000;
    border-radius: 0px;
    transition: all 0.2s ease;
}

.project-link:hover {
    background: none;
    box-shadow: none;
    color: white;
    border: 2px solid #2E8B57;
}

/* FOOTER */
footer {
    text-align: center;
    color: #aaa;
    padding: 2rem;
    font-size: 1rem;
}

footer a {
    color: #3CB371;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #2E8B57;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem;
        gap: 0.8rem;
        display: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .menu.active {
        display: flex;
    }

    .burger-container {
        display: block;
    }

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

    .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .projects-section h2 {
        font-size: 2rem;
    }

    .project-card {
        padding: 1.5rem 1rem;
    }

    .project-title {
        font-size: 1.5rem;
    }
}
