/* Hamburger Menu */
.menu-toggle {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-left: auto;
    z-index: 1002;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: white;
    position: absolute;
    left: 0;
    transition: all 0.3s;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

.profile-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.image-name-container {
    float: left;
    width: 400px;
    margin-right: 2rem;
    margin-bottom: 1rem;
}

.profile-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.name {
    margin-top: 0.5rem;
}

.name h2 {
    margin: 0;
    font-size: 1.2rem;
}

.name p {
    margin: 0.2rem 0 0 0;
    color: var(--text-dark);
}

.text-content {
    overflow: hidden;
}

.text-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: justify;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}


@media (max-width: 768px) {
    .image-name-container {
        float: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 2rem auto;
    }
}

/* Mobile Navigation */
@media screen and (max-width: 1280px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--header);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        z-index: 1001;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links a {
        padding: 0.8rem 0;
        text-align: center;
        width: 100%;
        border-radius: 4px;
    }

    .nav-links a:hover {
        background-color: var(--secondary);
    }
}
