/* Base Styles */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4286;
  color: #333;                /* dark text for readability */
  text-align: center;
  font-weight: normal;
}

/* Remove overlay */
body::before {
  content: none;
}


/* Apply translucent overlay for subtlety */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/AHH_Logo.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 1280px auto;
  opacity: 0.05; /* controls fade intensity */
  pointer-events: none;
  z-index: -1;
}

/* Responsive logo background scaling */
@media (max-width: 900px) {
  body::before {
    background-size: 800px auto;
    background-position: center top;
  }
}

@media (max-width: 600px) {
  body::before {
    background-size: 500px auto;
    background-position: center 20%;
    opacity: 0.07;
  }
}

@media (max-width: 400px) {
  body::before {
    background-size: 380px auto;
    background-position: center 10%;
    opacity: 0.08;
  }
}

/* ========================================
   Headings
======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  line-height: 1.1;
  color: #333;
}

h1 { font-size: 45px; line-height: 48px; }
h2 { font-size: 36px; line-height: 40px; }
h3 { font-size: 30px; line-height: 32px; }
h4 { font-size: 26px; line-height: 28px; }
h5 { font-size: 20px; line-height: 24px; }
h6 { font-size: 18px; line-height: 22px; }

/* ========================================
   Links
======================================== */
a {
  color: #3282e6;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: #71a100;
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid #3282e6;
  outline-offset: 2px;
}

/* ========================================
   Top Bar
======================================== */
.top-bar {
  height: 20px;
  background: linear-gradient(to bottom, #71a100 0%, #6fa100 100%);
}

/* Navigation (same as homepage.css */
nav.site-nav {
  background-color: #333;
  font-size: 18px;
  position: relative;
  z-index: 1000;
}

/* Desktop nav */
nav.site-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

nav.site-nav .nav-list li a {
  display: block;
  color: white;
  padding: 14px 16px;
  transition: color 0.3s ease;
}

nav.site-nav .nav-list li a:hover {
  color: #3282e6;
}

/* Hamburger Menu Button (dark version) */
.menu-toggle {
  display: none; /* hidden on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  z-index: 1100;
  background-color: rgba(255,255,255,0.75); /* subtle backdrop */
  border-radius: 6px;
  border: none;
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: #515151; /* dark gray */
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav.site-nav .nav-list {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #333;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    text-align: center;
    z-index: 999;
  }

  nav.site-nav .nav-list.showing {
    display: flex;
  }

  nav.site-nav .nav-list li {
    border-top: 1px solid #444;
    width: 100%;
  }

  nav.site-nav .nav-list li a {
    padding: 14px;
    display: block;
    width: 100%;
  }
}

/* Hamburger animation to X */
.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Containers */
.container {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: left;
}

.container under-construction {
	text-align: center;
	max-width; 920px;
}

/* Sections */
section {
  margin-bottom: 60px;
}

section p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #515151;
}

section ul {
  margin: 15px 0;
  padding-left: 20px;
}

section ul li {
  margin-bottom: 10px;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 12px 24px;
  margin-top: 20px;
  background-color: #3282e6;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button:hover,
.button:focus {
  background-color: #71a100;
}

.button:focus-visible {
  outline: 2px solid #3282e6;
  outline-offset: 2px;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 25px 10px;
  font-size: 14px;
  text-align: center;
  margin-top: 80px;
  border-top: 4px solid #3282e6;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1; /* pushes footer down */
}


/* Images */
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0;
  margin: 0;
  box-sizing: border-box;
}

/*Contact Us */
#contact {
  max-width: 700px;
  margin: 60px auto;
  padding: 30px 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  text-align: left;
}

#contact h1 {
  text-align: center;
  margin-bottom: 10px;
  color: #333;
}

#contact p {
  text-align: center;
  margin-bottom: 25px;
  color: #515151;
}

#contact form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#contact label {
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}

#contact input[type="text"],
#contact input[type="email"],
#contact select,
#contact textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background-color: #fafafa;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#contact input:focus,
#contact select:focus,
#contact textarea:focus {
  outline: none;
  border-color: #3282e6;
  box-shadow: 0 0 0 3px rgba(50, 130, 230, 0.2);
  background-color: #fff;
}

#contact textarea {
  resize: vertical;
}

#contact button {
  background-color: #3282e6;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#contact button:hover {
  background-color: #71a100;
  transform: translateY(-2px);
}

#contact button:active {
  transform: translateY(0);
}

#contact button:focus-visible {
  outline: 2px solid #3282e6;
  outline-offset: 3px;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  #contact {
    padding: 20px 15px;
  }

  #contact button {
    width: 100%;
  }
}