/*
Theme Name: AxisFreight
Theme URI: https://axisfreight.com
Author: AxisFreight LLC
Author URI: https://axisfreight.com
Description: Premium trucking and freight logistics WordPress theme. Single-page design with Services, Pricing, Contact, and all legal pages built in. Stripe-compliant with Refund Policy, Terms of Service, and Privacy Policy pages included.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: axisfreight
Tags: business, logistics, trucking, freight, one-page, responsive
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0D1B2A;
  --navy-mid: #162436;
  --blue: #2A6EBB;
  --blue-light: #3a82d4;
  --amber: #E8912D;
  --white: #FFFFFF;
  --gray-light: #F5F7FA;
  --gray-mid: #E2E8F0;
  --gray-text: #64748B;
  --body: 'Inter', sans-serif;
  --display: 'Barlow Condensed', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--white); color: var(--navy); line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: inherit; }

/* === NAVIGATION === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,27,42,0.97); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.site-logo { font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--white); text-decoration: none; letter-spacing: 1px; }
.site-logo span { color: var(--amber); }
.main-nav ul { display: flex; gap: 32px; list-style: none; }
.main-nav ul li a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.main-nav ul li a:hover { color: var(--white); }
.nav-cta-btn { background: var(--amber); color: var(--white) !important; padding: 10px 22px; border-radius: 4px; font-size: 14px; font-weight: 600 !important; text-decoration: none; transition: background 0.2s; }
.nav-cta-btn:hover { background: #d4801f !important; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
section { padding: 96px 0; }
.section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section-title { font-family: var(--display); font-size: clamp(32px, 4vw, 48px); font-weight: 800; text-transform: uppercase; line-height: 1.1; margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--gray-text); max-width: 560px; line-height: 1.7; }

/* === BUTTONS === */
.btn-primary { background: var(--amber); color: var(--white); padding: 16px 36px; border-radius: 4px; font-weight: 600; font-size: 15px; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer; display: inline-block; }
.btn-primary:hover { background: #d4801f; transform: translateY(-1px); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.3); color: var(--white); padding: 16px 36px; border-radius: 4px; font-weight: 600; font-size: 15px; text-decoration: none; transition: all 0.2s; background: transparent; cursor: pointer; display: inline-block; }
.btn-outline:hover { border-color: rgba(255,255,255,0.7); }

/* === HERO === */
.hero-section {
  min-height: 100vh; background: var(--navy);
  display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 68px;
}
.hero-section::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: var(--white); clip-path: polygon(0 100%, 100% 100%, 100% 40%, 0 100%); z-index: 1;
}
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0D1B2A 0%, #162436 50%, #0a1520 100%); }
.hero-lines { position: absolute; inset: 0; opacity: 0.04; background-image: repeating-linear-gradient(90deg, #fff 0, #fff 1px, transparent 0, transparent 80px); }
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-inner { padding: 80px 48px 160px; max-width: 1200px; margin: 0 auto; }
.hero-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--amber); margin-bottom: 20px; }
.hero-title { font-family: var(--display); font-size: clamp(52px, 7vw, 88px); font-weight: 800; line-height: 1; color: var(--white); text-transform: uppercase; margin-bottom: 24px; }
.hero-title span { color: var(--amber); }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.65); max-width: 560px; margin-bottom: 40px; font-weight: 400; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 60px; flex-wrap: wrap; }
.stat-num { font-family: var(--display); font-size: 40px; font-weight: 800; color: var(--white); line-height: 1; }
.stat-num span { color: var(--amber); }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* === SERVICES === */
.services-section { background: var(--white); }
.services-intro { margin-bottom: 56px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card { border: 1px solid var(--gray-mid); border-radius: 8px; padding: 36px 32px; transition: all 0.25s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform 0.3s; transform-origin: left; }
.service-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 48px; height: 48px; background: var(--gray-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 22px; }
.service-name { font-family: var(--display); font-size: 20px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; letter-spacing: 0.5px; }
.service-desc { font-size: 14px; color: var(--gray-text); line-height: 1.7; margin-bottom: 14px; }
.service-detail { font-size: 13px; color: var(--blue); font-weight: 600; }

/* === WHO WE SERVE === */
.who-section { background: var(--gray-light); }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.who-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.who-item { display: flex; align-items: flex-start; gap: 14px; padding: 20px; background: var(--white); border-radius: 6px; border-left: 3px solid var(--amber); }
.who-item-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.who-item-title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.who-item-text { font-size: 13px; color: var(--gray-text); line-height: 1.6; }
.who-visual { background: var(--navy); border-radius: 12px; padding: 48px; }
.who-visual-title { font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--white); text-transform: uppercase; margin-bottom: 32px; }
.coverage-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.coverage-item:last-child { border-bottom: none; }
.coverage-label { font-size: 13px; color: rgba(255,255,255,0.6); }
.coverage-val { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--amber); }

/* === PRICING === */
.pricing-section { background: var(--white); }
.pricing-intro { margin-bottom: 48px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 40px; }
.pricing-card { border: 1px solid var(--gray-mid); border-radius: 8px; padding: 36px; }
.pricing-card.featured { border-color: var(--blue); background: var(--navy); color: var(--white); }
.pricing-badge { display: inline-block; background: var(--amber); color: var(--white); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.pricing-label { font-size: 13px; color: var(--gray-text); margin-bottom: 8px; }
.pricing-card.featured .pricing-label { color: rgba(255,255,255,0.5); }
.pricing-amount { font-family: var(--display); font-size: 36px; font-weight: 800; margin-bottom: 4px; }
.pricing-note { font-size: 12px; color: var(--gray-text); margin-bottom: 24px; }
.pricing-card.featured .pricing-note { color: rgba(255,255,255,0.4); }
.pricing-card.featured .service-name { color: var(--white); }
.pricing-card.featured .service-desc { color: rgba(255,255,255,0.6); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li { font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.pricing-features li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }
.pricing-card.featured .pricing-features li::before { color: var(--amber); }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.8); }
.pricing-disclaimer { background: var(--gray-light); border-radius: 6px; padding: 20px 24px; font-size: 13px; color: var(--gray-text); border-left: 3px solid var(--blue); }

/* === PROCESS === */
.process-section { background: var(--navy); }
.process-section .section-title { color: var(--white); }
.process-section .section-eyebrow { color: var(--amber); }
.process-section .section-sub { color: rgba(255,255,255,0.5); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 24px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); }
.process-step { text-align: center; }
.step-num { width: 48px; height: 48px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--white); position: relative; z-index: 1; }
.step-title { font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--white); text-transform: uppercase; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* === TRUST BAR === */
.trust-bar { background: var(--amber); padding: 24px 0; }
.trust-inner { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon { font-size: 18px; }
.trust-text { font-size: 14px; font-weight: 600; color: var(--white); }

/* === CONTACT FORM === */
.contact-section { background: var(--gray-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info-block { margin-bottom: 28px; }
.contact-info-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.contact-info-val { font-size: 15px; color: var(--navy); font-weight: 500; }
.contact-info-val a { color: var(--navy); text-decoration: none; }
.contact-info-val a:hover { color: var(--blue); }
.contact-form-wrap { background: var(--white); border-radius: 10px; padding: 40px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.form-title { font-family: var(--display); font-size: 24px; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; }
.form-sub { font-size: 13px; color: var(--gray-text); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--navy); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-mid); border-radius: 5px; font-family: var(--body); font-size: 14px; color: var(--navy); background: var(--white); transition: border-color 0.2s; outline: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; background: var(--navy); color: var(--white); padding: 15px; border: none; border-radius: 5px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.2s; font-family: var(--body); }
.form-submit:hover { background: var(--blue); }
.form-note { font-size: 12px; color: var(--gray-text); margin-top: 12px; text-align: center; }
.form-note a { color: var(--blue); }
.wpcf7-response-output { margin-top: 12px; font-size: 13px; }

/* === FOOTER === */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.5); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand-desc { font-size: 13px; line-height: 1.7; max-width: 260px; margin-top: 12px; }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--white); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { font-size: 12px; color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-legal-links a:hover { color: rgba(255,255,255,0.8); }

/* === INNER PAGE HERO === */
.inner-hero { background: var(--navy); padding: 120px 0 60px; }
.inner-hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.inner-hero-title { font-family: var(--display); font-size: clamp(36px, 5vw, 60px); font-weight: 800; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.inner-hero-sub { font-size: 15px; color: rgba(255,255,255,0.5); }

/* === LEGAL CONTENT === */
.legal-content { max-width: 860px; margin: 0 auto; padding: 80px 48px; }
.legal-content h2 { font-family: var(--display); font-size: 22px; font-weight: 700; text-transform: uppercase; margin: 40px 0 12px; color: var(--navy); }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { font-size: 15px; color: #334155; line-height: 1.75; margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; margin-bottom: 16px; }
.legal-content ul li { font-size: 15px; color: #334155; line-height: 1.75; margin-bottom: 6px; }
.legal-content .highlight-box { background: var(--gray-light); border-left: 3px solid var(--blue); padding: 20px 24px; border-radius: 4px; margin: 24px 0; }
.legal-content .highlight-box p { margin: 0; font-size: 14px; }
.last-updated { font-size: 13px; color: var(--gray-text); margin-bottom: 32px; font-style: italic; }

/* === CONTACT PAGE === */
.contact-page-section { padding: 72px 0 80px; }
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.info-card { background: var(--navy); border-radius: 10px; padding: 40px; color: var(--white); margin-bottom: 24px; }
.info-card-title { font-family: var(--display); font-size: 24px; font-weight: 800; text-transform: uppercase; margin-bottom: 24px; }
.info-row { margin-bottom: 22px; }
.info-row-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); margin-bottom: 4px; }
.info-row-val { font-size: 15px; color: rgba(255,255,255,0.8); }
.info-row-val a { color: rgba(255,255,255,0.8); text-decoration: none; }
.info-hours { background: var(--gray-light); border-radius: 8px; padding: 24px; }
.info-hours-title { font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.hours-row { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--gray-mid); color: var(--gray-text); }
.hours-row:last-child { border-bottom: none; }
.hours-row span:first-child { font-weight: 500; color: var(--navy); }

/* === WORDPRESS SPECIFIC === */
.wp-block-image { margin: 24px 0; }
.aligncenter { text-align: center; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .site-header { padding: 0 24px; }
  .main-nav { display: none; }
  .main-nav.open { display: block; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); padding: 20px 24px; border-top: 1px solid rgba(255,255,255,0.1); }
  .main-nav.open ul { flex-direction: column; gap: 16px; }
  .menu-toggle { display: block; }
  .hero-inner { padding: 60px 24px 140px; }
  .container { padding: 0 24px; }
  .who-grid, .contact-grid, .contact-page-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .legal-content { padding: 48px 24px; }
  .trust-inner { gap: 24px; }
}
@media (max-width: 600px) {
  .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
