/* Header, navigation and hero section layout */

header {
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(5px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 149, 0.2);
}

.site-title {
    color: var(--matrix-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s, text-shadow 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

nav a:hover {
    color: var(--matrix-color);
    text-shadow: 0 0 10px var(--matrix-color);
}

.nav-caret {
    font-size: 0.8em;
    margin-left: 5px;
}

/* Hidden on desktop; revealed as a hamburger on small screens */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-toggle:hover {
    color: var(--matrix-color);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 4rem;
    position: relative;
}

.hero-content {
    max-width: 1000px;
    background: var(--overlay-color);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 149, 0.2);
    backdrop-filter: blur(5px);
    width: 90%;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-aside {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    border: 2px solid rgba(0, 255, 149, 0.3);
    overflow: hidden;
    position: relative;
}

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

.hero-location {
    display: flex;
    align-items: center;
    margin-top: 10px;
    color: white;
    font-size: 0.9rem;
}

.hero-location i {
    color: rgb(255, 94, 0);
    margin-right: 5px;
}

.hero-text {
    text-align: left;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--matrix-color);
    text-shadow: 0 0 10px rgba(0, 255, 149, 0.5);
    font-weight: 700;
}

.hero-name {
    color: #81ffca;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-lead-strong {
    font-size: 1.2em;
}

.hero-highlight {
    color: #ffae43;
}

.hero-subtitle {
    color: white;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Favorite technologies grid */
.tech-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.tech-card {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-card i {
    font-size: 24px;
}

.tech-card span {
    color: white;
    font-size: 14px;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }

    .profile-image {
        margin: 0 auto;
    }

    .hero-text {
        text-align: center;
    }

    nav {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        padding: 1rem 0 0.5rem;
    }

    nav ul.open {
        display: flex;
    }

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