:root {
  --bg: #000;
  --text: #ffffff;
  --nav-bg: rgba(0, 0, 0, 0.65);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0.9rem 0;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.4rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Home hero with fullscreen video */
.intro {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-top: 56px; /* keep text clear of fixed nav */
  z-index: 1;
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

.intro-content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 1rem;
  background: transparent;
}

.intro h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.2rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}

/* About me appears below home on scroll */
.about-me-section {
  min-height: 100vh;
  width: 100%;
  background: #000;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 3;
  padding: 96px 1rem 48px;
}

.about-me-content {
  max-width: 760px;
  text-align: center;
}

.about-me-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.about-me-content p {
  margin: 0;
  line-height: 1.6;
  color: #d6d6d6;
}

.contact-info {
  background: #000;
  text-align: center;
  padding: 2rem 1rem 3rem;
  position: relative;
  z-index: 3;
}

.contact-info h2 {
  margin: 0 0 1rem;
}

.contact-info p {
  margin: 0.35rem 0;
}

.contact-info a {
  color: #8fd3ff;
}

/* Personal page */
.page-bg {
  min-height: 100vh;
  width: 100%;
  background: #000;
  color: #fff;
  padding-top: 72px;
}

.personal {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.personal h2 {
  margin-top: 0;
}
