* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

/* Espaçamento no body para o menu fixo */
body {
    padding-top: 70px;
}

/* Menu Header */
.menu-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: var(--menu-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    box-shadow: 0 2px 15px var(--shadow);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.menu-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-gradient);
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: var(--color-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.menu-nav {
    display: flex;
    gap: 30px;
    list-style: none;
}

.menu-nav li {
    position: relative;
}

.menu-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.menu-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-gradient);
    transition: width 0.3s ease;
}

.menu-nav a:hover {
    color: var(--text-primary);
}

.menu-nav a:hover::before {
    width: 80%;
}

.menu-nav a.active {
    color: var(--cyan);
}

/* Tema Switcher */
.theme-switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 36px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #34495e;
    transition: 0.4s;
    border-radius: 50px;
}

.slider::before {
    position: absolute;
    content: "";
    height: 28px;
    width: 28px;
    left: 4px;
    top: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    z-index: 2;
}

.slider::after {
    content: "🌙";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: 0.4s;
    z-index: 3;
    pointer-events: none;
}

input:checked + .slider {
    background-color: #ffa502;
}

input:checked + .slider::before {
    transform: translateX(34px);
}

input:checked + .slider::after {
    content: "☀️";
    transform: translateX(34px);
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Responsividade */
@media (max-width: 768px) {
    .menu-header {
        padding: 0 20px;
    }
    .menu-toggle {
        display: flex;
    }
    .container {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--menu-bg);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px var(--shadow);
    }
    .container.active {
        left: 0;
    }
    .menu-nav {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .menu-nav a {
        padding: 15px 20px;
        font-size: 18px;
        border-radius: 10px;
        background: var(--bg-card);
        text-align: center;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Matheus Manja  */