/* Base Styles & Variables */
:root {
  --primary-color: #333;
  --secondary-color: #666;
  --accent-color: #0066cc;
  --light-gray: #f8f8f8;
  --white: #ffffff;
  --max-width: 1200px;
  --header-height: 80px;
  --footer-padding: 4rem;
  --transition: all 0.3s ease;
}

/* Typography */
html {
  font-size: 62.5%;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Open Sans', -apple-system, BlinkMacSystemFont, 
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--primary-color);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.2;
}

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

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

/* Header Styles */
.site-header {
  position: sticky;
  top: 0;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
  padding: 0 2rem;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 3rem;
}

.nav-item a {
  font-weight: 500;
  font-size: 1.6rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-item a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
}

.hamburger {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--primary-color);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background-color: var(--primary-color);
  left: 0;
  transition: var(--transition);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* Footer Styles */
.site-footer {
  background-color: var(--light-gray);
  padding: var(--footer-padding) 2rem;
  margin-top: auto;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 2.4rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.social-links,
.legal-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.copyright {
  color: var(--secondary-color);
  font-size: 1.4rem;
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.year {
  font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .menu-toggle.active .hamburger {
    background-color: transparent;
  }
  
  .menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 3rem;
  }
  
  .social-links,
  .legal-links {
    justify-content: center;
  }
}

@media (min-width: 769px) {
  .nav-menu {
    display: flex !important;
  }
}