/*!
Theme Name: simple
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: simple
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

simple is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');

/*@import 'normalize.css';
*/
address {
    font-style: normal;
}

/* BASE STYLES
    ========================================================================== */

:root {
    --primary-color: #015d72;
    --primary-light-color: #b8ce86;
    --secondary-color: #005569;
    --secondary-light-color: #417a87;
    --white-color: rgb(240, 245, 231);
    --black-color: #333333;
    --primary-font-family: "Inter Tight", sans-serif;
    --primary-font-optical-sizing: auto;
    --primary-font-weight: 300;
    --primary-font-style: normal;

    --header-font-optical-sizing: auto;
    --header-font-weight: 800;
    --header-font-style: normal;

    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
}


* {
    box-sizing: border-box;
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;

    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: none;
    -moz-hyphens: none;
    -webkit-hyphens: none;
    hyphens: none;
}

html {
    min-height: 100svh;
}

body {
    margin: 0;
    font-size: 1rem;
    font-family: var(--primary-font-family);
    font-weight: var(--primary-font-weight);
    font-style: var(--primary-font-style);
    letter-spacing: 0em;
    line-height: 1.5;
    width: 100%;
    position: relative;
    background-color: var(--white-color);
    font-optical-sizing: var(--primary-font-optical-sizing);

    & a {
        color: var(--black-color);

        &::after {
            background-color: var(--black-color);
        }
    }

}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--primary-font-family);
    font-weight: var(--header-font-weight);
    font-style: var(--header-font-style);
    /*text-transform: uppercase;*/
    line-height: 1;
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 0;
    font-optical-sizing: var(--header-font-optical-sizing);

    @media (min-width: 768px) {
        font-size: 2rem;
    }
}

h1 {
    font-size: 2.5rem;
    margin: 1rem 0 1.5rem 0;

    @media (min-width: 768px) {
        font-size: 3rem;
    }
}

h2 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    margin: 1rem 0 0.5rem 0;
    font-weight: 500;
}


ul {
    list-style: square;
    margin-top: 0;
}


/* CONTAINERS & CONTENT
========================================================================== */

.section {
    width: 100vw;

    
    &.section-primary {
        background-color: var(--primary-color);

        & a {
            color: var(--white-color);

            &::after {
                background-color: var(--white-color);
            }
        }
    }
}

.section-content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;

    @media (min-width: 1000px) {
        flex-direction: row-reverse;
    }
}

.content {
    margin: 0;
    padding: 1rem;

    @media (min-width: 768px) {
        padding: 2.5rem;
    }
}

.page.type-page {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem;
}

/* Hero  */
.hero-container {
    width: 100%;
    height: calc(80vh - 100vw / 2);
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 0 auto;


    @media (min-width: 850px) {
        height: 42vw;
        flex-direction: row-reverse;
    }

    @media (min-width: 1680px) {
        height: 42vw;
    }

}

.hero-bg-image {

    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(rgba(53, 55, 57, 0), rgba(0, 0, 0, 0.86)), url('https://images.unsplash.com/photo-1546440765-e7e3c881b5fe');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    /*opacity: 0;*/
    animation: opacity 2s ease-in-out;
    z-index: -1;


}


.hero-content {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: flex-start;
    width: 100%;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;

    padding: 1rem;


    @media (min-width: 768px) {
        padding: 2.5rem;
    }

    @media (min-width: 1200px) {
        flex-direction: row;
        justify-content: flex-start;
    }


    & .branding {
        background-color: var(--primary-color);
        transition: all 0.3s ease;
        
        &:hover {
            opacity: .85;
        }

        & a {

            &::after {
                display: none;
            }
        }
    }

    & img {
        max-width: 100px;

        @media (min-width: 520px) {
            max-width: 150px;
        }
    }

    & .tagline {
        font-family: var(--primary-font-family);
        font-weight: var(--header-font-weight);
        font-style: var(--header-font-style);
        /*text-transform: uppercase;*/
        line-height: 1;
        margin: 0;
        letter-spacing: 0;
        font-optical-sizing: var(--header-font-optical-sizing);

        font-size: 1.5rem;
        font-weight: var(--header-font-weight);
        color: var(--primary-color);
        width: 200px;
        padding: 0 0 0 1rem;
        margin: 0 0 1.5rem 0;
        display: none;

        @media (min-width: 370px) {
            display: block;
        }

        @media (min-width: 520px) {
            font-size: 2rem;
            margin: 1rem 0 1.5rem 0;
        }
    }
}


.inset {

    h1 {
        font-size: 1.5rem;
        margin: 0;
    }

    @media (min-width: 1000px) {
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        margin: 3.5rem 3.5rem auto 3.5rem;
        padding: 1rem 2.5rem 2.5rem 2.5rem;

        & h1 {
            margin: 0.5rem 0 0.5rem 0;

            font-size: 2rem;
        }
    }

    & .contact-info {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        display: none;

        @media (min-width: 1000px) {
            display: block !important;    
        }

    }
}


/*https://images.unsplash.com/photo-1523975864490-174dd4d9a41e
https://images.unsplash.com/photo-1546440765-e7e3c881b5fe
*/


@keyframes opacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}






a {
    text-decoration: none;
    transition: all 1s ease;
    position: relative;
}

/*a:hover {
    text-decoration: none;
}*/

a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    /* Hide the line initially by scaling its width to 0 */
    transform: scaleX(1);
    /* Force the growth direction to start from the left side */
    transform-origin: bottom center;
    /* Animate the transform property over 0.25 seconds */
    transition: transform 0.25s ease-out;
}

a:hover {
    opacity: 0.8;
}

a:hover::after {
    transform: scaleX(0);
}


@media (min-width: 780px) {
    container {
        padding: 2rem;
    }
}


.bg-white {
    background-color: var(--white-color);
}

.text-white {
    color: var(--white-color);

    & a {
        color: var(--white-color);
    }

    & ::after {
        background-color: var(--white-color);
    }
}

.text-black {
    color: var(--black-color) !important;

    & a {
        color: var(--black-color) !important;
    }

    & ::after {
        background-color: var(--black-color) !important;
    }
}




.mt {
    margin-top: 2.5rem;
}


.footer {
    flex-direction: column;
    justify-content: flex-start;


    @media (min-width: 768px) {
        flex-direction: row;
    }

    & .footer-logo {
        width: 140px;
        margin: 0 auto;

        img {
            width: 100%;
            height: auto;
        }
    }

    & ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
    }

    & li {
        margin: 0;
        padding: 0;
        display: inline-block;
    }
}

/**
* Utilities
*========================================================================== */

.small {
    font-size: .75rem;
}

.em {
    font-style: italic;
}

.flex {
    display: flex;
}
.flex-row {
    flex-direction: row;
}
.flex-column {
    flex-direction: column;
}

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

.flex-align-start {
    align-items: flex-start;
}
.flex-align-center {
    align-items: center;
}
.flex-align-end {
    align-items: flex-end;
}
/**
 * Site Styles
 ******************/


.button {
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 5px;
    border: none;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
}



.reviews {
    background-color: var(--secondary-light-color);
    background: linear-gradient(to bottom, var(--primary-color), var(--white-color));
    color: var(--white-color);
    

    & .content {
        margin-bottom: 5rem;
    }

}

#reviews-sorted-by {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;

    @media (min-width: 780px) {
        grid-template-columns: 1fr 1fr;
    }

    @media (min-width: 1200px) {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

#reviews-sorted-by > :nth-child(n+7):nth-child(-n+100) {
    display: none;

}

#reviews-sorted-by.show-all {
    & .review-box {
        display: block;
    }
}

.review-box {
    display: block;
    color: var(--black-color);
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 0;
    background-color: var(--white-color);
    box-shadow: 0 0 10px 6px rgba(0, 0, 0, 0.1);
}

.load-more-reviews-button {
    display: block;
    text-align: center;
    margin-top: 2rem;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.25rem;
    border: 1px solid var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;

    &:hover {
        background-color: var(--primary-color);
        color: var(--white-color);
    }
}

.star-count.star-count__active {

    &::before {
        content: '\2605 \2605 \2605 \2605 \2605';
        display: block;
        font-size: 1.5rem;
        color: var(--black-color);
    }

}



.icon-more-fill {
    display: inline-block;
    vertical-align: middle;
    width: 0.85em;
    height: 0.85em;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2m4.5 8.5a1.5 1.5 0 1 0 0 3a1.5 1.5 0 0 0 0-3m-4.5 0a1.5 1.5 0 1 0 0 3a1.5 1.5 0 0 0 0-3m-4.5 0a1.5 1.5 0 1 0 0 3a1.5 1.5 0 0 0 0-3'/%3E%3C/g%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;

    &:hover {
        background-color: var(--primary-color);
        opacity: 0.8;
    }

    @media (min-width: 1000px) {
        display: none;    
    }

}

.icon-window-new {
    display: inline-block;
    width: 1em;
    height: 1em;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M11.5 2A2.5 2.5 0 0 1 14 4.5v5a2.5 2.5 0 0 1-2.044 2.456A2.5 2.5 0 0 1 9.5 14H6a4 4 0 0 1-4-4V6.5a2.5 2.5 0 0 1 2.043-2.457A2.5 2.5 0 0 1 6.5 2zM4 5.087A1.5 1.5 0 0 0 3 6.5V10a3 3 0 0 0 3 3h3.5a1.5 1.5 0 0 0 1.413-1H6.5A2.5 2.5 0 0 1 4 9.5zM6.5 3A1.5 1.5 0 0 0 5 4.5v5A1.5 1.5 0 0 0 6.5 11h5A1.5 1.5 0 0 0 13 9.5v-5A1.5 1.5 0 0 0 11.5 3zm4 2a.5.5 0 0 1 .5.5V8a.5.5 0 0 1-1 0V6.707L7.354 9.354a.5.5 0 1 1-.708-.708L9.293 6H8a.5.5 0 0 1 0-1z'/%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }
  
  
  