:root {
  --overlay-color: rgba(0, 0, 0, 0.5);
  --text-color: #fff;
  --accent: #facc15;
  --font: 'Segoe UI', sans-serif;
  --nav-bg: rgba(0, 0, 0, 0.8);
  --nav-height: 60px;
  --section-padding: clamp(2rem, 5vw, 5rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  color: var(--text-color);
  background-color: #000;
  scroll-behavior: smooth;
  line-height: 1.6;
  padding-top: var(--nav-height); /* offset body so content is not hidden */
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--nav-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  z-index: 1000;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

nav a:hover {
  background: var(--accent);
  color: #000;
  transition: 0.3s;
}

.section {
  padding: var(--section-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

/* Hero Section */
.hero {
  background: url('assets/bg.jpg') center center / cover no-repeat;
  min-height: 100vh;
  position: relative;
  margin-top: -60px;
}

.hero .overlay {
  background: var(--overlay-color);
  width: 100%;
  height: 100%;
  position: relative;
}

/* Welcome text at bottom center */
.hero-text {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--accent);
  margin-bottom: 1rem;
  text-align: left;
}

h2 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: var(--accent);
  margin-bottom: 1rem;
}

p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  text-align: left;
}

/* Responsive Enhancements */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    height: auto;
    padding: 0.75rem;
  }

  nav a {
    font-size: 1.1rem;
  }

  .hero-text {
    bottom: 2rem;
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }
}
