/* ============================================== HEADER NAVIGATION - MODERN MENU ============================================== */ /* Main navigation container */ header nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 40px; background: white; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08); position: sticky; top: 0; z-index: 1000; } /* Logo styling */ .site-logo img { height: 60px; width: auto; transition: transform 0.3s ease; } .site-logo:hover img { transform: scale(1.05); } /* Menu items container */ .main-menu { display: flex; gap: 5px; list-style: none; margin: 0; padding: 0; } /* Individual menu item */ .main-menu li { position: relative; } .main-menu a { display: block; padding: 12px 24px; color: #2c3e50; text-decoration: none; font-weight: 600; font-size: 1rem; border-radius: 8px; transition: all 0.3s ease; position: relative; } /* Menu hover effect */ .main-menu a:hover, .main-menu a.active { color: #667eea; background: rgba(102, 126, 234, 0.1); } /* Animated underline */ .main-menu a:after { content: ''; position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%) scaleX(0); width: 70%; height: 3px; background: linear-gradient(90deg, #667eea, #764ba2); border-radius: 2px; transition: transform 0.3s ease; } .main-menu a:hover:after, .main-menu a.active:after { transform: translateX(-50%) scaleX(1); } /* CTA button in menu */ .menu-cta { margin-left: 20px; } .menu-cta a { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white !important; padding: 12px 28px; border-radius: 25px; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); } .menu-cta a:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5); } .menu-cta a:after { display: none; } /* Mobile menu toggle */ .mobile-menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 10px; } .mobile-menu-toggle span { display: block; width: 30px; height: 3px; background: #2c3e50; border-radius: 2px; transition: all 0.3s ease; } /* Mobile responsive */ @media (max-width: 968px) { .mobile-menu-toggle { display: flex; } .main-menu { position: fixed; top: 80px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); transform: translateY(-100%); opacity: 0; transition: all 0.3s ease; pointer-events: none; } .main-menu.active { transform: translateY(0); opacity: 1; pointer-events: all; } .main-menu a { padding: 15px 20px; } .menu-cta { margin-left: 0; margin-top: 10px; } }