/* ==========================================================================
   Layout - Navigation, Footer, Sections
   ========================================================================== */

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background-color: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--surface-2);
}

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

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary);
}

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

.nav-links a {
    color: var(--fg);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s var(--ease-out);
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Sections */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    border-radius: 3px;
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--surface-2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    list-style: none;
}

.social-links a {
    color: var(--fg);
    font-size: 1.5rem;
    transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.social-links a:hover {
    color: var(--secondary);
    transform: translateY(-5px);
}

.footer-text {
    opacity: 0.7;
}

/* Mobile Responsiveness - Layout */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}
