.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 58, 46, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navLogo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.navLogo:hover {
    color: #66bb6a;
}

.navMenu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.mobileMenuButton {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.mobileMenuButton span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.navLink {
    color: #c8e6c9;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.navLink::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #66bb6a;
    transition: width 0.3s ease;
}

.navLink:hover {
    color: #66bb6a;
}

.navLink:hover::after {
    width: 100%;
}

.navLink {
    display: inline-block;
}

.navButton {
    background: linear-gradient(135deg, #2c5530 0%, #1a3a1e 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navButton:hover {
    background: linear-gradient(135deg, #388e3c 0%, #2c5530 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.unreadBadge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #f44336;
    color: #ffffff;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(244, 67, 54, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.dropdownContainer {
    position: relative;
}

.dropdownContainer::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 5px;
    background: transparent;
}

.dropdownMenu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: rgba(26, 58, 46, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    list-style: none;
    margin: 0;
    padding: 10px 0;
    min-width: 150px;
    z-index: 1002;
}

.dropdownMenu li {
    margin: 0;
    border-bottom: none;
}

.dropdownLink {
    display: block;
    padding: 10px 20px;
    color: #c8e6c9;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: none;
}

.dropdownLink:hover {
    background: rgba(102, 187, 106, 0.2);
    color: #66bb6a;
    padding-left: 25px;
}

.dropdownLink::after {
    display: none;
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }
    
    .navContainer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .navLogo {
        font-size: 1.3rem;
        flex: 1;
    }
    
    .mobileMenuButton {
        display: flex !important;
        order: 2;
        visibility: visible;
        opacity: 1;
    }
    
    .navMenu {
        order: 3;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(26, 58, 46, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
        display: flex;
    }
    
    .navMenu.navMenuOpen {
        max-height: calc(100vh - 60px);
        padding: 20px;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .navMenu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navMenu li:last-child {
        border-bottom: none;
    }
    
    .navLink {
        font-size: 1rem;
        padding: 15px 0;
        display: block;
        width: 100%;
    }
    
    .navButton {
        font-size: 0.9rem;
        padding: 6px 15px;
    }
    
    .dropdownMenu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        margin-left: 20px;
    }
    
    .dropdownLink {
        padding: 10px 0;
        font-size: 0.9rem;
    }
    
    .dropdownLink:hover {
        padding-left: 0;
    }
}

