:root {
  --primary-color: #1A0D3B;
  --secondary-color: #FFD700;
  --text-color: #f0f0f0;
  --link-color: #FFD700;
  --link-hover-color: #ffd700cc;
  --bg-dark: #0f081c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-dark);
}

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

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

.site-header {
  background-color: var(--primary-color);
  padding: 15px 0;
  border-bottom: 3px solid var(--secondary-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.site-header .logo {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease;
}

.site-header .logo:hover {
  color: var(--link-hover-color);
}

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

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

.main-nav ul li a {
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.05em;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav ul li 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 ul li a:hover::after,
.main-nav ul li a.active::after {
  width: 100%;
}

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

.header-actions {
  display: flex;
  gap: 10px;
}

.header-actions button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.header-actions button:hover {
  background-color: var(--link-hover-color);
  transform: translateY(-2px);
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.site-footer {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 40px 0;
  border-top: 3px solid var(--secondary-color);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.footer-col {
  padding: 10px 0;
}

.footer-col .logo {
  font-size: 2em;
  margin-bottom: 15px;
  display: block;
  color: var(--secondary-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.footer-brand p {
  font-size: 0.9em;
  line-height: 1.5;
  color: #bbb;
}

.footer-nav-links h3,
.footer-contact h3 {
  color: var(--secondary-color);
  font-size: 1.3em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-nav-links ul {
  list-style: none;
}

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

.footer-nav-links ul li a {
  color: var(--text-color);
  transition: color 0.3s ease;
}

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

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

.footer-contact a {
  color: var(--text-color);
  transition: color 0.3s ease;
}

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

@media (max-width: 992px) {
  .main-nav ul li {
    margin-left: 20px;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .site-header .logo {
    flex-basis: auto;
    margin-right: auto;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
    background-color: var(--primary-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding: 0;
  }

  .main-nav.active {
    max-height: 500px;
    padding: 20px 0;
  }

  .main-nav ul {
    flex-direction: column;
    text-align: center;
    padding: 0;
  }

  .main-nav ul li {
    margin: 0;
    padding: 10px 0;
  }

  .main-nav ul li a {
    display: block;
    padding: 10px;
    font-size: 1.1em;
  }

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

  .hamburger-menu {
    display: flex;
    order: 1;
    margin-left: 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col .logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-nav-links ul {
    padding-left: 0;
  }
}