/****************************************
	Reset
****************************************/

/* Change Autocomplete styles in Chrome*/
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-animation: autofill 0s forwards;
    animation: autofill 0s forwards;
}

@keyframes autofill {
    100% {
        background: transparent;
        color: inherit;
    }
}

@-webkit-keyframes autofill {
    100% {
        background: transparent;
        color: inherit;
    }
}

*:focus{
    outline: 0 !important;
}

/****************************************
	Flexbox Helper
****************************************/ 

.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-left {
    justify-content: flex-start;
}

.flex-right {
    justify-content: flex-end;
}

.flex-center {
    justify-content: center;
}

.flex-vcenter {
    align-items: center;
}

.flex-start {
    align-items: flex-start;
}

.flex-end {
    align-items: flex-end;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-wrap-reverse {
    flex-wrap: wrap-reverse;
}

.flex-1 {
    flex: 1;
}

.flex-auto {
    flex: 0 1 auto;
}

.flex-bottom {
    align-items: flex-end;
}

.cols-2 {
    grid-template-columns: 1fr 1fr;
}

.cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.space-between {
    justify-content: space-between;
}

.mt-half {
    margin-top: 0.5em;
}

.mt-1 {
    margin-top: 1em;
}

.mt-2 {
    margin-top: 2em;
}

.mt-3 {
    margin-top: 3em;
}

.mt-4 {
    margin-top: 4em;
}

.mb-1 {
    margin-bottom: 1em;
}

.mb-2 {
    margin-bottom: 2em;
}

.mb-3 {
    margin-bottom: 3em;
}

.mb-4 {
    margin-bottom: 4em;
}

/****************************************
	Fonts
****************************************/

@font-face {
    font-family: 'ABCArizonaFlare-Light';
    src: url(../fonts/ABCArizonaFlare-Light.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ABCArizonaFlare-Regular';
    src: url(../fonts/ABCArizonaFlare-Regular-Trial.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Tenet-Regular';
    src: url(../fonts/Tenet-Regular.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    font-weight: normal;
    line-height: 1.27;
}

h1 ~ p {
    margin-top: 0px;
}

.accent-font {
    font-family: var(--header-font);
}

@media screen and (max-width: 767px) {
    h1 ~ p {
        font-family: var(--base-font-bold);
    }
}

/****************************************
	Common
****************************************/

:root {
    --padding: 20px;
    --header-height: 52px;
    --footer-height: 47px;
    /* --accent-color: #AE9147; */
    --accent-color: black;
    --header-text-color: black;
    --footer-text-color: black;
    --text-color: black;
    --white-text: #F8F0E3;
    --background-color: #EAEAE6;
    --secondary-background-color: #EAEAE6;
    --header-font: 'Tenet-Regular';
    --heading-font: 'ABCArizonaFlare-Regular';
    --base-font: 'Tenet-Regular';
    --base-font-bold: 'Tenet-Regular';
    --base-font-size: 13px;
    --base-line-height: 1.5;
    --max-width: 1600px;
    --admin-bar-height: 0px;
}

body:has(#wpadminbar) {
    --admin-bar-height: 32px;
}

* {
    box-sizing: border-box;
}

html,
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    font-family: var(--base-font);
    font-size: var(--base-font-size);
    line-height: var(--base-line-height);
}

body {
    color: var(--text-color);
}

.container {
    max-width: var(--max-width);
    padding-left: var(--padding);
    padding-right: var(--padding);
    margin: 0 auto;
}

a,
a:visited {
    color: var(--accent-color);
}

.margin-minus-50 {
    margin-top: -75px;
}

.width-50 {
    width: 50%;
}

.width-60 {
    width: 60%;
}

.center {
    margin: 0 auto;
}

.indent::before {
    content: '';
    width: 75px;
    display: inline-block;
}

@media screen and (max-width: 767px) {
    .margin-minus-50 {
        margin-top: unset;
    }

    .width-50,
    .width-60 {
        width: 90%;
    }

    .center {
        margin: unset;
    }

    :root {
        --padding: 20px;
        --base-font-size: 13px;
        --base-line-height: 1.7;
        --footer-height: 40px;
        --header-height: 82px;
    }           
}

/****************************************
	Header
****************************************/

.header {
    height: var(--header-height);
    color: var(--header-text-color);
    font-family: var(--header-font);
    background-color: var(--background-color);
    position: sticky;
    top: var(--admin-bar-height);
    z-index: 999;
    width: 100%;
    transition: all 0.5s;
}

.home header,
.header.transparent {
    position: fixed !important;
}

.header.transparent .logo svg * {
    fill: white;
}

.header.transparent a {
    color: white;
}

.header.transparent .hamburger-inner, 
.header.transparent .hamburger-inner:after, 
.header.transparent .hamburger-inner:before, 
.header.transparent .hamburger.is-active 
.header.transparent .hamburger-inner, 
.header.transparent .hamburger.is-active 
.header.transparent .hamburger-inner:after, 
.header.transparent .hamburger.is-active 
.header.transparent .hamburger-inner:before {
    background-color: white;
}


.header.transparent,
.header.transparent .header-container {
    background-color: transparent !important;
}

.header-container {
    height: 100%;
    background-color: var(--background-color);
}

.header .name {
    font-size: 25px;
    line-height: 0.8;
    color: var(--header-text-color);
}

.header .desc {
    font-size: 12px;
    line-height: 1;
    color: var(--header-text-color);
}

.header .logo {
    margin-right: 20px;
    display: flex;
    align-items: center;
    color: var(--header-text-color);
}

.header .logo {
    height: calc(var(--header-height) - 25px);
}

.header .logo svg {
    height: 100%;
    width: auto;
}

.header-wrapper {
    width: 100%;
}

.header-links {
    gap: 20px;
    justify-content: flex-end;
}

.social-links a,
.footer-links a,
.header-links a {
    text-decoration: none;
}

.hamburger {
    transform: translateY(-50%) scale(0.5);
    position: absolute;
    top: calc(50% + 3px);
    right: 0px;
    display: none;
    touch-action: manipulation;
}

.hamburger.is-active:hover, .hamburger:hover {
    opacity: 1;
}

.hamburger-inner, .hamburger-inner:after, .hamburger-inner:before,
.hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner:after, .hamburger.is-active .hamburger-inner:before {
    background-color: var(--header-text-color);
}

.header .extras {
    text-decoration: none;
}

@media screen and (max-width: 600px) {
    body:has(#wpadminbar) {
        --admin-bar-height: 46px;
    }

    #wpadminbar {
        position: fixed;
    }
}

.footer-links ul,
.social-links ul,
.header-links ul {
    display: flex;
    list-style: none;
}

.footer-right,
.footer-links ul li,
.social-links ul li,
.header-links ul li {
    font-family: "Tenet-Regular";
    font-weight: 400;
    font-size: 11px;
    line-height: 14.3px;
    letter-spacing: 1px;
    vertical-align: middle;
    text-transform: uppercase;
}

.header-links ul li {
    padding: 0px 20px;
}

.hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {
    height: 1px;
}

.mobile-social-links {
    display: none;
    align-items: flex-end;
}

@media screen and (max-width: 999px) {
    .header-links ul li {
        padding: 0px 10px;
        white-space: nowrap;
    }
}

@media screen and (max-width: 767px) {
    .mobile-social-links {
        display: flex;
    }

    .social-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hamburger-container {
        display: flex;
        flex: 1 1 auto;
        justify-content: flex-end;
    }

    .header-links {
        position: fixed;
        top: calc(var(--header-height) + var(--admin-bar-height));
        background: var(--background-color);
        width: 100%;
        left: 0;
        display: flex;
        flex-direction: column;
        padding: 0px var(--padding) var(--padding);
        opacity: 0;
        pointer-events: none;
        transform: translate3d(0px, -100%, 0px);
        transition: all 0.5s;
        z-index: -1;
        height: calc(100vh - var(--header-height) - var(--admin-bar-height));
    }    

    .header-links.active {
        transform: translate3d(0px, 0px, 0px);
        opacity: 1;
        pointer-events: all;
        transition: all 0.1s;
        z-index: 1;
        justify-content: flex-start;
    }

    .header-links ul {
        flex-direction: column;
        padding: 0;
        margin: 0;
        gap: 30px;
    }

    .header-links ul li {
        padding: 0px;
        font-size: 13px;
    }

    .header .extras .name {
        font-size: 16px;
    }

    .header .extras .desc {
        font-size: 10px;
    }

    .header .logo {
        margin-right: 10px;
    }
}

/****************************************
	Content
****************************************/

.main {
    z-index: 1;
    position: relative;    
    background-color: var(--secondary-background-color);
    overflow: hidden;
    color: var(--text-color);
    min-height: calc(100vh - var(--admin-bar-height) - var(--header-height) - var(--footer-height));
}

.main-container {
    height: 100%;
}

.single-project .main-content > div:not(.project-hero) {
    padding-left: var(--padding);
    padding-right: var(--padding);
    max-width: var(--max-width);
    margin: 0 auto;
}

@media screen and (orientation: portrait) {
    .main-container {
        flex-direction: column;
    }
}

/****************************************
	Form
****************************************/

.contact {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 8px;
    padding: var(--padding);
    color: var(--text-color);
    border-radius: 20px;
    /* border: 1px solid rgba(0, 0, 0, 0.2); */
    margin-top: var(--header-height);
    width: 100%;
    background-color: rgba(255, 255, 255, 0.3);
}

.contact h3 {
    color: var(--text-color);
    margin-top: 0px;
}

.form-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1em;
}

.form-field label {
    display: block;
    color: var(--text-color);
    margin-bottom: 5px;
}

textarea,
.form-field textarea,
input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]), 
.form-field input {
    border: 1px solid black;
    border-radius: 5px;    
    min-height: 40px;
    padding: 10px;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]), 
.form-field input {
    min-height: unset;
    height: 22px; 
}

.form-field textarea,
.form-field input {
    width: 100%;
}

.form-field {
    margin-bottom: 1rem;
}


.radio-group {
    display: flex;
    align-items: center;
    margin-right: 20px;
    white-space: nowrap;
    max-width: 30%;
    flex: 1;
}

.radio-group input[type="radio"] {
    margin-right: 0.5rem; 
    margin-bottom: 0.5rem;
    height: 13px;
    width: 13px;
}

@media screen and (orientation: portrait) {
    .contact {
        margin-top: 0px;      
        padding: calc(var(--padding) + 5px);  
    }    
}

/****************************************
	Password Form
****************************************/

.password-wrapper {
    display: grid;
    height: 100%;
    text-align: center;
}

/****************************************
	Footer
****************************************/

.footer {
    height: var(--footer-height);
    color: var(--accent-color);
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-container {
    width: 100%;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
}

.footer-links li {
    padding-left: 40px;
}

@media screen and (orientation: portrait) {
    .footer {
        height: unset;
    }

    .footer-links,
    .footer-container {
        flex-direction: column-reverse;
    }

    .footer-links {
        align-items: start;
        gap: 10px;
        padding: 10px 0px 20px;
        opacity: 0.5;
    }

    .footer-links li {
        padding-left: 0px;
    }

    .footer-links ul {
        padding: 0;
        margin: 0;
        justify-content: space-between;
        display: flex;
        width: 100%;
    }

    .footer {
        padding: var(--padding) 0;
    }
}

/****************************************
	Newsletter
****************************************/

.newsletter {
    z-index: 2;
    position: fixed;
    top: 100vh;
    right: 0px;
    transform: translateY(-100%);
    padding: calc(var(--padding) * 2);
}

.newsletter .newsletter-wrapper {
    background-color: rgba(234, 234, 230, 0.949);
    gap: 20px;
    padding: 10px 30px 10px 10px;
}

.newsletter .title {
    font-family: "ABCArizonaFlare-Regular";
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.3px;
    vertical-align: middle;
    text-transform: uppercase;
}

.newsletter .sub-title {
    font-family: "Tenet-Regular";
    font-weight: 400;
    font-size: 12.5px;
    line-height: 15px;
    letter-spacing: 0.5px;
    vertical-align: middle;
    padding-right: 20px;
}

.newsletter input {
    background-color: transparent;
    border: 0px !important;
    border-radius: 0px !important;
    border-bottom: 1px solid rgb(20, 20, 23, 0.35) !important;
    padding: 0px 30px 0px 0px !important;
    width: 100%;
}

.newsletter input::placeholder {
    font-family: "Tenet-Regular";
    font-weight: 400;
    font-size: 10px;
    line-height: 14.3px;
    letter-spacing: 1.2px;
    vertical-align: middle;
    text-transform: uppercase;
}

.newsletter-wrapper {
    position: relative;
}

.newsletter-wrapper .close {
    position: absolute;
    top: 5px;
    right: 15px;
}

.newsletter-wrapper .form {
    position: relative;
}

.newsletter-wrapper .submit {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: transparent;
    border: 0px;
    padding: 0px;
    cursor: pointer;
}