/* ==========================================================================
   Apex Performance & Auto Care - Authentic UK Garage Styling
   ========================================================================== */

/* ─────────────────────────────────────────────────────────────────────────────
   Garage Top Bar & Navigation
   ───────────────────────────────────────────────────────────────────────────── */
.garage-header-wrap {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.garage-top-strip {
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.75rem;
  padding: 0.5rem 1.5rem;
  border-bottom: 1px solid #1e293b;
}

.garage-top-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.garage-top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.garage-top-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.garage-top-info strong {
  color: #ffffff;
}

.garage-demo-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
}

.garage-demo-switcher:hover {
  color: #ffffff;
}

.garage-navbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.garage-logo-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.garage-logo-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #00838F, #00565f);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0, 131, 143, 0.3);
}

.garage-logo-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.garage-logo-text span {
  font-size: 0.7rem;
  font-weight: 600;
  color: #00838F;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.garage-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.garage-nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: color 0.15s;
}

.garage-nav-link:hover {
  color: #00838F;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Hero Section with Realistic Workshop Background
   ───────────────────────────────────────────────────────────────────────────── */
.garage-hero-section {
  position: relative;
  background-color: #0f172a;
  background-image: linear-gradient(to right, rgba(15, 23, 42, 0.95) 30%, rgba(15, 23, 42, 0.7) 100%), url('../images/workshop-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 4.5rem 1.5rem 5.5rem;
  border-bottom: 3px solid #00838F;
}

.garage-hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.garage-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 131, 143, 0.25);
  border: 1px solid rgba(0, 131, 143, 0.5);
  color: #67e8f9;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.garage-hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.15rem;
  letter-spacing: -0.01em;
}

.garage-hero-title span {
  color: #38bdf8;
}

.garage-hero-desc {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

.garage-trust-pills {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.6);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-pill svg {
  color: #22c55e;
  flex-shrink: 0;
}

/* Reg Plate Lookup Card */
.reg-lookup-card {
  background: #ffffff;
  color: #0f172a;
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid #e2e8f0;
}

.reg-lookup-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.reg-lookup-card p {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.reg-plate-input-wrap {
  display: flex;
  align-items: stretch;
  background: #ffdb00;
  border: 2px solid #000000;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.reg-plate-flag {
  background: #003399;
  color: #ffffff;
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  border-right: 2px solid #000000;
}

.reg-plate-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Poppins', monospace, sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.6rem 0.85rem;
  color: #000000;
  text-align: center;
}

.reg-lookup-btn {
  width: 100%;
  background: #00838F;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.reg-lookup-btn:hover {
  background: #006670;
  transform: translateY(-1px);
}

.reg-card-hint {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Trust Banner / Badges
   ───────────────────────────────────────────────────────────────────────────── */
.garage-badges-strip {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem;
}

.garage-badges-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gh-teal-light);
  color: var(--gh-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-text h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.badge-text p {
  font-size: 0.75rem;
  color: #64748b;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Garage Services Section with Real Photography Cards
   ───────────────────────────────────────────────────────────────────────────── */
.garage-services-section {
  padding: 4.5rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-head-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-head-center .sub-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #00838F;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  display: block;
}

.section-head-center h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.section-head-center p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.55;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card-photo {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.service-card-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: #00838F;
}

.service-photo-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card-photo:hover .service-photo-wrap img {
  transform: scale(1.04);
}

.service-badge-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.service-content-pad {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.service-content-pad h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.service-content-pad p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: #334155;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.service-features-list svg {
  color: #22c55e;
  flex-shrink: 0;
}

.service-card-action-btn {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #00838F;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.service-card-photo:hover .service-card-action-btn {
  background: #00838F;
  border-color: #00838F;
  color: #ffffff;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Customer Reviews & Verification Strip
   ───────────────────────────────────────────────────────────────────────────── */
.garage-reviews-section {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 4.5rem 1.5rem;
}

.reviews-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.review-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.2rem;
}

.review-text {
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.75rem;
  font-size: 0.75rem;
}

.reviewer-name {
  font-weight: 700;
  color: #0f172a;
}

.reviewer-tag {
  color: #16a34a;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FLOATING WHATSAPP AI ASSISTANT WIDGET
   ───────────────────────────────────────────────────────────────────────────── */
.wa-widget-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  font-family: var(--font-main);
}

.wa-launcher-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #25D366;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.875rem;
  transition: background 0.15s, transform 0.15s;
}

.wa-launcher-btn:hover {
  background: #1ebc59;
  transform: translateY(-2px);
}

.wa-launcher-btn svg {
  flex-shrink: 0;
}

.wa-chat-window {
  position: absolute;
  bottom: 4rem;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 2rem);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.wa-chat-window.open {
  display: flex;
}

.wa-window-header {
  background: #00838F;
  color: #ffffff;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-agent-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.wa-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.wa-agent-text h4 {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
}

.wa-agent-text p {
  font-size: 0.7rem;
  color: #cffafe;
}

.wa-window-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

.wa-chat-body {
  padding: 1rem;
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #f8fafc;
}

.wa-bubble-agent {
  background: #ffffff;
  color: #1e293b;
  padding: 0.75rem 0.85rem;
  border-radius: 4px 12px 12px 12px;
  border: 1px solid #e2e8f0;
  font-size: 0.825rem;
  line-height: 1.5;
}

.wa-prompts-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.wa-chips-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.wa-prompt-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.775rem;
  font-weight: 500;
  color: #1e293b;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}

.wa-prompt-chip:hover {
  border-color: var(--gh-teal);
  background: var(--gh-teal-light);
  color: var(--gh-teal-dark);
}

.wa-prompt-chip.active {
  border-color: var(--gh-teal);
  background: var(--gh-teal-light);
  font-weight: 600;
  color: var(--gh-teal-dark);
}

.wa-chat-footer {
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-top: 1px solid #e2e8f0;
}

.wa-input-row {
  display: flex;
  gap: 0.5rem;
}

.wa-chat-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.825rem;
  outline: none;
  font-family: var(--font-main);
}

.wa-chat-input:focus {
  border-color: #00838F;
}

.wa-send-btn {
  background: #25D366;
  color: #ffffff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.wa-send-btn:hover {
  background: #1ebc59;
}

.wa-widget-qr-toggle {
  text-align: center;
  margin-top: 0.4rem;
}

.wa-widget-qr-toggle button {
  background: none;
  border: none;
  color: #00838F;
  font-size: 0.725rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 960px) {
  .garage-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .garage-badges-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-cards-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .garage-nav-menu {
    display: none;
  }
}
