body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, white, #8B4513);
  line-height: 1.6;
}

header {
  background: #8B4513;
  color: white;
  padding: 1rem;
}

main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

main img {
  max-width: 75%;
  height: auto;
}

main.home {
  text-align: center;
}

main.home img {
  max-width: 75%;
  height: auto;
  margin: 1rem 0;
}

main.home a {
  display: inline-block;
  margin: 1rem;
  padding: 0.5rem 1rem;
  background: #8B4513;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

footer {
  background: #8B4513;
  color: white;
  text-align: center;
  padding: 1rem;
  position: relative;
  bottom: 0;
  width: 100%;  
}

.social-links {
  margin-top: 0.5rem;
}

.social-links a {
  color: white;
  text-decoration: none;
  margin: 0 0.5rem;
  font-size: 1.5rem;
}

.social-links a:hover {
  color: #a8d5ba;
}

@media (max-width: 600px) {
  nav {
      flex-direction: column;
      gap: 1rem;
  }

  nav ul {
      flex-direction: column;
      text-align: center;
  }

  .social-links a {
      margin: 0 0.3rem;
      font-size: 1.3rem;
  }
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* Standard 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  width: 90vw;
  max-width: 800px;
  margin: 1rem auto 3rem; /* Increased bottom margin */
  box-sizing: border-box;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .video-container {
    width: 100%; /* Respect parent container */
    max-width: none;
    margin: 1rem 0 4rem; /* Extra bottom margin for mobile browser chrome */
    padding-bottom: calc(56.25% + env(safe-area-inset-bottom)); /* Account for safe area */
  }
}
/* Mobile navigation with hamburger menu */
.site-header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.site-header .site-title {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold; /* Make site title bolder */
}

.site-header .site-nav {
  display: contents;
}

.site-header .menu-items {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: bold; /* Make menu words bold */
}

.site-header .menu-items li {
  margin-left: 1.5rem;
}

.site-header .menu-items .page-link {
  color: white;
  text-decoration: none;
  font-size: 1rem;
}

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

.site-header .hamburger,
.site-header .hamburger::before,
.site-header .hamburger::after {
  content: '';
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header .hamburger::before {
  transform: translateY(-8px);
}

.site-header .hamburger::after {
  transform: translateY(5px);
}

.site-header .menu-toggle.active .hamburger {
  background: transparent;
}

.site-header .menu-toggle.active .hamburger::before {
  transform: translateY(0) rotate(45deg);
}

.site-header .menu-toggle.active .hamburger::after {
  transform: translateY(-3px) rotate(-45deg);
}

/* Mobile styles */
@media (max-width: 768px) {
  .site-header .menu-toggle {
    display: block;
  }

  .site-header .menu-items {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #333;
    padding: 1rem;
    z-index: 1000;
  }

  .site-header .menu-items.active {
    display: flex;
  }

  .site-header .menu-items li {
    margin: 0.5rem 0;
  }
}

/* Override potential .nav conflicts */
@media (max-width: 768px) {
  .site-header .site-nav,
  .site-header .nav {
    display: block;
    position: static;
    float: none;
  }
}