html, body { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; } body { padding-top: 60px; /* Default for desktop header height */ } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: #1A2B4C; box-shadow: 0 2px 10px rgba(0,0,0,0.1); min-height: auto; } .header-main-bar { display: flex; align-items: center; justify-content: space-between; padding: 15px 30px; max-width: 1200px; margin: 0 auto; } .logo { color: #FFD700; font-size: 28px; font-weight: bold; text-decoration: none; display: block; } .main-nav { flex: 1; display: flex; justify-content: center; /* Desktop default: visible, horizontal */ } .main-nav ul { list-style: none; display: flex; margin: 0; padding: 0; } .main-nav li a { color: #fff; text-decoration: none; padding: 10px 15px; transition: color 0.3s ease; } .main-nav li a:hover { color: #FFD700; } .desktop-nav-buttons { display: flex; gap: 10px; } .hamburger-menu { display: none; /* Hidden on desktop */ width: 30px; height: 20px; position: relative; cursor: pointer; flex-direction: column; justify-content: space-between; } .hamburger-menu span { display: block; height: 3px; width: 100%; background: #FFD700; border-radius: 5px; transition: all 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .btn { display: inline-block; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: background-color 0.3s ease, transform 0.2s ease; cursor: pointer; white-space: nowrap; } .btn-primary { background-color: #FFD700; color: #1A2B4C; border: none; } .btn-primary:hover { background-color: #e6c200; transform: translateY(-2px); } .btn-secondary { background-color: #1A2B4C; color: #FFD700; border: 1px solid #FFD700; } .btn-secondary:hover { background-color: #FFD700; color: #1A2B4C; transform: translateY(-2px); } .btn-tertiary { background-color: #28a745; color: #fff; border: none; } .btn-tertiary:hover { background-color: #218838; transform: translateY(-2px); } .mobile-nav-buttons { display: none; /* Hidden on desktop */ } .mobile-menu-overlay { display: none; /* Hidden on desktop */ } .site-footer { background-color: #1A2B4C; color: #fff; padding: 40px 30px 20px; font-size: 14px; } .footer-content { display: flex; justify-content: space-around; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; } .footer-section { flex: 1; min-width: 250px; margin-bottom: 20px; } .footer-section h3 { color: #FFD700; margin-bottom: 15px; font-size: 18px; } .footer-section p, .footer-section ul { margin: 0; padding: 0; list-style: none; } .footer-section ul li { margin-bottom: 8px; } .footer-section ul li a { color: #fff; text-decoration: none; display: block; transition: color 0.3s ease; } .footer-section ul li a:hover { color: #FFD700; } .footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); } @media (max-width: 768px) { body { padding-top: 120px; /* Adjust for mobile header + button bar height */ } .header-main-bar { padding: 10px 20px; } .logo { flex-grow: 1; text-align: center; font-size: 24px; } .desktop-nav-buttons { display: none; } .hamburger-menu { display: flex; z-index: 1001; /* Ensure hamburger is above overlay */ } .mobile-nav-buttons { display: flex; justify-content: center; gap: 10px; padding: 10px 20px; background-color: #1A2B4C; box-shadow: 0 2px 5px rgba(0,0,0,0.1); z-index: 1000; /* Below hamburger, above content */ } .main-nav { display: none; /* Default hidden on mobile */ flex-direction: column; position: fixed; top: 0; left: 0; width: 70%; max-width: 300px; height: 100vh; background-color: #1A2B4C; padding-top: 60px; box-shadow: 2px 0 10px rgba(0,0,0,0.2); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; } .main-nav.active { display: flex; /* CRITICAL: Must be flex to show */ transform: translateX(0); } .main-nav ul { flex-direction: column; width: 100%; } .main-nav li { text-align: left; border-bottom: 1px solid rgba(255,255,255,0.1); } .main-nav li:last-child { border-bottom: none; } .main-nav li a { padding: 15px 20px; display: block; } .mobile-menu-overlay { display: block; /* Always block in media query, opacity handles visibility */ position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } .mobile-menu-overlay.active { opacity: 1; pointer-events: auto; } body.no-scroll { overflow: hidden; } .footer-content { flex-direction: column; align-items: center; } .footer-section { min-width: unset; text-align: center; } .footer-section ul li a { display: inline-block; /* For better mobile appearance */ } }