/*
Theme Name: Rollalong 2026
Text Domain: Rollalong
Version: 1.1
Description: Responsive WordPress Theme
Author: Matthew Seymour - Rollalong
Author URI: https://rollalong.co.uk

*/

html {
  box-sizing: border-box;
}

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

body {
  background-color: #05090a;
  color: #fff;
  font-family: din-2014, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.625;
  margin: 0;
  overflow-x: hidden;
}

.material-symbols-outlined {
  vertical-align: middle;
}

p {
  line-height: 1.6;
  margin-bottom: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 20px;
}

h1 {
  font-size: 60px;
	font-weight: 800;
	letter-spacing: -1px;
	text-transform: uppercase;
}

h2 {
  font-size: 27px;
}

h3 {
  font-size: 24px;
}

h4,
h5 {
  font-size: 20px;
}

a {
  color: #4c4abf;
  text-decoration: none;
}

a:hover, a:focus {
  text-decoration: underline;
}

button {
  border-radius: 5px;
}

img {
    height: auto;
    vertical-align: top;
}
embed, iframe, img, object, video, .wp-caption {
    max-width: 100%;
}
ul {
  display: block;
  list-style-type: none;
  margin-block-start: 0px;
  margin-block-end: 0px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 0px;
}

input:focus {
  outline: none;
}

input, select, textarea {
  font-size: 16px;
}

.entry-content ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

.site-header {
  width: 100%;
  clear: both;
  position: fixed;
  float: left;
  background-color: #171717;
  z-index: 99;
  padding: 10px 0px;
}

.header-logo {
  width: auto;
  float: left;
  display: block;
  height: auto;
  padding: 10px;
}

.header-logo img {
  max-width: 150px;
  width: 100%;
  display: block;
}

.navigation-container {
  display: none;
}

nav.main-menu {
  display: flex;
  flex-direction: column;
  width: 100%;
  height:0px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #171717;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-out;
  z-index: -1;
   transform: translateY(-100%);
   visibility: hidden;
}

nav.main-menu.show {
  visibility: visible;
  clear: both;
  position: absolute;
  top:0px;
  height: auto;
  transform: translateY(0);
  z-index:8;
}

nav.main-menu a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  font-weight: 700;
}

.menu-toggle {
  display: block;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -15px;
  z-index:9;
}

.menu-toggle .bar {
  display: block;
  width: 20px;
  height: 3px;
  background-color: #fff;
  margin: 4px 0;
  transition: 0.3s;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-4px, 6px);
  background-color: #fff;
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-4px, -6px);
  background-color: #fff;
}

.entry-title-container {
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  margin-top: 0px;
}

.entry-title-content h1 {
  width: auto;
  display: block;
  float: none;
  padding: 20px 0px;
  margin: 0px auto;
  text-align: center;
  font-size: 32px;
  color: #fff;
}

.entry-title-content {
    max-width: 100%;
    float: none;
    margin: 0px auto;
    display: block;
    overflow: hidden;
    padding-top: 0px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 5px;
    padding-top: 0px;
}

.page-entry-wrap,
.wrap {
  max-width: 1280px;
  width: auto;
  margin: 0 auto;
  float: none;
  position: relative;
  padding: 40px 20px;
  overflow: hidden;
}

.home .footer-widgets .wrap {
  max-width: 100%;
}

.wrap {
  padding: 20px;
}

.footer-credits {
  width: 100%;
  clear: both;
  color: #fff;
  padding-bottom: 20px;
  padding: 10px;
}

.footer-credits p {
  color: #fff;
  text-align: center;
  opacity: 0.8;
}

.footer-credits a {
  color: #fff;
}

.page-entry-wrap .sidebar {
  width: 100%;
  float: left;
}

.page-entry-wrap .content-area {
  width: 100%;
  float: left;
}

.footer-credits {
  background-color: #05090a;
  border-top: 0px solid #eee;
  font-size: 15px;
  line-height: 1.5;
  padding: 30px;
  text-align: center;
}

.footer-credits p {
  margin-bottom: 0;
  opacity: 0.6;
}

.hero-section {
  display: flex;
  width: 100%;
  height: 100vh;
  justify-content: flex-start;
    align-items: center;
    background-color: #05090a;
    position: relative;
    background-image: url('/wp-content/uploads/2023/12/epm-discreet-buildings-15-1024x674.webp');
    background-size: 100% auto;
    background-position: top right;
    background-repeat: no-repeat;
}

.scroll-down {
  position: absolute;
  bottom: 20%;
  left: 50%;
  margin-left: -20px;
  text-align: center;
}

.scroll-down a {
  color: #fff;
}

.scroll-down a span {
  font-size: 48px;
}

.appear {
  -webkit-transition: all 0.8s;
  transition: all 0.8s;
  opacity: 0;
  -webkit-transform: translateY(20px);
          transform: translateY(20px);
}

.appear.inview {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

.about-section,
.case-study-container,
.map-section {
  min-height: 100vh;
  height: auto;
  margin: 0 auto;
  width: 100%;
  clear: both;
  display: flex;
  justify-content: space-around;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    padding: 40px;
    position: relative;
}

img.aligncenter {
  display: block;
  margin: 0 auto 30px;
  float: none;
}

.home .content-sidebar-wrap {
  display: none;
}

.hero-nav-container {
  display: none;
}

.footer-widget-area {
  float: left;
  margin-bottom: 0;
  width: 100%;
}

.footer-widgets {
    border-top: 0px solid #eee;
    background-color: #fff;
    clear: both;
    padding: 0px;
}

.footer-widgets .wrap {
    margin-left: auto;
    margin-right: auto;
}

.footer-widgets .wrap {
    min-height: 50vh;
    height: auto;
    margin: 0 auto;
    width: 100%;
    clear: both;
    display: block;
    padding: 0px;
    position: relative;
}

.footer-widgets-2,
.footer-widgets-1 {
  max-width: 100%;
  width: 100%;
  padding: 30px;
  display: block;
  clear: both;
}

.footer-widgets-1 {
  color: #05090a;
}
.footer-widgets-2 {
  color: #fff;
  background-color: #05090a;
}

.footer-widget .widget {
  width: 100%;
}

.footer-widgets h3 {
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 40px;
}

.footer-widgets-2 img {
  max-width: 150px;
}

.footer-widgets a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  display: inline-block;
}

.error-404 h2 {
  font-size: 62px;
}
@media only screen and (min-width: 960px) {  

  .site-header {
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0);
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
    padding: 0 30px;
    width: 100%;
    opacity: 0;
    transition: all 0.3s ease-in-out;
  }

  .admin-bar .site-header {
    top: 32px;
  }

  .site-header.shrink {
    display: flex;
    background-image: initial;
    background-color: rgba(23, 23, 23, 0.6);
    opacity: 1;
  }

  .entry-title-content {
    padding-top: 100px;
  }

  .entry-title-content h1 {
    padding: 40px 0px;
  }

  .header-logo {
    padding-bottom: 24px;
    padding-top: 24px;
  }
  .menu-toggle {
    display: none;
  }

  nav.main-menu {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    float: right;
    width: auto;
    height: auto;
    position: relative;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0);
    transition: transform 0.3s ease-out;
    z-index: 9;
    transform: initial;
    visibility: visible;
  }

   nav.main-menu .menu-item {
    display: inline-block;
   }

  nav.main-menu a {
      color: #fff;
      display: block;
      font-size: 15px;
      font-weight: 400;
      outline-offset: -1px;
      padding-bottom: 12px;
      padding-top: 12px;
      text-decoration: none;
  }

    nav.main-menu a:hover,
    nav.main-menu a:focus {
      color: #4c4abf;
    }

  .menu-toggle {
      display: none;
      cursor: pointer;
      font-size: 20px;
      line-height: 1;
      position: absolute;
      top: 10px;
      right: 10px;
  }

  .scroll-down {
    bottom: 10%;
  }
  .scroll-down a:hover,
  .scroll-down a:focus {
    color: #4c4abf;
  }

  .footer-widget-area {
    width: calc(100% / 2);
  }

  .footer-widgets .wrap {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    flex-direction: row;
    background: linear-gradient(to left, #05090a 50%, rgba(0, 0, 0, 0) 50%);
}
  .footer-widgets-2,
  .footer-widgets-1 {
    max-width: 600px;
    padding: 60px;
    padding-bottom: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .footer-widgets {
    background-image: url('/wp-content/themes/epm-discreet/assets/images/wave-lines.svg');
    background-size: 50% auto;
    background-position: bottom left;
    background-repeat: no-repeat;
  }

  .footer-widgets h3 {
    font-size: 102px;
  }


  .footer-widgets a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    display: inline-block;
      vertical-align: middle;
      -webkit-transform: perspective(1px) translateZ(0);
      transform: perspective(1px) translateZ(0);
      box-shadow: 0 0 1px rgba(0, 0, 0, 0);
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease-out;
  }
  .footer-widgets a:hover,
  .footer-widgets a:focus {
    color: #ffd800;
  }

  .footer-widgets a:before {
      content: "";
      position: absolute;
      z-index: -1;
      left: 0;
      right: 100%;
      bottom: 0;
      background: #ffd800;
      height: 1px;
      -webkit-transition-property: right;
      transition-property: right;
      -webkit-transition-duration: 0.3s;
      transition-duration: 0.3s;
      -webkit-transition-timing-function: ease-out;
      transition-timing-function: ease-out;
  }

  .footer-widgets a:hover:before,
  .footer-widgets a:focus:before {
    right: 0;
  }

  p.return-link a i {
  margin-right: 5px;
  transition: all 0.3s ease-out;
  }

  p.return-link a:hover i,
  p.return-link a:focus i {
  margin-right: 0px;
  }

}

@media only screen and (min-width: 1280px) {

}