/* ======================
   Layout - Navigation & Footer
   ====================== */

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 32, 83, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

nav.scrolled {
    background: rgba(13, 32, 83, 0.95);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    border-bottom: 1px solid var(--metallic-blue-mid);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-right: 180px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: white;
}

.logo-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    padding-top: 3px;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
}

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

.nav-links a:hover {
    color: var(--metallic-blue-light);
}

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

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: fixed;
    top: 25px;
    right: 20px;
    z-index: 1003;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--metallic-blue-light);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    transition: right 0.3s;
    z-index: 999;
    padding-top: 80px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 1px solid var(--metallic-blue-mid);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    list-style: none;
    padding: 2rem;
}

.mobile-nav li {
    margin: 2rem 0;
}

.mobile-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid var(--metallic-blue-dark);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: var(--gradient-metallic);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--metallic-blue-mid);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
}

footer p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}
