/*
* GPAT (Groupe Plein Air Terrebonne) branding styles
*/

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

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

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

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

@font-face {
    font-family: 'Barlow';
    src: url('../fonts/Barlow-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --gpt-navy: #114F76;
}

body {
    font-family: 'Barlow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ============================= Header ============================= */

.branding-top {
    margin-bottom: 0;
}

.branding-top .branding-inner {
    margin-top: 16px;
    position: relative;
    background-color: #fff;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    overflow: hidden;
}

.branding-top-shape {
    position: absolute;
    top: -165px;
    right: 0;
    bottom: -95px;
    width: 130%;
    background-image: url(../images/GPAT_Header_Background.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transform: rotate(-5deg);
    z-index: 0;
}

.branding-top .left,
.branding-top .right {
    position: relative;
    z-index: 1;
}

.branding-top .left a {
    display: block;
}

.gpt-logo {
    width: 190px;
    height: auto;
    /* the source asset is exported white-on-transparent; invert renders it
       navy/black to read against the header's white left side */
    filter: invert(1);
}

.gpt-return-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--gpt-navy);
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 999px;
    white-space: nowrap;
}

.gpt-return-btn:hover {
    background: var(--gpt-navy);
    color: #fff;
    transition: background-color .15s ease-in-out, color .15s ease-in-out;
}

.gpt-arrow {
    font-size: 18px;
    line-height: 1;
}

/* ============================= Footer ============================= */

.branding-bottom {
    margin-top: 0;
    margin-bottom: 0;
}

.branding-bottom .branding-inner {
    background-image: url(../images/GPAT_Footer_Background.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px 40px;
}

.gpt-footer-logo {
    width: 170px;
    height: auto;
}

.gpt-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gpt-social img {
    width: 40px;
    height: 40px;
}

/* ============================= Mobile ============================= */

@media (max-width: 767px) {
    .branding-top .branding-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        min-height: 0;
    }

    .branding-top-shape {
        display: none;
    }

    .branding-top .left {
        display: flex;
        justify-content: center;
        padding: 20px 16px;
    }

    .branding-top .right {
        background-color: var(--gpt-navy);
        display: flex;
        justify-content: center;
        padding: 14px 16px;
    }

    .gpt-logo {
        width: 150px;
    }

    .branding-bottom .branding-inner {
        justify-content: center;
        text-align: center;
        padding: 24px 16px;
    }

    .gpt-footer-logo {
        width: 140px;
    }

    .gpt-social {
        justify-content: center;
    }
}

@media (max-width: 350px) {
    .gpt-social {
        gap: 10px;
    }

    .gpt-social img {
        width: 34px;
        height: 34px;
    }
}
