:root {
  --bg: #f8fbff;
  --surface: #ffffff;
  --text: #1f2a37;
  --muted: #526174;
  --border: #d8e4f2;
  --accent: #ff2d2d; /* red for links/highlight */
  --accent-soft: #ffe9e9;
}

/* Global styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: 90vw; /* same width as hero image content */
  max-width: 980px;
  margin: 0 auto;
}

/* Hero Banner */
.hero-banner {
  width: 100vw;
  height: 100vh; /* full screen height */
  margin-left: calc(50% - 50vw); /* full width, remove extra white space */
  margin-right: calc(50% - 50vw);
  background-image: url('/images/banner2.jpg'); /* replace with your image */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center */
  align-items: center; /* horizontal center */
  text-align: center;
  color: white;
  padding: 0 1rem;
}

/* Overlay for readability */
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}

/* Hero text content */
.hero-banner-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-banner-content h1,
.hero-banner-content h2,
.hero-banner-content p {
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-title {
  margin-top: 2.5rem;
}

.hero-cta-link {
  color: #fff;
}

/* Hero menu on top right */
.hero-menu {
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  z-index: 2;
}

.hero-menu-links {
  display: flex;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.38);
  padding: 10px 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero-menu.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hero-menu.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.hero-menu.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-menu .menu-item {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.3);
  transition: 0.3s;
}

.hero-menu .menu-item:hover,
.hero-menu .menu-item.active {
  background: var(--accent);
  color: var(--surface);
}

/* Content sections below hero */
.content-section {
  background: var(--surface);
  padding: 2rem 1rem;
  margin: 0 auto;
  max-width: 900px; /* same width as hero content */
  border-radius: 16px;
  margin-top: 2rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.content-section h2 {
  margin-top: 0;
  color: var(--text);
}

.content-section a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.content-section a:hover {
  text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 760px) {
  .hero-banner {
    justify-content: flex-start;
    padding-top: 6.5rem;
    padding-bottom: 2.5rem;
    min-height: 100svh;
    height: auto;
  }

  .hero-banner-content {
    max-width: 92vw;
  }

  .hero-banner-content h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.2;
  }

  .hero-banner-content h2 {
    font-size: clamp(1.1rem, 4.8vw, 1.5rem);
    line-height: 1.3;
  }

  .hero-cta-title {
    margin-top: 1.5rem;
  }

  .hero-menu {
    flex-direction: column;
    align-items: flex-end;
    top: 1rem;
    right: 1rem;
    gap: 0.5rem;
  }

  .menu-toggle {
    display: block;
  }

  .hero-menu-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(74vw, 260px);
    border-radius: 14px;
    padding: 0.6rem;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(5px);
  }

  .hero-menu.is-open .hero-menu-links {
    display: flex;
  }

  .hero-menu .menu-item {
    display: block;
    width: 100%;
    text-align: left;
  }

  .content-section {
    padding: 1rem;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .hero-banner {
    justify-content: flex-start;
    padding-top: 5.25rem;
    padding-bottom: 1.25rem;
    min-height: 100svh;
  }

  .hero-banner-content {
    max-width: min(90vw, 780px);
  }

  .hero-banner-content h1 {
    font-size: clamp(1.25rem, 3.4vw, 1.8rem);
    margin-bottom: 0.4rem;
  }

  .hero-banner-content h2 {
    font-size: clamp(1rem, 2.8vw, 1.35rem);
    margin: 0.3rem auto;
  }

  .hero-banner-content p {
    margin: 0.2rem auto;
  }

  .hero-cta-title {
    margin-top: 0.8rem;
  }
}