/* Navigation Styles */
.main-nav {
    background-color: #051a2c;
    padding: 20px 0;
    position: relative;
    z-index: 1002;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 50px;
    position: relative;
    z-index: 1003;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

.nav-menu a:hover {
    opacity: 0.7;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1003;
}

.logo-image {
    height: 35px;
    width: auto;
}

/* Desktop Menu */
.desktop-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
    margin: 0 20px;
    padding: 0;
    flex-shrink: 0;
}

.desktop-menu li {
    list-style: none;
    white-space: nowrap;
}

.desktop-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.desktop-menu a:hover {
    opacity: 0.7;
}

/* Desktop Connect Button */
.btn-connect {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-connect:hover {
    background-color: #ffffff;
    color: #0a2540;
}

.desktop-only {
    display: inline-block;
}

.logo {
    flex-shrink: 0;
}

/* Hamburger Menu Button - Hidden on Desktop */
.hamburger {
    display: none;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

.hamburger-line:nth-child(1) {
    top: 0;
}

.hamburger-line:nth-child(2) {
    top: 10.5px;
}

.hamburger-line:nth-child(3) {
    top: 21px;
}

/* Hamburger Animation when Active */
.hamburger.active .hamburger-line:nth-child(1) {
    top: 10.5px;
    transform: rotate(45deg);
}

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

.hamburger.active .hamburger-line:nth-child(3) {
    top: 10.5px;
    transform: rotate(-45deg);
}

/* Mobile Menu - Hidden by Default */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: #0a2540;
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    padding-top: 75px;
}

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

.mobile-menu-list {
    list-style: none;
    padding: 40px 20px;
    margin: 0;
}

.mobile-menu-list li {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-list li:last-child {
    border-bottom: none;
    padding-top: 40px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-list a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    display: block;
    padding: 10px;
    transition: opacity 0.3s;
}

.mobile-menu-list a:hover {
    opacity: 0.7;
}

.mobile-connect-btn {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    padding: 12px 30px !important;
    border-radius: 25px !important;
    font-size: 16px !important;
    display: inline-block !important;
    margin-top: 10px;
}

.mobile-connect-btn:hover {
    background-color: #ffffff !important;
    color: #0a2540 !important;
}

/* Responsive Styles Big -> small */
@media (max-width: 1100px) {
    .desktop-menu {
        gap: 20px;
        margin: 0 15px;
        padding: 0;
        flex-shrink: 0; 
    }

    .nav-menu {
        gap: 20px;
    }
}

@media (max-width: 1000px) {
    .btn-connect {
        display: none;
    }

    .nav-content {
        padding-right: 130px;
    }

    /* Show hamburger button */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: -30px;
        transform: translate(-50%, 0%);
        z-index: 1004;
    }
}

@media (max-width: 825px) {
    /* Hide desktop menu and button */
    .desktop-menu {
        display: none;
    }

    .desktop-menu li {
        display: none;
    }
    
    .desktop-only {
        display: none;
    }

    .nav-content {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        display: none;
    }
    
    /* Show hamburger button */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: -30px;
        transform: translate(-50%, 0%);
        z-index: 1004;
    }
}
