/* -----------------------------------------
   GLOBAL RESET
----------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: #f7f7f7;
  color: #222;
}

/* -----------------------------------------
   TYPOGRAPHY
----------------------------------------- */
:root {
  --headline-color: #222; /* default dark color */
}

.headline-sticker {
  color: var(--headline-color);
  transition: color 0.3s ease;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.playwrite-cu-guides-regular {
  font-family: "Playwrite CU Guides", cursive;
  font-weight: 400;
  font-style: normal;
}

/* -----------------------------------------
   SECTION LAYOUT
----------------------------------------- */

.snap-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.snap-section {
  scroll-snap-align: start;
  min-height: 100vh;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* -----------------------------------------
   MAIN NAVIGATION
----------------------------------------- */
nav {
  opacity: 0;
  transition: opacity 1s ease;
}

nav.nav-visible {
  opacity: 1;
}

nav a {
  position: relative;
  text-decoration: none;
}

.nav-links {
  margin: 0;
  padding: 0;
}

nav a.active::after,
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  transition: transform 0.3s ease;
}

nav a.active::after {
  background: #000;
  opacity: 1;
  transform: scaleX(1);
}

nav a::after {
  background: #000;
  opacity: 0.3;
  transform: scaleX(0);
}

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 40px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  z-index: 999;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo a {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #000;
}


/* -----------------------------------------
   RESPONSIVE VISIBILITY
----------------------------------------- */
.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

@media screen and (max-width: 820px) {
  .desktop-only { display: none; }
  .mobile-only { display: block; }
}

/* -----------------------------------------
   HAMBURGER ICON
----------------------------------------- */
.hamburger {
  width: 30px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #222;
  border-radius: 3px;
  transition: transform 0.35s ease, opacity 0.35s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 820px) {
  .hamburger { display: flex; }
}

/* -----------------------------------------
   MOBILE MENU
----------------------------------------- */
.mobile-menu {
  list-style: none;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  width: 260px;
  height: 100vh;
  padding: 80px 20px;
  margin: 0;
  position: fixed;
  top: 0;
  left: -260px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 4px 0 20px rgba(0,0,0,0.08);
  transition: left 0.35s ease;
}

.mobile-menu.show { left: 0; }

.mobile-menu a {
  text-decoration: none;
  color: #222;
  font-size: 1.3rem;
  font-weight: 500;
}
