/* General Body Styling */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  box-sizing: border-box;
}

/* Colors */
:root {
  --primary-color: #1A237E; /* Dark Blue */
  --secondary-color: #FFB300; /* Amber/Orange */
  --text-color: #333;
  --light-text-color: #f8f8f8;
  --background-light: #ffffff;
  --background-dark: #222;
}

/* Header Styling */
.site-header {
  background-color: var(--primary-color);
  padding: 15px 0;
  color: var(--light-text-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.site-header .logo {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 2.2em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.site-header .logo:hover {
  color: #fff;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-nav li {
  margin-left: 30px;
}

.main-nav a {
  color: var(--light-text-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  padding: 5px 0;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
}

.hamburger-menu {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--light-text-color);
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

/* Footer Styling */
.site-footer {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  padding: 40px 0 20px;
  font-size: 0.9em;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
}

.footer-brand,
.footer-nav,
.footer-contact {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-brand .footer-logo {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 2em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.footer-brand .footer-logo:hover {
  color: #fff;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.site-footer h3 {
  color: var(--secondary-color);
  font-size: 1.2em;
  margin-bottom: 20px;
  position: relative;
}

.site-footer h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--secondary-color);
}

.footer-contact p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 0 15px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden by default */
    width: 70%;
    height: 100%;
    background-color: var(--primary-color);
    padding-top: 80px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease-in-out;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .main-nav.active {
    right: 0; /* Visible when active */
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }

  .main-nav li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav li:last-child {
    border-bottom: none;
  }

  .main-nav a {
    display: block;
    padding: 15px 0;
    text-align: left;
    font-size: 1.1em;
  }

  .hamburger-menu {
    display: block; /* Show hamburger on mobile */
  }

  /* Hamburger menu animation */
  .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);
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand,
  .footer-nav,
  .footer-contact {
    min-width: unset;
    width: 100%;
    margin-bottom: 20px;
  }

  .site-footer h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .site-header .logo {
    font-size: 1.8em;
  }
  .footer-brand .footer-logo {
    font-size: 1.8em;
  }
}
