/* ============================================
   24/7 Car Battery Roadside Newcastle
   Brand colors from the van
   ============================================ */

:root {
  --navy: #0a2540;
  --navy-dark: #051428;
  --yellow: #ffc107;
  --yellow-bright: #ffd633;
  --red: #e63946;
  --red-dark: #c1121f;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-light: #e9ecef;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --green-stripe: #84cc16;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 37, 64, 0.12);
  --shadow-lg: 0 12px 32px rgba(10, 37, 64, 0.18);
  --max-width: 1200px;
  --transition: 0.25s ease;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   EMERGENCY CALL BAR (Top)
   ============================================ */
.emergency-bar {
  background: var(--red);
  color: var(--white);
  padding: 8px 0;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}
.emergency-bar a {
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  margin-left: 8px;
}
.emergency-bar a:hover { color: var(--yellow); }
.emergency-bar .pulse {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--yellow);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 18px;
  color: var(--navy);
  line-height: 1.1;
}
.logo-mark {
  background: var(--navy);
  color: var(--yellow);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.logo-text { display: flex; flex-direction: column; }
.logo-text .top { color: var(--navy); font-size: 15px; }
.logo-text .bottom { color: var(--red); font-size: 13px; font-weight: 700; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 18px !important;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover {
  background: var(--red-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--navy);
  cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 80px 20px 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255, 193, 7, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 .highlight {
  color: var(--yellow);
  display: inline-block;
}
.hero p.lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary, .btn-secondary {
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}

.hero-features {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}
.hero-feature svg { color: var(--yellow); flex-shrink: 0; }

.hero-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--yellow);
}
.hero-image img { width: 100%; display: block; }
.hero-image-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--red);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
}

/* ============================================
   SECTIONS
   ============================================ */
section { padding: 80px 20px; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-header p {
  color: var(--gray);
  font-size: 17px;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-section { background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.service-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: 12px;
  border-top: 4px solid var(--yellow);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--red);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--navy);
  color: var(--yellow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}
.service-card h3 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-section { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.why-card {
  text-align: center;
  padding: 24px;
}
.why-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-bright) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: var(--navy);
  box-shadow: var(--shadow-md);
}
.why-card h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}
.why-card p {
  color: var(--gray);
  font-size: 15px;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--navy);
  padding: 50px 20px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.stat-item .number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  display: block;
}
.stat-item .label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section { background: var(--off-white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 80px;
  color: var(--yellow);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.4;
}
.stars {
  color: var(--yellow);
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-card p {
  color: var(--gray-dark);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.author-info .name {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}
.author-info .location {
  color: var(--gray);
  font-size: 13px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 18px;
  margin-bottom: 28px;
  opacity: 0.95;
}
.cta-banner .btn-primary {
  background: var(--yellow);
  color: var(--navy);
  font-size: 18px;
  padding: 18px 40px;
}
.cta-banner .btn-primary:hover {
  background: var(--white);
  color: var(--navy);
}

/* ============================================
   SERVICE AREAS
   ============================================ */
.areas-section { background: var(--white); }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.area-group {
  background: var(--off-white);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--yellow);
}
.area-group h4 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}
.area-group ul {
  list-style: none;
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.9;
}
.area-group ul li::before {
  content: '📍 ';
  margin-right: 4px;
}
.area-group a {
  color: var(--gray-dark);
  font-size: 14px;
}
.area-group a:hover { color: var(--red); }

/* ============================================
   FAQ
   ============================================ */
.faq-section { background: var(--off-white); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border: none;
  width: 100%;
  text-align: left;
  font-size: 16px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--off-white); }
.faq-question .icon {
  font-size: 24px;
  color: var(--red);
  transition: transform var(--transition);
}
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: var(--gray);
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}
.contact-info h3 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--off-white);
  border-radius: 8px;
  border-left: 4px solid var(--yellow);
}
.contact-detail .icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--yellow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-detail h4 {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.contact-detail p, .contact-detail a {
  color: var(--gray-dark);
  font-size: 16px;
  font-weight: 600;
}
.contact-detail a:hover { color: var(--red); }

.contact-form {
  background: var(--off-white);
  padding: 32px;
  border-radius: 12px;
}
.contact-form h3 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-light);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.contact-form button {
  width: 100%;
  padding: 16px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background var(--transition);
}
.contact-form button:hover { background: var(--red-dark); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 20px 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto 40px;
}
.footer-col h4 {
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--yellow); }
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-brand { color: var(--yellow); font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ============================================
   PAGE HEADER (sub-pages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.page-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto;
}
.breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 16px;
}
.breadcrumb a { color: var(--yellow); }

/* Service detail page */
.service-detail-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
.service-detail-content h2 {
  color: var(--navy);
  font-size: 28px;
  font-weight: 800;
  margin: 32px 0 16px;
}
.service-detail-content h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  margin: 24px 0 12px;
}
.service-detail-content p {
  margin-bottom: 16px;
  color: var(--gray-dark);
  line-height: 1.8;
}
.service-detail-content ul {
  margin: 16px 0 16px 24px;
  color: var(--gray-dark);
}
.service-detail-content ul li { margin-bottom: 8px; line-height: 1.7; }
.service-detail-content .price-box {
  background: var(--off-white);
  border-left: 4px solid var(--yellow);
  padding: 24px;
  border-radius: 8px;
  margin: 32px 0;
}
.service-detail-content .price-box strong {
  color: var(--red);
  font-size: 24px;
  font-weight: 900;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.active { display: flex; }
  .mobile-menu-toggle { display: block; }
  .hero { padding: 50px 20px 60px; }
  section { padding: 60px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-cta-group { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}

/* Floating call button (mobile) */
.floating-call {
  position: fixed;
  bottom: 20px; right: 20px;
  background: var(--red);
  color: var(--white);
  width: 60px; height: 60px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(230, 57, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}
@media (max-width: 768px) {
  .floating-call { display: flex; }
}
