/* ============================================
   COMPONENTS CSS - Navbar, Footer, Buttons
   ============================================ */

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(to bottom, var(--dark-bg) 0%, rgba(10, 10, 10, 0.8) 70%, transparent 100%);
    padding: 1rem 0;
    z-index: 1000;
    text-transform: uppercase;
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Navbar left text */
.navbar-left {
    position: absolute;
    left: 0;
    right: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 4rem;
    list-style: none;
    color: var(--text-light);
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    pointer-events: none;
}

/* Navbar right text */
.navbar-right {
    position: absolute;
    left: 50%;
    right: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 4rem;
    list-style: none;
    color: var(--text-light);
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    pointer-events: none;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 1001;
}

.navbar-brand img {
    height: 80px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* Mobile toggle button */
.navbar-toggle {
    display: none;
    position: absolute;
    right: 2.5%;
    background: url('../images/ui/T_UI_SkillCircle_Empty.webp') center/contain no-repeat;
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.2s ease;
}

.navbar-toggle:hover {
    transform: scale(1.1);
}

.navbar-toggle i {
    font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.5rem;
    margin: 1rem 0;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--primary-red);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--darker-bg);
    padding: 4rem 0 1rem 0;
    border-top: none;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1200px;
    height: 20px;
    background: url('../images/ui/T_UI_SingleLine.webp') center/contain no-repeat;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-brand img {
    height: 30px;
}

.footer-brand-text {
    color: var(--primary-red);
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
}

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

.footer-section p {
    color: #ccc;
    margin: 1rem 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: none;
    color: #888;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1200px;
    height: 20px;
    background: url('../images/ui/T_UI_SingleLine.webp') center/contain no-repeat;
}

/* ============================================
   SOCIAL LINKS
   ============================================ */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-links a {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-red);
}