/* ========================================
   MODERN NAVBAR STYLES
   ======================================== */

/* Base Navbar */
.modern-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 15px 0 0 0;
}

/* Scrolled State - Add solid background and change all colors to dark */
.modern-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Change logo text color on scroll */
.modern-navbar.scrolled .logo-text {
    color: #333333;
    text-shadow: none;
}

/* Container */
.navbar-container {
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
}

/* Logo */
.navbar-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-logo .logo-icon {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-logo .logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #585858;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Scroll animation - just shrink slightly */
.modern-navbar.scrolled .logo-text {
    font-size: 18px;
}

.modern-navbar.scrolled .logo-icon {
    height: 38px;
}

/* Navigation Menu - Absolutely Centered */
.navbar-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
}

.navbar-item {
    position: relative;
}

.navbar-link {
    color: rgba(68, 68, 68, 0.95);
    text-decoration: none;
    font-size: 11px;
    font-weight: 350;
    letter-spacing: 0.5px;
    text-transform: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 0;
}

/* Change nav links color on scroll */
.modern-navbar.scrolled .navbar-link {
    color: #333333;
}

.navbar-link:hover {
    color: #C9A961;
}

/* Active State */
.navbar-item.active .navbar-link {
    color: #C9A961;
    position: relative;
}

.navbar-item.active .navbar-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: #C9A961;
    border-radius: 2px;
}

/* Light Content State for specific pages at top */
.modern-navbar.navbar-light-content:not(.scrolled) .navbar-link {
    color: rgba(255, 255, 255, 0.9);
}

.modern-navbar.navbar-light-content:not(.scrolled) .logo-text {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modern-navbar.navbar-light-content:not(.scrolled) .social-icon {
    color: rgba(255, 255, 255, 0.8);
}

.modern-navbar.navbar-light-content:not(.scrolled) .navbar-link:hover,
.modern-navbar.navbar-light-content:not(.scrolled) .social-icon:hover {
    color: #C9A961;
}

/* Dropdown */
.navbar-dropdown {
    position: relative;
}

.navbar-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    list-style: none;
    padding: 12px 0;
    margin: 15px 0 0 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.navbar-dropdown.open .navbar-dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
    pointer-events: auto;
}

.navbar-dropdown-menu li {
    padding: 0;
}

.navbar-dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.navbar-dropdown-menu a:hover {
    background: rgba(76, 175, 80, 0.08);
    color: #C9A961;
    padding-left: 28px;
}

/* Social Icons */
.navbar-social {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.social-icon {
    color: rgba(65, 65, 65, 0.74);
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

/* Change social icons color on scroll */
.modern-navbar.scrolled .social-icon {
    color: rgba(0, 0, 0, 0.6);
}

.social-icon:hover {
    color: #C9A961;
    transform: translateY(-2px);
}

/* Mobile Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.toggle-bar {
    width: 30px;
    height: 4px;
    background: #dddddd;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Change hamburger color on scroll */
.modern-navbar.scrolled .toggle-bar {
    background: #333333;
}

.navbar-toggle.active .toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.navbar-toggle.active .toggle-bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.navbar-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.navbar-mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-logo {
    height: 40px;
}

.mobile-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 5px;
}

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

.mobile-menu-list > li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-list > li > a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-menu-list > li > a:hover,
.mobile-menu-list > li > a.active {
    background: #f5f5f5;
    color: #C9A961;
    padding-left: 30px;
}

/* Mobile Submenu */
.mobile-submenu .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.submenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f9f9f9;
}

.mobile-submenu.active .submenu-list {
    max-height: 200px;
}

.submenu-list li a {
    display: block;
    padding: 12px 20px 12px 40px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.submenu-list li a:hover {
    background: #f0f0f0;
    color: #C9A961;
    padding-left: 45px;
}

/* Mobile Social */
.mobile-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 30px 20px;
    border-top: 1px solid #eee;
}

.mobile-social a {
    color: rgba(0, 0, 0, 0.4);
    font-size: 20px;
    transition: all 0.2s ease;
}

.mobile-social a:hover {
    color: #C9A961;
    transform: scale(1.1);
}

/* Mobile Backdrop */
.navbar-mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.navbar-mobile-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

@media (max-width: 991px) {
    .navbar-menu {
        display: none;
    }
    
    .navbar-social {
        display: none;
    }
    
    .navbar-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0 15px;
        height: 65px;
    }
    
    .navbar-logo .logo-icon {
        height: 38px;
    }
    
    .navbar-logo .logo-text {
        font-size: 20px;
    }
    
    .navbar-toggle {
        padding: 3px;
    }
    
    .toggle-bar {
        width: 24px;
        height: 3px;
    }
    
    .navbar-mobile-menu {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .navbar-mobile-menu {
        width: 100%;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Navbar overlays content - no body padding needed */
body {
    padding-top: 0;
}


