/* ═══════════════════════════════════════════════
   RBBA — Rockaway Beach Business Association
   Launching Soon — style.css

   COLOR PALETTE (extracted from Canva HTML):
   ─ #000000   pure black (all section backgrounds)
   ─ #ffffff   white (primary text, logo, headings)
   ─ #d0a933   gold (eyebrow text, accent — exact Canva value)
   ─ #6b6960   muted warm grey (section labels)
   ─ #b8b8b8   light grey (small uppercase labels in contact)
   ─ #3e4357   dark slate (Facebook text next to icon)

   FONTS (closest Google Fonts to Canva choices):
   ─ 'DM Sans'          → Body Grotesque Fit (body text, hero subhead)
   ─ 'Inter'            → HK Grotesk (logo wordmark)
   ─ 'Playfair Display' → ITC Benguiat (gold eyebrow line)
   ─ 'Lato'             → Lato (Facebook label)
   ═══════════════════════════════════════════════ */

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: #000;
  color: #fff;
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video {
  display: block;
  max-width: 100%;
}

a { text-decoration: none; color: inherit; }


/* ══════════════════════════════════════════════
   SECTION 1 — HERO
   ══════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Video background ── */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark tint overlay — darkened further to match the site's moody style */
.hero__tint {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

/* ── Brand: logo + org name (centered, above eyebrow) ── */
.hero__brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 0.75rem;
}

.hero__logo {
  width: clamp(38px, 4vw, 48px);
  height: clamp(38px, 4vw, 48px);
  object-fit: contain;
  flex-shrink: 0;
}

.hero__org-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.92rem, 1.6vw, 1.15rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-align: left;
}

/* ── Centre content ── */
.hero__center {
  position: relative;
  z-index: 5;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 6rem 1.5rem 4rem;
  max-width: 820px;
  width: 100%;
}

/* Gold eyebrow — "Something Big Is Coming" (v1 styling) */
.hero__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.85rem, 1.7vw, 1.05rem);
  font-weight: 600;
  color: #d0a933;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  line-height: 1.3;
}

/* Giant white headline — Playfair Display (v1 styling) */
.hero__headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3.5rem, 11vw, 8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
  margin-block: 0.1em 0.2em;
}

/* Subhead block — Inter light (v1 styling) */
.hero__subhead {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  max-width: 46ch;
}

/* ── Notify Me form ── */
.hero__form {
  width: 100%;
  max-width: 480px;
  margin-top: 0.5rem;
}

.hero__form-row {
  display: flex;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero__input {
  flex: 1;
  min-width: 0;
  padding: 0.85em 1.1em;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  border: none;
  outline: none;
}

.hero__input::placeholder { color: #888; }
.hero__input:focus { background: #fff; }

.hero__btn {
  padding: 0.85em 1.5em;
  background: #d0a933;
  color: #000;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero__btn:hover,
.hero__btn:focus-visible {
  background: #b8901e;
  outline: none;
}

.hero__form-note {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  margin-top: 0.55em;
}

/* ── Scroll indicator ── */
.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 1.5rem;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

.hero__scroll-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll { animation: none; }
}


/* ══════════════════════════════════════════════
   SECTION 2 — ABOUT
   Pure black background, centered content
   ══════════════════════════════════════════════ */
.about {
  background: #000;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
  display: flex;
  justify-content: center;
}

.about__inner {
  max-width: 720px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

/* Muted warm grey section label — uppercase, tracked */
.label {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  font-weight: 700;
  color: #6b6960;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

/* Large white body text */
.about__body {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

/* Subscribe CTA button — white pill/rounded rectangle */
.about__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 2.2em;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 400;
  transition: background 0.2s ease, color 0.2s ease;
}

.about__cta:hover,
.about__cta:focus-visible {
  background: #d0a933;
  color: #000;
  outline: none;
}


/* ══════════════════════════════════════════════
   SECTION 3 — CONTACT
   Photo block on top + solid black info strip below
   ══════════════════════════════════════════════ */
.contact {
  background: #000;
  display: flex;
  flex-direction: column;
}

/* ── Photo block ── */
.contact__photo {
  position: relative;
  width: 100%;
  height: clamp(320px, 38vw, 520px);
  overflow: hidden;
}

.contact__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Light tint so the white brand text stays legible */
.contact__photo-tint {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Logo + org name overlaid bottom-left on the photo */
.contact__brand {
  position: absolute;
  left: clamp(20px, 4vw, 48px);
  top: clamp(16px, 3vw, 28px);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact__logo {
  width: clamp(36px, 4vw, 46px);
  height: clamp(36px, 4vw, 46px);
  object-fit: contain;
  flex-shrink: 0;
}

.contact__org-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
}

/* ── Solid black strip with contact info ── */
.contact__strip {
  background: #000;
  width: 100%;
}

.contact__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(24px, 6vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
}

.contact__col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Grey uppercase labels: "CONTACT US", "OUR LOCATION", "FOLLOW US ON..." */
.contact__col-label {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.62rem, 1.1vw, 0.75rem);
  font-weight: 400;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

/* White body text for addresses / phone / email */
.contact__col-body {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.8rem, 1.4vw, 0.95rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* Email link */
.contact__link {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact__link:hover { color: #d0a933; }

/* Facebook social block */
.contact__social {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  transition: opacity 0.2s ease;
}

.contact__social:hover { opacity: 0.8; }

.contact__fb-icon {
  width: clamp(26px, 2.6vw, 32px);
  height: clamp(26px, 2.6vw, 32px);
  object-fit: contain;
  flex-shrink: 0;
}

/* "RBBA Facebook" text — matches the Facebook icon's blue */
.contact__fb-text {
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.75rem, 1.3vw, 0.9rem);
  color: #3E4355;
  line-height: 1.3;
}

.contact__fb-text strong {
  font-weight: 900;
  color: #3E4355;
}



/* ══════════════════════════════════════════════
   TOAST NOTIFICATION
   ══════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #d0a933;
  color: #000;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.8em 1.5em;
  border-radius: 2px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
  z-index: 9999;
  white-space: nowrap;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.toast--show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}


/* ══════════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 860px)
   ══════════════════════════════════════════════ */
@media (max-width: 860px) {
  .contact__cols {
    grid-template-columns: 1fr 1fr;
  }

  /* Social column goes full width on last row */
  .contact__col:last-child {
    grid-column: 1 / -1;
  }
}


/* ══════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 580px)
   ══════════════════════════════════════════════ */
@media (max-width: 580px) {
  /* Hero form stacks */
  .hero__form-row {
    flex-direction: column;
  }

  .hero__input {
    border-radius: 2px 2px 0 0;
  }

  .hero__btn {
    border-radius: 0 0 2px 2px;
    width: 100%;
    padding: 0.9em;
  }

  .hero__scroll { display: none; }

  .hero__center {
    padding-top: 6rem;
    padding-inline: 1.25rem;
    gap: 0.75rem;
  }

  /* Contact section: single column */
  .contact__cols {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .contact__col:last-child {
    grid-column: unset;
  }
}
