/* Hero Header */
/* Hero Section Layout */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;   /* Responsive height */
  overflow: hidden;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text Overlay in Hero */
.hero-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  background: none;
  pointer-events: none;
}

/* Navigation Over Image */
.hero-nav {
  position: absolute;
  bottom: 1rem;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 3;
}

.hero-nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-nav ul li a {
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.5em 1em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}

.hero-nav ul li a:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Navigation */
nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 0;
  list-style: none;
  margin: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 0.5em 1em;
  background: #0077cc;
  border-radius: 6px;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #33f6ff;
  color: #003344; /* contrast-optimized */
  transition: background-color 0.3s ease, color 0.3s ease;
  scroll-behavior: smooth;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5em;
  background: #222;
  color: #fff;
  margin-top: 2em;
}

footer a {
  color: #61dafb;
  text-decoration: none;
  font-weight: bold;
}