/* N05 Tyre & MOT - Main Stylesheet */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding: 0; font-family: 'Inter', ui-sans-serif, system-ui; }

/* UK Plate input */
.plate-container {
  display: inline-flex; align-items: stretch;
  border: 3.5px solid #2a2a2a; border-radius: 7px; overflow: hidden;
  box-shadow: 3px 3px 0 #7a7a7a, inset 0 1px 0 rgba(255,255,255,0.4);
}
.plate-badge {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 2px;
  background: #003399; padding: 4px 7px; min-width: 34px;
}
.plate-badge-stars { color: #FFD700; font-size: 6px; letter-spacing: 1px; }
.plate-badge-gb    { color: #fff; font-size: 12px; font-weight: 900; letter-spacing: 1px; line-height: 1; }
.plate-badge-eu    { color: #FFD700; font-size: 5px; }
.plate-input-field {
  background: #fede00; border: none; outline: none;
  font-family: 'Arial Black', Impact, ui-sans-serif;
  font-weight: 900; font-size: 2.4rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: #1a1a1a; text-align: center;
  padding: 10px 22px; width: 280px; caret-color: #333;
}
.plate-input-field::placeholder { color: rgba(0,0,0,0.35); }

/* Animations */
@keyframes fadeUp   { from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)} }
@keyframes pulseCTA { 0%,100%{transform:scale(1);box-shadow:0 8px 25px rgba(254,222,0,0.4)}50%{transform:scale(1.04);box-shadow:0 12px 35px rgba(254,222,0,0.6)} }
@keyframes shimmer  { 0%{background-position:-200% center}100%{background-position:200% center} }
@keyframes spin     { to{transform:rotate(360deg)} }
@keyframes bounceIn { 0%{transform:scale(.8);opacity:0}60%{transform:scale(1.05)}100%{transform:scale(1);opacity:1} }
@keyframes slideDown{ from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)} }

.anim-fade-up   { animation: fadeUp 0.65s ease both; }
.anim-pulse-cta { animation: pulseCTA 2.5s ease-in-out infinite; }
.anim-bounce-in { animation: bounceIn 0.5s ease both; }
.delay-100{animation-delay:.10s} .delay-200{animation-delay:.20s}
.delay-300{animation-delay:.30s} .delay-400{animation-delay:.40s}
.delay-500{animation-delay:.50s}

.shimmer-text {
  background: linear-gradient(90deg,#fede00 0%,#fff 40%,#fede00 80%);
  background-size: 200% auto; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* Interactions */
.card-hover{transition:transform .3s ease,box-shadow .3s ease}
.card-hover:hover{transform:translateY(-6px);box-shadow:0 20px 48px rgba(0,0,0,.15)}
.nav-link{transition:color .2s ease;cursor:pointer;text-decoration:none}
.nav-link:hover{color:#fede00!important}
.btn-transition{transition:opacity .2s ease,transform .2s ease;cursor:pointer}
.btn-transition:hover{opacity:.88;transform:translateY(-1px)}

/* Hero */
.hero-bg {
  background-color:#1B263B;
  background-image:
    radial-gradient(circle at 80% 20%,rgba(254,222,0,.06) 0%,transparent 55%),
    radial-gradient(circle at 10% 80%,rgba(254,222,0,.04) 0%,transparent 45%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 80L80 0H60L0 60M80 80V60L60 80' fill='%23ffffff' fill-opacity='0.018'/%3E%3C/svg%3E");
}
.tyre-ring{width:340px;height:340px;border-radius:50%;border:28px solid rgba(254,222,0,.1);position:absolute;right:-60px;top:50%;transform:translateY(-50%);animation:spin 20s linear infinite}
.tyre-ring-inner{width:240px;height:240px;border-radius:50%;border:18px solid rgba(254,222,0,.06);position:absolute;right:-10px;top:50%;transform:translateY(-50%);animation:spin 14s linear infinite reverse}

/* FAQ */
.faq-item { border-bottom: 1px solid #e2e8f0; }
.faq-btn  { width:100%; background:none; border:none; cursor:pointer;
            display:flex; justify-content:space-between; align-items:center;
            padding: 18px 0; text-align:left; }
.faq-answer { animation: slideDown .25s ease both; }
.benefit-row { display:flex; align-items:flex-start; gap:12px; margin-bottom:14px; }

/* Scrollbar */
::-webkit-scrollbar{width:6px}
::-webkit-scrollbar-track{background:#111}
::-webkit-scrollbar-thumb{background:#fede00;border-radius:3px}

/* MOT / Booking page extras */
.vehicle-detail-card { background: #fff; border-radius: 12px; border: 1px solid #e2e8f0; overflow: hidden; }
.vehicle-detail-row { display: flex; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid #f1f5f9; font-size: 14px; }
.vehicle-detail-label { color: #64748B; font-weight: 500; }
.vehicle-detail-value { color: #1B263B; font-weight: 600; }
.booking-step { margin-bottom: 32px; }
.booking-step-title { font-weight: 700; font-size: 16px; color: #1B263B; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }

/* Responsive menu - React index (site-header)
   Mobile (<992px): ONLY hamburger. Desktop (992px+): ONLY horizontal nav. */
.site-header { width: 100%; overflow: visible; }

/* Base: mobile-first — hamburger only, nav hidden */
.site-header .header-nav-desktop { display: none !important; }
.site-header .header-hamburger {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: none !important;
  border: none !important;
  cursor: pointer;
  color: #fff;
}
.site-header .header-tagline { display: none !important; }

/* DESKTOP (992px+): nav only, hamburger hidden */
@media (min-width: 992px) {
  .site-header .header-nav-desktop {
    display: flex !important;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
  }
  .site-header .header-hamburger { display: none !important; }
  .site-header .header-mobile-menu { display: none !important; }
  .site-header .header-tagline { display: block !important; }
}

/* Mobile dropdown styling */
@media (max-width: 991px) {
  .site-header .header-mobile-menu {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }
  .header-mobile-menu .nav-link,
  .header-mobile-menu .btn-transition { display: block !important; padding: 14px 0; font-size: 16px; }
  .header-mobile-menu .btn-transition { text-align: center; margin-top: 8px; }
}

/* Responsive top-bar (phone, address, hours) - wrap on mobile */
.top-bar, .mot-top-bar {
  flex-wrap: wrap; gap: 8px;
}
@media (max-width: 640px) {
  .top-bar, .mot-top-bar {
    flex-direction: column; align-items: flex-start; font-size: 12px; padding: 8px 16px;
  }
}

/* Responsive hamburger - static pages (contact, tyres, blog, mot-booking, blog posts, etc.) */
.header, .mot-header { position: relative; overflow-x: clip; display: flex !important; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.header .header-hamburger, .mot-header .header-hamburger {
  display: none; background: none; border: none; color: #fff; padding: 8px;
  min-width: 44px; min-height: 44px; flex-shrink: 0;
  cursor: pointer; align-items: center; justify-content: center;
  flex-direction: row;
}
.header .header-hamburger svg, .mot-header .header-hamburger svg { width: 24px; height: 24px; display: block; }
/* Desktop (769px+): nav visible, hamburger hidden */
@media (min-width: 769px) {
  .header nav, .mot-header nav,
  body .header nav, body .mot-header nav { display: flex !important; align-items: center; gap: 24px; flex-wrap: wrap; }
  .header .header-hamburger, .mot-header .header-hamburger,
  body .header .header-hamburger, body .mot-header .header-hamburger { display: none !important; }
}
/* Mobile (≤768px): hamburger only, nav in dropdown when .open */
@media (max-width: 768px) {
  .header nav, .mot-header nav,
  body .header nav, body .mot-header nav { display: none !important; }
  .header .header-hamburger, .mot-header .header-hamburger,
  body .header .header-hamburger, body .mot-header .header-hamburger {
    display: flex !important; align-items: center; justify-content: center;
  }
  .header .tagline, .mot-header .tagline,
  .header .header-tagline, .mot-header .header-tagline,
  body .header .tagline, body .mot-header .tagline,
  body .header .header-tagline, body .mot-header .header-tagline { display: none !important; }
  .header.open nav, .mot-header.open nav,
  body .header.open nav, body .mot-header.open nav {
    display: flex !important; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; width: 100%; background: #1B263B;
    padding: 16px 24px 24px; gap: 0; box-shadow: 0 10px 40px rgba(0,0,0,.3); z-index: 9999;
    align-items: stretch;
  }
  .mot-header.open nav, body .mot-header.open nav { background: #111927; }
  .header.open nav a, .mot-header.open nav a,
  body .header.open nav a, body .mot-header.open nav a {
    padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; display: block;
  }
  .header.open nav a:last-of-type, .mot-header.open nav a:last-of-type,
  body .header.open nav a:last-of-type, body .mot-header.open nav a:last-of-type { border-bottom: none; }
  .header.open nav .btn-book, .mot-header.open nav .btn-book,
  body .header.open nav .btn-book, body .mot-header.open nav .btn-book { margin-top: 8px; text-align: center; }
}

@media(max-width:1024px){
  .hero-grid{grid-template-columns:1fr!important}
  .stats-grid{display:none!important}
  .services-grid{grid-template-columns:repeat(2,1fr)!important}
  .footer-grid{grid-template-columns:1fr 1fr!important}
  .usps-grid{grid-template-columns:repeat(2,1fr)!important}
  .combo-grid{grid-template-columns:1fr 1fr!important}
  .benefits-grid{grid-template-columns:1fr!important}
  .faq-grid{grid-template-columns:1fr!important}
}
@media(max-width:640px){
  .services-grid{grid-template-columns:1fr!important}
  .footer-grid{grid-template-columns:1fr!important}
  .combo-grid{grid-template-columns:1fr!important}
  .usps-grid{grid-template-columns:1fr!important}
  .plate-container{max-width:100%}
  .plate-input-field{width:100%;max-width:260px;font-size:1.8rem}
}

/* Page layouts (Car Servicing, Tyres, Other Services, Blog, Contact) */
.page-hero{background:linear-gradient(135deg,#1B263B 0%,#243447 100%);color:#fff;padding:56px 32px;text-align:center;margin-bottom:0}
.page-hero h1{margin:0 0 12px;font-size:2.2rem;font-weight:900}
.page-hero p{color:rgba(255,255,255,.8);margin:0;font-size:17px}
.page-content{max-width:900px;margin:0 auto;padding:48px 24px}
.content-card{background:#fff;border-radius:16px;border:1px solid #e2e8f0;padding:32px;margin-bottom:32px;box-shadow:0 2px 12px rgba(0,0,0,.06)}
.content-card h2{color:#1B263B;font-size:1.4rem;margin:0 0 16px}
.content-card p{color:#475569;line-height:1.7;margin:0 0 12px}
.service-card{background:#f8fafc;border-radius:12px;padding:20px;margin-bottom:16px;border:1px solid #e2e8f0}
.service-card h3{color:#1B263B;font-size:1.1rem;margin:0 0 8px}
.service-card p{color:#64748B;font-size:14px;line-height:1.6;margin:0}
.blog-list{list-style:none;padding:0;margin:0}
.blog-list li{border-bottom:1px solid #e2e8f0;padding:20px 0}
.blog-list li:last-child{border-bottom:none}
.blog-list a{color:#1B263B;font-weight:700;text-decoration:none}
.blog-list a:hover{color:#fede00}
.blog-meta{color:#94a3b8;font-size:13px;margin-top:6px}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}
@media(max-width:640px){.contact-grid{grid-template-columns:1fr}}
.contact-info{background:#f8fafc;border-radius:12px;padding:24px}
.contact-form input,.contact-form textarea{width:100%;padding:12px 16px;border:2px solid #e2e8f0;border-radius:10px;font-size:15px;margin-bottom:16px}
.contact-form input:focus,.contact-form textarea:focus{outline:none;border-color:#fede00}
