:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color: #333;
  --light-text-color: #f8f9fa;
  --bg-dark: #212529;
  --bg-light: #ffffff;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

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

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

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

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

/* Header Styles */
.site-header {
  background-color: var(--bg-dark);
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

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

.site-header .logo:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.site-header .main-nav ul {
  display: flex;
  gap: 25px;
}

.site-header .main-nav a {
  color: var(--light-text-color);
  font-weight: 600;
  font-size: 16px;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.site-header .main-nav a:hover,
.site-header .main-nav a.active {
  color: var(--secondary-color);
  text-decoration: none;
}

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

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

.hamburger-menu {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001; /* Above nav */
}

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

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

/* Hamburger menu active state */
.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 Styles */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--light-text-color);
  padding: 40px 0 20px;
  font-size: 14px;
}

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

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

.site-footer p {
  margin-bottom: 10px;
}

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

.site-footer a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.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-nav ul li {
  margin-bottom: 8px;
}

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

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--light-text-color);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  display: none; /* Hidden by default */
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:hover {
  background-color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .site-header .main-nav {
    display: none; /* Hide main nav on mobile by default */
    flex-direction: column;
    position: absolute;
    top: 70px; /* Adjust based on header height */
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }

  .site-header .main-nav.active {
    display: flex; /* Show when active */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-header .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .site-header .main-nav a {
    font-size: 18px;
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }

  .site-header .main-nav a::after {
    left: 50%;
    transform: translateX(-50%);
  }

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

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

  .site-footer .footer-col {
    margin-bottom: 20px;
  }

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

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