/* GENERAL STYLES V0.6*/
/*  FONTS ---------------------------- */
/* Urbanist */
@font-face {
    font-family: 'Urbanist', sans-serif;
    src: url('../fonts/Urbanist/Urbanist-VariableFont_wght.ttf') format('truetype');
    font-weight: 200;
    font-style: extralight;
    font-display: swap;
}

@font-face {
    font-family: 'Urbanist';
    src: url('../fonts/Urbanist/Urbanist-VariableFont_wght.ttf') format('truetype');
    font-weight: 300;
    font-style: thin;
    font-display: swap;
}

@font-face {
    font-family: 'Urbanist';
    src: url('../fonts/Urbanist/Urbanist-VariableFont_wght.ttf') format('truetype');
    font-weight: 400;
    font-style: regular;
    font-display: swap;
}

@font-face {
    font-family: 'Urbanist';
    src: url('../fonts/Urbanist/Urbanist-VariableFont_wght.ttf') format('truetype');
    font-weight: 500;
    font-style: medium;
    font-display: swap;
}

@font-face {
    font-family: 'Urbanist';
    src: url('../fonts/Urbanist/Urbanist-VariableFont_wght.ttf') format('truetype');
    font-weight: 600;
    font-style: semibold;
    font-display: swap;
}

@font-face {
    font-family: 'Urbanist';
    src: url('../fonts/Urbanist/Urbanist-VariableFont_wght.ttf') format('truetype');
    font-weight: 700;
    font-style: bold;
    font-display: swap;
}

@font-face {
    font-family: 'Urbanist';
    src: url('../fonts/Montserrat/Urbanist-VariableFont_wght.ttf') format('truetype');
    font-weight: 800;
    font-style: extrabold;
    font-display: swap;
}


@font-face {
    font-family: 'Urbanist';
    src: url('../fonts/Urbanist/Urbanist-VariableFont_wght.ttf') format('truetype');
    font-weight: 900;
    font-style: extrabold;
    font-display: swap;
}

/* Aboreto */
@font-face {
    font-family: 'Aboreto';
    src: url('../fonts/Aboreto/Aboreto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: regular;
    font-display: swap;
}


/* ================================================ */
/*  SECTION COLOURS */
/* ================================================ */

:root {
    --pale-grey: #FBFBFB;
    --light-grey: #d6d6d6;
    --medium-grey: #7a7a7a;
    --dark-grey: #474747;
    --graphite: #262626;
    --red: #C51B1D;
    --red-50: #c51b1e5c;
    --orange: #ff922c;
    --red-hover: #A01517;
    --navy-blue: #1a345c;
    --black: #000;
    --white: #fff;
    --green: #008000;
}

/* ================================================ */
/*  SECTION GENERAL STYLES */
/* ================================================ */

html {
    scroll-behavior: smooth;
}


body {
    font-family: "Urbanist", sans-serif;
    font-weight: 400;
    color: var(--graphite);
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

main {
    min-height: calc(80vh - 120px);
    padding-bottom: 60px;
}

section {
    position: relative;
    padding: max(5%, 50px) 0;
}

div,
p,
a,
span,
h1,
h2,
h3,
h4,
h5,
h6 {
    box-sizing: border-box;
}

img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

h1 {
    font-family: 'Aboreto', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
}

h2 {
    font-family: 'Aboreto', sans-serif;
    font-weight: 900;
    color: var(--red);
}

h3 {
    font-family: 'Aboreto', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

h4 {
    font-family: 'Aboreto', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

h5 {
    font-size: 1rem;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

ul {
    padding-left: 0;
}

li {
    list-style: none;
}

strong {
    font-weight: 600;
}


.hidden {
    display: none; /* this hidesn content also in Gutenberg */
} 

.content-hidden {
    display: none;
}


.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: lowercase;
}

.text-white {
    color: #fff;
}

.text-red {
    color: var(--red);
}

.text-small {
    font-size: 0.8rem;
}

.no-padding {
    padding: 0 !important;
}

.no-margin {
    margin: 0 !important;
}

.no-margin-bottom {
    margin-bottom: 0;
}

.button-center {
    margin: 0 auto;
}



/* Margins ---------------------------- */
.margin-top-xs {
    margin-top: 20px;
}

.margin-top-sm {
    margin-top: 40px;
}

.margin-top-md {
    margin-top: 80px;
}

.margin-top-lg {
    margin-top: 120px;
}

.margin-top-xl {
    margin-top: 160px;
}

.margin-bottom-xs {
    margin-bottom: 20px;
}

.margin-bottom-sm {
    margin-bottom: 40px;
}

.margin-bottom-md {
    margin-bottom: 80px;
}

.margin-bottom-lg {
    margin-bottom: 120px;
}

/* Padding ---------------------------- */
.padding-top-xs {
    padding-top: 20px;
}

.padding-top-sm {
    padding-top: 40px;
}

.padding-top-md {
    padding-top: 80px;
}

.padding-top-lg {
    padding-top: 120px;
}

.padding-top-xl {
    padding-top: 160px;
}

.padding-bottom-xs {
    padding-bottom: 20px;
}

.padding-bottom-sm {
    padding-bottom: 40px;
}

.padding-bottom-md {
    padding-bottom: 80px;
}

.padding-bottom-lg {
    padding-bottom: 120px;
}

.padding-sides-md {
    padding: 0 5%;
}


/* ================================================ */
/* SECTION NAVIGATION */
/* ================================================ */

.navbar {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-bottom: 1px solid var(--light-grey);
    /* box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.1); */
}

.navbar-brand-img {
    max-width: 300px;
}

.navbar-collapse {
    justify-content: flex-end;
}

.navbar-nav {
    gap: 25px;


    & a {
        font-weight: 00;
    }

    & li {
        display: flex;
        align-items: center;
    }
}

.menu-item {
    transition: 0.35s ease-in-out;
    &:hover {
        color: var(--red);
    }
}

.current_page_item  a {
    color: var(--red);
    font-weight: 600;
}

.menu-contact a {
    background: var(--red);
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    transition: 0.35s ease-in-out;
    &:hover {
        background: var(--red-hover);
        color: #fff;
    }
}

/* SUBMENU STYLES ---------------------------- */
.js-click-menu {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
  }
  
  .js-click-menu li {
    position: relative;
    list-style: none;
  }
  
  .js-click-menu a {
    display: block;
    text-decoration: none;
  }
  
  /* caret only for direct parent links */
  .js-click-menu .menu-item-has-children > a.submenu-toggle {
    position: relative;
    padding-right: 20px;
  }
  
  /* Caret for submenu toggle */
  .js-click-menu .menu-item-has-children > a.submenu-toggle::after {
    content: "";
    position: absolute;
    right: 0;
    top: 52%;
  
    width: 12px;
    height: 12px;
  
    background: url("../images/icons/arrow-left-svgrepo-com.svg") no-repeat center center;
    background-size: contain;

  
    transform: translateY(-50%) rotate(-90deg);
    transition: transform 0.25s ease;
  }
  
  .js-click-menu .menu-item-has-children.is-open > a.submenu-toggle::after {
    transform: translateY(-50%) rotate(90deg);
  }
  
  /* submenu hidden */
  .js-click-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
  
    min-width: 220px;
    padding: 8px 0;
    margin: 0;
    border-radius: 10px;
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.1);
  
    background: #fff;
    list-style: none;
    z-index: 999;
  
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
  
    transform: translateY(-8px);
  
    transition:
      max-height 0.3s ease,
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0s linear 0.3s;
  }
  
  /* submenu open */
  .js-click-menu .menu-item-has-children.is-open > .sub-menu {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding: 10px 15px;
    transition:
      max-height 0.3s ease,
      opacity 0.2s ease,
      transform 0.2s ease;
  }
  
  .js-click-menu .sub-menu a {
    padding: 2px 10px;
    white-space: nowrap;
    font-size: 0.9rem;
  }


  .main-menu-city {
    font-weight: 800;
    color: #000;
    pointer-events: none;
    margin-top: 5px;
  }


/* LOCATION MENU ---------------------------- */
.secondary-menu {
    position: fixed;
    align-items: center;
    top: 65px;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    padding: 5px 0;
    box-shadow: 0 10px 40px  rgba(0, 0, 0, 0.12);
}

.secondary-menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 45px;
}

.location-menu {
    display: flex;
    gap: 15px;
}

/* NAV CONTACT ---------------------------- */

.nav-contact {
    display: flex;
    align-items: center;
    position: relative;
    background-color: #fff;
    box-shadow: 0 5px 40px  rgba(111, 21, 21, 0.3);
    padding: 3px 20px;
    border: 1px solid var(--light-grey);
    border-radius: 25px;
    z-index: 1000;
    margin-left: 15px;
    transition: 0.35s ease-in-out;
    overflow: hidden;

    & a {
        font-size: 0.9rem;
    }

    &:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--red);
        border-radius: 25px;
        z-index: -1;
        transform: translateX(-100%);
        transition: 0.35s ease-in-out;
    }

    &:hover {
        color: #fff;
        &:before {
            transform: translateX(0);
        }
    }
}

.nav-contact-mobile {
    display: none;
}

.nav-contact-desktop {
    display: flex;
}


.nav-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--red);
    width: 35px;
    height: 35px;
    border-radius: 30px;
    padding: 7px 5px 5px 5px;
    /* margin-right: 10px; */
    transform: translateX(-15px);
    
}

.nav-contact-content {
    display: flex;
    flex-direction: column;;
    align-items: center;
    justify-content: center;

    & span {
        font-size: 0.7rem;
    }

    & a {
        display: block;
        font-size: 0.9rem;
        font-weight: 700;
    }
}

@media (max-width: 576px) {
    .secondary-menu {
        top: 50px;
    }
    .navbar-brand-img {
        max-width: 210px;
    }
}



/* ================================================ */
/* SECTION LAYOUT */
/* ================================================ */

.mobile {
    display: none !important;
}

.desktop {
    display: block !important;
}

.container {
    max-width: 1200px;
}


.container-narrow {
    max-width: 900px;
}

.container-wide {
    max-width: 1800px;
}

.container-blue {
    background-color: var(--navy-blue);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 60px 0 rgba(24, 35, 75, 0.25);
}

.container-red {
    background-color: var(--red);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 60px 0 rgba(24, 35, 75, 0.25);
}

.regular-page {
    & h2 {
        display: inline-block;
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--red);
        margin-bottom: 10px;
        margin-top: 20px;
    }

    & a {
        text-decoration: underline;
        /* font-weight: 500; */
    }

    & ol {
        padding-left: 2rem;

        &>li {
            list-style-type: unset
        }
    }

    & ul {
        padding-left: 20px;
        margin-bottom: 20px;

        & li {
        
            position: relative;
        }

        & li:before {
            content: "•";
            position: absolute;
            left: -1em;
            font-size: 20px;
            line-height: 1;
        }
    }

    & img {
        margin-top: 15px;
        margin-bottom: 15px;
    }
}


.text-narrow {
    max-width: 800px;
    margin: auto;
}


/* ================================================ */
/* SECTION BUTTONS */
/* ================================================ */


.cta {
    display: block;
    padding: 10px 30px;
    border-radius: 25px;
    text-align: center;
    text-transform: uppercase;
    width: fit-content;
    transition: 0.35s ease-in-out;
    transform-origin: center;
    min-width: 220px;
    text-decoration: none !important;

    & span {
        position: relative;
        z-index: 1;
    }

    &:hover {
        cursor: pointer;
    }
    &.is-active {
        background: var(--red);
        color: #fff;
    }
}

.cta-small {
    padding: 5px 10px;
    font-size: 0.9rem;
    min-width: 100px;
}

.cta-red {
    background: var(--red);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px 0 var(--red-50);

    &:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 25px;
        /* opacity: 0.5; */
        background: var(--orange);
        transition: 0.25s ease-in-out;
        transform: translateX(-100%);
    }

    &:hover {
        color: #fff;
        cursor: pointer;
        box-shadow: 0 5px 50px 0 var(--red-50);

        &:before {
            transform: translateX(0);
        }
    }
}


.cta-white {
    background: #fff;
    color: var(--red);

    &:hover {
        color: var(--red);

    }
}

.cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.cta-outline {
    border: 1px solid var(--red);
    color: var(--red);
    text-decoration: none;

    &:hover {
        background: var(--red);
        color: #fff;
    }
}

/* ================================================ */
/* SECTION COMMON ELEMENTS */
/* ================================================ */

.section-grey {
    background-color: var(--pale-grey);
}


.page-title {
    margin-bottom: 60px;

    & h1 {
        color: var(--red);
        text-transform: none;
        text-align: center;
        font-size: 3.5rem;
        font-weight: 900;
    }
}

.section-title {
    margin-bottom: 60px;

    & h2 {
        font-size: 2.5rem;
        font-weight: 900;
        color: var(--red);
    }
}

.section-content {

    & ul {
        padding-left: 30px;
        width: fit-content;
        margin: 0 auto;
    }

    & li {
        list-style: disc !important;
    }
}

.section-content {
    position: relative;

    & h3 {
        font-size: 1.5rem;
        color: var(--red);
    }
}

.section-red {
    background-color: var(--red);

    & h2, h3, h4, h5, p {
        color: #fff;
    }
}

.tile-shade {
    box-shadow: 0 10px 50px 0 rgba(24, 35, 75, 0.12);
    padding: 20px;
    border-radius: 20px;
    background-color: #fff;
}

/* CONTACT TILE =================================== */

.contact-tile {
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 20px min(5%, 60px);
    margin-bottom: 20px;
    &:last-child {
        margin-bottom: 0;
    }
}

.contact-address-wrapper {

    & h2 {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    & h3 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    & h4 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 60px;
    }

    & h5 {
        font-size: 1.2rem;
    }
}

.contact-address-wrapper {
    color: #fff;
}

.contact-tile__row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-tile__value {
    font-size: 1.2rem;
}

.contact-tile__icon {
    filter: brightness(0) invert(1);
    width: 30px;
}


/* ================================================ */
/* SECTION DEFAULT WORDPRESS STYLES */
/* ================================================ */

/* Rounded images */
:root :where(.wp-block-image.is-style-rounded img, .wp-block-image .is-style-rounded img) {
    border-radius: 40px;
} 

.wp-cta-red a {
    background: var(--red);
    color: #fff !important;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.35s ease-in-out;
    &:hover {
        background: var(--red-hover);
    }
}



/* ================================================ */
/* SECTION TABLES */
/* ================================================ */


/* =============================== */
/*  SECTION FOOTER
/* =============================== */


footer {
    position: relative;
    min-height: 200px;
    padding-top: 2%;
    padding-bottom: 10px;
    background: #fff;

    & h3 {
        font-weight: 700;
        font-size: 1.2rem;
    }

    & p {
        margin-bottom: 0;
    }

    &:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 100%;
        /* max-width: 500px; */
        background: #00000036;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: -1;
        filter: blur(120px);
    }
}

.footer-logo {
    max-width: 200px;
}

.footer-item-wrapper {
    /* margin: auto; */

    & h4 {
        margin-bottom: 20px;
    }

    & li {
        position: relative;
        margin-bottom: 10px;
        padding-left: 35px;
    }

    & li:before {
        content: "";
        position: absolute;
        width: 25px;
        height: 25px;
        background-size: contain;
        left: 0;
        top: 0;
    }
}

.footer-widget li {
    font-size: 0.9rem;
}


.footer-item-wrapper li:nth-child(1):before {
    background: url(../images/icons/location-icon.svg) no-repeat center center;
    background-size: contain;
}


.footer-item-wrapper li:nth-child(2):before {
        background: url(../images/icons/phone-icon.svg) no-repeat center center;
    }

    .footer-item-wrapper li:nth-child(3):before {
        background: url(../images/icons/mail-icon.svg) no-repeat center center;
}

.pzfd-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ================================================ */
/* ================================================ */
/* MEDIA QUERIES */
/* ================================================ */
/* ================================================ */

@media (max-width: 1200px) {
    .container-blue {
        width: 90%;
    }
}

@media (max-width: 992px) {

    .contact-address-wrapper {
        margin: auto;
    }

    .contact-address-wrapper .contact-tile {
        margin-bottom: 50px;
    }
}

/* Worddpress breakpoint */
@media (max-width: 781px) {

}
@media (max-width: 768px) {

    .desktop {
        display: none !important;
    }
    .mobile {
        display: block !important;
    }

    .section-title h2,
    .section-title h5 {
        text-align: center;
    }

/* SECTION NAV MENU ======================== */
    .custom-toggler {
        border: none;
        background: none;
        padding: 10px;
        position: relative;

        &:focus {
            outline: none;
        }
      }
      
      .custom-toggler .line {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--graphite);
        margin: 6px 0;
        transition: all 0.3s ease;
      }
      
      /* ACTIVE STATE (X) */
      .custom-toggler.active .line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
      }
      
      .custom-toggler.active .line:nth-child(2) {
        opacity: 0;
      }
      
      .custom-toggler.active .line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
      }
      /* Mobile menu content */

      .navbar-collapse {
        padding-top: 20px;
        padding-bottom: 20px;
        padding-inline: 0;
        background-color: #1a345c;
        color: #fff;

        & li {
            text-align: right;
        }
      }

      .location-menu {
        justify-content: center;
      }

      /* Sub menu mobile ======================== */

      .navbar-collapse .js-click-menu .sub-menu {
        position: relative;
        box-shadow: none;
        background-color: var(--pale-grey);
        /* color: #fff; */
        border-radius: 0;
        box-shadow: 0 0px 30px inset rgba(0, 0, 0, 0.2);
        width: 100%;
        padding: 0;

      }

      .navbar-nav  {
       
      
        & li {
            flex-direction: column;
        }
      }


/* Nav contact button mobile ======================== */
    .nav-contact-mobile {
        display: flex;
        position: fixed;
        top: 2px;
        right:50px;
        background-color: var(--red);
        color: #fff;
    }

    
    
    .nav-contact-desktop {
        display: none;
    }


    
/* SECTION FOOTER ======================== */

       .footer-item-wrapper {
        max-width: 250px;
        margin-bottom: 30px;

        & li {
            font-size: 0.9rem;
        }
       } 
}



@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}