body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9fafb;
  color: #111827;
}

header {
  background: #1f2937;
  color: white;
  padding: 1rem;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

nav a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

main {
  padding: 2rem;
  text-align: center;
}

img {
  margin-top: 1rem;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

footer {
  background: #1f2937;
  color: #d1d5db;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}
/* Dropdown menu */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

nav li {
  position: relative;
}

nav a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem;
  display: block;
}

nav a:hover,
nav a:focus {
  text-decoration: underline;
}

/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1f2937;
  padding: 0.5rem 0;
  min-width: 220px;
  border-radius: 4px;
  z-index: 1000;
}

.dropdown-content li {
  margin: 0;
}

.dropdown-content a {
  padding: 0.5rem 1rem;
  color: #f3f4f6;
}

.dropdown-content a:hover {
  background: #2563eb;
  color: white;
  text-decoration: none;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
}
.a1-header {
  position: relative;
  text-align: center;
  padding: 1.5rem 0;
  background: #1f2937; /* optional: same dark style as other headers */
  color: white;
}

.a1-header .home-link {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #93c5fd;
  font-weight: bold;
  text-decoration: none;
}

.a1-header .home-link:hover {
  text-decoration: underline;
}

.a1-header-text h1 {
  margin: 0;
}

.a1-header-text p {
  margin: 0.25rem 0 0;
}
/* Assignment 2 Menu Sections */
.menu-section {
  margin: 2rem auto;
  max-width: 600px;
  text-align: center;
}

.menu-section h2 {
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.menu-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-section li {
  margin: 0.5rem 0;
}

.menu-section a {
  color: #2563eb;
  font-weight: bold;
  text-decoration: none;
}

.menu-section a:hover {
  text-decoration: underline;
}
