/* WordPress Theme Header */
/*
Theme Name: Patriot Pride Prump Proporter
Theme URI: https://expertbuilt.com
Author: Expert Built
Description: Professional website for Patriot Pride Prump Proporter
Version: 1.0
*/

:root {
  --primary: #1E40AF;
  --primary-dark: #173083;
  --font-heading: 'Libre Baskerville';
  --font-body: 'Open Sans';
  --text: #1a1a1a;
  --text-light: #555;
  --bg: #fff;
  --bg-alt: #f8f9fa;
  --border: #e5e7eb;
  --radius: 8px;
}

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

html { scroll-behavior: smooth; height: 100%; }

body {
  font-family: var(--font-body), -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 { font-family: var(--font-heading), -apple-system, BlinkMacSystemFont, sans-serif; }

body > .footer { margin-top: auto; }
.site-main { flex: 1; margin-bottom: 0 !important; padding-bottom: 0 !important; }
.site-main > *:last-child { margin-bottom: 0 !important; }
.cta-section, .cta-banner, .cta-block { margin-bottom: 0 !important; }
.cta-section + .footer { margin-top: 0 !important; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 40px;
}
.nav .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.nav-logo { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--primary); display: flex; align-items: center; white-space: nowrap; }
.nav-logo:hover { text-decoration: none; }
.nav-logo-icon { display: inline-flex; align-items: center; margin-right: 6px; vertical-align: middle; }
.nav-logo-icon svg { display: block; }
.nav-links { display: flex; gap: 4px; align-items: center; flex-wrap: nowrap; }
.nav-links a { color: var(--text); font-size: 16px; font-weight: 500; padding: 8px 12px; white-space: nowrap; }
.nav-links a:hover { color: var(--primary); text-decoration: none; }
.nav-cta {
  background: var(--primary); color: #fff !important; padding: 10px 20px;
  border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: background 0.2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--primary-dark); text-decoration: none !important; }
.nav-phone { font-weight: 600; color: var(--text) !important; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 85vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden; margin-top: 64px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: top center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.55));
}
.hero-content {
  position: relative; z-index: 2; color: #fff;
  max-width: 700px; padding: 80px 0; margin: 0 auto; text-align: center;
}
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.hero p { font-size: 20px; opacity: 0.9; margin-bottom: 32px; line-height: 1.5; }
.hero-cta {
  display: inline-block; background: var(--primary); color: #fff;
  padding: 18px 44px; border-radius: 999px; font-weight: 700; font-size: 18px;
  transition: background 0.2s, transform 0.2s; border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.hero-cta:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-2px); }

/* ── Section base ── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.section-header p { font-size: 18px; color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* ── Services Grid ── */
.services-grid { display: grid; gap: 32px; }
.services-grid.cols-1 { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
.services-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin: 0 auto; }
.services-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.service-card {
  background: var(--bg); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08); border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); text-decoration: none; }
a.service-card { color: inherit; }
.service-card img { width: 100%; height: 200px; object-fit: cover; object-position: center; }
.service-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.service-card p { font-size: 15px; color: var(--text-light); line-height: 1.5; flex: 1; }
.service-card-cta {
  display: inline-block; margin-top: 16px; background: var(--primary); color: #fff;
  padding: 10px 24px; border-radius: 999px; font-weight: 600; font-size: 14px;
  transition: background 0.2s; align-self: flex-start;
}
.service-card:hover .service-card-cta { background: var(--primary-dark); }

/* ── How It Works ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.step { display: flex; flex-direction: column; }
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--text-light); flex: 1; }

/* ── CTA Section ── */
.cta-section {
  background: var(--primary); color: #fff; text-align: center; padding: 80px 24px;
}
.cta-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.cta-section p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; }
.cta-btn {
  display: inline-block; background: #fff; color: var(--primary);
  padding: 16px 36px; border-radius: 999px; font-weight: 700; font-size: 18px;
  transition: background 0.2s; border: none; cursor: pointer;
}
.cta-btn:hover { background: #f0f0f0; text-decoration: none; }

/* ── Contact Form ── */
.contact-grid { display: grid; grid-template-columns: auto 1fr; gap: 80px; max-width: 900px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; padding-left: 32px; min-width: 220px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item > div { display: flex; flex-direction: column; gap: 2px; }
.contact-item strong { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); }
.contact-item a, .contact-item span { font-size: 16px; color: var(--text-light); }
.contact-icon {
  width: 48px; height: 48px; border-radius: 50%; background: #f5f5f5;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 16px; font-family: inherit;
  background: #fff; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
}

/* Service buttons grid (replaces dropdown) */
.service-buttons-wrapper { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.service-buttons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 8px; }
.service-btn {
  padding: 12px 14px; min-height: 48px; border: 2px solid #e0e0e0; border-radius: 8px;
  background: #fff; color: #333; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all 0.15s ease; text-align: center; font-family: inherit; line-height: 1.3;
}
.service-btn:hover { border-color: var(--primary); background: #f9f9f9; }
.service-btn.selected { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (min-width: 769px) { .service-buttons-grid { grid-template-columns: repeat(3, 1fr); } }
.form-group textarea { resize: vertical; }
.form-submit {
  background: var(--primary); color: #fff; border: none; padding: 14px 32px;
  border-radius: 999px; font-weight: 700; font-size: 16px; cursor: pointer;
  transition: background 0.2s; width: 100%;
}
.form-submit:hover { background: var(--primary-dark); }

/* ── About ── */
.about-content { max-width: 700px; }
.about-content p { font-size: 18px; line-height: 1.7; color: var(--text-light); }

/* ── Footer ── */
.footer { background: #111; color: #aaa; padding: 20px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid > div:nth-child(2) { text-align: center; }
.footer-grid > div:nth-child(2) .footer-links { align-items: center; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer a { color: #aaa; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom {
  border-top: 1px solid #333; padding: 16px 40px 0;
  display: flex; justify-content: space-between; align-items: center; font-size: 13px;
}
.footer-bottom a { color: #aaa; }


/* ── Thank You Page ── */
.thank-you-wrapper {
  margin-top: 64px; padding-top: 120px; padding-bottom: 120px;
  text-align: center; min-height: calc(100vh - 200px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: #fff;
    padding: 16px 24px; border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  /* Heading sizes and line-height on mobile */
  h1, .hero h1, .section-header h1 { font-size: 2rem !important; line-height: 1.12; }
  h2, .section-header h2, .cta-section h2 { font-size: 1.5rem; line-height: 1.15; }
  h3 { line-height: 1.2; }

  .hero p { font-size: 17px; }
  .hero-content { padding: 48px 0; }
  .services-grid.cols-2, .services-grid.cols-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  /* Tighter section spacing on mobile */
  .section { padding: 36px 0; }
  /* Reduce top padding on interior page header sections on mobile */
  .section[style*="margin-top:64px"] { padding-top: 16px !important; }
  .section-header { margin-bottom: 24px; }
  .section-header p { font-size: 16px; }
  .thank-you-wrapper { padding-top: 40px; padding-bottom: 60px; min-height: calc(100vh - 160px); }
  .about-content { padding-left: 20px !important; padding-right: 20px !important; }
  .about-content p { font-size: 16px; }
  .container { padding-left: 20px !important; padding-right: 20px !important; }
  .section-header { padding-left: 4px !important; padding-right: 4px !important; }
  .cta-section { padding-top: 48px !important; padding-left: 20px !important; padding-right: 20px !important; }
  .eb-about-text { padding-left: 20px !important; padding-right: 20px !important; }
  .cta-section p { font-size: 16px; margin-bottom: 24px; }

  /* Footer mobile: stacked, centered, spaced */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .footer-grid > div:nth-child(2) { text-align: center; }
  .footer-links { align-items: center; }
  .footer-bottom { flex-wrap: wrap; gap: 8px; text-align: center; justify-content: center; padding: 16px 20px 0; }

  /* Block responsive */
  .eb-hero h1 { font-size: 2rem !important; line-height: 1.12; }
  .eb-section-title { font-size: 1.5rem !important; }
  .eb-section { padding: 36px 0 !important; }
  .eb-section-sub { font-size: 16px !important; margin-bottom: 24px !important; }
  .eb-cta { padding: 48px 16px !important; }
  .eb-cta-text { font-size: 16px !important; }
  .eb-about-text { font-size: 16px !important; }
  .eb-services-grid { flex-direction: column !important; }
  .eb-steps { flex-direction: column !important; }
  .eb-contact-grid { flex-direction: column !important; }
  .eb-contact-info { padding-left: 0; }
  .contact-info { padding-left: 0; }
  .eb-legal { padding: 36px 20px !important; }
  .eb-legal h2 { font-size: 19px !important; margin-top: 24px !important; }
  .eb-service-btn .wp-block-button__link { font-size: 14px !important; padding: 8px 20px !important; }
}

/* ══════════════════════════════════════════════
   WordPress Block Editor Styles
   ══════════════════════════════════════════════ */

/* Full-width alignment */
.alignfull {
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw);
}
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }

/* Main content area — offset for fixed nav */
.site-main { padding-top: 0; }

/* ── Hero Cover Block ── */
.eb-hero { margin-top: 64px; }
.eb-hero .wp-block-cover__inner-container { max-width: 700px; margin: 0 auto; text-align: center; }
.eb-hero h1 { font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 16px; color: #fff; }
.eb-hero-text { font-size: 20px; opacity: 0.9; margin-bottom: 32px; line-height: 1.5; color: #fff; }
.eb-hero-btn .wp-block-button__link {
  background: var(--primary) !important; color: #fff !important;
  padding: 18px 44px !important; border-radius: 999px !important;
  font-weight: 700; font-size: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: background 0.2s, transform 0.2s;
}
.eb-hero-btn .wp-block-button__link:hover {
  background: var(--primary-dark) !important; transform: translateY(-2px);
}

/* ── Section Groups ── */
.eb-section { padding: 80px 24px; }
.eb-section-alt { background: var(--bg-alt); }
.eb-section-title { font-size: 36px !important; font-weight: 800 !important; margin-bottom: 12px !important; }
.eb-section-sub {
  font-size: 18px; color: var(--text-light); max-width: 600px;
  margin-left: auto !important; margin-right: auto !important; margin-bottom: 48px !important;
}

/* ── Service Cards (columns) ── */
.eb-services-grid { gap: 24px !important; }
.eb-service-card {
  background: var(--bg) !important; border-radius: var(--radius) !important; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08); border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  padding: 0 !important; display: flex; flex-direction: column;
}
.eb-service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.eb-service-img { margin-bottom: 0 !important; }
.eb-service-img img { width: 100%; height: 200px; object-fit: cover; object-position: center; }
.eb-service-card > .wp-block-heading { padding: 24px 24px 0; font-size: 20px !important; font-weight: 700 !important; margin-bottom: 8px !important; }
.eb-service-card > p { padding: 0 24px; font-size: 15px; color: var(--text-light); line-height: 1.5; margin-top: 0; margin-bottom: 0 !important; flex: 1; }
.eb-service-card .wp-block-buttons { padding: 16px 24px 24px; margin-top: auto; }
.eb-service-btn .wp-block-button__link {
  background: var(--primary) !important; color: #fff !important;
  padding: 10px 24px !important; border-radius: 999px !important;
  font-weight: 600; font-size: 15px;
  transition: background 0.2s;
  display: inline-block;
}
.eb-service-btn .wp-block-button__link:hover { background: var(--primary-dark) !important; text-decoration: none; }

/* ── How It Works Steps ── */
.eb-steps { gap: 32px !important; }
.eb-step { text-align: center; display: flex; flex-direction: column; }
.eb-step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 20px;
  display: flex !important; align-items: center; justify-content: center;
  margin: 0 auto 16px !important; line-height: 1;
}
.eb-step h3 { font-size: 18px !important; font-weight: 700 !important; margin-bottom: 8px !important; }
.eb-step p:not(.eb-step-num) { font-size: 15px; color: var(--text-light); flex: 1; }

/* ── CTA Section ── */
.eb-cta {
  background: var(--primary) !important; color: #fff; text-align: center;
  padding: 80px 24px !important;
}
.eb-cta-heading { font-size: 36px !important; font-weight: 800 !important; margin-bottom: 12px !important; color: #fff !important; }
.eb-cta-text { font-size: 18px; opacity: 0.9; margin-bottom: 32px !important; color: #fff !important; }
.eb-cta-btn .wp-block-button__link {
  background: #fff !important; color: var(--primary) !important;
  padding: 16px 36px !important; border-radius: 999px !important;
  font-weight: 700; font-size: 18px;
  transition: background 0.2s;
}
.eb-cta-btn .wp-block-button__link:hover { background: #f0f0f0 !important; }

/* ── About Page ── */
.eb-about-text { font-size: 18px !important; line-height: 1.7 !important; color: var(--text-light); }

/* Remove gap between CTA and footer */
.eb-cta { margin-bottom: 0 !important; }
.eb-cta + * { margin-top: 0 !important; }
.site-main > .eb-cta:last-child { margin-bottom: 0 !important; }

/* ── Contact Page ── */
.eb-contact-grid { gap: 80px !important; max-width: 900px; margin: 0 auto; }
.eb-contact-info { padding-top: 8px; padding-left: 32px; display: flex; flex-direction: column; gap: 8px; }
.eb-contact-item { margin-bottom: 16px !important; }
.eb-contact-info p { margin-bottom: 0 !important; }
.eb-contact-info strong { display: block; margin-bottom: 2px; color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.eb-contact-info a { color: var(--text-light); font-size: 16px; display: block; }
.eb-contact-info p:not(:has(strong)) { color: var(--text-light); font-size: 16px; }

/* ── Legal Pages ── */
.eb-legal { padding: 80px 24px; margin-top: 64px; }
.eb-legal h1 { font-size: 36px !important; font-weight: 800 !important; margin-bottom: 24px !important; }
.eb-legal-date { color: var(--text-light); margin-bottom: 24px !important; }
.eb-legal h2 { font-size: 22px !important; font-weight: 700 !important; color: var(--text); margin-top: 32px !important; margin-bottom: 8px !important; }
.eb-legal h3 { color: var(--text); margin-top: 24px !important; margin-bottom: 8px !important; }
.eb-legal p { color: var(--text-light); line-height: 1.8; margin-bottom: 16px !important; }
.eb-legal a { color: var(--primary); }

/* ── Mobile: Force Top Padding ── */
@media (max-width: 768px) {
  .hero-section, .hero, .hero-content {
    padding-top: 30px !important;
  }
  main, .main-content, .page-content {
    padding-top: 20px !important;
  }
  .about-content, .services-content, .contact-content {
    padding-top: 20px !important;
  }
}

/* ── Mobile: Footer Spacing ── */
@media (max-width: 768px) {
  footer .footer-content > div,
  footer .footer-top > div,
  .footer-col,
  .footer-column {
    margin-bottom: 20px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
