/* Exeter Garage Door Repair — static rebuild of the WordPress/OnePress site */

:root {
  --primary: #03c4eb;
  --brand-red: #dd3333;
  --text: #777777;
  --heading: #333333;
  --border: #e9e9e9;
  --section-bg: #f8f9f9;
  --header-h: 75px;
  --font: "Open Sans", Helvetica, Arial, sans-serif;
  --font-heading: "Raleway", Helvetica, Arial, sans-serif;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@media (max-width: 991px) { html { font-size: 15px; } }
@media (max-width: 767px) { html { font-size: 14px; } }

body {
  margin: 0;
  background: #fff;
  font-family: var(--font);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text);
}

::selection { background: #000; color: #fff; }

a { color: var(--primary); text-decoration: none; outline: none; }
a:hover { color: var(--text); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0 0 0.9375rem;
  color: var(--heading);
}
h1 { font-size: 2.0625rem; line-height: 1.3; }
h2 { font-size: 1.5625rem; line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.1; }
h4 { font-size: 1.0625rem; line-height: 1.1; margin-bottom: 12px; }
h5 { font-size: 0.9375rem; line-height: 1.1; font-weight: 700; text-transform: uppercase; }
@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
}

p { margin: 0 0 0.9375rem; }
b, strong { font-weight: bold; }
img { max-width: 100%; height: auto; vertical-align: middle; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
.skip-link:focus {
  clip: auto; width: auto; height: auto;
  top: 5px; left: 5px; z-index: 100000;
  padding: 15px 23px 14px;
  background: #f1f1f1; color: #21759b;
  font-weight: 700;
}

/* Font Awesome glyphs as inline SVG: 1em tall, width = glyph advance */
.ico { display: inline-block; height: 1em; fill: currentColor; vertical-align: -0.14em; overflow: visible; }

/* ---------- Grid (Bootstrap 4 container/row) ---------- */
.container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}
@media (min-width: 576px) { .container { width: 540px; max-width: 100%; } }
@media (min-width: 768px) { .container { width: 720px; } }
@media (min-width: 992px) { .container { width: 960px; } }
@media (min-width: 1200px) { .container { width: 1140px; } }

.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col { position: relative; width: 100%; min-height: 1px; padding: 0 15px; }
@media (min-width: 576px) { .col-sm-6 { flex: 0 0 50%; max-width: 50%; } }
@media (min-width: 992px) { .col-lg-3 { flex: 0 0 25%; max-width: 25%; } }

/* ---------- Header (sticky) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  line-height: var(--header-h);
  background: #fff;
  box-shadow: 0 5px 10px 0 rgba(50, 50, 50, 0.06);
}
.site-header .container { position: static; display: flex; align-items: center; justify-content: space-between; }

.site-branding { line-height: 60px; min-width: 0; }
.site-branding .site-title,
.site-branding .site-text-logo {
  display: inline-block;
  margin: 0;
  position: relative;
  margin-top: -5px;
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  vertical-align: middle;
  color: var(--brand-red);
}
.site-branding .site-text-logo:hover { text-decoration: none; }
.site-branding .site-description {
  position: relative;
  top: -15px;
  margin: 0;
  font-size: 12px;
  line-height: 14px;
  color: #000;
}

.onepress-menu { display: flex; margin: 0; padding: 0; list-style: none; }
.onepress-menu li { margin: 0; white-space: nowrap; }
.onepress-menu a {
  display: block;
  padding: 0 17px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--heading);
}
.onepress-menu > li:last-child > a { padding-right: 0; }
.onepress-menu a:hover,
.onepress-menu li.onepress-current-item > a { color: var(--primary); text-decoration: none; }

/* Hamburger (turns into an X when open) */
#nav-toggle {
  display: none;
  position: relative;
  width: 35px;
  height: var(--header-h);
  margin-left: 15px;
  padding: 0;
  flex: 0 0 auto;
  background: none;
  border: 0;
  cursor: pointer;
}
#nav-toggle span,
#nav-toggle span::before,
#nav-toggle span::after {
  position: absolute;
  right: 5px;
  display: block;
  width: 24px;
  height: 3px;
  background: #000;
}
#nav-toggle span { top: 50%; margin-top: -2px; }
#nav-toggle span::before,
#nav-toggle span::after {
  content: "";
  right: 0;
  transform-origin: 0% 50%;
  transition: transform 0.2s;
}
#nav-toggle span::before { top: -8px; }
#nav-toggle span::after { top: 8px; }
#nav-toggle.nav-is-visible span { background: transparent; }
#nav-toggle.nav-is-visible span::before { transform: translateX(4px) translateY(-1px) rotate(45deg); background: #000; }
#nav-toggle.nav-is-visible span::after { transform: translateX(4px) translateY(0) rotate(-45deg); background: #000; }

@media (max-width: 1140px) {
  #nav-toggle { display: block; }
  .main-navigation .onepress-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    height: 0;
    overflow: hidden;
    background: #fff;
    transition: height 0.3s ease;
  }
  .main-navigation .onepress-menu.onepress-menu-mobile {
    overflow: auto;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .onepress-menu li { line-height: 20px; border-top: 1px solid var(--border); }
  .onepress-menu > li:first-child { border-top: 0; }
  .onepress-menu a,
  .onepress-menu > li:last-child > a { padding: 12px 20px; color: var(--text); }
  .onepress-menu a:hover { color: #000; }
}
/* Long site title on small phones: shrink instead of overlapping the tagline */
@media (max-width: 575px) {
  .site-branding { line-height: 1; padding: 14px 0; }
  .site-branding .site-title,
  .site-branding .site-text-logo { margin-top: 0; font-size: 18px; }
  .site-branding .site-description { top: 0; margin-top: 6px; font-size: 11px; }
}

/* ---------- Hero ---------- */
.hero-slideshow-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #222;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  transition: opacity 0.75s;
}
.hero-slideshow-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
}
.hero-slideshow-wrapper .container {
  position: relative;
  z-index: 80;
  padding: 10% 0;
}
@media (max-width: 575px) { .hero-slideshow-wrapper .container { padding-left: 15px; padding-right: 15px; } }
.hero-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 90;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.hero-spinner span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  opacity: 0.6;
  animation: sk-bounce 2s infinite ease-in-out;
}
.hero-spinner span + span { animation-delay: -1s; }
@keyframes sk-bounce {
  0%, 100% { transform: scale(0); }
  50% { transform: scale(1); }
}
.hero-slideshow-wrapper.loaded .hero-spinner { opacity: 0; visibility: hidden; }
html:not(.js) .hero-spinner { display: none; }
html.js .hero-slideshow-wrapper:not(.loaded) .hero-bg { opacity: 0; }

.hero__content {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 300;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.hero__content .hero-large-text {
  margin-bottom: 0.9375rem;
  font-size: 35px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}
@media (min-width: 720px) { .hero__content .hero-large-text { font-size: 60px; letter-spacing: 3px; } }
@media (min-width: 940px) { .hero__content .hero-large-text { font-size: 75px; letter-spacing: 4px; } }
.hero__content .hero-small-text p {
  margin-bottom: 1.875rem;
  font-size: 14px;
  font-style: italic;
  font-weight: 100;
  letter-spacing: 0.4px;
  color: #fff;
}
@media (min-width: 940px) { .hero__content .hero-small-text p { font-size: 18px; } }
@media (min-width: 1140px) { .hero__content .hero-small-text p { font-size: 22px; } }

/* Hero text rises in once the background photo has loaded */
html.js .hero__content .hero-large-text,
html.js .hero__content .hero-small-text,
html.js .hero__content .btn {
  visibility: hidden;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.5s linear;
}
html.js .hero__content .hero-large-text { transition-delay: 0.7s; }
html.js .hero__content .hero-small-text { transition-delay: 0.8s; }
html.js .hero__content .btn { transition-delay: 1s; }
html.js .loaded .hero__content .hero-large-text,
html.js .loaded .hero__content .hero-small-text,
html.js .loaded .hero__content .btn {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
html.js .loaded .hero__content:hover .hero-large-text,
html.js .loaded .hero__content:hover .hero-small-text,
html.js .loaded .hero__content:hover .btn { transition-duration: 0.3s; transition-delay: 0s; }

/* Rotating words (Morphext): one phrase at a time, flipInX every 2s */
.js-rotating { display: inline-block; }
.js-rotating > span { display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
  border: 1px solid transparent;
  border-radius: 2px;
  box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.1) inset;
  transition: all 0.2s ease-in-out;
}
.btn:hover { text-decoration: none; }
.btn-lg { font-size: 1.0625rem; }
.btn-theme-primary { background: var(--primary); color: #fff; }
.btn-theme-primary:hover, .btn-theme-primary:focus { color: #fff; }
.hero__content .btn { margin: 0.625rem 0.625rem 1.25rem 0; box-shadow: none; }

/* ---------- Sections ---------- */
.section-padding { padding: 4.375rem 0; }
.section-meta { background-color: var(--section-bg); }
.onepage-section { position: relative; overflow: hidden; }

.section-title-area { margin-bottom: 60px; text-align: center; }
.section-title-area .section-subtitle {
  display: inline-block;
  margin-bottom: 0.8125rem;
  font-size: 12px;
  letter-spacing: 2px;
  color: #aaa;
}
.section-title-area .section-title {
  margin-bottom: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
@media (min-width: 940px) {
  .section-title-area .section-subtitle { font-size: 14px; }
  .section-title-area .section-title { font-size: 40px; letter-spacing: 3.5px; }
}
.section-desc { margin-top: 2.5rem; font-size: 1.25rem; }

/* Features */
.feature-item { text-align: center; }
.feature-media { margin-bottom: 20px; text-align: center; }
.icon-stack {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  font-size: 56px; /* fa-5x overridden to 4em by the theme */
  line-height: 2em;
  vertical-align: middle;
}
.icon-stack .icon-bg {
  position: absolute;
  top: 0;
  left: 50%;
  font-size: 2em;
  margin-left: -0.4286em;
  color: var(--primary);
}
.feature-item:hover .icon-stack .icon-bg {
  color: var(--heading);
  transform: scale(1.1);
  transition: all 0.5s ease-in-out;
}
.icon-stack .feature-icon { position: relative; color: #fff; vertical-align: 0; }

/* About (title only) */
.section-about .section-title-area { margin-bottom: 30px; }

/* Services */
.service-item {
  position: relative;
  margin-bottom: 30px;
  padding: 30px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  transition: all 100ms ease-out 0s;
}
.service-item:hover { box-shadow: 0 6px 9px rgba(0, 0, 0, 0.09); }
.service-content { overflow: hidden; }
.service-content p { margin: 0; font-size: 14px; color: var(--text); }
.service-content .gap { height: 1.7em; }
@media (max-width: 720px) {
  .service-item { padding: 20px; }
  .service-content { text-align: center; }
}
.services-list h3 { line-height: 1.1; }

/* Gallery */
.gallery-grid { display: flex; flex-wrap: wrap; align-items: flex-start; margin: -10px; }
.gallery-grid .g-item {
  display: block;
  width: 33.3333%;
  padding: 10px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  border: 0;
}
.gallery-grid .inner-content { display: block; width: 100%; height: 100%; overflow: hidden; }
.gallery-grid img { display: block; width: 100%; transition: all 0.5s linear; }
.gallery-grid .g-item:hover img { transform: scale(1.5); }

/* Contact */
.section-contact .section-desc h1,
.section-contact .section-desc h3 { text-align: center; }
.section-contact .section-desc h1 { font-weight: 700; } /* theme: h1 span { font-weight: bold } */
.section-contact .section-desc a { color: inherit; text-decoration: none; }
.contact-spacer { height: 165px; }

/* ---------- Inner page (about) ---------- */
.site-content { border-top: 1px solid var(--border); }
#primary { padding: 40px 0; }
/* Same reading width as the old right-sidebar layout (the sidebar only held a WordPress search box) */
@media (min-width: 940px) {
  #primary.content-area { width: 74.7748%; padding-right: 39px; border-right: 1px solid var(--border); }
}
.entry-content { margin-bottom: 30px; }
.entry-content .gap { height: 1.7em; margin-bottom: 0.9375rem; }

/* ---------- Footer ---------- */
.site-footer { background: #111; color: #bbb; font-size: 14px; }
.site-info {
  position: relative;
  padding: 35px 0;
  background: #222;
  font-weight: 500;
  color: #bbb;
  text-align: center;
}
.site-info .container { position: static; }
.site-info a { color: #ddd; }
.btt a {
  position: absolute;
  top: -25px;
  right: 60px;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: auto;
  font-size: 30px;
  color: #999;
  background: #222;
  border-radius: 0 20px 0 0;
  transform: rotate(-45deg);
  transition: all 0.2s linear 0s;
}
.btt a:hover { color: var(--primary); text-decoration: none; }
.btt a .btt-icon { display: inline-block; transform: rotate(45deg); margin-left: 3px; line-height: 0; }
@media (max-width: 940px) {
  .btt a { left: 0; right: 0; }
}

/* ---------- 404 ---------- */
.error-404 { padding: 60px 0 80px; text-align: center; }
.error-404 .btn { margin-top: 10px; }

/* ---------- Scroll animations (animate.css keyframes, WOW-style trigger) ---------- */
html.js .wow { visibility: hidden; }
html.js .wow.animated { visibility: visible; }
.animated { animation-duration: 1s; animation-fill-mode: both; }
.animated.slideInUp { animation-name: slideInUp; }
.animated.flash { animation-name: flash; }
.animated.flipInX { animation-name: flipInX; backface-visibility: visible !important; }

@keyframes slideInUp {
  from { transform: translate3d(0, 100%, 0); visibility: visible; }
  to { transform: translate3d(0, 0, 0); }
}
@keyframes flash {
  from, 50%, to { opacity: 1; }
  25%, 75% { opacity: 0; }
}
@keyframes flipInX {
  from { transform: perspective(400px) rotate3d(1, 0, 0, 90deg); animation-timing-function: ease-in; opacity: 0; }
  40% { transform: perspective(400px) rotate3d(1, 0, 0, -20deg); animation-timing-function: ease-in; }
  60% { transform: perspective(400px) rotate3d(1, 0, 0, 10deg); opacity: 1; }
  80% { transform: perspective(400px) rotate3d(1, 0, 0, -5deg); }
  to { transform: perspective(400px); }
}

/* ---------- Lightbox (lightGallery look, fade mode) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s;
  user-select: none;
}
.lightbox.open { opacity: 1; visibility: visible; background: #000; }
.lightbox-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 47px 5px 44px;
}
.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  transition: transform 250ms cubic-bezier(0, 0, 0.25, 1), opacity 250ms cubic-bezier(0, 0, 0.25, 1);
}
.lightbox-stage img.ready { opacity: 1; transform: scale3d(1, 1, 1); }
.lightbox-stage img.fade { transition: opacity 0.1s ease; transform: none; }
.lightbox-toolbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 47px;
  background: rgba(0, 0, 0, 0.45);
}
.lightbox-counter { display: inline-block; padding: 12px 0 0 20px; font-size: 16px; color: #999; }
.lightbox-toolbar button,
.lightbox-toolbar a {
  float: right;
  width: 50px;
  height: 47px;
  padding: 0;
  font-size: 22px;
  line-height: 47px;
  text-align: center;
  color: #999;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s linear;
}
.lightbox-toolbar button:hover,
.lightbox-toolbar a:hover { color: #fff; }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  z-index: 3;
  margin-top: -10px;
  padding: 8px 10px 9px;
  font-size: 22px;
  line-height: 1;
  color: #999;
  background: rgba(0, 0, 0, 0.45);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { color: #fff; }
.lightbox-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 10px 40px;
  font-size: 16px;
  color: #eee;
  text-align: center;
  background: rgba(0, 0, 0, 0.45);
}
body.lightbox-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .wow { visibility: visible; }
  .animated { animation: none !important; }
  html.js .hero__content .hero-large-text,
  html.js .hero__content .hero-small-text,
  html.js .hero__content .btn { transition: none; transform: none; }
  .gallery-grid img, .hero-bg, .lightbox-stage img { transition: none; }
  .hero-spinner span { animation: none; }
}
