/* General Reset & Base Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Arial', sans-serif; line-height: 1.6; color: #333; padding-top: 120px; /* Adjust based on header height, considering mobile buttons */ } a { text-decoration: none; color: inherit; } ul { list-style: none; } /* Variables for colors */ :root { --primary-color: #003366; /* Dark Blue */ --secondary-color: #FFCC00; /* Gold/Yellow */ --text-color-light: #ffffff; --text-color-dark: #333333; --button-bg-primary: linear-gradient(135deg, #007bff, #0056b3); /* Blue gradient */ --button-bg-secondary: linear-gradient(135deg, #28a745, #1e7e34); /* Green gradient */ --button-bg-tertiary: linear-gradient(135deg, #ffc107, #e0a800); /* Yellow gradient */ --button-text-color: #ffffff; --shadow-light: rgba(0, 0, 0, 0.1); --shadow-medium: rgba(0, 0, 0, 0.2); --shadow-strong: rgba(0, 0, 0, 0.4); } /* Site Header */ .site-header { position: fixed; top: 0; width: 100%; min-height: 60px; /* Minimum height for header-top */ background-color: var(--primary-color); box-shadow: 0 4px 10px var(--shadow-medium); z-index: 1000; color: var(--text-color-light); display: flex; flex-direction: column; /* Stack header-top and buttons on mobile */ justify-content: center; align-items: center; padding: 0 20px; } .header-top { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 60px; /* Ensures logo/hamburger area has enough height */ } .logo { font-family: 'Georgia', serif; /* Example creative font */ font-size: 2.2em; font-weight: bold; color: var(--secondary-color); /* Gold color for logo */ text-shadow: 2px 2px 4px var(--shadow-strong); /* Creative shadow */ letter-spacing: 1px; padding: 5px 0; display: block; /* Ensure it takes full width for text-align */ text-align: left; /* Default for desktop */ } .main-nav ul { display: flex; gap: 25px; } .main-nav a { color: var(--text-color-light); font-weight: 600; padding: 10px 0; position: relative; transition: color 0.3s ease; } .main-nav a:hover { color: var(--secondary-color); } .main-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background-color: var(--secondary-color); transition: width 0.3s ease; } .main-nav a:hover::after, .main-nav a.active::after { width: 100%; } .desktop-buttons { display: flex; gap: 15px; } .btn { padding: 10px 20px; border-radius: 25px; /* Rounded corners */ font-weight: bold; text-align: center; text-decoration: none; /* Remove underline */ transition: all 0.3s ease; box-shadow: 0 4px 8px var(--shadow-medium); color: var(--button-text-color); /* White text for buttons */ border: none; /* No default button border */ } .btn-primary { background: var(--button-bg-primary); box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 123, 255, 0.6); } .btn-secondary { background: var(--button-bg-secondary); box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4); } .btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(40, 167, 69, 0.6); } .btn-tertiary { background: var(--button-bg-tertiary); box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4); } .btn-tertiary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 193, 7, 0.6); } .hamburger-menu { display: none; /* Hidden on desktop */ background: none; border: none; cursor: pointer; padding: 10px; position: relative; z-index: 1001; /* Above mobile buttons */ } .hamburger-menu .bar { display: block; width: 25px; height: 3px; background-color: var(--text-color-light); margin: 5px 0; transition: all 0.3s ease; } .hamburger-menu.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active .bar:nth-child(2) { opacity: 0; } .hamburger-menu.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .header-buttons-mobile { display: none; /* Hidden on desktop */ } .mobile-nav-overlay { display: none; /* Hidden by default */ position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--primary-color); z-index: 999; /* Below hamburger, above mobile buttons */ overflow-y: auto; padding-top: 120px; /* Space for header-top and mobile buttons */ box-shadow: 0 4px 10px var(--shadow-medium); } .mobile-nav-overlay.active { display: block; } .mobile-nav ul { display: flex; flex-direction: column; align-items: center; padding: 20px; gap: 15px; } .mobile-nav a { color: var(--text-color-light); font-size: 1.2em; padding: 10px 20px; display: block; width: 100%; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.1); transition: background-color 0.3s ease; } .mobile-nav a:hover { background-color: rgba(255, 255, 255, 0.1); color: var(--secondary-color); } /* Site Footer */ .site-footer { background-color: var(--primary-color); color: var(--text-color-light); padding: 40px 20px 20px; font-size: 0.9em; margin-top: 50px; } .footer-container { display: flex; flex-wrap: wrap; justify-content: space-between; max-width: 1200px; margin: 0 auto; gap: 30px; } .footer-col { flex: 1; min-width: 250px; margin-bottom: 20px; } .footer-logo { font-size: 2em; margin-bottom: 15px; display: inline-block; } .footer-col h3 { color: var(--secondary-color); margin-bottom: 15px; font-size: 1.2em; } .footer-nav ul { display: flex; flex-direction: column; gap: 10px; } .footer-nav a { color: var(--text-color-light); transition: color 0.3s ease; } .footer-nav a:hover { color: var(--secondary-color); } .footer-contact p, .footer-contact a { margin-bottom: 8px; color: var(--text-color-light); transition: color 0.3s ease; } .footer-contact a:hover { color: var(--secondary-color); } .footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); } /* Responsive Styles */ @media (max-width: 1024px) { .main-nav ul { gap: 15px; } .desktop-buttons { gap: 10px; } } @media (max-width: 768px) { body { padding-top: 180px; /* Adjust for header-top + mobile buttons */ } .site-header { min-height: auto; /* Allow height to adapt to content */ padding: 0 15px; } .header-top { min-height: 70px; /* Taller for mobile top bar */ justify-content: flex-start; /* Hamburger on left */ position: relative; /* For logo centering */ } .hamburger-menu { display: block; /* Show hamburger on mobile */ order: 1; /* Place hamburger first */ margin-right: 15px; } .logo { order: 2; /* Place logo second */ flex-grow: 1; /* Allow logo to take available space */ text-align: center; /* Center logo */ font-size: 1.8em; /* Smaller logo on mobile */ } .main-nav, .desktop-buttons { display: none; /* Hide desktop nav and buttons */ } .header-buttons-mobile { display: flex; /* Show mobile buttons */ justify-content: center; /* Center the buttons */ align-items: center; gap: 10px; padding: 10px 15px; width: 100%; background-color: var(--primary-color); /* Match header background */ box-shadow: 0 2px 5px var(--shadow-light); /* Subtle shadow */ z-index: 1000; /* Ensure buttons are above main content, below hamburger menu */ } .header-buttons-mobile .btn { flex: 1; /* Distribute buttons evenly */ max-width: 120px; /* Max width for each button */ font-size: 0.9em; padding: 8px 10px; } .mobile-nav-overlay { padding-top: 180px; /* Space for header-top and mobile buttons */ } .footer-container { flex-direction: column; align-items: center; text-align: center; } .footer-col { min-width: unset; width: 100%; max-width: 400px; } .footer-col h3 { margin-top: 20px; } .footer-nav ul { align-items: center; } } @media (max-width: 480px) { .logo { font-size: 1.6em; } .header-buttons-mobile { flex-wrap: wrap; /* Allow buttons to wrap */ } .header-buttons-mobile .btn { width: calc(50% - 5px); /* Two buttons per row */ max-width: none; } } /* Utility for preventing scroll when mobile menu is open */ body.no-scroll { overflow: hidden; }