/* =======================================================
   Imperial Finish Body Works — Site Stylesheet
   Faithfully rebuilt from OurAuto skin + overRide.css
   ======================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── COLOURS ── */
:root {
  --black:  #000000;
  --dark:   #111111;
  --dark2:  #1a1a1a;
  --blue:   #4263ae;
  --blue2:  #2b84c5;
  --red:    #d71d46;
  --text:   #999999;
  --light:  #cccccc;
  --white:  #ffffff;
  --mid:    #333333;
  --border: #262728;
  --footer-border: #4263ae;
}

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: var(--text);
  background: var(--black);
  line-height: 18px;
  min-height: 100%;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 20px 0;
  line-height: 1.3;
}
h1 { font-size: 26px; }
h2 { font-size: 18px; }
h3 { font-size: 18px; color: #666; }

p { margin: 0 0 20px 0; color: var(--light); line-height: 1.6; }
p:last-child { margin-bottom: 0; }

strong { color: var(--mid); font-weight: bold; }

a, a:link, a:visited, a:active {
  color: var(--blue);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--red); }

img { max-width: 100%; height: auto; }
ul, ol { padding-left: 20px; color: var(--light); margin-bottom: 20px; }
li { margin-bottom: 6px; }

blockquote {
  width: 100%;
  padding: 40px 50px;
  text-align: center;
  font-style: italic;
  font-size: 20px;
  line-height: 32px;
  background: var(--border);
  color: #ebebeb;
  border-left: none;
  margin: 0 0 30px;
}
blockquote p { color: #ebebeb; margin: 0; }
blockquote a { color: var(--white) !important; }

/* ── LAYOUT ── */
.container {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 20px;
}
.clearfix::after { content: ''; display: table; clear: both; }
.fl { float: left; }
.fr { float: right; }

/* ── TOP BAR ── */
#topBar {
  background: var(--dark2);
  border-bottom: 1px solid #1a1a1a;
  padding: 3px 0;
  font-size: 11px;
}
#topBar .container { text-align: right; }
#topBar a { color: #555; font-size: 11px; }
#topBar a:hover { color: var(--text); }

/* ── HEADER ── */
#siteHeadouter {
  background: var(--black);
  position: relative;
  z-index: 100;
}
#siteHeadinner { padding-bottom: 0; }

.brand { display: inline-block; padding: 8px 0; }
.brand img { max-height: 130px; width: auto; display: block; }

/* Phone / address strip */
.dates {
  width: 60%;
  float: right;
  padding: 20px 0 0 25px;
  position: relative;
  z-index: 999;
  background: var(--black);
}
.dates h2 {
  font-family: Arial, sans-serif;
  font-weight: 400;
  padding: 0;
  height: 44px;
  line-height: 44px;
  color: var(--white);
  margin-bottom: 4px;
  font-size: 16px;
}
.dates h2 em {
  color: var(--blue2) !important;
  font-style: normal;
  font-size: 22px;
  margin-right: 8px;
}
a.phone-no {
  color: var(--white);
  font-size: 26px;
  font-weight: 700;
  line-height: 44px;
  display: inline-block;
  text-decoration: none;
}
a.phone-no:hover { color: var(--blue); }
a.address-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--white) !important;
  line-height: 30px;
  display: inline-block;
  margin-left: 4px;
}
a.address-link:hover { color: var(--blue) !important; }

/* ── NAV ── */
.navbar-inner { padding: 0; background: transparent; border: none; }
.nav-collapse {
  margin-top: 35px;
  background: var(--black);
  border-top: 1px solid #1a1a1a;
}
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  float: right;
}
nav ul li a {
  display: block;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
nav ul li a:hover { color: #cfcfcf; border-bottom-color: var(--blue); }
nav ul li.active a { color: var(--blue); border-bottom-color: var(--blue); }

.btn-mobile-nav {
  display: none;
  width: 100%;
  padding: 12px;
  background: #222;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ── SLIDER ── */
#slider-wrap {
  background: #858992;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.slide {
  display: none;
  width: 100%;
}
.slide.active { display: block; }
.slide img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}
.slider-nav {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-nav button {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
}
.slider-nav button.on { background: var(--blue); }
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(66,99,174,0.7);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px 16px;
  cursor: pointer;
  z-index: 10;
}
.slider-prev { left: 10px; }
.slider-next { right: 10px; }

/* ── CTA BAR ── */
#ctaBar {
  background: #111;
  border-top: 1px solid #1a1a1a;
  border-bottom: 2px solid #1a1a1a;
}
.cta-row {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  border-right: 2px solid #003c78;
}
.cta-item {
  flex: 1;
  display: flex;
  align-items: center;
  height: 75px;
  padding: 0 12px;
  border-left: 2px solid #003c78;
  text-decoration: none;
  color: var(--white);
  transition: background 0.15s;
  gap: 12px;
}
.cta-item:hover { background: rgba(66,99,174,0.18); color: var(--white); }
.cta-icon {
  width: 48px; height: 48px;
  background-size: 44px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  flex-shrink: 0;
}
.cta-icon.pb  { background-image: url('skin-images/cta1-icn.png'); }
.cta-icon.rs  { background-image: url('skin-images/cta2-icn.png'); }
.cta-icon.lc  { background-image: url('skin-images/cta3-icn.png'); }
.cta-icon.gua { background-image: url('skin-images/cta4-icn.png'); }
.cta-label { font-size: 15px; font-weight: 700; color: var(--white); }

/* ── MAIN CONTENT ── */
#contentWrapper { background: var(--black); }

.content-area {
  background: var(--black);
  padding: 40px 0;
}
.content-area .container { }

/* Two-col layout */
.col-main  { width: 65%; float: left; padding-right: 30px; }
.col-side  { width: 35%; float: left; padding-top: 0; }

/* ── SERVICE ROW (image + text) ── */
.service-row {
  padding: 30px 0 40px;
  border-bottom: 1px solid #1a1a1a;
  overflow: hidden;
}
.service-row:last-child { border-bottom: none; }
.service-row img {
  float: left;
  margin: 0 24px 12px 0;
  border-radius: 0;
  max-width: 280px;
}
.service-row.img-right img {
  float: right;
  margin: 0 0 12px 24px;
}
.service-row h2 { margin-top: 0; }

/* ── SIDEBAR ── */
.sidebar-block {
  background: var(--border);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-block h2 { font-size: 16px; border-bottom: 2px solid var(--blue); padding-bottom: 8px; margin-bottom: 14px; }
.sidebar-block p { font-size: 13px; }
.sidebar-block a.call-btn {
  display: block;
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 12px;
  font-weight: 700;
  font-size: 16px;
  border-radius: 3px;
  margin-top: 12px;
  transition: background 0.15s;
}
.sidebar-block a.call-btn:hover { background: #5274c0; color: var(--white); }
.sidebar-block ul { color: var(--light); font-size: 13px; }

/* ── GALLERY GRID ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s;
}
.gallery-grid img:hover { opacity: 0.85; }

/* ── CONTACT FORM ── */
.contact-form label {
  display: block;
  color: var(--light);
  font-size: 13px;
  margin-bottom: 5px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 10px 12px;
  background: #1a1a1a;
  border: 1px solid #333;
  color: var(--light);
  font-size: 13px;
  border-radius: 0;
  margin-bottom: 16px;
  font-family: Arial, sans-serif;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.contact-form textarea { height: 100px; resize: vertical; }
.contact-form button {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.15s;
  float: right;
}
.contact-form button:hover { background: #5274c0; }

/* Map */
.map-wrap {
  margin-top: 24px;
  border: 2px solid #1a1a1a;
}
.map-wrap iframe {
  width: 100%;
  height: 300px;
  display: block;
  border: none;
}

/* ── FOOTER ── */
#footer {
  background: var(--black);
  border-top: 5px solid var(--blue);
  padding: 30px 0 10px;
}
#footer .container { }
.footer-cols {
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
  flex-wrap: wrap;
}
.footer-col { flex: 1; min-width: 120px; }
.footer-col h3 {
  font-size: 13px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.footer-col p { font-size: 12px; line-height: 1.7; margin-bottom: 8px; }
.footer-col a { color: var(--light); font-size: 12px; display: block; margin-bottom: 4px; }
.footer-col a:hover { color: var(--white); }
.footer-vacc { text-align: right; }
.footer-vacc img { max-height: 110px; box-shadow: 0 3px 12px rgba(0,0,0,0.6); }
#footer hr { border: none; border-top: 1px solid #1a1a1a; margin: 16px 0 10px; }
#copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #444;
  padding-bottom: 10px;
  flex-wrap: wrap;
  gap: 6px;
}
#copyright a { color: #444; font-size: 11px; }
#copyright a:hover { color: var(--text); }

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  background: #111;
  border-bottom: 2px solid var(--blue);
  padding: 20px 0;
  margin-bottom: 0;
}
.page-header h1 {
  font-size: 22px;
  margin: 0;
  color: var(--blue);
}
.breadcrumb {
  font-size: 11px;
  color: #555;
  margin-top: 4px;
}
.breadcrumb a { color: #555; }
.breadcrumb a:hover { color: var(--text); }

/* ── RESPONSIVE ── */
@media (max-width: 979px) {
  .dates { width: 65%; padding: 15px 0 0 15px; }
  .dates h2 { height: auto; line-height: 1.4; }
  nav ul li a { padding: 10px 16px; font-size: 13px; }
  a.address-link { display: none; }
  .col-main { width: 60%; }
  .col-side { width: 40%; }
}
@media (max-width: 767px) {
  .dates { width: 100%; float: none; padding: 10px 0 0; }
  .btn-mobile-nav { display: block; }
  nav ul { display: none; flex-direction: column; float: none; width: 100%; }
  nav ul.open { display: flex; }
  nav ul li a { padding: 12px 15px; background: #222; color: #fff; border-bottom: 1px solid #333; border-left: none; }
  nav ul li.active a { background: #111; color: var(--blue); }
  #slider-wrap { display: none; }
  .cta-row { flex-wrap: wrap; }
  .cta-item { width: 50%; flex: none; height: 64px; }
  .col-main, .col-side { width: 100%; float: none; padding-right: 0; }
  .service-row img, .service-row.img-right img {
    float: none; display: block; margin: 0 auto 16px; max-width: 100%; width: 100%;
  }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { flex-direction: column; }
  .footer-vacc { text-align: left; margin-top: 16px; }
  #copyright { flex-direction: column; }
  blockquote { padding: 24px; font-size: 16px; line-height: 26px; }
}
@media (max-width: 480px) {
  .cta-item { width: 100%; }
  .gallery-grid { grid-template-columns: 1fr; }
  .brand img { max-height: 80px; }
}
