/* Layout Styles - Header, Footer, Main */

/* Header & Navigation */
header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 1px;
  position: relative;
  z-index: 101;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--speed-normal) var(--ease-default);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

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

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  position: relative;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  align-items: center;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--white);
  border-radius: 3px;
  transition: all var(--speed-normal) var(--ease-default);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Main Content */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  min-height: calc(100vh - 200px);
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  color: var(--white);
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

footer p {
  margin: 0.5rem 0;
}
