/* ==============================
   ZOBOLICIOUS MODERN NAVIGATION
   ============================== */

/* Body Base Styles */
body {
    font-family: 'Inter', 'Nunito Sans', sans-serif;
    margin: 0;
    padding: 0;
    background: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}
 
/* Main Content Wrapper */
.main-content {
    padding-top: 70px;
}

/* Modern Navigation Bar */
.modern-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Ensure navbar is always visible */
.modern-navbar * {
    box-sizing: border-box;
}

/* Navigation Container */
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
    width: 100%;
}

/* Logo Section */
.nav-logo {
    display: flex;
    align-items: center;
    z-index: 10;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Desktop Navigation Links */
.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.nav-link:hover {
    color: #8B1538;
}

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

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 200px;
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    color: #1a1a1a;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #8B1538;
    padding-left: 2rem;
}

/* CTA Button */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #8B1538;
    color: #ffffff;
    text-decoration: none;
    padding: 0.65rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.nav-cta-btn:hover {
    background: #ffffff;
    color: #8B1538; 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 59, 59, 0.4);
}

.nav-cta-btn i {
    font-size: 0.9rem;
}

/* Mobile Menu Toggle - Modern Icon Style */
.mobile-menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1001;
    flex-shrink: 0;
    transition: all 0.3s ease;
    font-size: 20px;
    color: #1a1a1a;
}

.mobile-menu-toggle:hover {
    background: #f3f4f6;
    border-color: #8B1538;
    color: #8B1538;
    transform: scale(1.05);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.mobile-menu-toggle.active {
    background: #8B1538;
    border-color: #8B1538;
    color: white;
}

.mobile-menu-toggle i {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active i::before {
    content: "\f00d";
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e5e7eb;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    z-index: 999;
}

.mobile-menu.active {
    max-height: 600px;
    padding: 1rem;
    gap: 0.5rem;
}

.mobile-link {
    color: #1a1a1a;
    text-decoration: none;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.mobile-link:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #8B1538;
    padding-left: 1.5rem;
}

.mobile-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #8B1538;
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-cta-btn:hover {
    background: #6B0F2A;
    transform: scale(1.02);
}

/* Responsive Design */
@media (min-width: 1024px) {
    .nav-links {
        display: flex !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .mobile-menu {
        display: none !important;
        max-height: 0 !important;
    }
}

@media (max-width: 1023px) {
    .nav-links {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-img {
        height: 40px;
    }
}