/*
Theme Name: Bo Angles
Theme URI: https://boangles.com
Author: Modern Day Outdoors
Description: Custom WordPress theme for Bo Angles.
Version: 1.0
*/

/* =========================================================
   BO ANGLES — GLOBAL
   ========================================================= */

:root {
    --font-primary: "bernhard-gothic-urw", sans-serif;

    --bo-orange: #f7942d;
    --bo-aqua: #236c5b;
    --bo-dark-aqua: #153c35;
    --bo-brown: #6f2b08;
    --bo-white: #ffffff;

    --site-width: 1180px;
}

html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bo-aqua);
    color: var(--bo-white);

    font-family: var(--font-primary);
    font-weight: 400;
}


/* =========================================================
   HEADER
   ========================================================= */

.boangles-header {
    position: relative;
    z-index: 20;

    height: 155px;

    background: transparent;
    overflow: visible;
}

.boangles-header::before {
    content: "";

    position: absolute;
    z-index: 0;

    left: 0;
    top: 0;

    width: 100%;
    height: 170px;

    background-image: url("assets/images/BoAngles_Header-Wood.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 100%;

    pointer-events: none;
}

.boangles-header-inner {
    position: relative;
    z-index: 1;

    width: min(calc(100% - 48px), 1200px);
    height: 100%;

    margin: 0 auto;
}

.boangles-brand-family {
    position: absolute;
    left: 0;
    top: 26px;

    display: flex;
    align-items: center;
    gap: 24px;
}

.boangles-brand-family {
    position: absolute;
    left: 0;
    top: 24px;

    display: flex;
    align-items: center;
    gap: 10px;
}

.boangles-brand-button {
    position: relative;
    display: block;

    width: 100px;
    height: 100px;

    text-decoration: none;
}

.boangles-brand-button img {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;
    object-fit: contain;
}

.boangles-brand-button .button-normal {
    opacity: 1;
}

.boangles-brand-button .button-pressed {
    opacity: 0;
}

.boangles-brand-button:hover {
    transform: translateY(-1px);
}

.boangles-brand-button:active .button-normal {
    opacity: 0;
}

.boangles-brand-button:active .button-pressed {
    opacity: 1;
}

.boangles-brand-button.is-current {
    cursor: default;
}

.boangles-brand-button.is-current:hover {
    transform: none;
}

.boangles-main-logo {
    position: absolute;
    right: 0;
    top: 50%;

    left: auto;

    transform: translateY(-50%);
}

.boangles-main-logo img {
    display: block;
    width: 175px;
    height: auto;
}


/* =========================================================
   HERO
   ========================================================= */

.boangles-page {
    overflow: visible;
}

.boangles-hero {
    position: relative;

    min-height: 760px;

    margin-top: -155px;
    padding-top: 155px;

    overflow: visible;

    background: #368a5b;
}

.boangles-hero-background {
    position: absolute;
    inset: 0;

    background-image: url("assets/images/Bo-Angles_Background.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: max(100%, 1600px) auto;
}

.boangles-hero::before {
    content: "";

    position: absolute;
    left: 50%;
    top: 0;

    width: 1200px;
    height: 100%;

    transform: translateX(-50%);

    pointer-events: none;
}

.boangles-hero-inner {
    position: relative;
    z-index: 3;

    width: min(calc(100% - 48px), 1200px);
    height: 100%;

    min-height: 760px;

    margin: 0 auto;
}

.boangles-construction-sign {
    position: absolute;

    left: 0;
    top: 80px;

    width: 575px;
    height: auto;
    z-index: 6;
}

.boangles-character {
    position: absolute;
    z-index: 3;

    right: 0;
    top: -250px;

    width: 800px;
    height: auto;    
}

.boangles-footer-wave {
    position: absolute;

    z-index: 6;

    left: 50%;
    top: 0;

    width: 100vw;
    max-width: none;
    height: auto;

    transform: translate(-50%, -60%);

    pointer-events: none;
}


/* =========================================================
   FOOTER
   ========================================================= */

.boangles-footer {
    position: relative;
    z-index: 5;

    margin: -30px;
    padding: 0;

    background: transparent;
}

.boangles-footer-main {
    position: relative;

    min-height: 300px;
    padding: 140px 24px 60px;

    text-align: center;
}

.boangles-footer-main::before {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    top: 35px;
    bottom: 0;

    z-index: 4;

    background: linear-gradient(
        to bottom,
        #368a5b 0%,
        #21463d 100%
    );
}

.boangles-footer-logo,
.boangles-footer-message,
.boangles-footer-handle {
    position: relative;
    z-index: 7;
}

.boangles-footer-logo {
    display: block;
    position: relative;

    width: 235px;
    max-width: 70%;

    margin: 0 auto 24px;
}

.boangles-footer-message {
    margin: 0;

    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;

    text-shadow:
        0 3px 0 rgba(0, 0, 0, 0.35);
}

.boangles-footer-handle {
    margin-top: 8px;

    font-size: 26px;
    font-weight: 900;

    text-shadow:
        0 3px 0 rgba(0, 0, 0, 0.35);
}


/* =========================================================
   LEGAL FOOTER
   ========================================================= */

.boangles-footer-legal {
    position: relative;
    z-index: 8;

    background: var(--bo-dark-aqua);
}

.boangles-footer-legal-inner {
    width: min(calc(100% - 48px), var(--site-width));

    margin: 0 auto;
    padding: 14px 0;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;

    color: var(--bo-orange);

    font-size: 13px;
    font-weight: 400;
}

.boangles-legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.boangles-legal-links a {
    color: inherit;
    text-decoration: underline;
}

.boangles-socials {
    justify-self: end;

    display: flex;
    align-items: center;
    gap: 10px;
}

.boangles-socials a {
    display: block;
}

.boangles-socials img {
    display: block;
    width: 18px;
    height: 18px;

    filter:
        brightness(0)
        saturate(100%)
        invert(67%)
        sepia(78%)
        saturate(1817%)
        hue-rotate(338deg)
        brightness(101%)
        contrast(94%);
}

.mobile-break {
    display: none;
}

/* SOCIAL BUTTONS BELOW FOOTER MESSAGE */

    .boangles-footer-socials {
        position: relative;
        z-index: 7;

        display: flex;
        justify-content: center;
        align-items: center;
        gap: 14px;

        margin: 14px 0 10px;
    }

    .boangles-footer-socials a {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 44px;
        height: 44px;

        border-radius: 50%;

        background: var(--bo-orange);

        transition: transform 0.15s ease;
    }

    .boangles-footer-socials a:hover {
        transform: scale(1.1);
    }

    .boangles-footer-socials a:active {
        transform: scale(0.92);
    }

    .boangles-footer-socials img {
        width: 30px;
        height: 30px;

        filter: brightness(0) invert(1);
    }

/* =========================================================
   SMALL DESKTOP / LAPTOP
   Keeps hero composition together as viewport narrows
   ========================================================= */

@media (max-width: 1600px) and (min-width: 1200px) {

    .boangles-hero {
        min-height: 680px;
    }

    .boangles-hero-inner {
        min-height: 680px;
    }

    .boangles-construction-sign {
        width: 500px;
        top: 70px;
    }

    .boangles-character {
        width: 700px;
        top: -210px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) and (min-width: 768px) {

    html,
    body {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .boangles-header,
    .boangles-page,
    .boangles-hero,
    .boangles-footer {
        width: 100%;
        max-width: none;
    }

    .boangles-brand-family {
        left: 25px;
        top: 30px;
        gap: 8px;
    }

    .boangles-brand-button {
        width: 90px;
        height: 90px;
    }

    .boangles-hero {
        min-height: clamp(720px, 92vw, 820px);
    }

    .boangles-hero-inner {
        min-height: clamp(720px, 92vw, 820px);
        width: calc(100% - 40px);
    }

    .boangles-construction-sign {
        left: 25px;
        top: 75px;

        width: clamp(380px, 49vw, 430px);
    }

    .boangles-character {
        right: -20px;
        top: -260px;

        width: clamp(700px, 93vw, 825px);
    }

    .boangles-footer {
        position: relative;

        margin-top: -60px;
        margin-left: 0;
        margin-right: 0;

        padding: 0;
        min-height: 0;
        background: transparent;
    }

    .boangles-footer-wave {
        width: 125vw;
    }

    .boangles-footer-main {
        min-height: 210px;
        padding: 100px 24px 35px;
    }

    .boangles-hero-background {
        background-size: cover;
        background-position: center top;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    html,
    body {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .boangles-header {
        height: 120px;
        width: 100%;
    }

    .boangles-header::before {
        height: 135px;
        background-size: cover;
        background-position: center bottom;
    }

    .boangles-header-inner {
        width: calc(100% - 24px);
        height: 100%;
    }

    .boangles-brand-family {
        display: flex;

        left: 6px;
        top: 30px;

        gap: 4px;
    }

    .boangles-brand-button {
        width: 60px;
        height: 60px;
    }

    .boangles-main-logo {
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
    }

    .boangles-main-logo img {
        width: 115px;
    }

    .boangles-page {
        overflow: visible;
    }


    /* HERO */

    .boangles-hero {
        min-height: 760px;
        overflow: visible;
    }

    .boangles-hero-background {
        background-size: cover;
        background-position: center top;
    }

    .boangles-hero-inner {
        width: 100%;
        min-height: 710px;
        margin: 0;
    }

    .boangles-construction-sign {
        left: 37%;
        top: 55px;
        width: min(92vw, 255px);
        transform: translateX(-50%);
    }

    .boangles-character {
        right: -85px;
        top: -90px;
        width: 430px;
        max-width: none;
    }


    /* FOOTER / WAVE */

    .boangles-footer {
        margin-top: -300px;
    }

    .boangles-footer-wave {
        width: 165vw;
        transform: translate(-50%, -42%);
    }

    .boangles-footer-main {
        min-height: 240px;
        padding: 90px 16px 35px;
    }

    .boangles-footer-logo {
        width: 170px;
        margin-bottom: 18px;
    }

    .boangles-footer-message {
        font-size: clamp(16px, 4.5vw, 19px);
        line-height: 1.05;
    }

    .boangles-footer-handle {
        margin-top: 7px;
        font-size: clamp(20px, 5.5vw, 24px);
    }


    /* LEGAL FOOTER */

    .boangles-footer-legal-inner {
        width: calc(100% - 24px);

        padding: 12px 0;

        grid-template-columns: 1fr;
        justify-items: center;
        gap: 8px;

        text-align: center;

        font-size: 11px;
    }

    .boangles-legal-links {
        gap: 14px;
    }

    .boangles-socials {
        justify-self: center;
    }

    .boangles-socials img {
        width: 17px;
        height: 17px;
    }

    .mobile-break {
        display: block;
    }

    .boangles-footer-message {
        margin: 0 auto;
        padding: 0 20px;
    }
}