/* ========================================
   FRESH NEW NAVBAR - UNIQUE DESIGN
   ======================================== */

/* Root Variables */
:root {
    --primary-green: #1a4d7a;
    --dark-bg: #0a0e27;
    --light-text: #ffffff;
    --accent-glow: rgba(26, 77, 122, 0.3);
}

/* Main Navbar Container */
.fresh-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(15, 20, 45, 0.95) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(37, 99, 168, 0.1);
    transition: all 0.3s ease;
}

.fresh-navbar.scrolled {
    padding: 0;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

/* Container */
.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
    gap: 40px;
}

/* ========================================
   LOGO SECTION WITH PULSE EFFECT
   ======================================== */
.navbar-logo {
    position: relative;
    z-index: 10;
}

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

.logo-image {
    height: 110px;
    width: auto;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

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

/* Pulse Effect Behind Logo */
.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--accent-glow);
    border-radius: 50%;
    z-index: 1;
    animation: pulse-glow 2s ease-in-out infinite;
    opacity: 0;
}

.logo-link:hover .logo-pulse {
    opacity: 1;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

/* ========================================
   NAVIGATION MENU
   ======================================== */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    justify-content: center;
}

/* Navigation Links */
.nav-link {
    position: relative;
    padding: 25px 16px;
    color: var(--light-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.link-text {
    position: relative;
    z-index: 2;
}

/* Animated Underline */
.link-underline {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav-link:hover .link-underline {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover {
    color: var(--primary-green);
}

/* ========================================
   MEGA DROPDOWN
   ======================================== */
.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    margin-left: 3px;
}

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

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.98) 0%, rgba(15, 20, 45, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    min-width: 800px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(37, 99, 168, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.nav-dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.column-title {
    color: var(--primary-green);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    position: relative;
    padding-bottom: 8px;
}

.column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-green);
    border-radius: 2px;
}

.dropdown-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dropdown-column a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-green);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-column a:hover {
    color: #ffffff;
    background: rgba(37, 99, 168, 0.1);
    padding-left: 20px;
}

.dropdown-column a:hover::before {
    transform: scaleY(1);
}

/* ========================================
   CONTACT BUTTON WITH SHINE EFFECT
   ======================================== */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-contact {
    position: relative;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #2563a8 100%);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(37, 99, 168, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-text {
    position: relative;
    z-index: 2;
}

/* Shine Animation */
.btn-shine {
    position: absolute;
    top: -50%;
    left: -100%;
    width: 100%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(25deg);
    transition: left 0.6s ease;
}

.btn-contact:hover .btn-shine {
    left: 200%;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 168, 0.5);
}

/* ========================================
   MOBILE TOGGLE
   ======================================== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.mobile-toggle:hover .toggle-line {
    background: #ffffff;
}

.toggle-line {
    width: 28px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

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

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 1024px) {
    .navbar-container {
        padding: 0 20px;
        gap: 20px;
    }
    
    .navbar-menu {
        gap: 2px;
    }
    
    .nav-link {
        padding: 25px 10px;
        font-size: 12px;
    }
    
    .mega-dropdown {
        min-width: 600px;
    }
    
    .dropdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        height: 65px;
    }
    
    .logo-image {
        height: 100px;
    }
    
    .mobile-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Hide desktop menu on mobile */
    .navbar-menu {
        display: none !important;
    }
    
    /* Use the existing das-menu-wrapper for mobile */
    .das-menu-wrapper {
        display: block;
    }
    
    /* Hide contact button on mobile - use the one in das-menu instead */
    .navbar-actions {
        display: none;
    }
}

/* Hide when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 90px;
}
