/*
Theme Name: All Roof Advantage
Theme URI: https://allroofadvantage.com
Author: All Roof Advantage
Author URI: https://allroofadvantage.com
Description: Professional roofing company theme for All Roof Advantage
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: allroof
*/

/* ── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:   #0d1f3c;
  --navy2:  #152a50;
  --orange: #f5a800;
  --orange2:#e09500;
  --white:  #ffffff;
  --light:  #f4f6fa;
  --text:   #2c2c2c;
  --muted:  #5a6370;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
}
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--text); background: var(--white); margin: 0; }
h1,h2,h3,h4,h5,h6 { font-family: 'Oswald', sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

/* ── HEADER ───────────────────────────────────────────── */
#site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 72px;
}
.site-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 24px; font-weight: 700;
  color: var(--white); line-height: 1.1;
}
.site-logo span { color: var(--orange); }
#site-navigation { display: flex; align-items: center; gap: 4px; }
#site-navigation a {
  color: rgba(255,255,255,0.85);
  font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.3px; font-family: 'Open Sans', sans-serif;
}
#site-navigation a:hover,
#site-navigation .current-menu-item > a { background: var(--orange); color: var(--navy); }
.nav-cta-link {
  background: var(--orange) !important; color: var(--navy) !important;
  font-weight: 700 !important; margin-left: 8px;
}
.nav-cta-link:hover { background: var(--orange2) !important; }
.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; flex-direction: column; gap: 5px;
}
.menu-toggle span {
  display: block; width: 25px; height: 2px;
  background: white; transition: 0.3s; border-radius: 2px;
}

/* ── BUTTONS ──────────────────────────────────────────── */
.btn-primary {
  background: var(--orange); color: var(--navy);
  font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 600;
  padding: 13px 30px; border-radius: var(--radius);
  letter-spacing: 0.5px; transition: background 0.2s, transform 0.2s;
  display: inline-block; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--orange2); color: var(--navy); transform: translateY(-1px); }
.btn-outline {
  border: 2px solid var(--orange); color: var(--orange);
  font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 600;
  padding: 11px 30px; border-radius: var(--radius);
  letter-spacing: 0.5px; transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { background: var(--orange); color: var(--navy); }

/* ── HERO ─────────────────────────────────────────────── */
.hero-section {
  position: relative; min-height: 560px;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0d1f3c 0%, #1a3a6e 100%);
  overflow: hidden;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.25;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; width: 100%;
  padding: 60px 24px;
  display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: center;
}
.hero-label {
  font-family: 'Oswald', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
}
.hero-text h1 {
  font-size: clamp(30px, 4vw, 50px); font-weight: 700;
  color: var(--white); line-height: 1.15; margin-bottom: 16px;
}
.hero-text h1 span { color: var(--orange); }
.hero-text p { color: rgba(255,255,255,0.85); font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── QUOTE FORM ───────────────────────────────────────── */
.quote-form-box {
  background: var(--white); border-radius: 10px;
  padding: 30px 26px; box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.form-title {
  font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 700;
  color: var(--navy); text-align: center;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 3px solid var(--orange);
}
.quote-form-box form { display: flex; flex-direction: column; gap: 11px; }
.quote-form-box select,
.quote-form-box input[type="text"],
.quote-form-box input[type="email"],
.quote-form-box textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid #dce2ed; border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif; font-size: 14px;
  color: var(--text); background: #fafbff;
  transition: border-color 0.2s; outline: none;
}
.quote-form-box select:focus,
.quote-form-box input:focus,
.quote-form-box textarea:focus { border-color: var(--orange); }
.quote-form-box textarea { resize: vertical; }
.btn-submit {
  background: var(--navy); color: var(--white);
  font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 600;
  padding: 14px; border: none; border-radius: var(--radius);
  cursor: pointer; letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s; width: 100%;
}
.btn-submit:hover { background: var(--orange); color: var(--navy); transform: translateY(-1px); }
.form-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 4px; }
.form-success { background: #e6f9ee; color: #1a7a3a; border: 1px solid #a8e0bc; padding: 10px 14px; border-radius: var(--radius); font-size: 14px; margin-bottom: 10px; }
.form-error   { background: #fff0f0; color: #c0392b; border: 1px solid #f5b0b0; padding: 10px 14px; border-radius: var(--radius); font-size: 14px; margin-bottom: 10px; }

/* ── SERVICE BAR ──────────────────────────────────────── */
.service-bar { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-bar-item {
  padding: 20px 12px; text-align: center;
  font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 600;
  letter-spacing: 0.5px; cursor: pointer;
  transition: opacity 0.2s; display: block;
}
.service-bar-item:hover { opacity: 0.85; }
.service-bar-item:nth-child(odd)  { background: var(--orange); color: var(--navy); }
.service-bar-item:nth-child(even) { background: var(--white);  color: var(--navy); border-top: 3px solid var(--navy); }

/* ── SECTIONS ─────────────────────────────────────────── */
.section { padding: 72px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-family: 'Oswald', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px; display: block;
}
.section-title {
  font-size: clamp(24px, 3vw, 36px); font-weight: 700;
  color: var(--navy); margin-bottom: 18px; line-height: 1.2;
}
.section-title.white { color: var(--white); }
.section-desc { font-size: 15px; line-height: 1.8; color: var(--muted); }
.section-desc.white { color: rgba(255,255,255,0.8); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-780 { max-width: 780px; }
.max-900 { max-width: 900px; }
.bg-navy  { background: var(--navy); }
.bg-navy2 { background: var(--navy2); }
.bg-orange{ background: var(--orange); }
.bg-light { background: var(--light); }

/* ── TWO COL ──────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col.form-layout { grid-template-columns: 1fr 420px; }
.two-col img { border-radius: 10px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }

/* ── CARDS ────────────────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.card {
  background: var(--white); border-radius: 10px;
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.18); }
.card-img { height: 190px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.card-body p  { font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; margin-bottom: 18px; }
.card-btn {
  background: var(--orange); color: var(--navy);
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 13px;
  padding: 9px 20px; border-radius: 30px; letter-spacing: 0.5px;
  text-align: center; transition: background 0.2s; align-self: flex-start;
  display: inline-block;
}
.card-btn:hover { background: var(--orange2); color: var(--navy); }

/* ── CHECKLIST ────────────────────────────────────────── */
.check-list { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: rgba(255,255,255,0.9); line-height: 1.5;
}
.check-list li::before {
  content: '✔'; color: var(--orange);
  font-size: 13px; margin-top: 2px; flex-shrink: 0;
}

/* ── TRUST ICONS ──────────────────────────────────────── */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { text-align: center; }
.trust-icon {
  width: 68px; height: 68px; background: var(--orange);
  border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.trust-item h4 { font-size: 16px; color: var(--white); margin-bottom: 8px; font-family: 'Oswald', sans-serif; }
.trust-item p  { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* ── SERVICE DETAIL ───────────────────────────────────── */
.service-detail { margin-bottom: 44px; padding-bottom: 44px; border-bottom: 1px solid #e8eaf0; }
.service-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.service-detail h3 { font-size: 28px; color: var(--navy); margin-bottom: 14px; }
.service-detail p  { font-size: 15px; color: var(--muted); line-height: 1.9; }

/* ── CONTACT CTA ──────────────────────────────────────── */
.contact-cta { background: var(--navy2); padding: 68px 24px; }
.contact-cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center;
}
.contact-cta h2 { font-size: 36px; color: var(--white); margin-bottom: 16px; }
.contact-cta p  { color: rgba(255,255,255,0.8); font-size: 16px; line-height: 1.7; margin-bottom: 20px; }
.contact-email-link {
  display: flex; align-items: center; gap: 10px;
  color: var(--orange); font-size: 16px; font-weight: 600;
  font-family: 'Open Sans', sans-serif;
}

/* ── PAGE HERO ────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  position: relative; overflow: hidden; padding: 68px 24px;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; opacity: 0.2;
}
.page-hero-content { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(30px, 4vw, 50px); color: var(--white); font-weight: 700; margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 16px; max-width: 600px; line-height: 1.6; }

/* ── INSPECT COLS ─────────────────────────────────────── */
.inspect-col { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.inspect-col img { border-radius: 10px; box-shadow: var(--shadow); object-fit: cover; }

/* ── CONTACT INFO ─────────────────────────────────────── */
.contact-info-item {
  display: flex; align-items: center; gap: 16px; margin-bottom: 22px;
}
.contact-info-icon {
  width: 50px; height: 50px; background: var(--orange); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-info-label { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }
.contact-info-value { color: var(--navy); font-weight: 600; font-size: 15px; }

/* ── FOOTER ───────────────────────────────────────────── */
#site-footer { background: #070f1e; padding: 52px 24px 22px; }
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .site-logo { font-size: 20px; margin-bottom: 16px; display: block; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.footer-email { color: var(--orange); font-size: 14px; font-weight: 600; }
.footer-col h4 {
  font-family: 'Oswald', sans-serif; color: var(--white);
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 18px; padding-bottom: 8px;
  border-bottom: 2px solid var(--orange); display: inline-block;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  max-width: 1200px; margin: 22px auto 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 13px; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); font-size: 13px; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--orange); }

/* ── COVERAGE CARDS ───────────────────────────────────── */
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.coverage-card {
  background: white; border-radius: 10px; padding: 32px 24px;
  box-shadow: var(--shadow); text-align: center;
  transition: transform 0.2s;
}
.coverage-card:hover { transform: translateY(-4px); }
.coverage-card .icon { font-size: 40px; margin-bottom: 16px; }
.coverage-card h3 { font-family: 'Oswald', sans-serif; color: var(--navy); margin-bottom: 10px; font-size: 20px; }
.coverage-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-inner .quote-form-box { display: none; }
  .two-col, .two-col.form-layout { grid-template-columns: 1fr; }
  .contact-cta-inner { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .service-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .inspect-col { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  #site-navigation { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); padding: 16px; gap: 4px; }
  #site-navigation.open { display: flex; }
  .menu-toggle { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
