/* ===== Express Locksmith & Car Keys - Master Stylesheet ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: #333;
  background: #fff;
}

/* ===== Top Bar ===== */
.top-bar {
  background: #0a2540;
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar a { color: #fff; text-decoration: none; margin-right: 15px; }
.top-bar a:hover { color: #f4b400; }
.top-bar .socials a { margin-left: 12px; margin-right: 0; }

/* ===== Header ===== */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo img { max-height: 70px; width: auto; }
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
nav ul li a {
  color: #0a2540;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s;
  position: relative;
}
nav ul li a:hover, nav ul li a.active { color: #f4b400; }
.cta-btn {
  background: #f4b400;
  color: #0a2540 !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s;
}
.cta-btn:hover { background: #0a2540; color: #fff !important; }

/* Mobile menu */
.menu-toggle { display: none; font-size: 28px; background: none; border: none; cursor: pointer; color: #0a2540; }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  nav ul { display: none; width: 100%; flex-direction: column; gap: 10px; padding-top: 15px; }
  nav ul.show { display: flex; }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(rgba(10,37,64,0.85), rgba(10,37,64,0.85)),
              url('https://images.unsplash.com/photo-1558002038-1055907df827?w=1600') center/cover;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}
.hero p {
  font-size: 19px;
  max-width: 800px;
  margin: 0 auto 30px;
  opacity: 0.95;
}
.hero-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
}
.btn-primary { background: #f4b400; color: #0a2540; }
.btn-primary:hover { background: #fff; transform: translateY(-2px); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-secondary:hover { background: #fff; color: #0a2540; }

/* Sub-hero (smaller for inner pages) */
.page-hero {
  background: linear-gradient(rgba(10,37,64,0.85), rgba(10,37,64,0.85)),
              url('https://images.unsplash.com/photo-1558002038-1055907df827?w=1600') center/cover;
  color: #fff;
  padding: 80px 20px 60px;
  text-align: center;
}
.page-hero h1 { font-size: 42px; margin-bottom: 12px; }
.page-hero p { font-size: 18px; opacity: 0.95; }

/* ===== Sections ===== */
section { padding: 70px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title {
  text-align: center;
  font-size: 36px;
  color: #0a2540;
  margin-bottom: 15px;
  font-weight: 800;
}
.section-subtitle {
  text-align: center;
  color: #666;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 17px;
}

/* About preview */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-preview img { width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.about-preview h2 { font-size: 34px; color: #0a2540; margin-bottom: 18px; }
.about-preview p { margin-bottom: 15px; color: #555; }
@media (max-width: 800px) { .about-preview { grid-template-columns: 1fr; } }

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.service-card {
  background: #fff;
  padding: 35px 28px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s;
  border-top: 4px solid #f4b400;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.15); }
.service-icon {
  font-size: 48px;
  color: #f4b400;
  margin-bottom: 18px;
}
.service-card h3 { color: #0a2540; font-size: 22px; margin-bottom: 12px; }
.service-card p { color: #666; font-size: 15px; margin-bottom: 18px; }
.service-card a {
  color: #0a2540;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #f4b400;
  padding-bottom: 2px;
}
.service-card a:hover { color: #f4b400; }

/* Why Choose Us */
.why-choose { background: #f7f9fc; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.feature-item {
  text-align: center;
  padding: 25px 15px;
}
.feature-item .icon {
  width: 70px; height: 70px;
  background: #f4b400;
  color: #0a2540;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
  font-weight: 700;
}
.feature-item h4 { color: #0a2540; margin-bottom: 10px; font-size: 19px; }
.feature-item p { color: #666; font-size: 15px; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #0a2540 0%, #144078 100%);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}
.cta-banner h2 { font-size: 34px; margin-bottom: 15px; }
.cta-banner p { font-size: 18px; margin-bottom: 25px; opacity: 0.95; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.testimonial {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  border-left: 4px solid #f4b400;
}
.testimonial .stars { color: #f4b400; font-size: 18px; margin-bottom: 10px; }
.testimonial p { color: #555; font-style: italic; margin-bottom: 15px; }
.testimonial .author { font-weight: 700; color: #0a2540; }

/* Service detail page content */
.content-section { padding: 60px 20px; }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.content-grid img { width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.content-grid h2 { color: #0a2540; font-size: 30px; margin-bottom: 18px; }
.content-grid p { color: #555; margin-bottom: 15px; }
.content-grid ul { list-style: none; padding: 0; margin: 15px 0; }
.content-grid ul li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
  color: #555;
}
.content-grid ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #f4b400;
  font-weight: 700;
  font-size: 18px;
}
@media (max-width: 800px) { .content-grid { grid-template-columns: 1fr; } }

.alt-bg { background: #f7f9fc; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-box {
  background: #f7f9fc;
  padding: 35px;
  border-radius: 12px;
}
.contact-info-box h3 { color: #0a2540; margin-bottom: 20px; font-size: 24px; }
.contact-info-box .info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}
.contact-info-box .info-item .icon-circle {
  width: 45px; height: 45px;
  background: #f4b400;
  color: #0a2540;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-box .info-item p { margin: 0; color: #555; }
.contact-info-box .info-item strong { color: #0a2540; display: block; margin-bottom: 3px; }
.contact-info-box .info-item a { color: #555; text-decoration: none; }
.contact-info-box .info-item a:hover { color: #f4b400; }

.contact-form { background: #fff; padding: 35px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.contact-form h3 { color: #0a2540; margin-bottom: 20px; font-size: 24px; }
.form-group { margin-bottom: 18px; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border 0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #f4b400; }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form button {
  background: #f4b400;
  color: #0a2540;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}
.contact-form button:hover { background: #0a2540; color: #fff; }

.map-section { padding: 0; }
.map-section iframe { width: 100%; height: 450px; border: 0; display: block; }

/* ===== Footer ===== */
footer {
  background: #0a2540;
  color: #cfd8e3;
  padding: 60px 20px 20px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 {
  color: #f4b400;
  margin-bottom: 18px;
  font-size: 18px;
}
.footer-col p { color: #cfd8e3; margin-bottom: 12px; font-size: 15px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #cfd8e3; text-decoration: none; font-size: 15px; transition: color 0.3s; }
.footer-col ul li a:hover { color: #f4b400; }
.footer-col img { max-height: 60px; margin-bottom: 15px; background: #fff; padding: 8px; border-radius: 6px; }
.social-icons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.social-icons a {
  width: 38px; height: 38px;
  background: #144078;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 14px;
  font-weight: 700;
}
.social-icons a:hover { background: #f4b400; color: #0a2540; }
.footer-bottom {
  text-align: center;
  border-top: 1px solid #1d3a5f;
  padding-top: 20px;
  margin-top: 40px;
  font-size: 14px;
  color: #8fa1b8;
}
.footer-bottom a { color: #f4b400; text-decoration: none; }

/* Responsive Hero */
@media (max-width: 700px) {
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .section-title { font-size: 28px; }
  .page-hero h1 { font-size: 32px; }
}
