/* 
Theme Name: Clickk Theme
Text Domain: Clickk Theme
Version: 1.0
Description: Clickks Theme
Tags: CLimbing
Author: Tim Wall
*/

/* TABLE OF CONTENTS 
FONTS
GLOBAL
TYPOGRAPHY
UTILITIES
HEADER
FOOTER
BLOG ARCHIVE
BLOG SINGLE
OUR EVENTS ARCHIVE
404
SEARCH
*/

/*/////////////// FONTS /////////////*/

@font-face {
    font-family: Netron;
    src: url('https://pulseclimbing.com.au/wp-content/themes/clickktheme/assets/fonts/Netron.ttf');
}
@font-face {
    font-family: Tw Cen Classified MT Std;
    src: url('https://pulseclimbing.com.au/wp-content/themes/clickktheme/assets/fonts/TwCenClassMTStd-Regular.otf');
}
@font-face {
    font-family: Tw Cen Classified MT Std ;
    src: url('https://pulseclimbing.com.au/wp-content/themes/clickktheme/assets/fonts/TwCenMTStd-Bold.otf');
    font-weight: bold;
}
@font-face {
    font-family: CocogoosePro;
    src: url('https://pulseclimbing.com.au/wp-content/themes/clickktheme/assets/fonts/Cocogoose-Pro-Bold.ttf');
    font-weight: bold;
}

/*//////////////// GLOBAL //////////////*/
:root {
    font-size: 16px;
    --clr-red: #D81F26;
    --clr-black: #0A0B0B;
    --clr-white: #ffffff;
    --clr-light-grey: #F5F0F0;
    --clr-grey: #C9C9C8;
    --text-c: black;
    --border-r: 0 0 15px 0;
    --box-s: 10px 10px 0px var(--clr-red);
}

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

body,
h1,
h2,
h3,
h4,
h5,
p {
    margin: 0;
}

body {
    min-height: 100vh;
    font-family: 'Tw Cen Classified MT Std';
    font-size: 1rem;
    overflow-x: hidden;
}

img,
picture {
    max-width: 100%;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
}

/*///////////////////// TYPOGRAPHY //////////////////*/
h1,
h2,
h3,
h4,
h5 {
    font-family: "CocogoosePro";
    margin-bottom: 1em;
}
h1,
h2,
h3{
text-transform: lowercase;
}
h1 {
    font-size: clamp(2rem, 1.4808rem + 2.3077vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 1.6538rem + 1.5385vw, 3rem);
}

h3 {
    font-size: clamp(2rem, 1.8269rem + 0.7692vw, 2.5rem);
}

h4 {
    font-size: 1.4rem;
}

h5 {
    font-size: 1rem;
}

p,
li {
    font-size: 1;
    line-height: 1.6;
}
ul{
 padding-inline-start: 10px;
 margin: 0;
}
.red-dot{
    color: var(--clr-red);
}
a{
    color: var(--clr-red);
}
/*/////////////// UTILITIES ////////////////*/
.spacer{
    padding: 100px 0;
}
.container{
    max-width: 1400px;
    width: min(90%, 1200px);
    margin: 0 auto;
}
.flex, .flex-between{
    display: flex;
}
.flex-between{
    justify-content: space-between;
    align-items: center;
}
.flex-center, .flex-center-column{
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex-center-column{
    flex-direction: column;
}
.grow{
   transition: scale .5s ease;
}
.grow:hover{
    scale: 1.1;
}
.bg-text{
    background: var(--clr-red);
    line-height: 1.8;
    display: inline;
    padding: 10px;
}
@media(max-width: 500px){
    .spacer{
        padding: 50px 0;
    }
}
/*//////////// BUTTONS //////////////////*/
.cta{
    padding :1.5em 3em;
    background-color: var(--clr-red);
    border-radius: 0 0 15px 0;
    color: var(--clr-white);
    text-decoration: none;
    display: block;
    width: fit-content;
    transition: background-color .5s ease;
}
.cta:hover{
    background-color: var(--clr-black);
}

/*///////////// GENERAL //////////////////*/

/*///////////// HEADER /////////////////*/

header{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}
/* all stuff for header row 1 */
.header-row-1 {
      background: var(--clr-white);
}
.header-row-1 > div{
    height: 6vh;
    transform: height 2s linear;
}
.navigation-menu {
	 display: flex;
}
.navigation-menu a{
	color: var(--clr-black);
}
.logo{
    background-color: var(--clr-black);    
    display: grid;
    place-content: center;
    height: 100%;
    width: 30%;
}
.logo a{
    height: 100%;
}
.logo img{
    width: 100%;
    max-height: 35px;
    object-fit: contain;
}
.main-menu{
    display: flex;
    list-style: none;
    margin: 0;
}
.main-menu li{
    position: relative;
}
.main-menu li a{
    margin-right: 1em;
    text-decoration: none;
    padding: 10px;
    text-transform: uppercase;
    font-size: .8rem;
    height: 6vh;
    display: flex;
    align-items: center;
    font-weight: bold;
    transition: color .5s ease;
}
.main-menu li a:hover{
    color: var(--clr-red);
}
.main-menu ul {
    position: absolute;
    list-style: none;
    left: 0;
    z-index: 10;
    width: max-content;
    background: #fff;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    display: none;
}
.main-menu li:hover > ul{
    display: block;
}
.sub-menu a{
    text-decoration: none;
    color: black;
}
.cta__lets-climb{
    background: var(--clr-red);
    color: var(--clr-white);
    padding: 1.5rem 3rem;
    cursor: pointer;
    border: none;
    font-family: "CocogoosePro";
    text-transform: uppercase;
    transition: all .5s ease;
    height: 100%;
    font-size: .9rem;
    display: flex;
    align-items: center;
}

.cta__lets-climb:hover{
    background: var(--clr-white);
    color: var(--clr-red);
}
.burger{
    width: 75px;
    height: 75px;
    cursor: pointer;
    display: none;
    position: relative;
}
.search-icon{
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.dropdown-button{
    display: none!important;
}
.close-nav{
    display: none!important;
}
/* all stuff for header row 2 */
.header-row-2 a{
    background-color: var(--clr-light-grey);
    padding: 1em;
    font-weight: bold;
    border-top: 3px solid var(--clr-red);
    border-bottom: 3px solid var(--clr-red);
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--clr-black);
    text-align: center;
    transition: padding .5s ease;
}

/* Pop up search*/
.search-popup{
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: #333;
    visibility: hidden;
    transition: opacity .5s ease;
    opacity: 0;
    z-index: 100;
}
.open-search{
    visibility: visible;
    opacity: 1;
}
.searchform input {
    padding: 1em;
}
.searchform input[type="submit"] {
    background: transparent;
    border: 2px solid white;
    color: white;
}
.search-close{
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

/* Styles for lets climb popup */
.lets-climb-popup{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    min-height: 100vh;
    transform: translateY(-100vh);
    transition: transform .5s ease;
    background: var(--clr-red);
    visibility: hidden;
    overflow-y: scroll;
    z-index: 200;
}
.lets-climb-popup-open{
    transform: translateY(0);
    visibility: visible;
}
.lets-climb-close{
    position: absolute;
    top: 30px;
    right :30px;
    cursor: pointer;
}

/* Styles for mobile menu */
@media(max-width: 1500px){
    .header-row-1 > div{
        height: 6vh;
    }
    .menu-main-menu-container{
        width: 100%
    }
   
    .navigation-menu{
        position: absolute;
        top: 0;
        left: 0;
        min-height: 100vh;
        height: 100%;
        width: 100vw;
        background: var(--clr-white);
        opacity: 0;
        pointer-events: none;
        transition: opacity .5s ease;
        z-index: 20;
        padding-top: 10em;
    }
    .open-nav{
        opacity: 1;
        pointer-events: all;
        overflow-y: scroll;
    }
    .main-menu li{
        position: relative;
        border-bottom: 2px solid var(--clr-light-grey);
    }
    .main-menu li a{
        padding: .5em;
        font-size: 1.2rem;
        font-weight: bold;
        display: flex;
        justify-content: flex-start;
        height: auto;
    }
    .navigation-menu ul{
        flex-direction: column;
    }
    .main-menu li:hover>ul {
        display: none;
        }
    .sub-menu li{
        border: none;
    }
    .sub-menu li a{
        font-size: 1.5rem;
    }
    .sub-menu li a::before{
        content: '-';
        padding-right: 1em;
        font-weight: 400;
    }
    .main-menu ul{
        position: static;
        display: none;
        background: inherit;
        box-shadow: none;
        
    }
    .open-sub-menu {
        display: block!important;
    }
    .main-menu ul li a{
        color: var(--clr-black);
        font-size: 1rem;
    }
    .cta__lets-climb{
        font-size: .8rem;
        padding: 0 1em;
    }
    .burger{
        display: flex;        
        position: relative;
        align-items: center;
        justify-content: center;
    }
    .burger span{
        font-size: 1.5rem;
    }
    .close-nav{
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 40px!important;
        cursor: pointer;
        display: block!important;
    }
    .dropdown-button {
        background: transparent;
        border: none;
        cursor: pointer;      
        position: absolute;
        top: 0px;
        right: 0px;
        font-size: 1.4rem;
        font-weight: bold;      
        display: flex!important;
        justify-content: center;
        align-items: center;
        padding: 1em;
        background: var(--clr-light-grey);
        height: 50px!important;
        color: red;
    }

}
@media(max-width: 500px){
    .cta__lets-climb{
        font-size: .6rem;
    }
    .logo a{
        display: flex;
        align-items: center;
    }
    .logo a img{
        max-height: 20px;
    }
    .header-row-2 a{
        font-size: .9rem;
        padding: .4em;
    }
}



/*///////////////////// FOOTER /////////////////////*/
footer{
    background-color: var(--clr-red);
    background-size: cover;
    background-blend-mode: overlay;
    background-position: center;
}
footer ul{
    padding-inline: 0px;
}
.footer-row-1{
    background-size: cover;
    position: relative;
    z-index: 1;
    background-position: center;
    padding: 2em 0;

}
.footer-row-1 .container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}
.footer-row-1 .container > *{
    margin: 1.5em 0;
}
.footer-logo img{
    width: 80%;
}
.footer-row-1 li{
    list-style: none;
} 
.footer-row-1 li a{
    color: white;
    text-decoration: none;
    font-size: .8rem;
}
.footer-menu-title{
    text-transform: uppercase;
    color: white;
    font-family: 'CocogoosePro';
}
.social-icons{
    margin-top: 1em;
    display: flex;
}
.social-icon {
      text-decoration: none;
      color: var(--clr-red) !important;
      background: var(--clr-white);
      border-radius: 50%;
      padding: 8px 8px;
      margin: 2px;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  .footer-row-2 {
    padding: 2em 0;
    color: var(--clr-white);
  }
  .footer-row-2 .container{
    border-top: 1px solid white;
    padding-top: 1em;
  }
  .footer-row-2 a{
    color: var(--clr-white);
    text-decoration: none;
  }
@media(max-width: 1000px){
    .footer-row-1 .container{
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media(max-width: 500px) {
    .footer-row-1 .container {
        grid-template-columns: 1fr;
    }
}
/* /////////////////////// Blog Archive /////////////////////////////// */
.posts-wrapper{
    display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        grid-gap: 2em;
}
.post-card{
    border: 3px solid var(--clr-black);
    position: relative;
    margin-bottom: 2em;
}
.post-card img{
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.post-card__content{
    padding: 1em;
}
.post-card__read-more{
    position: absolute;
    bottom: -48px;
    left: -3px;
    color: var(--clr-white);
    background: var(--clr-red);
    padding :1em 2.5em;
    border-radius: 0 0 10px 0;
    text-decoration: none;
}

.eapps-link{
    display: none!important;
    pointer-events: none;
    position: relative;
    margin-bottom: -100px!important;
    scale: 0;
}
.blog-pagination{
    margin-top: 3em;
}

/* ///////////////// BLOG SINGLE ////////////////////////// */
.blog-single__right{
    width: 85%;
    border: 3px solid var(--clr-black);
  
}
.blog-single__left{
    width: 15%;
}
.blog-content{
    position: relative;
}
.blog-single__content{
    padding: 3em;
}
.blog-thumbnail{
    max-height: 350px;
    width: 100%;
    object-fit: cover;
}
.blog-single__content img{
    max-height: 650px;
    object-fit: cover;
    margin: 2em 0;
}
.post-pagination-single{
    padding : 4em 0;
    background: var(--clr-black);
    color: var(--clr-white);
}
.post-pagination-single a{
    text-decoration: none;
    color: var(--clr-white);
}
.post-pagination-single .container > *{
    flex: 1;
    
}
.post-single-prev{
    position: relative;
    border-right: 2px solid white;
}
.post-single-next{
    text-align: right;
}
.social-share__icons a{
    text-decoration: none;
}
.social-share__icons span{
    color: var(--clr-black);
    font-size: 2rem;
    margin: 10px;
}
@media(max-width: 800px){
    .blog-single-section .container{
        flex-direction: column;
    }
    .blog-single__left, .blog-single__right{
        width: 100%;
    }
    .blog-single__left{
        margin-bottom: 2em;
    }
}

/* EVENT ARCHIVE */
.featured-event-section{
    margin-top: 100px;
}
.event-card{
    text-decoration: none;
    border: 3px solid black;
}
.event-card__content{
    padding-left: 1.5em;
    width: 60%;
    padding-top: 1em;
    color: var(--clr-black);
}
.event-card__image{
    position: relative;
    width: 40%;
}
.event-card__image img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    max-height: 300px;
}
.event-date{
    position: absolute;
    top: 0;
    left: 0;
    color: var(--clr-black);
    padding: 1em;
    background: var(--clr-light-grey);
    border-radius: var(--border-r);
    font-weight: bold;
}
.event-time::before, .event-address::before{
    margin-right: 10px;
    font-family: 'Dashicons';
    color: var(--clr-black);

}
.event-time, .event-address{
    font-weight: bold;
}
.event-time::before{
    content: "\f469";
}
.event-address::before{
    content: "\f230";
}
.events-wrapper{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;

}
.events-wrapper .event-card__image img{
    max-height: 150px;
}
@media(max-width: 1000px){
    .event-card{
        flex-direction: column;
    }
    .event-card__content{
        padding: 1em;
        width: 100%;
    }
    .event-card__image{
        width: 100%;
    }
}
@media(max-width: 700px){
    .events-wrapper{
        grid-template-columns: 1fr;
    }
}
/* EVENT SINGLE */


/* 404 */
.section-404
{
    background-color: rgb(189, 182, 182);
    background-image: url('https://pulse.clickk1.com.au/wp-content/uploads/2022/09/person-standing-on-middle-of-blacktop-road-during-daytime.webp');
    background-size: cover;
    color: var(--clr-white);
    background-blend-mode: darken;
    min-height: 60vh;
}
.heading-404{
    font-size: 5rem;
}

/* SEARCH */
.search-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2em;
}