body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f7f7f7;
    color: #222;
    text-align: center;
}

/* ===== Header / Hero ===== */
header {
  position: relative;

  /* responsive height so the image isn't overly cropped */
  min-height: 55vh;
  max-height: 520px;

  background-image: url('images/header_color_image.png');
  background-size: cover;
  background-repeat: no-repeat;

  /* show more of the image (tune this % if needed) */
  background-position: center 65%;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px;
  overflow: hidden;
}

/* “Cloud” behind text */
.hero-content {
  position: relative;

  padding: clamp(18px, 4vw, 50px) clamp(22px, 6vw, 80px);

  background: radial-gradient(
    circle at center,
    rgba(255,255,255,0.85) 0%,
    rgba(255,255,255,0.6) 50%,
    rgba(255,255,255,0) 80%
  );

  /* organic pill shape (less boxy than a rectangle, less rigid than a perfect circle) */
  border-radius: 999px;

  text-align: center;
  width: min(92%, 900px);
}

h1 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 10px;
}

.tagline {
  font-size: clamp(14px, 1.6vw, 18px);
  color: #000000;
}

/* blinking cursor */
.tagline::after {
  content: "|";
  margin-left: 5px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

/* ===== Nav Layout ===== */
nav ul {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;

  list-style: none;
  padding: 0;
  margin: 40px 0;
}

/* ===== Card Style ===== */
nav li {
  background: white;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Make the whole card clickable */
nav li a {
  display: block;
  padding: 30px 40px;
  text-decoration: none;
  font-weight: 600;
  color: #333;
}

/* Hover effect */
nav li:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

nav li a:hover {
  color: #5c1256;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  header {
    min-height: 40vh;
    max-height: none;
    background-position: center 20%;
    padding: 14px;
  }

  .hero-content {
    width: 95%;
  }

  nav ul {
    flex-direction: column;
    gap: 16px;
    margin: 18px 0;
  }
}

/* ===== Very small phones ===== */
@media (max-width: 420px) {
  header {
    min-height: 36vh;
    background-position: center 15%;
  }
}

footer {
    margin-top: 60px;
    padding: 20px;
    font-size: 0.9rem;
    color: #888;
}

.email-link {
    text-decoration: none;
    color: #666;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #a36d5d;
}