/* ═══════════════════════════════════════════════
   Marketing Surfer — Global Stylesheet
   Faithful to original: dark navy, red accents,
   warm gold text, ocean photography aesthetic
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600;700&family=Barlow:ital,wght@0,300;0,400;0,600;0,700;1,300&display=swap');

:root {
  --navy:   #2b3244;
  --navy-dark: #1e2636;
  --navy-light: #353d54;
  --red:    #8b1a1a;
  --red-bright: #a52020;
  --gold:   #d4a820;
  --gold-light: #e8c040;
  --cream:  #f0ead8;
  --white:  #ffffff;
  --text:   #dde3ee;
  --text-dim: #9aa3b8;
  --border: rgba(255,255,255,0.1);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--navy);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; font-weight: 600; }

.handwriting {
  font-family: 'Caveat', cursive;
  font-weight: 600;
}

p { line-height: 1.7; font-weight: 300; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; right: 0;
  z-index: 200;
  padding: 0.8rem 1.5rem;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  background: rgba(30, 38, 54, 0.9);
  backdrop-filter: blur(8px);
  border-bottom-left-radius: 6px;
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
nav a {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(221, 227, 238, 0.65);
  letter-spacing: 0.04em;
  text-transform: capitalize;
  transition: color 0.2s;
}
nav a:hover, nav a.active { color: var(--gold); }

/* Hamburger for mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── LOGO BADGE ── */
.logo-badge {
  display: inline-block;
  background: var(--red);
  border-radius: 8px;
  padding: 0.4rem 1rem;
  font-family: 'Caveat', cursive;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  line-height: 1.2;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
  text-decoration: none;
  border: 2px solid rgba(139,26,26,0.6);
  transition: transform 0.2s, box-shadow 0.2s;
}
.logo-badge:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(0,0,0,0.6); color: var(--gold-light); }

/* ── HERO HEADER (with background image) ── */
.page-header {
  position: relative;
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem 2rem;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.55);
}
.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(43,50,68,0.85) 100%);
}
.page-header .logo-badge { position: relative; z-index: 2; }

/* ── HERO FULL (home page) ── */
.hero-full {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

/* Right side — ocean photo */
.hero-photo {
  position: relative;
  min-height: 100vh;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-photo .logo-overlay {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(43,50,68,0.4) 0%, transparent 40%);
}

/* Left side — content */
.hero-content {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 3rem 3rem;
  position: relative;
  z-index: 2;
}

/* ── RED HERO BANNER ── */
.hero-banner {
  background: var(--red);
  padding: 1.5rem 2.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}
.hero-banner p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  text-align: center;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  border: 2px solid var(--red-bright);
  border-radius: 30px;
  padding: 0.75rem 1.8rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
}

.btn-dark {
  background: var(--navy-dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--red); color: var(--white); }

.btn-outline-red {
  background: transparent;
  color: var(--white);
  border-color: var(--red-bright);
}
.btn-outline-red:hover { background: var(--red); color: var(--white); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  font-weight: 700;
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ── CONTENT CARDS ── */
.card {
  background: var(--navy-light);
  border-radius: 6px;
  padding: 1.5rem 2rem;
  border: 1px solid var(--border);
}

.card h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.card p, .card li {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
}

.card ul {
  list-style: none;
  padding: 0;
}
.card ul li {
  padding: 0.3rem 0;
  padding-left: 1.1rem;
  position: relative;
}
.card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ── SECTION LAYOUT ── */
.section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-wide { max-width: 100%; padding: 4rem 3rem; }

.section-title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
  text-align: center;
}

/* ── GRID LAYOUTS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* ── CHALLENGE BUBBLES ── */
.challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative;
}
.challenge-item {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.1rem 1.4rem;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 300;
  font-style: italic;
  text-align: center;
  line-height: 1.4;
  transition: border-color 0.2s, background 0.2s;
}
.challenge-item:hover {
  border-color: var(--red-bright);
  background: rgba(139,26,26,0.1);
}

/* ── FAQ ACCORDION ── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.faq-q {
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  user-select: none;
}
.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0.75rem 0 0;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }
.faq-a ul { list-style: disc; padding-left: 1.3rem; margin-top: 0.5rem; }
.faq-a li { margin-bottom: 0.3rem; }

/* ── CONNECT PAGE (split layout) ── */
.connect-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.connect-left {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 3rem 3rem;
  gap: 1.5rem;
  position: relative;
}
.connect-right {
  position: relative;
  overflow: hidden;
}
.connect-right img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.connect-right .logo-overlay {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 70%;
}
.upside-text {
  transform: rotate(180deg);
  display: inline-block;
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  color: #7a5533;
  line-height: 1.5;
  position: absolute;
  top: 3rem; left: 2rem;
  text-align: left;
  width: 220px;
}

/* ── CONTACT FORM ── */
.contact-form {
  background: var(--navy-dark);
  border-radius: 6px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.contact-form-header {
  background: rgba(0,0,0,0.3);
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  border-bottom: 1px solid var(--border);
}
.contact-form-body { padding: 1.5rem; }
.form-notice {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.form-group label .req { color: #e05555; margin-left: 2px; }
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 0.65rem 0.9rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212,168,32,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(154,163,184,0.5); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { margin-top: 0.5rem; width: 100%; }
.form-success {
  display: none;
  padding: 1rem;
  background: rgba(0,168,100,0.1);
  border: 1px solid rgba(0,168,100,0.3);
  border-radius: 4px;
  color: #5dba8a;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1rem;
}

/* ── SILO CRUSHER PAGE ── */
.sc-header {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  gap: 2rem;
}
.sc-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
}
.sc-logo-badge {
  position: relative;
  z-index: 2;
  background: #1e2a3a;
  border: 3px solid var(--red);
  border-radius: 50%;
  padding: 0.8rem 1.5rem;
  font-family: 'Caveat', cursive;
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}
.sc-tagline-badge {
  position: relative;
  z-index: 2;
  background: rgba(30, 38, 54, 0.85);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 1.4rem;
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  color: var(--text);
}
.sc-quote {
  font-family: 'Caveat', cursive;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--text);
  line-height: 1.6;
  font-weight: 600;
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: left;
}

/* ── IMPRINT / PRIVACY (text pages) ── */
.text-page { max-width: 800px; margin: 0 auto; padding: 6rem 2rem 4rem; }
.text-page h1 { color: var(--gold); margin-bottom: 1.5rem; font-size: 1.8rem; }
.text-page h2 { color: var(--white); font-size: 1.1rem; margin: 1.8rem 0 0.6rem; }
.text-page p { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 0.8rem; line-height: 1.75; }
.text-page ul { padding-left: 1.3rem; margin-bottom: 0.8rem; }
.text-page li { font-size: 0.88rem; color: var(--text-dim); margin-bottom: 0.3rem; line-height: 1.6; }
.text-page a { color: var(--gold); }

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 1.5rem;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-bottom: 1.5rem;
}
.footer-nav a {
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-easter {
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  opacity: 0.7;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
  opacity: 0.5;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── INLINE CONNECT CTA ── */
.cta-box {
  border: 2px solid var(--red-bright);
  border-radius: 30px;
  padding: 0.85rem 1.8rem;
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  background: var(--navy-light);
  text-decoration: none;
  transition: background 0.2s;
}
.cta-box:hover { background: var(--red); color: var(--white); }

/* ── IMPACT HANDWRITING WORDS ── */
.handwriting-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 2rem 0;
  justify-content: center;
  align-items: center;
}
.hw-word {
  font-family: 'Caveat', cursive;
  color: var(--text-dim);
  line-height: 1;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

/* ════════════════════
   RESPONSIVE
   ════════════════════ */
@media (max-width: 768px) {
  nav {
    top: 0; right: 0; left: 0;
    border-radius: 0;
    border-left: none;
    padding: 0.7rem 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  .nav-links-wrap {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
  }
  .nav-links-wrap.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero-full { grid-template-columns: 1fr; }
  .hero-photo { min-height: 240px; }
  .hero-content { padding: 5rem 1.5rem 2rem; }

  .connect-split { grid-template-columns: 1fr; }
  .connect-right { min-height: 300px; }
  .connect-left { padding: 5rem 1.5rem 2rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .challenge-grid { grid-template-columns: 1fr; }

  .section { padding: 2.5rem 1.2rem; }
  .section-wide { padding: 2.5rem 1.2rem; }

  .sc-header { flex-direction: column; align-items: flex-start; height: auto; padding: 5rem 1.2rem 1.5rem; }

  .footer-nav { gap: 0.7rem 1.2rem; }
  .upside-text { font-size: 0.85rem; }
}
