/* =========================
   Global Styles
   ========================= */
:root {
  --color-primary: #009dd9;
  --color-secondary: #f46300;
  --color-dark: #111;
  --color-light: #f9f9f9;
  --color-white: #ffffff;
  --color-grey: #666;
  --font-base: 'helvetica-neue', Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  line-height: 1;
  color: var(--color-dark);
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 8px solid var(--color-secondary);
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

ul {
    list-style: disc;
    list-style-position: inside;
}
a { text-decoration: none; color: inherit; }

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s ease;
  border: 0px solid;
}

.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-secondary); }

.btn-secondary { background: var(--color-secondary); color: #fff; }
.btn-secondary:hover { background: var(--color-primary); }

.xlpad {
  padding-bottom: 20px;
}
.lpad {
  padding-bottom: 15px;
}
.mpad {
  padding-bottom: 10px;
}
.spad {
  padding-bottom: 5px;
}
.section1-bg {
  background-image: url(img/section1-bg.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.section2-bg {
  background-image: url(img/section2-bg.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.review-bg {
  background-image: url(img/review-bg.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.service-bg {
  background-image: url(img/service-bg.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.contact-bg {
  background-image: url(img/contact-bg.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.bg-container {
  background-image: url(img/banner-bg.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.blue-container {
  background: var(--color-primary); 
}
.overlay {
  background-color: rgba(255,255,255,0.5)
}
li::marker {
  font-size: 20px;
  color: var(--color-black);
}
/* =========================
   Fonts
   ========================= */

.primary {
  font-size: 3.25rem;
  font-family: "helvetica-neue", Sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-dark);
}

.secondary {
  font-size: 2.625rem;
  font-family: "helvetica-neue", Sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-primary);
}

.tertiary {
  font-size: 2rem;
  font-family: "helvetica-neue", Sans-serif;
  font-weight: 600;
  text-transform: capitalize;
}

.buttons-text {
  font-size: 1.25rem;
  font-family: "helvetica-neue", Sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.menu-text {
  font-size: clamp(1rem, 0.8791rem + 0.2522vw, 1.125rem);
  font-family: "helvetica-neue", Sans-serif;
  font-weight: 600;
}

p {
  font-size: 1rem;
  font-family: "helvetica-neue", Sans-serif;
  font-weight: 400;
  line-height: 1.4rem;
}

/* =========================
   Header & Navigation
   ========================= */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 0;
}
.menu {
  display: none;
}
.menu.is-open {
  display: block;
}
.main-nav .menu {
  display: flex;
  gap: 1.5em;
}
ul#primary-menu {
    list-style: none;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.main-nav a {
  color: var(--color-dark);
  font-size: clamp(1rem, 0.8791rem + 0.2522vw, 1.125rem);
  font-family: 'korolev', Sans-serif;
  font-weight: 600;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
}
.hamburger {
  width: 25px;
  height: 2px;
  background: var(--color-dark);
  display: block;
  position: relative;
}
.hamburger::before,
.hamburger::after {
  content: "";
  width: 25px;
  height: 2px;
  background: var(--color-dark);
  position: absolute;
  left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* =========================
   Selling Point Banners
   ========================= */

.flexus {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1rem 0rem;
    column-gap: 1.25rem;
}

.flexoid {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 18%;
    flex-grow: 1;
}

img.sp {
    width: 50px;
    margin-right: 10px;
}

/* =========================
   Hero Section
   ========================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4em 0;
  gap: 2em;
}
.hero-left { 
  flex: 1;
  padding: 2rem;
}
.hero-right { 
  flex: 1;
  background: var(--color-white); 
  padding: 2em; 
  border-radius: 4px;
  border: 8px solid var(--color-secondary);
}
.thanks {
  flex: 1;
  padding: 8em 2em;
  text-align: center;
}
.contact-form label { display: block; margin-top: 1em; font-weight: 600; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75em;
  margin-top: 0.5em;
  border: 1px solid #111;
  border-radius: 4px;
  font-size: 1rem;
}
.contact-form button {
    margin-top: 1em;
    width: 100%;
}

/* =========================
   Two Column Section
   ========================= */
.two-col, .two-col2 {
  display: flex;
  align-items: center;
  gap: 2em;
  padding: 4em 0;
}
.two-col-left,
.two-col-right { flex: 1; width: 100%; }

.two-col.reversed { flex-direction: row-reverse; }

/* =========================
   Services Section
   ========================= */
.services { padding: 4em 0; text-align: center; }
.services { font-size: 2rem; margin-bottom: 0em; }
.services .section-sub {
    color: var(--color-dark);
    width: 75%;
    margin: auto;
    padding-bottom: 2rem;
}

#services-heading {
  color: var(--color-dark);
}

.service-grid {
  /*display: grid;*/
  /*grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));*/
  display: flex;
  gap: 0.5em;
  flex-direction: row;
  flex-wrap: wrap;
}

.service-card {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #fff;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    height: 375px;
    width: 22%;
    flex-grow: 1;
}
.service-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
}
.service-card div {
    position: absolute;
    bottom: 0px;
    text-align: left;
    z-index: 1;
    padding: 100% 1rem 1rem 1rem;
}
.service-card h3 {
    font-size: 1.5rem;
    padding-right: 1rem;
}
.service-card h3, .service-card p {
    color: var(--color-white);
}

/* background images */
.service-1 { background-image: url('img/new-roof-service.webp'); }
.service-2 { background-image: url('img/tile-roof-service.webp'); }
.service-3 {background-image: url('img/roof-repairs-service.webp'); width: 47.35%;}
.service-4 { background-image: url('img/flat-roof-service.webp'); }
.service-5 { background-image: url('img/slate-roof-service.webp'); }
.service-6 { background-image: url('img/roofline-service.webp'); }
.service-7 { background-image: url('img/moss-removal-service.webp'); }
.service-8 { background-image: url('img/repair-service.webp'); width: 47.35%; }
.service-9 { background-image: url('img/foam-service.webp'); }
.service-10 { background-image: url('img/wall-service.webp'); }

/* =========================
   FAQ Section
   ========================= */

.card {
    padding: 0.5rem 0.5rem 0.6rem 0.5rem;
    background-color: #ffffff;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}
.answer {
    padding: 0.5rem;
}
summary {
    padding-left: 0.5rem;
}
::marker {
  font-size: 20px;
  color: var(--color-primary);
}

/* =========================
   Gallery Section
   ========================= */

.gallery { 
  padding: 4em 0; 
  text-align: center;
  font-size: 2rem; 
  margin-bottom: 0em; 
}
.gallery .section-sub {
  color: var(--color-dark);
  width: 75%;
  margin: auto;
  padding-bottom: 2rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.5em;
}
.gallery-card {
    color: #fff;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    height: 350px;
    width: 100%;
}
img.gallery-card {
    border: 0px !important;
    object-fit: cover;
}
/*
.gallery-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
}*/

/* =========================
   Social Proof Section
   ========================= */
.social-proof { padding: 4em 0; text-align: center; }
.social-proof blockquote {
    margin: 1.5em auto;
    font-style: italic;
    max-width: 32%;
    flex-grow: 1;
    background-color: #ffffff;
    opacity: 1;
    padding: 1rem;
    border-radius: 4px;
}
.social-proof cite { display: block; margin-top: 0.5em; color: var(--color-black); font-style: normal; }
.testimonials {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
img.review {
    border: 0px;
}
/* =========================
   Contact Section
   ========================= */
.contact {
    display: flex;
    gap: 2em;
    padding: 4em 0;
    align-items: center;
}
.contact-left, .contact-right { flex: 1; }
.contact-left {
    padding: 2rem;
    border-radius: 4px;
    border: 4px solid var(--color-secondary);;
    background-color: #ffffff;
}
.contact-left address { margin-top: 1.5em; line-height: 1.4; }

form.contact-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 1.125rem;
}

.short-input {
  width: 48%;
  flex-grow: 1;
}

.contact-phone {
  display: block;
  width: 100%;
}

/* =========================
   Footer
   ========================= */
.site-footer { background: var(--color-dark); color: #fff; margin-top: 0rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2em; padding: 3em 0; }
.footer-left img {
    margin-bottom: 1em;
    border: 0rem;
    border-radius: 0px;
}
.logo {
    border: 0rem;
    border-radius: 0px;
}
.footer-left {
  width: 48%;
}
.footer-middle {
  width: 18%;
}
.footer-right {
  width: 18%;
}
.footer-right h3, .footer-middle h3 { margin-bottom: 0.5em; }
.footer-right ul { display: flex; gap: 1em; margin-top: 1em; }
.footer-right a { color: #fff; }

.copyright-banner { background: #111; text-align: center; padding: 1em 0; font-size: 0.875rem; }

.cr-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
small {
    background-color: #ffffff;
    color: #000000;
    padding: 10px 10px 8px 10px;
    border-radius: 4px;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 1297px) {
  .service-card {
    width: 48%;
  }
}

@media (max-width: 1000px) {
  .hero, .two-col { flex-direction: column; }
  .two-col2, .contact { flex-direction: column-reverse; }
  .main-nav .menu { flex-direction: column; background: #fff; position: absolute; right: 1em; top: 70px; border: 1px solid #ddd; padding: 1em; gap: 2em; }
  .menu-toggle { display: block; padding: 2em; }
  .footer-inner { flex-direction: column; }
  .footer-left, .footer-middle, .footer-right { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .testimonials { flex-direction: column; }
  .social-proof blockquote { max-width: 100%; }
  .flexus { flex-direction: row; row-gap: 20px; }
  .flexoid { width: 48% }
  .two-col, .two-col2 { padding: 2em 0; }
  .social-proof { padding: 2em 0; }
  .services { padding: 2em 0; }
  .service-card { width: 100%; height: 300px; }
  .contact { padding: 2em 0; }
  .gallery { padding: 2em 0; }
  .gallery .section-sub { width: 100%; }
  [hidden] { display: none !important; }
  .cr-box { flex-direction: column; gap: 20px; }
}