/* ---------- FONT IMPORT ---------- */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #fff;
}

a {
  color: inherit;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  /* Fixed image: bright, light-toned coastal scene. Replace this URL to swap the hero. */
  background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}

/* Light gradient overlay guarantees dark text stays readable on any light image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

nav {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 60px;
}

.logo {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 4px;
  color: #1a1a1a;
  text-decoration: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.nav-links a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.6;
}

.cta-button {
  background: #1a1a1a;
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s;
  cursor: pointer;
}

.cta-button:hover {
  background: #333;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 40px;
  margin-top: -80px;
}

.hero-content h1 {
  font-family: 'Archivo', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(36px, 6vw, 84px);
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.12;
  margin-bottom: 28px;
  max-width: 1100px;
  text-transform: uppercase;
}

.hero-content p {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  color: #1a1a1a;
  max-width: 640px;
}

/* ---------- SECTIONS ---------- */
section.content {
  padding: 140px 0;
  scroll-margin-top: 40px;
}

section.content.alt {
  background: #f7f7f5;
}

section.content .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.section-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Archivo', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 32px;
  max-width: 800px;
}

.section-text {
  font-size: 18px;
  color: #444;
  max-width: 680px;
  margin-bottom: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature {
  padding: 32px 0;
  border-top: 1px solid #e0e0e0;
}

.feature h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
}

.feature p {
  font-size: 15px;
  color: #666;
}

/* ---------- FOOTER ---------- */
footer {
  background: #1a1a1a;
  color: #888;
  padding: 60px;
  text-align: center;
  font-size: 14px;
}

footer .logo {
  color: #fff;
  display: block;
  margin-bottom: 16px;
}

/* ---------- SCROLL REVEAL ANIMATION ---------- */
/* Elements with .reveal start hidden and shifted down slightly.
   If JavaScript is disabled, the .js-enabled class never gets added
   and everything stays visible by default. */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* JavaScript adds .is-visible when the element scrolls into view */
.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger child feature cards so they reveal one after another */
.js-enabled .feature.reveal {
  transition-delay: 0.1s;
}

.js-enabled .feature.reveal:nth-child(2) {
  transition-delay: 0.25s;
}

.js-enabled .feature.reveal:nth-child(3) {
  transition-delay: 0.4s;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 720px) {
  nav {
    padding: 24px 24px;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-links a {
    font-size: 13px;
  }
  .cta-button {
    padding: 10px 20px;
    font-size: 13px;
  }
  .nav-right {
    gap: 20px;
  }
  section.content {
    padding: 80px 0;
  }
  section.content .inner {
    padding: 0 24px;
  }
}

@media (max-width: 520px) {
  .nav-links {
    display: none;
  }
}
