/* TOP CONTACT BAR - OPTIMIZED */
.top-contact-bar {
    background: #5D3FD3;
    color: #FFFFFF;
    padding: 0.3rem 0;
    font-size: 0.7rem;
    font-weight: 600;
}

.top-contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact-items {
    display: flex;
    gap: 2rem;
}

.top-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-contact-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-contact-icon {
    font-size: 1rem;
}

/* NAVBAR STYLES */
.navbar {
    background: #FFFFFF;
    border-bottom: 3px solid #000000;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* TABLET RESPONSIVE (768px and up) */
@media (min-width: 768px) {
    .navbar {
        top: 35px; /* Height of contact bar */
    }
    
    .top-contact-bar {
        position: sticky;
        top: 0;
        z-index: 1001;
        padding: 0.3rem 0;
        font-size: 0.7rem;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        border: none;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 0;
        padding: 0;
    }
    
    .nav-links {
        flex-direction: row;
        gap: 0;
        margin-right: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        margin: 0 0.2rem;
    }
    
    .nav-cta {
        font-size: 0.85rem;
        padding: 0.5rem 1.2rem;
    }
}

/* DESKTOP RESPONSIVE (1024px and up) */
@media (min-width: 1024px) {
    .nav-content {
        min-height: 60px;
        padding: 0.6rem 0;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .nav-links {
        margin-right: 2rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
        margin: 0 0.3rem;
    }
    
    .nav-cta {
        font-size: 0.9rem;
        padding: 0.6rem 1.4rem;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 45px;
    position: relative;
    padding: 0.5rem 0;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 900;
    color: #5D3FD3;
    letter-spacing: -0.02em;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: none;
    border: 2px solid #000000;
    padding: 6px 8px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.2s ease;
}

.hamburger-line {
    width: 18px;
    height: 2px;
    background: #000000;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-toggle:hover {
    background: #F8F8F8;
}

/* NAVIGATION MENU - MOBILE FIRST */
.nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #FFFFFF;
    border-right: 3px solid #000000;
    transition: left 0.3s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.nav-menu.active {
    left: 0;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.nav-link {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    padding: 0.4rem 0.8rem;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    display: block;
}

.nav-link:hover {
    color: #5D3FD3;
    border-color: #5D3FD3;
    background: #F8F8F8;
}

.nav-link.active {
    color: #5D3FD3;
    border-color: #5D3FD3;
    background: #F8F8F8;
}

.nav-cta {
    background: #5D3FD3;
    color: #FFFFFF;
    border: 2px solid #000000;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    box-shadow: 2px 2px 0px #000000;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000000;
}

/* TABLET RESPONSIVE (768px and up) */
@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        border: none;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 0;
        padding: 0;
    }
    
    .nav-links {
        flex-direction: row;
        gap: 0;
        margin-right: 2rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        margin: 0 0.2rem;
    }
    
    .nav-cta {
        font-size: 0.85rem;
        padding: 0.5rem 1.2rem;
    }
}

/* DESKTOP RESPONSIVE (1024px and up) */
@media (min-width: 1024px) {
    .nav-content {
        min-height: 55px;
        padding: 0.7rem 0;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .nav-links {
        margin-right: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        margin: 0 0.2rem;
    }
    
    .nav-cta {
        font-size: 0.85rem;
        padding: 0.5rem 1.2rem;
    }
}

/* UTILITY CLASSES */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.nav-overlay.active {
    display: block;
}