/*
Theme Name: Highway Visors
Theme URI: https://highwayvisors.com
Author: Highway Visors
Author URI: https://highwayvisors.com
Description: Custom homepage theme for Highway Visors — premium external sunvisors for Australian vehicles.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: highwayvisors
*/

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #f5f5f5; min-height: 100vh; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* =============================================
   UTILITIES
   ============================================= */
.hw-orange { color: #E66A1F; }
.btn-primary { background: #E66A1F; color: #fff; border: none; padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; display: inline-block; }
.btn-primary:hover { background: #cf5c18; color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); padding: 12px 24px; border-radius: 8px; font-size: 14px; cursor: pointer; display: inline-block; }
.btn-outline:hover { border-color: #fff; color: #fff; }
.btn-dark { background: #1a1e24; color: #fff; border: none; padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; display: inline-block; }
.btn-dark:hover { background: #2F343A; color: #fff; }
.section { padding: 2.5rem 1.5rem; }
.section-label { font-size: 11px; font-weight: 500; color: #E66A1F; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; }
.section h2 { font-size: 22px; font-weight: 500; margin-bottom: 6px; color: #1a1e24; }
.section-sub { font-size: 14px; color: #666; margin-bottom: 1.75rem; max-width: 500px; line-height: 1.6; }
#page-wrap { background: #fff; min-height: 100vh; position: relative; }

/* =============================================
   NAVIGATION
   ============================================= */
.site-nav { background: #fff; border-bottom: 0.5px solid #e0e0e0; padding: 12px 1.5rem; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 50; }
.site-logo { font-size: 19px; font-weight: 500; color: #1F1F1F; letter-spacing: -0.3px; }
.site-logo span { color: #E66A1F; }
.nav-right { display: flex; gap: 12px; align-items: center; }
.nav-links { display: flex; gap: 1.25rem; }
.nav-links a { font-size: 13px; color: #666; }
.nav-links a:hover { color: #E66A1F; }

/* =============================================
   HERO
   ============================================= */
.hero { background: #1a1e24; color: #fff; padding: 3rem 1.5rem; text-align: center; position: relative; }
.hero-badge-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 1.25rem; }
.hero-badge { background: rgba(255,255,255,0.07); border: 0.5px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 5px 14px; font-size: 12px; color: #bbb; display: flex; align-items: center; gap: 6px; }
.hero h1 { font-size: 28px; font-weight: 500; line-height: 1.25; margin-bottom: 0.75rem; max-width: 580px; margin-left: auto; margin-right: auto; }
.hero p { font-size: 15px; color: #bbb; margin-bottom: 1.5rem; max-width: 460px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.trust-strip { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; padding: 1.25rem; background: rgba(255,255,255,0.04); border-radius: 12px; max-width: 560px; margin: 0 auto; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #aaa; }
.trust-item i { color: #E66A1F; font-size: 15px; }
.rating-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(230,106,31,0.12); border: 0.5px solid rgba(230,106,31,0.25); border-radius: 20px; padding: 5px 14px; font-size: 12px; color: #E66A1F; margin-bottom: 1rem; }

/* =============================================
   MAKES BAR
   ============================================= */
.makes-bar { background: #f0f0f0; border-top: 0.5px solid #e0e0e0; border-bottom: 0.5px solid #e0e0e0; padding: 0.75rem 1.5rem; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.makes-bar::-webkit-scrollbar { display: none; }
.make-tab { flex-shrink: 0; padding: 6px 16px; font-size: 13px; color: #666; cursor: pointer; border-radius: 20px; white-space: nowrap; }
.make-tab:hover, .make-tab.active { background: #E66A1F; color: #fff; }

/* =============================================
   PRODUCTS
   ============================================= */
.products-section { padding: 2.5rem 1.5rem; background: #f0f0f0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 12px; }
.product-card { background: #fff; border: 0.5px solid #e0e0e0; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.product-img-wrap { height: 130px; overflow: hidden; position: relative; background: #f5f5f5; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-badge { position: absolute; top: 8px; left: 8px; background: #E66A1F; color: #fff; font-size: 10px; padding: 3px 9px; border-radius: 4px; font-weight: 500; }
.product-info { padding: 0.875rem; flex: 1; display: flex; flex-direction: column; }
.product-info h3 { font-size: 13px; font-weight: 500; margin-bottom: 3px; color: #1a1e24; line-height: 1.4; }
.product-compat { font-size: 11px; color: #888; margin-bottom: 6px; line-height: 1.4; }
.stars { color: #E66A1F; font-size: 11px; margin-bottom: 6px; }
.product-price { font-size: 16px; font-weight: 500; color: #E66A1F; margin-bottom: 8px; margin-top: auto; }
.btn-cart { width: 100%; background: #1a1e24; color: #fff; border: none; padding: 8px; border-radius: 6px; font-size: 12px; cursor: pointer; font-weight: 500; display: block; text-align: center; }
.btn-cart:hover { background: #2F343A; color: #fff; }

/* =============================================
   VEHICLES
   ============================================= */
.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.vehicle-card { background: #fff; border: 0.5px solid #e0e0e0; border-radius: 12px; padding: 1rem; text-align: center; cursor: pointer; display: block; }
.vehicle-card:hover { border-color: #E66A1F; }
.v-icon { width: 50px; height: 36px; margin: 0 auto 0.625rem; display: flex; align-items: center; justify-content: center; }
.vehicle-card h3 { font-size: 12px; font-weight: 500; margin-bottom: 2px; color: #1a1e24; }
.vehicle-card p { font-size: 11px; color: #888; margin-bottom: 6px; }
.shop-link { font-size: 11px; color: #E66A1F; font-weight: 500; }

/* =============================================
   WHY US
   ============================================= */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 10px; }
.why-card { background: #fff; border: 0.5px solid #e0e0e0; border-radius: 12px; padding: 1.125rem; text-align: center; }
.why-icon { width: 42px; height: 42px; background: rgba(230,106,31,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.625rem; }
.why-icon i { color: #E66A1F; font-size: 19px; }
.why-card h3 { font-size: 13px; font-weight: 500; margin-bottom: 3px; color: #1a1e24; }
.why-card p { font-size: 12px; color: #888; line-height: 1.5; }

/* =============================================
   BEFORE / AFTER SLIDER
   ============================================= */
.before-after { background: #1a1e24; padding: 2.5rem 1.5rem; text-align: center; }
.before-after h2 { color: #fff; font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.before-after > p { color: #aaa; font-size: 14px; margin-bottom: 1.5rem; }
.slider-wrap { max-width: 480px; margin: 0 auto; background: rgba(255,255,255,0.04); border-radius: 12px; padding: 1.25rem; }
.slider-track { height: 110px; border-radius: 8px; position: relative; overflow: hidden; margin-bottom: 0.875rem; display: flex; }
.s-left { position: absolute; left: 0; top: 0; bottom: 0; background: #3a4048; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.s-right { position: absolute; right: 0; top: 0; bottom: 0; background: #252a30; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.s-div { position: absolute; top: 0; bottom: 0; width: 2px; background: #E66A1F; z-index: 2; }
.s-handle { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; background: #E66A1F; border-radius: 50%; z-index: 3; display: flex; align-items: center; justify-content: center; cursor: ew-resize; }
.s-handle i { color: #fff; font-size: 13px; }

/* =============================================
   REVIEWS
   ============================================= */
.reviews-section { padding: 2.5rem 1.5rem; background: #f0f0f0; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 10px; }
.review-card { background: #fff; border: 0.5px solid #e0e0e0; border-radius: 12px; padding: 1.125rem; }
.reviewer { display: flex; align-items: center; gap: 10px; margin-bottom: 0.75rem; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; flex-shrink: 0; }
.reviewer-info h4 { font-size: 13px; font-weight: 500; color: #1a1e24; }
.reviewer-info p { font-size: 11px; color: #888; }
.review-stars { color: #E66A1F; font-size: 12px; margin-bottom: 5px; }
.review-text { font-size: 13px; color: #666; line-height: 1.5; }
.review-cta { text-align: center; margin-top: 1.25rem; padding: 1rem; background: rgba(230,106,31,0.06); border-radius: 12px; border: 0.5px solid rgba(230,106,31,0.15); }
.review-cta p { font-size: 13px; color: #666; }
.review-cta a { color: #E66A1F; font-weight: 500; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.steps-section { padding: 2.5rem 1.5rem; background: #fff; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 10px; }
.step { text-align: center; padding: 1rem; }
.step-num { width: 42px; height: 42px; background: #E66A1F; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; margin: 0 auto 0.625rem; }
.step h3 { font-size: 14px; font-weight: 500; margin-bottom: 4px; color: #1a1e24; }
.step p { font-size: 12px; color: #888; line-height: 1.5; }

/* =============================================
   LOCATIONS
   ============================================= */
.locations-section { padding: 2.5rem 1.5rem; background: #fff; }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.loc-card { background: #f0f0f0; border: 0.5px solid #e0e0e0; border-radius: 8px; padding: 0.75rem 1rem; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.loc-card:hover { border-color: #E66A1F; }
.loc-card i { color: #E66A1F; font-size: 15px; flex-shrink: 0; }
.loc-card span { font-size: 13px; color: #1a1e24; font-weight: 500; }

/* =============================================
   FAQ
   ============================================= */
.faq-section { padding: 2.5rem 1.5rem; background: #f0f0f0; }
.faq-item { background: #fff; border: 0.5px solid #e0e0e0; border-radius: 8px; margin-bottom: 7px; overflow: hidden; }
.faq-q { padding: 0.875rem 1rem; font-size: 14px; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #1a1e24; }
.faq-q i { color: #888; font-size: 15px; transition: transform 0.2s; flex-shrink: 0; }
.faq-a { padding: 0 1rem 0.875rem; font-size: 13px; color: #666; line-height: 1.6; display: none; }
.faq-a.open { display: block; }
.faq-q.open i { transform: rotate(180deg); }

/* =============================================
   SEO / ABOUT
   ============================================= */
.seo-section { padding: 2.5rem 1.5rem; background: #fff; }
.seo-section h2 { font-size: 18px; font-weight: 500; margin-bottom: 0.875rem; color: #1a1e24; }
.seo-section p { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 0.875rem; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner { background: #2F343A; padding: 3rem 1.5rem; text-align: center; }
.cta-banner h2 { color: #fff; font-size: 24px; font-weight: 500; margin-bottom: 6px; }
.cta-banner > p { color: #aaa; font-size: 14px; margin-bottom: 1.5rem; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: #1a1e24; color: #aaa; padding: 2rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 500; margin-bottom: 0.625rem; }
.footer-col a { display: block; font-size: 12px; color: #777; margin-bottom: 4px; }
.footer-col a:hover { color: #E66A1F; }
.footer-logo { font-size: 17px; font-weight: 500; color: #fff; margin-bottom: 6px; }
.footer-logo span { color: #E66A1F; }
.footer-bottom { border-top: 0.5px solid #2a2e35; padding-top: 1rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #555; }
.pay-row { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-icon { background: #2a2e35; border-radius: 4px; padding: 3px 8px; font-size: 11px; color: #888; }

/* =============================================
   STICKY CTA BAR
   ============================================= */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: #E66A1F; padding: 11px 1.5rem; display: flex; justify-content: space-between; align-items: center; z-index: 100; }
.sticky-cta span { color: #fff; font-size: 13px; font-weight: 500; }
.sticky-close { background: transparent; border: none; color: rgba(255,255,255,0.7); cursor: pointer; font-size: 20px; line-height: 1; padding: 0; }
