/* Shared Navigation Styles - Reusable Component */

/* Base Navigation Styles */
.main-navigation {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.system-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Navigation Items */
.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}



.nav-item:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.nav-item i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-item:hover i {
    transform: scale(1.1);
}

/* Navigation Item Variants */
.nav-item.home-link {
    background: #007bff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.nav-item.home-link:hover {
    background: #0056b3;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.nav-item.interactive-map {
    background: #007bff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.nav-item.interactive-map:hover {
    background: #0056b3;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.nav-item.fullscreen-btn {
    background: #007bff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    border: none;
    cursor: pointer;
}

.nav-item.fullscreen-btn:hover {
    background: #0056b3;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.nav-item.admin-login {
    background: #6c757d;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.nav-item.admin-login:hover {
    background: #5a6268;
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Active State for Current Page */
.nav-item.current-page {
    background: #007bff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transform: translateY(-1px);
}

.nav-item.current-page:hover {
    background: #0056b3;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .system-title {
        font-size: 1.2rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 580px) {
    .logo {
        width: 40px;
        height: 40px;
    }

    .system-title {
        font-size: 1rem;
    }

    .nav-item span {
        display: none;
    }

    .nav-item {
        padding: 0.75rem;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
    }

    .nav-item i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem 1rem;
    }

    .main-navigation {
        padding: 0.5rem 0;
    }

    .logo-section {
        gap: 0.75rem;
    }

    .nav-menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-item {
        padding: 0.5rem 1rem;
        width: auto;
        height: auto;
        border-radius: 20px;
    }

    .nav-item span {
        display: inline;
        font-size: 0.8rem;
    }
}

/* Focus states for accessibility */
.nav-item:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Animation for mobile menu toggle (if needed in future) */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu {
    animation: slideDown 0.3s ease;
}

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.3s ease;
}

/* Print styles - hide navigation */
@media print {
    .main-navigation {
        display: none !important;
    }
}
