/* ── True Paving — Shared CSS (nav, footer, topbar, section helpers, CTA) ── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --blue: #1B3F6E;
    --blue-light: #2A5FA8;
    --blue-dark: #122c4e;
    --grey-dark: #1A1D21;
    --grey-light: #6B7280;
    --grey-bg: #F0F2F5;
    --lime: #84CC16;
    --lime-bright: #A3E635;
    --lime-dark: #65A30D;
    --white: #FFFFFF;
}
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; background: var(--grey-bg); color: #1A1D21; overflow-x: hidden; }

/* TOP BAR */
.topbar { background: var(--grey-dark); padding: 9px 0; }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #9CA3AF; }
.topbar-left { display: flex; gap: 24px; }
.topbar-left span { display: flex; align-items: center; gap: 7px; }
.topbar-left i { color: var(--lime); }
.topbar a { color: #9CA3AF; text-decoration: none; transition: color 0.2s; }
.topbar a:hover { color: var(--lime); }

/* NAV */
nav { background: var(--blue); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.3); border-bottom: 3px solid var(--lime); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; min-height: 66px; }
.logo { text-decoration: none; display: block; flex-shrink: 0; padding: 10px 0; }
.logo img { display: block; width: 170px; height: auto; }
.nav-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; }
.nav-links { display: flex; list-style: none; gap: 2px; align-items: center; }
.nav-links li { position: relative; }
.nav-links > li > a { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.85); text-decoration: none; padding: 8px 13px; border-radius: 3px; transition: all 0.2s; display: block; white-space: nowrap; }
.nav-links > li > a:hover { color: var(--lime); background: rgba(255,255,255,0.07); }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--grey-dark); min-width: 210px; border-top: 2px solid var(--lime); border-radius: 0 0 4px 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.4); z-index: 100; list-style: none; }
.nav-links li:hover .dropdown, .nav-links li:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 18px; color: #CBD5E0 !important; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.05); transition: all 0.2s; }
.dropdown a:hover { color: var(--lime) !important; background: rgba(132,204,22,0.08); }
.nav-cta { background: var(--lime) !important; color: var(--grey-dark) !important; font-weight: 800 !important; padding: 9px 20px !important; border-radius: 3px !important; }
.nav-cta:hover { background: var(--lime-bright) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); }

/* SECTION HELPERS */
.section-label { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--lime-dark); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.section-label::before { content: ''; display: block; width: 28px; height: 2px; background: var(--lime); }
.section-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(30px, 3.5vw, 46px); font-weight: 900; text-transform: uppercase; color: var(--blue); line-height: 1.05; margin-bottom: 16px; }
.section-title span { color: var(--lime-dark); }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--lime); color: var(--grey-dark); font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 14px 30px; border-radius: 3px; text-decoration: none; transition: all 0.2s; box-shadow: 0 4px 16px rgba(132,204,22,0.3); }
.btn-primary:hover { background: var(--lime-bright); transform: translateY(-2px); }

/* CTA STRIP */
.cta-strip { background: var(--grey-dark); padding: 60px 0; }
.cta-strip-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-text h2 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(28px, 4vw, 46px); font-weight: 900; text-transform: uppercase; color: var(--white); line-height: 1.1; margin-bottom: 8px; }
.cta-text h2 span { color: var(--lime); }
.cta-text p { color: rgba(255,255,255,0.55); font-size: 15px; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex-shrink: 0; }
.cta-phone { font-family: 'Barlow Condensed', sans-serif; font-size: 40px; font-weight: 900; color: var(--lime); text-decoration: none; letter-spacing: 1px; display: flex; align-items: center; gap: 12px; transition: color 0.2s; }
.cta-phone:hover { color: var(--lime-bright); }

/* FOOTER */
footer { background: var(--grey-dark); border-top: 3px solid var(--lime); padding: 56px 0 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo img { border: none; }
.footer-brand p { color: #6B7280; font-size: 14px; line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--lime); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #6B7280; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--lime); }
.footer-col p { color: #6B7280; font-size: 14px; line-height: 1.7; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 20px 24px 0; border-top: 1px solid rgba(255,255,255,0.07); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #4B5563; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: #4B5563; text-decoration: none; }
.footer-bottom a:hover { color: var(--lime); }

/* NAV SEARCH */
.nav-search-btn { color: rgba(255,255,255,0.7) !important; font-size: 15px !important; padding: 8px 10px !important; cursor: pointer; }
.nav-search-btn:hover { color: var(--lime) !important; }

/* SEARCH OVERLAY */
.search-overlay { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(18,44,78,0.95); align-items: flex-start; justify-content: center; padding-top: 120px; }
.search-overlay.active { display: flex; }
.search-overlay-inner { position: relative; width: 100%; max-width: 640px; padding: 0 24px; }
.search-overlay-form { display: flex; gap: 8px; }
.search-overlay-form input[type="text"] { flex: 1; border: 2px solid rgba(255,255,255,0.2); border-radius: 3px; padding: 16px 20px; font-family: 'Barlow', sans-serif; font-size: 18px; color: var(--white); background: rgba(255,255,255,0.08); transition: border-color 0.2s; }
.search-overlay-form input[type="text"]::placeholder { color: rgba(255,255,255,0.4); }
.search-overlay-form input[type="text"]:focus { outline: none; border-color: var(--lime); background: rgba(255,255,255,0.12); }
.search-overlay-form button { background: var(--lime); color: var(--grey-dark); font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 800; padding: 16px 24px; border: none; border-radius: 3px; cursor: pointer; transition: background 0.2s; }
.search-overlay-form button:hover { background: var(--lime-bright); }
.search-overlay-close { position: absolute; top: -60px; right: 24px; background: none; border: none; color: rgba(255,255,255,0.6); font-size: 36px; cursor: pointer; transition: color 0.2s; line-height: 1; }
.search-overlay-close:hover { color: var(--white); }

/* PAGE HEADER */
.page-header { background: url('../images/Raw_Asphalt_Resized.webp') center/cover no-repeat var(--blue); padding: 60px 0; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background: rgba(18,44,78,0.85); }
.page-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.page-header .section-label { color: var(--lime); }
.page-header h1 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(36px, 5vw, 56px); font-weight: 900; text-transform: uppercase; color: var(--white); line-height: 1.05; margin-bottom: 12px; }
.page-header h1 span { color: var(--lime); }
.page-header p { color: rgba(255,255,255,0.6); font-size: 16px; max-width: 600px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; font-size: 13px; }
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--lime); }

/* CONTENT */
.content-section { padding: 80px 0; }
.content-section.alt { background: var(--white); }
.content-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* SHARED RESPONSIVE */
@media (max-width: 1024px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .nav-links > li > a { font-size: 15px; padding: 8px 10px; }
}
@media (max-width: 805px) {
    .nav-links > li > a { font-size: 14px; padding: 8px; }
}
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-inner { padding: 16px 24px; align-items: center; }
    .logo img { width: 180px; }
    .nav-right { padding-top: 0; }
    .nav-links { display: none; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: var(--grey-dark); padding: 16px; gap: 4px; border-bottom: 3px solid var(--lime); }
    .nav-links.open { display: flex; }
    .nav-links > li > a { text-align: left; }
    .dropdown { position: static; box-shadow: none; border: none; padding-left: 12px; display: none; }
    .nav-links li:hover > .dropdown, .nav-links li:focus-within > .dropdown { display: none; }
    .nav-links li .dropdown.open { display: block; }
    .cta-strip-inner { flex-direction: column; text-align: center; }
    .cta-actions { align-items: center; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .topbar-left { flex-direction: column; gap: 4px; }
}
