/* ===== HOME PAGE CSS ===== */
:root {
  --white: #fff;
  --black: #000;
  
  /* Consistent navigation spacing */
  --nav-padding-y: 20px;
  --nav-padding-x: clamp(16px, 4vw, 40px);
  --content-padding: clamp(16px, 5vw, 40px);
  
  /* Typography scale */
  --font-brand: clamp(18px, 2.4vw, 24px);
  --font-hero: clamp(24px, 3.8vw, 48px);
}

/* ===== RESET & BASE ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  height: 100vh;
  font-family: 'Libre Baskerville', serif;
  color: var(--white);
  background: var(--black);
}

/* ===== NAVIGATION ===== */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: var(--nav-padding-y) var(--nav-padding-x);
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0));
}

.brand {
  letter-spacing: .06em;
  font-weight: 700;
  font-size: var(--font-brand);
}
.brand a {
  color: var(--white);
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.menu {
  display: flex;
  gap: clamp(16px, 2.5vw, 24px);
  flex-wrap: wrap;
}
.menu a {
  color: var(--white);
  text-decoration: none;
  opacity: .92;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
  transition: opacity .2s ease;
}
.menu a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.menu a[aria-current="page"] {
  font-weight: 700;
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ===== FULL-SCREEN SLIDER ===== */
.slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.track {
  height: 100%;
}
.slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(105%);
  transform: scale(1.06) translateX(2%);
  animation: heroMotion 1.2s cubic-bezier(.22,.75,.2,1) both;
}
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.4), rgba(0,0,0,.1));
}
.slide-content {
  position: relative;
  z-index: 2;
  width: 60%;
  max-width: 720px;
  padding: var(--content-padding);
  animation: fadeInUp .9s ease .1s both;
}
.slide-content h1 {
  margin: 0 0 14px;
  font-weight: 700;
  font-size: var(--font-hero);
  line-height: 1.12;
  color: var(--white);
}
.slide-content p {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.6;
  color: #f0f0f0;
}

/* ===== ANIMATIONS ===== */
@keyframes heroMotion {
  from { opacity: .8; transform: scale(1.12) translateX(4%); }
  to { opacity: 1; transform: scale(1.02) translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .slide-bg, .slide-content { animation: none; }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .menu {
    gap: 12px;
  }
}