/* Navigation Styles */

.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 30, 78, 0.1);
    padding: 20px 0;
    position: relative;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar-brand i {
    font-size: 2rem;
    color: var(--accent-gold);
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar-nav .nav-link {
    color: var(--dark-text);
    font-weight: 600;
    padding: 10px 20px !important;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 30, 78, 0.05);
}

.navbar-nav .nav-link:hover::before {
    transform: scaleX(1);
}

.navbar-nav .nav-link.active {
    color: white;
    background: var(--gradient-primary);
}

.navbar-nav .nav-link.active::before {
    display: none;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 30, 78, 0.15);
    border-radius: 15px;
    padding: 15px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 12px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(0, 30, 78, 0.05);
    color: var(--primary-color);
    padding-left: 30px;
}

.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 28px;
    height: 2px;
    background: var(--primary-color);
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before { top: -8px; }
.navbar-toggler-icon::after { bottom: -8px; }

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

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

.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar-header {
    padding: 25px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-sidebar-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-sidebar-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.mobile-sidebar-close {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-sidebar-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.mobile-sidebar-content { padding: 20px 0; }

.mobile-nav-item { border-bottom: 1px solid #f0f0f0; }

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(0, 30, 78, 0.05);
    color: var(--primary-color);
    padding-left: 30px;
}

.mobile-nav-link.active {
    background: rgba(0, 30, 78, 0.1);
    color: var(--primary-color);
    border-left: 4px solid var(--accent-gold);
}

.mobile-nav-icon {
    margin-right: 12px;
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.mobile-dropdown-toggle {
    background: none;
    border: none;
    color: var(--dark-text);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-dropdown-toggle.active { transform: rotate(180deg); }

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 30, 78, 0.02);
    transition: max-height 0.3s ease;
}

.mobile-dropdown-menu.active { max-height: 500px; }

.mobile-dropdown-item {
    display: block;
    padding: 15px 25px 15px 60px;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-dropdown-item:hover {
    background: rgba(0, 30, 78, 0.05);
    color: var(--primary-color);
    border-left-color: var(--accent-gold);
}

.mobile-sidebar-footer {
    padding: 25px;
    border-top: 1px solid #f0f0f0;
}

.mobile-sidebar-footer .btn {
    width: 100%;
    margin-bottom: 10px;
}

.mobile-contact-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: #666;
    font-size: 0.875rem;
}

.mobile-contact-item i { color: var(--accent-gold); }

/* Responsive Navigation */
@media (max-width: 991px) {
    .navbar-collapse { display: none !important; }
    .navbar-toggler { display: block !important; }
}

@media (min-width: 992px) {
    .mobile-sidebar,
    .mobile-sidebar-overlay { display: none; }
}
