/* ===== HEADER & NAV STYLES ===== */
header {
    background: linear-gradient(90deg, #0F0F0F, #1A0A0D, #2D0A14, #1A0A0D, #0F0F0F);
    border-bottom: 2px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transform: none !important;
    transition: none !important;
}

.logo-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 32px;
    font-weight: 900;
    color: var(--accent);
    text-transform: none;
    letter-spacing: -0.02em;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
}

.logo-slogan {
    font-size: 0.875rem;
    color: var(--text-dim);
    font-style: italic;
    margin-top: -1px;
    line-height: 1;
}

.hamburger {
    display: none;
    margin-right: 0.5rem;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--accent);
    transition: 0.2s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

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

nav ul li a {
    color: var(--text);
    text-decoration: none !important;
    transition: color 0.3s;
    font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent);
}

/* ===== FOOTER STYLES ===== */
footer {
    padding: 3rem 0 2rem;
    background: linear-gradient(90deg, #0F0F0F, #1A0A0D, #2D0A14, #1A0A0D, #0F0F0F);
    border-top: 2px solid var(--accent);
}

.footer-content {
    display: grid;
    grid-template-columns: 40% 20% 20% 20%;
    gap: 0;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-section {
    min-width: 0;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-dim);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-brand-section {
    justify-self: start;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-logo {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.footer-logo svg {
    width: 100%;
    height: 100%;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-brand-text h3 {
    font-size: 32px;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1;
    font-family: 'JetBrains Mono', monospace;
}

.footer-slogan {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 59, 71, 0.3);
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* ===== RESPONSIVE - NAV ===== */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 90px;
        left: -75%;
        width: 75%;
        height: calc(100vh - 90px);
        background: linear-gradient(180deg, rgba(15, 15, 15, 0.99) 0%, rgba(20, 10, 12, 0.99) 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 1.5rem 1.5rem;
        gap: 0;
        transition: left 0.3s ease-out;
        box-shadow: 5px 0 60px rgba(0, 0, 0, 0.5);
        border-right: 2px solid var(--accent);
        overflow-y: auto;
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        width: 100%;
        text-align: left;
        opacity: 0;
        transform: translateX(-20px);
        animation: none;
    }

    nav ul.active li {
        animation: slideInMenu 0.4s ease forwards;
    }

    nav ul.active li:nth-child(1) { animation-delay: 0.1s; }
    nav ul.active li:nth-child(2) { animation-delay: 0.15s; }
    nav ul.active li:nth-child(3) { animation-delay: 0.2s; }
    nav ul.active li:nth-child(4) { animation-delay: 0.25s; }
    nav ul.active li:nth-child(5) { animation-delay: 0.3s; }
    nav ul.active li:nth-child(6) { animation-delay: 0.35s; }
    nav ul.active li:nth-child(7) { animation-delay: 0.4s; }

    @keyframes slideInMenu {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    nav ul li a {
        display: block;
        padding: 1.2rem 1.5rem;
        font-size: 1.2rem;
        font-weight: 500;
        background: none;
        margin: 0;
        border-radius: 0;
        transition: all 0.2s ease;
        letter-spacing: 0.02em;
    }

    nav ul li a:hover {
        background: rgba(255, 59, 71, 0.08);
        color: var(--accent);
    }

    nav ul li a.active {
        background: rgba(255, 59, 71, 0.1);
        color: var(--accent);
    }
}

/* ===== RESPONSIVE - FOOTER ===== */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .footer-brand-section {
        grid-column: 1 / -1;
        border-bottom: 1px solid rgba(255, 59, 71, 0.2);
        padding-bottom: 1.5rem;
        margin-bottom: 0.5rem;
        justify-self: start;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1rem;
    }

    .footer-brand-section {
        grid-column: 1 / -1;
        text-align: center;
        justify-self: center;
        border-bottom: 1px solid rgba(255, 59, 71, 0.2);
        padding-bottom: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-brand-text {
        align-items: center;
    }

    .footer-brand-text h3 {
        font-size: 36px;
    }

    .footer-slogan {
        text-align: center;
    }

    .footer-logo {
        width: 58px;
        height: 58px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.8rem;
        margin-bottom: 0.35rem;
    }

    .footer-bottom {
        font-size: 0.7rem;
        padding-top: 1rem;
    }
}
