/**
 * Landing Page Styles
 * File: assets/css/landing-page.css
 * Scope:
 *   - Landing content: .landing-page (inside <main>)
 *   - Header/Nav/Footer layout on landing template:
 *     .page-template-template-landing-page (body class)
 */

:root {
  --bg:  #FAF6F1;
  --text:  #3D3D3D;
  --muted: #5A5A5A;
  --card: #FFFFFF;
  --border: rgba(61,61,61,0.10);
  --shadow: 0 10px 30px rgba(61,61,61,0.08);
  --primary: #8B5A2B;
  --primaryHover: #744A25;
  --accent: #D4A574;
}

/* ---------------------------------------------------------
   Core layout helpers (prevents “everything stuck left”)
   --------------------------------------------------------- */

.landing-page {
  background: var(--bg);
  color: var(--text);
}

.landing-page .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.landing-page .container--narrow {
  max-width: 820px;
}

/* Section spacing */
.landing-page section {
  padding: clamp(28px, 4vw, 56px) 0;
}

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.landing-page .hero {
  padding: clamp(28px, 5vw, 72px) 0;
}

.landing-page .hero__inner {
  display: grid;
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

/* Center hero text like membership page */
.landing-page .hero__header {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.landing-page .hero__title {
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
}

.landing-page .hero__subtitle {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 18px 0;
}

.landing-page .hero__cta {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin-top: 10px;
}

.landing-page .hero__note {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Button styling (matches membership vibe, bold black text) */
.landing-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid transparent;
  user-select: none;
  transition: all 0.2s ease;
}

.landing-page .btn--primary {
  background: var(--accent);
  color: #111;
  border-color: rgba(61,61,61,0.18);
  box-shadow: 0 10px 20px rgba(61,61,61,0.12);
}

.landing-page .btn--primary:hover {
  background: #e1b686;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(61,61,61,0.16);
}

/* Feature cards grid */
.landing-page .hero__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto;
}

.landing-page .feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: var(--shadow);
  text-align: left;
}

.landing-page .feature__title {
  margin: 0 0 6px 0;
  font-size: 16px;
  line-height: 1.25;
}

.landing-page .feature__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

/* ---------------------------------------------------------
   Below-the-fold section
   --------------------------------------------------------- */

.landing-page .section-title {
  text-align: center;
  font-size: clamp(22px, 2.6vw, 36px);
  margin: 0 0 14px 0;
}

.landing-page .section-lead {
  text-align: center;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: clamp(15px, 1.2vw, 18px);
}

.landing-page .features-grid {
  margin-top: clamp(18px, 3vw, 28px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2.5vw, 26px);
}

.landing-page .feature-box {
  background: var(--card);
  padding: clamp(18px, 3vw, 26px);
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: left;
}

.landing-page .feature-box h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
}

.landing-page .feature-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------------------------------------------------------
   Final CTA
   --------------------------------------------------------- */

.landing-page .cta-section {
  padding-bottom: clamp(36px, 6vw, 80px);
}

.landing-page .cta-section .container--narrow {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 32px);
  text-align: center;
}

.landing-page .cta-section__text {
  margin: 0 auto 18px auto;
  max-width: 680px;
  color: var(--muted);
  line-height: 1.7;
  font-size: clamp(15px, 1.2vw, 18px);
}

.landing-page .cta-section__note {
  margin: 14px 0 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 780px) {
  .landing-page .hero__features {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------
   Header/Footer horizontal fix ONLY for this template page
   Body class: .page-template-template-landing-page
   --------------------------------------------------------- */

.page-template-template-landing-page #masthead .container,
.page-template-template-landing-page .site-header .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.page-template-template-landing-page .main-navigation ul,
.page-template-template-landing-page #primary-menu,
.page-template-template-landing-page nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.page-template-template-landing-page .main-navigation li,
.page-template-template-landing-page #primary-menu li,
.page-template-template-landing-page nav li {
  margin: 0;
  padding: 0;
}
