/* Base Styles */
:root {
  --primary-color: #1A1A2E;
  --secondary-color: #E0B95B;
  --text-color: #f0f0f0;
  --light-bg: #282840;
  --dark-bg: #1A1A2E;
  --accent-light: #FFD700; /* Gold */
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--dark-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-light);
}

ul {
  list-style: none;
}

/* Header Styles */
.site-header {
  background-color: var(--primary-color);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .logo {
  font-family: 'Georgia', serif; /* A bit more classic/luxurious feel */
  font-size: 2.2em;
  font-weight: bold;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  padding: 5px 0;
}

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

.main-nav ul {
  display: flex;
}

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

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

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

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

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

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

.hamburger-menu .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 5px 0;
  transition: 0.4s;
}

/* Footer Styles */
.site-footer {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 40px 0 20px;
  margin-top: 50px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
  position: relative;
}

.site-footer .footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.site-footer .footer-col {
  flex: 1;
  min-width: 250px;
}

.site-footer .footer-col h3 {
  color: var(--secondary-color);
  font-size: 1.3em;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 5px;
}

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

.site-footer .footer-col p {
  font-size: 0.95em;
  line-height: 1.8;
  margin-bottom: 10px;
}

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

.site-footer .footer-nav a {
  color: var(--text-color);
  font-size: 0.95em;
  display: block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.site-footer .footer-nav a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.site-footer .contact-info a {
  display: block;
  margin-bottom: 5px;
  color: var(--text-color);
}

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

.site-footer .footer-bottom {
  border-top: 1px solid var(--light-bg);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.7);
}

/* Back to Top Button */
#backToTopBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 20px; /* Place the button at the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: var(--secondary-color); /* Set a background color */
  color: var(--primary-color); /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 10px 15px; /* Some padding */
  border-radius: 50%; /* Rounded corners */
  font-size: 24px; /* Increase font size */
  line-height: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s, transform 0.3s;
}

#backToTopBtn:hover {
  background-color: var(--accent-light); /* Add a darker background on hover */
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .site-header .container {
    flex-wrap: wrap;
  }

  .site-header .logo {
    flex-grow: 1;
    text-align: left;
    font-size: 1.8em;
  }

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

  .main-nav {
    order: 3; /* Move nav below logo and hamburger */
    flex-basis: 100%;
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.5s ease-out;
  }

  .main-nav.active {
    max-height: 300px; /* Adjust based on content */
    transition: max-height 0.5s ease-in;
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
    background-color: var(--light-bg);
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav li {
    margin: 0;
    text-align: center;
  }

  .main-nav a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .main-nav a::after {
    display: none; /* Hide underline for mobile */
  }

  .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);
  }

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

  .site-footer .footer-col {
    min-width: unset;
    width: 100%;
    text-align: center;
  }

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

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

  .site-header {
    padding: 10px 0;
  }
}