/*
Theme Name: AvStrategies
Theme URI: https://avstrategies.com
Description: Custom child theme for AvStrategies - Aviation M&A Advisory
Author: Brandon Foley
Template: generatepress
Version: 1.1.0
*/

/*
  NOTE: "Template" must match the exact folder name of your parent theme
  on the server (typically wp-content/themes/<folder-name>).
  GeneratePress is usually "generatepress" — verify in Appearance > Themes
  by hovering the theme and checking the folder name, or via FTP/SFTP.
*/

@view-transition { navigation: auto; }
::view-transition-old(header), ::view-transition-new(header) { animation: none; }
/* Reset only applied via functions.php on frontend pages, not here */
:root {
  --navy-deep: #06101F;
  --navy: #0B1A2E;
  --navy-mid: #122240;
  --steel: #2E4460;
  --slate: #4A6380;
  --silver: #8A9BB0;
  --mist: #B8C5D4;
  --cloud: #D6DFE8;
  --pearl: #EDF1F5;
  --white: #F7F8FA;
  --pure: #FFFFFF;
  --accent: #7BBFDE;
  --accent-light: #96d0e8;
  --accent-dim: rgba(123, 191, 222, 0.12);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}
.av-page-wrapper { display: block !important; width: 100% !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
html { scroll-behavior: smooth; font-size: clamp(16px, 0.9vw, 22px); }
body { font-family: var(--font-body); color: var(--navy); background: #f4f6f9; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* Nav — unchanged */
.av-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10,22,40,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(123,191,222,0.15); view-transition-name: header; }
.av-nav.scrolled { background: rgba(10,22,40,0.97); box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.av-nav-inner { max-width: 1600px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 3rem; height: clamp(68px, 5vw, 88px); }
.av-nav-logo { display: flex; align-items: center; text-decoration: none; }
.av-nav-logo-img { height: clamp(36px, 2.5vw, 48px); width: auto;  }
.av-nav-links { display: flex; gap: 1.2rem; align-items: center; }
.av-nav-links a { color: var(--cloud); text-decoration: none; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; transition: color 0.3s; position: relative; white-space: nowrap; }
.av-nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.3s; }
.av-nav-links a:hover { color: var(--accent); }
.av-nav-links a:hover::after { width: 100%; }
.av-nav-links a.active { color: var(--accent); }
.av-nav-links a.active::after { width: 100%; }
.av-nav-cta { background: var(--accent) !important; color: var(--navy) !important; padding: 7px 16px !important; border-radius: 3px; font-weight: 700 !important; transition: background 0.3s !important; }
.av-nav-cta:hover { background: var(--accent-light) !important; }
.av-nav-cta::after { display: none !important; }
.av-mobile-toggle { display: none; background: none; border: none; color: var(--pure); cursor: pointer; padding: 8px; }
.av-mobile-toggle svg { width: 24px; height: 24px; }
.av-mobile-menu { display: none; position: fixed; top: clamp(68px, 5vw, 88px); left: 0; right: 0; bottom: 0; background: rgba(10,22,40,0.98); z-index: 99; padding: 2rem; flex-direction: column; overflow-y: auto; }
.av-mobile-menu.open { display: flex; }
.av-mobile-menu a { display: block; padding: 1rem 0; color: var(--cloud); text-decoration: none; font-size: 1rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.06); transition: color 0.3s; }
.av-mobile-menu a:hover { color: var(--accent); }

/* Page header */
.av-page-header { min-height: 280px; padding: 10rem 2rem 3rem; background: var(--navy-deep); display: flex; align-items: flex-end; }
.av-page-header-inner { max-width: 1340px; margin: 0 auto; width: 100%; }
.av-page-header h1 { font-family: var(--font-display); font-size: clamp(2rem,4vw,3rem); font-weight: 500; color: var(--pure); line-height: 1.2; }

/* Hero (homepage only) — keep structure, update font */
.av-hero { position: relative; min-height: 50vh; background: var(--navy-deep); overflow: hidden; margin-top: 0 !important; padding-top: 0 !important; }
.av-hero-bg { position: absolute; inset: 0; background: url('https://avstrategies.com/wp-content/uploads/2026/03/cropped-horizon-flights-QGlmqMEBMB8-unsplash-scaled-1.jpg') center/cover no-repeat; filter: brightness(0.35) contrast(1.1); transform: scale(1.05); animation: avHeroZoom 20s ease-out forwards; }
@keyframes avHeroZoom { to { transform: scale(1); } }
.av-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,16,31,0.95) 0%, rgba(6,16,31,0.6) 40%, rgba(6,16,31,0.2) 100%); }
.av-hero-content { position: relative; z-index: 2; max-width: 1600px; margin: 0 auto; padding: 200px 3rem 60px !important; width: 100%; }
.av-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem,3.5vw,3.2rem); font-weight: 400; line-height: 1.15; color: var(--pure); max-width: 600px; margin-bottom: 1.5rem; opacity: 0; animation: avFadeUp 0.8s 0.3s ease forwards; }
.av-hero h1 em { font-style: italic; color: var(--accent); }
.av-hero-sub { font-size: 0.95rem; font-weight: 300; line-height: 1.7; color: #ffffff; max-width: 500px; opacity: 0; animation: avFadeUp 0.8s 0.5s ease forwards; }
@keyframes avFadeUp { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }

/* Content wrap — 128px side padding */
.content-wrap { max-width: 1600px; margin: 0 auto; padding-left: 128px; padding-right: 128px; }

/* Shared content styles */
.av-section { padding: 2.5rem 2rem; }
.av-section-inner { max-width: 1600px; margin: 0 auto; padding: 0 3rem; }
.av-section-title { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; line-height: 1.2; color: var(--navy); margin-bottom: 1.5rem; }
.av-section-text { font-size: 1.05rem; line-height: 1.8; color: var(--steel); margin-bottom: 1rem; }
.av-section-text strong { color: var(--navy); font-weight: 700; }
.av-section-text em { color: var(--navy); font-style: italic; font-weight: 600; }
.av-bullet-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.av-bullet-list li { display: flex; align-items: baseline; gap: 14px; padding: 0.35rem 0; font-size: 1rem; color: var(--steel); line-height: 1.6; }
.av-bullet-list li::before { content: '—'; color: var(--accent); flex-shrink: 0; font-size: 0.9rem; }
.av-subsection-title { font-family: var(--font-body); font-size: 1.25rem; font-weight: 700; color: var(--navy); margin: 2rem 0 0.8rem; }
.av-subsection-title:first-child { margin-top: 0; }

/* Two-column layout with vertical divider */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-bottom: 4rem; }
.two-col-divided { display: grid !important; grid-template-columns: 1.05fr 0.95fr !important; gap: 48px; align-items: start; margin-bottom: 3rem; position: relative; }
.two-col-divided::before { display: none; }
.two-col-divided::after { display: none; }
.two-col-divided + .two-col-divided { margin-top: 0; }
.two-col-divided + .two-col-divided::before { display: none; }
.two-col-divided > .col-left { padding-right: 0; }
.two-col-divided > .col-right { padding-left: 0; }
.two-col-divided > .col-divider { display: none !important; }

/* Column headers */
.col-label { font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; color: var(--navy); margin-bottom: 24px; letter-spacing: -0.01em; text-transform: none; }

/* Column body text */
.col-body { font-size: 1.05rem; line-height: 1.85; color: #3f5d80; margin-bottom: 20px; }
.col-body p { font-size: 1.05rem; line-height: 1.85; color: #3f5d80; margin-bottom: 20px; }

/* Column list */
.col-list { list-style: none; padding: 0; margin: 0; }
.col-list li { display: flex; align-items: baseline; gap: 14px; font-size: 1rem; line-height: 1.6; color: #2c4666; padding: 0.4rem 0; }
.col-list li::before { content: '—'; color: var(--accent); flex-shrink: 0; font-size: 0.9rem; }

/* Column aside/note text */
.col-aside { margin-top: 20px; font-size: 1rem; color: #3f5d80; line-height: 1.7; }


/* Lead/intro text */
.av-lead { max-width: 50% !important; width: 50% !important; font-size: 1.05rem; line-height: 1.8; font-style: italic; font-weight: 400; color: var(--navy); margin-bottom: 3rem !important; padding-bottom: 2rem; border-bottom: 1px solid #d8dee6; }
.av-lead p { font-size: inherit; line-height: inherit; font-style: inherit; font-weight: 400; color: inherit; margin: 0; }

/* Principal section */
.principal-section { padding: 3rem 0 0; border-top: 1px solid #d8dee6; margin-top: 3rem; }
.principal-heading { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; color: var(--navy); margin-bottom: 20px; }
.principal-bio { max-width: 100%; }
.principal-bio p { font-size: 1.05rem; line-height: 1.85; margin-bottom: 16px; color: #3f5d80; }

/* Contact section — circle icons */
.av-home-contact { background: var(--navy-deep); padding: 5rem 2rem; }
.av-home-contact .av-section-title { color: var(--pure); text-align: center; }
.av-home-contact .av-contact-methods { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.av-home-contact .av-contact-method { display: flex; align-items: center; gap: 14px; color: var(--cloud); text-decoration: none; font-size: 1rem; transition: color 0.3s; }
.av-home-contact .av-contact-method:hover { color: var(--accent); }
.av-contact-icon-circle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--slate); transition: border-color 0.3s; }
.av-contact-method:hover .av-contact-icon-circle { border-color: var(--accent); }
.av-contact-icon-circle svg { width: 18px; height: 18px; color: var(--accent); }

/* Footer — unchanged */
.av-footer { background: #0d1f35; border-top: 1px solid rgba(255,255,255,0.06); padding: 2.5rem 2rem; view-transition-name: footer; margin-top: auto; }
html { height: 100%; }
body { min-height: 100%; display: flex; flex-direction: column; }
body > .site, body > #page { flex: 1; }
.site, #page, .av-page-wrapper { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.av-section:last-child, .av-about:last-child { border-bottom: none !important; margin-bottom: 0 !important; }
.av-page-header + .av-section { border-top: none; }
.av-section { border-bottom: none !important; }
.av-footer-inner { max-width: 1600px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 3rem; }
.av-footer-left { display: flex; align-items: center; gap: 14px; }
.av-footer-logo { height: 28px; width: auto; opacity: 0.6; }
.av-footer-text { display: flex; flex-direction: column; gap: 2px; }
.av-footer-copy { font-size: 0.8rem; color: var(--silver); }
.av-footer-tagline { font-size: 0.7rem; color: var(--slate); letter-spacing: 0.05em; }
::view-transition-old(footer), ::view-transition-new(footer) { animation: none; }

/* Investor Profiles page */
.inv-section { background: var(--white); padding: 5rem 2rem 6rem; }
.inv-intro { max-width: 720px; font-size: 1.05rem; line-height: 1.8; font-style: italic; color: #5a7090; margin-bottom: 1.5rem; }
.inv-intro p { font-size: inherit; line-height: inherit; font-style: inherit; color: inherit; margin: 0; }
.inv-rule { width: 48px; height: 2px; background: var(--accent); margin-bottom: 3.5rem; }
.inv-grid { display: flex; flex-direction: column; gap: 0; }
.inv-row { display: grid; grid-template-columns: 1fr 1fr; }
.inv-cell { display: flex; align-items: center; gap: 18px; padding: 0.85rem 0; }
.inv-cell:last-child { padding-left: 2rem; }
.inv-dash { color: var(--accent); font-size: 1.1rem; font-weight: 400; flex-shrink: 0; line-height: 1; }
.inv-label { font-size: 1rem; color: var(--navy); line-height: 1.4; }

/* Assets page */
.assets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 1rem; }
.assets-list .col-list { margin: 0; }
.assets-text { font-size: 1rem; line-height: 1.8; color: #3f5d80; border-left: 2px solid var(--accent); padding-left: 1.5rem; }
.assets-text p { margin: 0; }

/* Legacy page styles kept for non-about pages */
.av-about { background: var(--white); padding: 1.5rem 2rem 2rem; }
.av-about + .av-about { padding-top: 0; }
.av-about-intro { max-width: 800px; margin-bottom: 2.5rem; font-size: 1.15rem !important; line-height: 1.6 !important; }
.av-sellers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.av-revenue-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; background: var(--accent-dim); border-radius: 100px; font-size: 0.85rem; font-weight: 700; color: var(--accent); margin: 0.5rem 0 1.5rem; }
.av-timeline-note { margin-top: 1.5rem; padding: 1.2rem 1.5rem; background: var(--pearl); border-radius: 6px; font-size: 0.88rem; color: var(--steel); line-height: 1.7; }
.av-transactions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 1000px; margin-left: auto; margin-right: auto; }
.av-transaction-card { border: 1px solid var(--pearl); border-radius: 8px; overflow: hidden; background: var(--pure); }
.av-transaction-img { width: 100%; background: var(--pearl); }
.av-transaction-img img { width: 100%; height: auto; display: block; }
.av-transactions-grid > div { display: flex; flex-direction: column; }
.av-transaction-title { font-family: var(--font-display); font-size: 1rem; font-weight: 500; color: var(--navy); margin-bottom: 0.8rem; min-height: 2.8rem; display: flex; align-items: flex-end; }
.av-transaction-card h4 { padding: 1.2rem 1.5rem; font-family: var(--font-display); font-size: 1rem; font-weight: 500; color: var(--navy); }
.av-transaction-card p { padding: 0 1.5rem 1.5rem; font-size: 0.88rem; color: var(--steel); line-height: 1.6; }
.av-transaction-read-more { display: inline-block; margin-top: 0.6rem; font-size: 0.82rem; color: var(--accent); text-decoration: none; font-weight: 500; }
.av-transaction-read-more:hover { text-decoration: underline; }
.av-transaction-card-link { text-decoration: none; display: block; cursor: pointer; }
.av-transaction-link-text { display: block; padding: 0.8rem 1.5rem 1.2rem; font-size: 0.82rem; color: var(--accent); font-weight: 600; }
.av-assets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.av-principal-grid { display: grid; grid-template-columns: auto 1fr; gap: 4rem; align-items: start; }
.av-principal-image { width: 320px; position: relative; }
.av-principal-image::before { content: ''; position: absolute; top: -10px; left: -10px; width: 100%; height: 100%; border: 2px solid var(--accent); border-radius: 6px; z-index: 0; }
.av-principal-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center top; border-radius: 6px; position: relative; z-index: 1; }
.av-principal-role { font-size: 1rem; color: var(--accent); font-weight: 500; margin-bottom: 2rem; font-family: var(--font-display); font-style: italic; }
.av-credentials { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin-top: 2rem; }
.av-credential { font-size: 0.8rem; font-weight: 500; color: var(--steel); letter-spacing: 0.01em; }
.av-credential-sep { width: 3px; height: 3px; background: var(--mist); border-radius: 50%; margin: 0 0.75rem; flex-shrink: 0; }
.av-press-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; align-items: stretch; }
.av-press-item { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.5rem; background: var(--pure); border: 1px solid var(--pearl); border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); transition: all 0.3s; text-decoration: none; cursor: pointer; }
.av-press-item:hover { border-color: var(--accent); box-shadow: 0 4px 20px rgba(123,191,222,0.08); }
.av-press-dot { display: none; }
.av-press-item::before { content: ''; display: block; flex-shrink: 0; align-self: center; width: 16px; height: 2px; background: #5b8fa8; }
.av-press-item-text { display: flex; flex-direction: column; gap: 6px; }
.av-press-item span:not(.av-press-item-meta) { font-size: 0.9rem; color: var(--navy); font-weight: 500; line-height: 1.4; }
.av-press-item-meta { font-size: 17px; color: #9aaab8; font-weight: 400; display: block; }
.av-about-content { max-width: 100%; }
.av-about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.av-contact-section { padding: 0 2rem 6rem; }
.av-contact-inner { max-width: 700px; margin: 0 auto; }
.av-contact-methods { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.av-contact-method { display: flex; align-items: center; gap: 10px; color: var(--cloud); text-decoration: none; font-size: 1rem; transition: color 0.3s; }
.av-contact-method:hover { color: var(--accent); }
.av-contact-method svg { width: 20px; height: 20px; color: var(--accent); }
.av-contact-timezone { font-size: 0.82rem; color: var(--silver); text-align: center; margin-bottom: 3rem; }
.av-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.av-contact-form input, .av-contact-form textarea { width: 100%; padding: 14px 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 4px; color: var(--pure); font-family: var(--font-body); font-size: 0.9rem; transition: border-color 0.3s; }
.av-contact-form input:focus, .av-contact-form textarea:focus { outline: none; border-color: var(--accent); }
.av-contact-form input::placeholder, .av-contact-form textarea::placeholder { color: var(--silver); }
.av-contact-form textarea { min-height: 140px; resize: vertical; }
.av-contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.av-btn-submit { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; font-family: var(--font-body); background: var(--accent); color: var(--navy); border: none; border-radius: 3px; cursor: pointer; transition: background 0.3s; }
.av-btn-submit:hover { background: var(--accent-light); }
/* WordPress block content between shortcodes — inherit page styles */
.av-contact-section .wp-block-paragraph,
.av-contact-section p.wp-block-paragraph {
  color: var(--cloud) !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  max-width: 600px !important;
  margin: 0 auto 2.5rem !important;
  text-align: center !important;
}
.av-about .wp-block-paragraph,
.av-about p.wp-block-paragraph {
  font-size: 0.95rem !important;
  line-height: 1.8 !important;
  color: var(--steel) !important;
  margin-bottom: 1rem !important;
}
.av-about .wp-block-heading {
  font-family: var(--font-display) !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
  margin: 2rem 0 0.8rem !important;
}
.av-about .wp-block-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 1.5rem !important;
}
.av-about .wp-block-list li {
  padding: 0.5rem 0 0.5rem 1.4rem !important;
  position: relative !important;
  font-size: 0.92rem !important;
  color: var(--steel) !important;
  line-height: 1.6 !important;
}
.av-about .wp-block-list li::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.95rem !important;
  width: 6px !important;
  height: 6px !important;
  background: var(--accent) !important;
  border-radius: 50% !important;
}

/* Fade-in animation on scroll — temporarily showing all */
.fade-in { opacity: 1; transform: none; }
.fade-in.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1280px) {
  .content-wrap { padding-left: 3rem; padding-right: 3rem; }
}
@media (max-width: 1024px) {
  .av-nav-links { display: none; }
  .av-mobile-toggle { display: block; }
  .two-col, .two-col-divided { grid-template-columns: 1fr; gap: 0; }
  .two-col-divided > .col-left { padding-right: 0; padding-bottom: 2rem; border-bottom: 1px solid var(--pearl); }
  .two-col-divided > .col-divider { display: none; }
  .two-col-divided > .col-right { padding-left: 0; padding-top: 2rem; }
  .av-sellers-grid, .av-assets-grid, .av-about-columns { grid-template-columns: 1fr; gap: 1.5rem; }
  .av-principal-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .av-principal-image { width: 260px; margin: 0 auto; }
  .av-press-list { grid-template-columns: 1fr; }
  .av-transactions-grid { grid-template-columns: 1fr; }
  .content-wrap { padding-left: 2rem; padding-right: 2rem; }
}
@media (max-width: 640px) {
  .av-section, .av-about { padding: 3rem 1.2rem; }
  .av-hero-content { padding: 0 1.2rem 5rem; }
  .av-footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .av-contact-section { padding: 0 1.2rem 4rem; }
  .av-contact-methods { flex-direction: column; align-items: center; }
  .av-contact-form-row { grid-template-columns: 1fr; }
  .content-wrap { padding-left: 1.2rem; padding-right: 1.2rem; }
  .av-home-contact .av-contact-methods { flex-direction: column; align-items: center; }
}
@media (min-width: 2000px) {
  .av-section, .av-about { padding: 8rem 3rem; }
  .av-hero-content { padding: 0 3rem 10rem; }
  .av-page-header { min-height: 340px; padding: 12rem 3rem 4rem; }
}
