/*
Theme Name: BH Locksmith
Theme URI: https://bhlocksmithusa.com
Description: Professional locksmith services theme for BH Locksmith USA
Author: BH Locksmith
Version: 1.0.1
Text Domain: bh-locksmith
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #2563EB;
  --cta: #F97316;
  --text: #1F2937;
  --bg-white: #FFFFFF;
  --bg-light: #F9FAFB;
  --hero-dark: #1E3A5F;
  --radius: 8px;
  --radius-lg: 12px;
}
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; font-size: 16px; background: var(--bg-white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.2; font-weight: 700; }
h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-light { background: var(--bg-light); }
.section-white { background: var(--bg-white); }
.section-title { text-align: center; margin-bottom: 16px; color: var(--text); }
.section-subtitle { text-align: center; color: #6B7280; margin-bottom: 48px; font-size: 1.1rem; max-width: 700px; margin-left: auto; margin-right: auto; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: var(--radius); font-weight: 600; font-size: 1rem; cursor: pointer; border: none; transition: all 0.3s; text-decoration: none; }
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: #EA580C; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(249,115,22,0.4); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #F3F4F6; }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #1D4ED8; }

/* ===== TOP BAR ===== */
.top-bar { background: var(--primary); color: #fff; padding: 8px 0; font-size: 0.875rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #fff; font-weight: 600; }
.top-bar-right { display: flex; gap: 20px; align-items: center; }

/* ===== NAVBAR ===== */
.navbar { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; padding: 12px 0; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.logo-main { font-size: 1.5rem; font-weight: 800; }
.logo-bh { color: var(--primary); position: relative; }
.logo-bh::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 3px; background: var(--cta); border-radius: 2px; }
.logo-locksmith { color: var(--primary); font-weight: 400; }
.logo-sub { font-size: 0.65rem; color: var(--cta); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { padding: 10px 24px !important; background: var(--cta); color: #fff !important; border-radius: var(--radius); font-weight: 600 !important; }
.nav-cta:hover { background: #EA580C; }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, rgba(30,58,95,0.85) 0%, rgba(15,41,66,0.9) 100%), url("images/hero-smart-lock.jpg") center/cover no-repeat; color: #fff; padding: 100px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>') repeat; }
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 700px; }
.hero-badge { display: inline-block; background: rgba(37,99,235,0.3); border: 1px solid rgba(37,99,235,0.5); color: #93C5FD; padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 500; margin-bottom: 24px; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; line-height: 1.15; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 560px; }
.hero-buttons { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-number { font-size: 2rem; font-weight: 800; color: var(--cta); }
.hero-stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--primary); padding: 24px 0; }
.trust-items { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; font-size: 0.95rem; }
.trust-icon { font-size: 1.5rem; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; color: #4B5563; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.about-feature { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.about-feature .check { color: var(--primary); font-size: 1.2rem; }
.about-image { background: linear-gradient(135deg, var(--primary), var(--hero-dark)); border-radius: var(--radius-lg); height: 400px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 4rem; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.service-card { background: #fff; border: 1px solid #E5E7EB; border-radius: var(--radius-lg); padding: 32px 24px; transition: all 0.3s; text-align: center; }
.section-light .service-card { background: #fff; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); border-color: var(--primary); }
.service-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.service-card p { color: #6B7280; font-size: 0.95rem; margin-bottom: 16px; }
.service-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* ===== WHY CHOOSE US ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.why-card { text-align: center; padding: 32px 24px; }
.why-icon { width: 64px; height: 64px; background: rgba(37,99,235,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 20px; }
.why-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.why-card p { color: #6B7280; font-size: 0.95rem; }

/* ===== HOW IT WORKS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.step-number { width: 56px; height: 56px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; margin: 0 auto 20px; }
.step h3 { margin-bottom: 12px; }
.step p { color: #6B7280; }

/* ===== SERVICE AREAS ===== */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.area-item { background: #fff; border: 1px solid #E5E7EB; border-radius: var(--radius); padding: 16px 20px; font-weight: 500; display: flex; align-items: center; gap: 8px; transition: all 0.2s; }
.area-item:hover { border-color: var(--primary); color: var(--primary); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.testimonial-card { background: #fff; border: 1px solid #E5E7EB; border-radius: var(--radius-lg); padding: 32px; }
.testimonial-stars { color: #F59E0B; font-size: 1.2rem; margin-bottom: 16px; }
.testimonial-text { color: #4B5563; margin-bottom: 20px; font-style: italic; line-height: 1.7; }
.testimonial-author { font-weight: 600; }
.testimonial-location { color: #9CA3AF; font-size: 0.85rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid #E5E7EB; border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 20px 24px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: #fff; transition: background 0.2s; }
.faq-question:hover { background: var(--bg-light); }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--primary); transition: transform 0.3s; }
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.3s; }
.faq-item.active .faq-answer { padding: 0 24px 20px; max-height: 500px; }
.faq-answer p { color: #6B7280; line-height: 1.7; }

/* ===== EMERGENCY CTA ===== */
.emergency-cta { background: linear-gradient(135deg, rgba(30,58,95,0.9), rgba(15,41,66,0.92)), url("images/emergency-lockout.jpg") center/cover no-repeat; color: #fff; text-align: center; padding: 80px 0; }
.emergency-cta h2 { margin-bottom: 16px; font-size: 2.5rem; }
.emergency-cta p { color: rgba(255,255,255,0.8); margin-bottom: 32px; font-size: 1.1rem; }
.emergency-phone { font-size: 2.5rem; font-weight: 800; color: var(--cta); display: block; margin-bottom: 24px; }
.emergency-phone a { color: var(--cta); }

/* ===== BLOG PREVIEW ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border: 1px solid #E5E7EB; border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.blog-thumb { height: 200px; background: linear-gradient(135deg, var(--primary), var(--hero-dark)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 3rem; }
.blog-card-content { padding: 24px; }
.blog-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.blog-card p { color: #6B7280; font-size: 0.9rem; margin-bottom: 12px; }
.blog-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* ===== FOOTER ===== */
.site-footer { background: var(--hero-dark); color: #fff; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-about p { color: rgba(255,255,255,0.7); margin-top: 16px; line-height: 1.7; }
.footer-col h4 { font-size: 1rem; margin-bottom: 16px; color: var(--cta); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; color: rgba(255,255,255,0.5); font-size: 0.85rem; }

/* ===== MOBILE STICKY BAR ===== */
.mobile-call-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--cta); z-index: 9999; padding: 12px 0; text-align: center; box-shadow: 0 -4px 12px rgba(0,0,0,0.15); }
.mobile-call-bar a { color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* ===== SERVICE PAGE ===== */
.page-hero { background: linear-gradient(135deg, rgba(30,58,95,0.55), rgba(15,41,66,0.6)), url("/wp-content/themes/bh-locksmith/images/services-hero.jpg") center/cover no-repeat; color: #fff; padding: 60px 0; text-align: center; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; }
.page-content { padding: 60px 0; }
.page-content h2 { margin: 32px 0 16px; color: var(--text); }
.page-content p { margin-bottom: 16px; color: #4B5563; }
.page-content ul { margin: 16px 0; padding-left: 24px; }
.page-content li { margin-bottom: 8px; color: #4B5563; }
.page-cta { background: var(--bg-light); border-radius: var(--radius-lg); padding: 40px; text-align: center; margin: 40px 0; }
.page-cta h3 { margin-bottom: 12px; }
.page-cta .phone { font-size: 1.5rem; font-weight: 700; color: var(--cta); }

/* ===== SCHEMA (hidden) ===== */
.schema-markup { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 56px; }
  .top-bar-right { display: none; }
  .nav-links { display: none; position: fixed; top: 60px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; gap: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 9998; }
  .nav-links.active { display: flex; }
  .mobile-toggle { display: block; }
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 1.85rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 20px; justify-content: center; }
  .hero-stat-number { font-size: 1.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { height: 200px; font-size: 3rem; }
  .about-features { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 50px 0; }
  .section-subtitle { font-size: 0.95rem; margin-bottom: 32px; }
  .emergency-cta { padding: 50px 0; }
  .emergency-cta h2 { font-size: 1.75rem; }
  .emergency-phone { font-size: 1.6rem; }
  .trust-items { gap: 12px 24px; justify-content: center; }
  .trust-item { font-size: 0.85rem; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .faq-question { padding: 16px; font-size: 0.95rem; }
  .faq-item.active .faq-answer { padding: 0 16px 16px; }
  .blog-thumb { height: 150px; font-size: 2.5rem; }
  .nav-cta { text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 1.5rem; }
  .hero-badge { font-size: 0.75rem; padding: 5px 12px; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-stat-number { font-size: 1.3rem; }
  .hero-stat-label { font-size: 0.75rem; }
  .trust-items { flex-direction: column; align-items: center; gap: 10px; }
  .trust-item { font-size: 0.8rem; }
  .areas-grid { grid-template-columns: 1fr; }
  .area-item { padding: 12px 16px; font-size: 0.9rem; }
  h2 { font-size: 1.35rem; }
  .section { padding: 40px 0; }
  .service-card { padding: 24px 16px; }
  .testimonial-card { padding: 24px 16px; }
  .emergency-cta h2 { font-size: 1.4rem; }
  .emergency-phone { font-size: 1.4rem; }
  .btn { padding: 12px 24px; font-size: 0.95rem; }
  .faq-question { font-size: 0.9rem; padding: 14px; }
}
