/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  color: #ffffff;
}

/* Hero layout */

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* hero image */
  background-image: url("../img/choice-image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark overlay on top of the image for readability */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.2), transparent 40%),
              linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85));
  z-index: 1;
}

/* Text block */

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem;
  max-width: 960px;
}

.hero-title {
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.24em;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  margin-bottom: 1rem;
}

.hero-tagline {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  margin-bottom: 3rem;
  color: #e2ddcf;
}

/* Buttons */

.hero-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  white-space: nowrap; /* keeps text on one line */
  border: 1px solid #c5a872;
  text-decoration: none;
  color: #f4f2ec;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.5);
  transition: background-color 160ms ease, color 160ms ease,
              transform 160ms ease, box-shadow 160ms ease;
}

.hero-btn:hover,
.hero-btn:focus-visible {
  background-color: #c5a872;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.hero-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* Responsive tweaks */

@media (max-width: 768px) {
  .hero-title {
    letter-spacing: 0.18em;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}
