:root {
  --foreground-color: #003366;
  --accent-color: #0055ff;
  --background-color: #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hero {
  background-color: var(--foreground-color);
  color: var(--background-color);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

.logo {
  max-width: 80px;
  height: auto;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

h1 {
  font-size: 2.5rem;
  margin: 0;
  color: var(--background-color);
  text-align: center;
}

.container {
  flex-grow: 1;
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
  text-align: center;
}

.tagline {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #555;
}

.map-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background-color: #eee;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
  max-width: 300px;
  text-align: center;
}

.primary-btn {
  background-color: var(--foreground-color);
  color: var(--background-color);
  border: 2px solid var(--foreground-color);
}

.primary-btn:hover {
  background-color: #002244;
  transform: translateY(-2px);
}

.secondary-btn {
  background-color: var(--background-color);
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.secondary-btn:hover {
  background-color: #e0efff;
  transform: translateY(-2px);
}

.site-footer {
  width: 100%;
  height: 60px;
  background-color: var(--foreground-color);
  position: relative;
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  min-height: 80px;
}

.site-footer svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.footer-trapezoid {
  fill: var(--foreground-color);
}

.footer-content {
  position: relative;
  z-index: 2;
  color: var(--background-color);
  font-size: 0.9rem;
  text-align: center;
  padding: 0 1rem;
}

.footer-content h5 {
  margin: 0;
  font-weight: normal;
}

.footer-content a {
  color: var(--background-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer-content a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

@media (min-width: 769px) {
  .hero-content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
  }

  .hero h1 {
    text-align: left;
    font-size: 2.8rem;
  }

  .logo {
    margin-bottom: 0;
    transform: translateY(5px);
  }

  .site-footer {
    flex-direction: row;
    min-height: 60px;
    height: auto;
  }

  .footer-content {
    font-size: 1rem;
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .btn {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
  }

  .map-container {
    padding-bottom: 75%;
  }

  .site-footer {
    height: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 1.5rem 0.5rem;
  }

  h1 {
    font-size: 1.7rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .button-group {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-content {
    font-size: 0.8rem;
  }
}
