/*
Theme Name: Kitts Classic
Theme URI: https://www.kittsscaffolding.com
Description: Faithful 1:1 replica of the original Kitts Scaffolding website.
Author: Kitts Scaffolding
Version: 1.0
Text Domain: kitts-classic
*/

/* ============================================
   BASE / RESET
   ============================================ */
html { height: 100%; }

body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 18px;
  height: 100%;
  min-height: 100%;
  padding-top: 92px;
  overflow-y: scroll;
  overflow-x: hidden;
  margin: 0;
  color: #333;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  margin-top: 20px;
  margin-bottom: 10px;
}
h1 span, h2 span, h3 span, h4 span { color: rgba(216,41,47,1); }
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.3em; }

img { max-width: 100%; height: auto; }
a { color: #000; text-decoration: none; border-bottom: 1px solid #ccc; }
a:hover, a:focus { color: rgba(216,41,47,1); text-decoration: none; }

ul, ol { margin-bottom: 20px; }
p { margin-bottom: 15px; }
hr { border-color: #ddd; border-style: solid; border-width: 1px 0 0; }

.container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col { padding: 0 15px; }

/* Columns */
.col-full { width: 100%; }
.col-half { width: 50%; }
.col-third { width: 33.333%; }
.col-two-third { width: 66.666%; }
.col-quarter { width: 25%; }
.col-three-quarter { width: 75%; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 10px 20px;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 1em;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  border-bottom: none;
  transition: all .3s ease;
}
.btn:hover { border-bottom: none; }

.btn-primary {
  color: #fff;
  background-color: rgba(216,41,47,1);
  border-color: rgba(182,33,37,1);
}
.btn-primary:hover, .btn-primary:focus {
  color: #fff;
  background-color: rgba(182,33,37,1);
  border-color: rgba(182,33,37,1);
}

.btn-secondary {
  color: #fff;
  background-color: rgba(49,49,49,1);
  border-color: #333;
}
.btn-secondary:hover, .btn-secondary:focus {
  color: #fff;
  background-color: rgba(25,25,25,1);
  border-color: #333;
}

.btn-lg { padding: 15px 30px; font-size: 1.1em; }

/* ============================================
   COLOUR BLOCK (red line under nav)
   ============================================ */
.colour-block {
  height: 7px;
  background: rgba(216,41,47,1);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  border: 0;
  background: rgba(255,255,255,1);
  box-shadow: 0 0 6px 1px #666;
}

.navbar-inner {
  padding: 5px 0 10px 0;
}

.navbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  flex-shrink: 0;
}
.navbar-logo img {
  max-width: 300px;
  height: auto;
}

.navbar-right {
  display: flex;
  align-items: center;
}

.navbar-top-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 5px;
}

.navbar .telephone {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  font-weight: 300;
}
.navbar .telephone a {
  color: #000;
  border-bottom: none;
}
.navbar .telephone a:hover { color: rgba(216,41,47,1); border-bottom: none; }

.primary-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.primary-nav li a {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1em;
  font-weight: 300;
  text-transform: uppercase;
  padding: 5px 10px;
  margin: 0 5px;
  color: rgba(0,0,0,1);
  border-bottom: none;
  border-left: 2px solid transparent;
  transition: all .3s ease;
}
.primary-nav li a:hover,
.primary-nav li.active a {
  color: rgba(216,41,47,1);
  border-bottom: none;
}

.primary-nav .nav-telephone {
  font-weight: 400;
  font-size: 1.1em;
  color: #000;
  margin-left: 10px;
}
.primary-nav .nav-telephone:hover {
  color: rgba(216,41,47,1);
}

/* Mobile toggle */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;
}

/* ============================================
   HERO CAROUSEL
   ============================================ */
.herocarousel {
  width: 90%;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.hero-slide {
  height: 400px;
  max-height: 400px;
  overflow: hidden;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-slide h2 {
  color: #fff;
  display: inline-block;
  padding: 30px;
  line-height: 1.2em;
  font-size: 36px;
}
.hero-slide h2 small {
  color: #fff;
  display: block;
  font-size: 0.6em;
  font-weight: 300;
}

/* ============================================
   WHITE BG CONTENT SECTION
   ============================================ */
.whiteBG { background: rgba(255,255,255,0.9); }

.content-section {
  padding: 30px 0;
}

.lead {
  font-weight: 300;
  font-size: 1.15em;
  line-height: 1.6;
}

/* ============================================
   TEASERS (service cards)
   ============================================ */
.teaser {
  display: block;
  margin-bottom: 30px;
  border-bottom: none;
  text-decoration: none;
  overflow: hidden;
}
.teaser:hover { border-bottom: none; }

.teaser-cover {
  height: 150px;
  background-size: cover;
  background-position: center;
  display: table;
  width: 100%;
  position: relative;
}

.teaser-cover h4 {
  font-family: 'Oswald', sans-serif;
  margin: 0 0 -7px 0;
  padding: 15px 15px 5px 25px;
  background: rgba(255,255,255,1);
  font-weight: 400;
  font-size: 1.2em;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transition: all .3s ease;
}
.teaser:hover .teaser-cover h4 {
  margin: 0;
  padding: 15px 15px 15px 35px;
  background: rgba(216,41,47,1);
  color: #fff;
}

.teaser p {
  padding: 10px 15px;
  font-size: 0.9em;
  color: #666;
}

/* ============================================
   TESTIMONIAL WIDGET
   ============================================ */
.widget {
  padding: 20px 30px;
  background: rgba(49,49,49,1);
  border-radius: 5px;
  margin-bottom: 40px;
}

.widget-title {
  margin: 0 0 10px 0;
  color: #fff;
  text-align: right;
}

.widget hr { border-color: #666; }

.widget-testimonial blockquote {
  font-size: 1.2em;
  line-height: 1.2em;
  border: 0;
  margin: 0;
  padding: 20px 5% 20px 30px;
  color: #fff;
  font-style: italic;
}
.widget-testimonial blockquote span {
  display: block;
  font-size: 0.8em;
  color: rgba(216,41,47,1);
  margin-top: 10px;
  font-style: normal;
}

/* ============================================
   CTA BUTTONS ROW
   ============================================ */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.cta-row .btn {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

/* ============================================
   ACCREDITATIONS BAR
   ============================================ */
.accreditations-bar {
  background: rgba(49,49,49,1);
  padding: 30px 0;
  text-align: center;
}
.accreditations-bar p {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 1.1em;
  margin-bottom: 20px;
}
.accreditations-bar img {
  max-width: 600px;
  margin: 0 auto;
  display: block;
}

/* ============================================
   SIDEBAR WIDGETS
   ============================================ */
.widget-subnav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget-subnav ul li a {
  display: block;
  color: #fff;
  padding: 8px 0;
  border-bottom: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  transition: all .3s ease;
}
.widget-subnav ul li a:hover {
  color: #fff;
  background: rgba(216,41,47,1);
  padding-left: 10px;
}

.widget-callback label {
  display: block;
  color: #fff;
  margin-bottom: 5px;
  font-size: 0.9em;
}
.widget-callback input[type="text"],
.widget-callback input[type="email"],
.widget-callback input[type="tel"] {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: none;
  border-radius: 3px;
}
.widget-callback .btn {
  width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: rgba(49,49,49,1);
  padding: 20px 0;
  color: #fff;
}

footer .footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

footer .footer-col {
  flex: 1;
  min-width: 200px;
}

footer h5 {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  margin-top: 10px;
  margin-bottom: 10px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer ul li a {
  color: #999;
  border-bottom: none;
  font-size: 0.9em;
  display: block;
  padding: 3px 0;
}
footer ul li a:hover { color: rgba(216,41,47,1); }

footer address {
  font-style: normal;
  color: #999;
  font-size: 0.9em;
  line-height: 1.6;
}
footer address a { color: #fff; border-bottom: none; }
footer address a:hover { color: rgba(216,41,47,1); }

footer .footer-bottom {
  border-top: 1px solid #666;
  padding-top: 15px;
  margin-top: 20px;
  font-size: 0.8em;
  color: #999;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

footer .footer-pills {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 10px 0;
  flex-wrap: wrap;
}
footer .footer-pills a {
  color: #999;
  border-bottom: none;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9em;
}
footer .footer-pills a:hover { color: rgba(216,41,47,1); }

/* ============================================
   PAGE HEADER (interior pages)
   ============================================ */
.page-header-bar {
  background-size: cover;
  background-position: center;
  padding: 60px 0 30px;
  position: relative;
}
.page-header-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.page-header-bar .container { position: relative; z-index: 2; }
.page-header-bar h1 { color: #fff; margin: 0; }
.page-header-bar h2 { color: #fff; margin: 5px 0 0; font-size: 1em; font-weight: 300; }

.breadcrumb-bar {
  background: #f5f5f5;
  padding: 10px 0;
  font-size: 0.8em;
}
.breadcrumb-bar a { color: #666; border-bottom: none; }
.breadcrumb-bar a:hover { color: rgba(216,41,47,1); }

/* ============================================
   CONTENT + SIDEBAR LAYOUT
   ============================================ */
.content-with-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px 0;
}
.content-main {
  flex: 1;
  min-width: 0;
}
.content-sidebar {
  width: 300px;
  flex-shrink: 0;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.gallery-grid a {
  border-bottom: none;
}
.gallery-grid img {
  width: calc(33.333% - 7px);
  height: 150px;
  object-fit: cover;
  border-radius: 3px;
  transition: opacity .3s ease;
}
.gallery-grid img:hover { opacity: 0.8; }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 400;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: inherit;
  font-size: 1em;
}
.contact-form textarea { min-height: 120px; }

/* ============================================
   TESTIMONIALS PAGE
   ============================================ */
.testimonial {
  margin-bottom: 40px;
}
.testimonial blockquote {
  font-size: 1.4em;
  line-height: 1.2em;
  border: 0;
  margin: 20px 0;
  padding: 40px;
  font-style: italic;
}
.testimonial blockquote span {
  display: block;
  font-size: 0.8em;
  color: rgba(216,41,47,1);
  margin-top: 10px;
  font-style: normal;
}

/* ============================================
   PADDING UTILITIES
   ============================================ */
.padding-fat { padding: 60px 30px; }
.spacer { height: 20px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .col-third, .col-quarter { width: 50%; }
  .col-three-quarter { width: 100%; }
  .content-sidebar { width: 100%; }
  .navbar-logo img { max-width: 220px; }
  .hero-slide { height: 300px; }
  .hero-slide h2 { font-size: 28px; }
}

@media (max-width: 767px) {
  body { padding-top: 70px; }

  .navbar-toggle { display: block; }
  .navbar-right { display: none; }
  .navbar-right.active { display: flex; width: 100%; }

  .navbar-inner { padding: 8px 0; }
  .navbar-row { flex-wrap: wrap; }
  .navbar-logo img { max-width: 180px; }

  .primary-nav {
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
  }
  .primary-nav li a {
    padding: 10px 15px;
    margin: 0;
    border-bottom: 1px solid #eee;
  }

  .navbar-top-row { display: none; }

  .col-half, .col-third, .col-two-third,
  .col-quarter, .col-three-quarter { width: 100%; }

  .herocarousel { width: 100%; border-radius: 0; }
  .hero-slide { height: 250px; border-radius: 0; }
  .hero-slide h2 { font-size: 22px; padding: 15px; }

  .teaser-cover { height: 120px; }

  .content-with-sidebar { flex-direction: column; }
  .content-sidebar { width: 100%; }

  .gallery-grid img { width: calc(50% - 5px); height: 120px; }

  .cta-row { flex-direction: column; }
  .cta-row .btn { min-width: auto; }

  footer .footer-grid { flex-direction: column; }
  footer .footer-bottom { flex-direction: column; text-align: center; gap: 5px; }
}

@media (max-width: 480px) {
  .gallery-grid img { width: 100%; height: 180px; }
  .hero-slide { height: 200px; }
  .hero-slide h2 { font-size: 18px; }
}
