:root {
  --primary-color: #0A2342;
  --secondary-color: #E6B325;
  --text-color: #333;
  --light-text-color: #f0f0f0;
  --dark-bg-color: #1a1a1a;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

a {
  text-decoration: none;
  color: var(--secondary-color);
}

a:hover {
  color: var(--primary-color);
}

/* Header Styles */
.site-header {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative; /* Changed to relative for mobile nav positioning */
  z-index: 1000;
}

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

.logo {
  font-family: 'Georgia', serif; /* Creative font for brand */
  font-size: 2.2em;
  font-weight: bold;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transition: color 0.3s ease;
}

.logo:hover {
  color: #FFD700; /* A brighter gold on hover */
}

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

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

.main-nav .nav-list a {
  color: var(--light-text-color);
  font-weight: bold;
  font-size: 0.95em;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav .nav-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.main-nav .nav-list a:hover::after,
.main-nav .nav-list a.active::after {
  width: 100%;
}

.main-nav .nav-list a:hover,
.main-nav .nav-list a.active {
  color: var(--secondary-color);
}

.header-actions {
  display: flex;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  margin-left: 20px;
}

.btn-primary:hover {
  background-color: #FFD700; /* Brighter gold */
  color: var(--primary-color);
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 20px;
  position: relative;
  margin-left: 15px;
  z-index: 1001; /* Ensure hamburger is above nav list */
}

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

.hamburger-menu .bar:last-child {
  margin-bottom: 0;
}

/* Hamburger menu animation */
.hamburger-menu.open .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.open .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.open .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

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

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

.footer-column {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}

.footer-column h3 {
  color: var(--secondary-color);
  font-size: 1.2em;
  margin-bottom: 15px;
}

.footer-logo {
  font-family: 'Georgia', serif;
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 15px;
}

.footer-about p {
  color: #bbb;
}

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

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

.footer-nav a {
  color: #bbb;
  transition: color 0.3s ease;
}

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

.footer-contact p {
  margin-bottom: 8px;
  color: #bbb;
}

.footer-contact a {
  color: #bbb;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.footer-bottom p {
  margin: 0;
  color: #aaa;
}

#backToTop {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5em;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 20px;
  bottom: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-size: 1.8em;
    margin-right: auto; /* Push logo to left, actions/hamburger to right */
  }

  .header-actions {
    order: 2;
    margin-left: 15px;
  }

  .hamburger-menu {
    display: block;
    order: 3;
  }

  .main-nav {
    order: 4;
    flex-basis: 100%;
    margin-top: 0; /* Adjust space, as nav-list will be absolute */
  }

  .main-nav .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--primary-color);
    position: absolute;
    top: 100%; /* Position right below the header */
    left: 0;
    padding: 0;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .main-nav .nav-list.active {
    display: flex;
  }

  .main-nav .nav-list li {
    margin: 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .main-nav .nav-list li:last-child {
    border-bottom: none;
  }

  .main-nav .nav-list a {
    display: block;
    padding: 15px 20px;
    color: var(--light-text-color);
    width: 100%;
    box-sizing: border-box;
  }

  .main-nav .nav-list a::after {
    display: none;
  }

  .btn-primary {
    margin-left: 0;
    padding: 8px 15px;
    font-size: 0.9em;
  }

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

  .footer-column {
    text-align: center;
    margin-bottom: 30px;
  }

  .footer-column:last-child {
    margin-bottom: 0;
  }
  
  #backToTop {
    position: static;
    margin-top: 20px;
    right: auto;
    bottom: auto;
  }
}