/*
Theme Name: Sid Belcher Landing
Theme URI: https://sidbelcher.com
Author: Built for Sid Belcher
Description: Minimal theme for a subdomain landing page. Keeps the Sid Belcher header and footer, with a full-width, mobile-friendly blank canvas body for a lead-magnet landing page. Assign the "Full Width Landing" template to your page.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: sidbelcher-landing
*/

:root {
  --navy:        #0F1C3A;
  --navy-soft:   #1B2C50;
  --sky:         #5BA4F5;
  --sky-deep:    #3B82D6;
  --cream:       #F7F5F0;
  --paper:       #FFFFFF;
  --ink:         #1A1A1A;
  --ink-soft:    #4A4F57;
  --line:        #E2E0DA;

  --font-display: "Oswald", "Gotham Condensed", Impact, sans-serif;
  --font-body:    "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gap:  clamp(1rem, 3vw, 2.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase; margin: 0 0 0.5em; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 0.75rem 1.25rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ===== HEADER / NAV (same as main theme) ===== */
.site-topbar { background: var(--navy); color: #fff; font-size: 0.85rem; letter-spacing: 0.04em; }
.site-topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 1rem; flex-wrap: wrap; }
.site-topbar a { color: #fff; }
.site-topbar .brokerage { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; opacity: 0.85; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.site-logo img { max-height: 56px; width: auto; }
.site-logo .text-logo { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; color: var(--navy); letter-spacing: 0.04em; font-weight: 600; }

.main-nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; align-items: center; }
.main-nav a { font-family: var(--font-display); text-transform: uppercase; font-size: 0.92rem; letter-spacing: 0.06em; color: var(--navy); font-weight: 500; padding: 0.5rem 0; }
.main-nav a:hover { color: var(--sky-deep); text-decoration: none; }
.main-nav .menu-item-has-children { position: relative; }
.main-nav .sub-menu { position: absolute; top: 100%; left: 0; background: var(--navy); min-width: 220px; padding: 0.5rem 0; display: none; flex-direction: column; box-shadow: 0 12px 30px rgba(0,0,0,0.18); z-index: 50; }
.main-nav .menu-item-has-children:hover .sub-menu,
.main-nav .menu-item-has-children:focus-within .sub-menu { display: flex; }
.main-nav .sub-menu a { color: #fff; padding: 0.6rem 1.2rem; display: block; font-size: 0.82rem; }
.main-nav .sub-menu a:hover { background: var(--navy-soft); color: var(--sky); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-family: var(--font-display); text-transform: uppercase; color: var(--navy); font-size: 1rem; letter-spacing: 0.08em; }

/* ===== FULL-WIDTH BLANK BODY ===== */
/* The landing page content renders here with no width cap and no padding,
   so your lead-magnet page controls its own layout edge to edge. */
.landing-canvas { width: 100%; }
.landing-canvas > .entry-content { width: 100%; }
/* Let blocks/sections inside the page go full bleed by default */
.landing-canvas img { width: 100%; }

/* ===== FOOTER (same as main theme) ===== */
.site-footer { background: var(--navy); color: #cfd8e8; padding: 3rem 0 2rem; font-size: 0.9rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--gap); margin-bottom: 2rem; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: 0.08em; font-family: var(--font-display); text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem; font-size: 0.78rem; color: #94a3bd; display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.footer-badges { display: flex; gap: 1rem; align-items: center; }
.footer-badges img { height: 40px; width: auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 84px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); display: none; padding: 1rem var(--gap); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a { padding: 0.85rem 0; display: block; }
  .main-nav .sub-menu { position: static; display: block; background: var(--cream); box-shadow: none; padding-left: 1rem; }
  .main-nav .sub-menu a { color: var(--navy); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
