/*
Theme Name: Linch Financial
Theme URI:
Author: Lakehue
Author URI:
Description: Custom WordPress theme for Linch Financial
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: linch-financial
*/

/* ============================================================
   SHARED STYLES — sourced from styles.css prototype
   ============================================================ */

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

:root {
  --bg: #146797;
  --white: rgba(255, 255, 255, 0.08);
  --deep: #0f1729;
  --deep-soft: #1e2a42;
  --blue: #2cadf6;
  --blue-light: rgba(44, 173, 246, 0.15);
  --blue-dark: #146797;
  --teal: #146797;
  --teal-light: rgba(20, 103, 151, 0.15);
  --cta: #ff7409;
  --cta-light: #fff3e8;
  --primary: #2cadf6;
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);
  --border: rgba(255, 255, 255, 0.12);
  --navbar-bg: rgba(16, 82, 120, 0.92);
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: var(--navbar-bg);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  margin-left: 2px;
  vertical-align: super;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links .current-menu-item > a,
.nav-links .current-page-ancestor > a {
  color: var(--text);
}
.nav-cta-wrap {
  background: var(--cta);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: 0.3px;
}

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Typography */
.section-tag-bold {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cta);
  margin-bottom: 12px;
  display: block;
}
.section-h2 {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* Buttons */
.btn-action {
  background: var(--cta);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(255, 116, 9, 0.25);
}
.btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 116, 9, 0.35);
}
.btn-ghost {
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s;
}
.btn-ghost:hover {
  border-color: var(--cta);
  color: var(--cta);
}
.btn-white-bold {
  background: #fff;
  color: var(--deep);
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}
.btn-white-bold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

/* Page hero (inner pages) */
.page-hero {
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden; /* clip decorative pseudo-elements that extend beyond viewport */
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  position: relative;
}
.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}
.page-hero .section-h2 {
  position: relative;
}
.page-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
  position: relative;
}

/* Check list */
.check-list {
  list-style: none;
  margin-bottom: 32px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 400;
}
.check-list li .ck {
  width: 24px;
  height: 24px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-list li .ck svg {
  width: 14px;
  height: 14px;
  color: #fff;
}

/* CTA band */
.big-cta {
  padding: 80px 0;
  background: var(--deep);
  text-align: center;
  color: #fff;
}
.big-cta .section-h2 {
  color: #fff;
}
.big-cta p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  margin-bottom: 28px;
  font-weight: 300;
}

/* Footer */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}
.footer p {
  margin-bottom: 6px;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   RESPONSIVE — 768px breakpoint
   ============================================================ */

@media (max-width: 768px) {
  /* Show hamburger, hide horizontal nav */
  .nav-hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
  }

  /* Mobile drawer (toggled by .nav-open class on <nav>) */
  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(16, 82, 120, 0.98);
    padding: 16px 24px 24px;
    gap: 0;
    border-top: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  }
  .nav-open .nav-links li {
    border-bottom: 1px solid var(--border);
  }
  .nav-open .nav-links li:last-child {
    border-bottom: none;
  }
  .nav-open .nav-links a {
    padding: 14px 0;
    display: block;
    font-size: 15px;
  }
  .nav-open .nav-links .nav-cta-wrap {
    margin: 12px 0;
    display: inline-block;
    padding: 12px 22px;
  }

  /* Hamburger → X animation when open */
  .nav-open .nav-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-open .nav-hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav-open .nav-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .page-hero .section-h2 {
    font-size: 30px;
  }
}
