/* ============================================================
   Razor Autobody – Static Website Stylesheet
   Brand colours: Red #c0392b / Blue #2980b9 / Dark #1a1a1a
   ============================================================ */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Open Sans', sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.7;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

/* ---- Section Labels & Headers ---- */
.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c0392b;
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  color: #555;
  font-size: 1.05rem;
}

/* ---- Top Bar ---- */
.topbar {
  background: #c0392b;
  color: #fff;
  font-size: 0.82rem;
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-link {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.topbar-link:hover { opacity: 0.85; }

/* ---- Header / Nav ---- */
.site-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo-link { display: flex; align-items: center; }

.site-logo {
  height: 64px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}

.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a1a;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.main-nav a:hover {
  color: #c0392b;
  background: #fdf0ef;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
}

/* Primary: dark red background – use bright/light text */
.btn-primary {
  background: #c0392b;
  color: #fff;
  border-color: #c0392b;
}

.btn-primary:hover {
  background: #a93226;
  border-color: #a93226;
  color: #fff;
}

/* Secondary: dark background – use bright text */
.btn-secondary {
  background: #1a1a1a;
  color: #f0f0f0;
  border-color: #1a1a1a;
}

.btn-secondary:hover {
  background: #333;
  border-color: #333;
  color: #f0f0f0;
}

/* Outline: transparent bg, dark border – use dark text */
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ---- Hero Slider ---- */
.hero {
  position: relative;
  height: 620px;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 0 48px;
  color: #fff;
}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-content .accent {
  color: #e74c3c;
}

.hero-content p {
  font-size: 1.05rem;
  margin-bottom: 28px;
  opacity: 0.92;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(192,57,43,0.85);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover { background: #a93226; }

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 2px solid rgba(255,255,255,0.8);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.dot.active {
  background: #c0392b;
  border-color: #c0392b;
  transform: scale(1.2);
}

/* ---- Trust Bar ---- */
.trust-bar {
  background: #1a1a1a;
  padding: 20px 0;
}

.trust-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-item svg {
  color: #e74c3c;
  flex-shrink: 0;
}

/* ---- About Section ---- */
.about-section {
  background: #f9f9f9;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-text p {
  color: #444;
  margin-bottom: 16px;
}

.about-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #c0392b;
  color: #fff;
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 16px rgba(192,57,43,0.4);
}

.about-badge strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-top: 4px;
}

/* ---- Services Section ---- */
.services-section {
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 28px 22px;
  transition: transform 0.25s, box-shadow 0.25s;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  border-bottom-color: #c0392b;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: #fdf0ef;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: #c0392b;
}

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
}

/* ---- Rights Section ---- */
.rights-section {
  background: #1a1a1a;
  color: #fff;
}

.rights-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.rights-text .section-label {
  color: #e74c3c;
}

.rights-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.rights-text p {
  color: #ccc;
  margin-bottom: 16px;
}

.rights-text strong {
  color: #fff;
}

.rights-text .btn-primary {
  margin-top: 12px;
}

.rights-image img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
}

/* ---- Approvals Section ---- */
.approvals-section {
  background: #f9f9f9;
}

.approvals-image-wrap {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  margin-bottom: 32px;
}

.approvals-image-wrap img {
  max-width: 900px;
  margin: 0 auto;
}

.insurance-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.insurance-image-wrap {
  background: #fff;
  border-radius: 8px;
  padding: 24px 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.insurance-image-wrap img {
  margin: 0 auto;
}

.accreditations-wrap {
  background: #fff;
  border-radius: 8px;
  padding: 24px 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  max-width: 600px;
  margin: 0 auto;
}

.accreditations-wrap img {
  margin: 0 auto;
}

/* ---- Gallery Section ---- */
.gallery-section {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* ---- Reviews Section ---- */
.reviews-section {
  background: #f9f9f9;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.review-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border-top: 4px solid #c0392b;
}

.review-stars {
  color: #f39c12;
  font-size: 1.2rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-card blockquote {
  font-size: 1rem;
  color: #333;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
  border: none;
  padding: 0;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #c0392b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #1a1a1a;
}

.review-author span {
  font-size: 0.82rem;
  color: #888;
}

.reviews-cta {
  text-align: center;
}

.reviews-rating-summary {
  text-align: center;
  margin-bottom: 32px;
}

.rating-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 20px 40px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border-top: 4px solid #c0392b;
}

.rating-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1;
}

.rating-stars {
  color: #f39c12;
  font-size: 1.4rem;
  letter-spacing: 2px;
  margin: 6px 0;
}

.rating-count {
  font-size: 0.88rem;
  color: #666;
  font-weight: 600;
}

/* ---- Contact Section ---- */
.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: #fdf0ef;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  color: #c0392b;
}

.contact-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
  display: block;
  color: #444;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.contact-item a:hover { color: #c0392b; }

.contact-social {
  margin-top: 8px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  transition: opacity 0.2s;
}

.social-btn.facebook {
  background: #1877f2;
  color: #fff;
}

.social-btn.facebook:hover { opacity: 0.88; }

.contact-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.contact-map iframe {
  display: block;
}

/* ---- Footer ---- */
.site-footer {
  background: #111;
  color: #ccc;
  padding-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
  /* Invert logo for dark background */
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.88rem;
  color: #999;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: #222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: #c0392b;
  color: #fff;
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li,
.footer-col ul a {
  font-size: 0.88rem;
  color: #999;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: #e74c3c; }

.footer-bottom {
  border-top: 1px solid #222;
  padding: 18px 0;
}

.footer-bottom p {
  text-align: center;
  font-size: 0.82rem;
  color: #666;
}

.footer-bottom a {
  color: #999;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: #e74c3c; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar-right { display: none; }
  
  .nav-toggle { display: flex; }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 16px 0;
    z-index: 999;
  }
  
  .main-nav.open { display: block; }
  
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  
  .main-nav a {
    display: block;
    padding: 12px 24px;
    border-radius: 0;
  }
  
  .hero { height: 520px; }
  
  .hero-content { padding: 0 24px; }
  
  .hero-content h1 { font-size: 2rem; }
  
  .about-grid,
  .rights-inner,
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  
  .about-image { order: -1; }
  
  .about-badge { bottom: -12px; right: -8px; width: 90px; height: 90px; }
  
  .about-badge strong { font-size: 1.5rem; }
  
  .services-grid { grid-template-columns: 1fr 1fr; }
  
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  
  .reviews-grid { grid-template-columns: 1fr; }
  
  .trust-bar-inner { justify-content: center; gap: 20px; }
  
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  
  .section { padding: 56px 0; }
  
  .section-header h2 { font-size: 1.7rem; }
}

@media (max-width: 480px) {
  .hero { height: 440px; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .about-cta { flex-direction: column; }
  .topbar-left { gap: 10px; }
}
