:root {
    --logo-green: #2E984D;
    --logo-green-dec: 45, 152, 77; /* --logo-green in decimal RGB */
    --header__top-height: 40px;
    --header__bottom-height: 120px;
    --header-padding: 0 50px;
    --footer-padding: 20px 50px;
    --card-width: 150px;
    --dark-deep-blue: #22283c;
    --deep-blue: #22283c;
    --deep-blue-dec: 45, 48, 71; /* --deep-blue in decimal RGB */
    --hero-text-font: "Volkhov";
    --hero-text-font-weight: normal;
    --row-title-font: "Exo";
    --card__btn-height: 15px;
    --card__btn-margin-top: 5px;
}

html {
    scroll-behavior: smooth;
}

/*Source - https://stackoverflow.com/a/51588820*/
/*Posted by Cristian Reyes, modified by community. See post 'Timeline' for change history*/
/*Retrieved 2026-06-26, License - CC BY-SA 4.0*/

body {
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

a.underline:hover {
    text-decoration: underline;
}

table.trading-hours td:first-child {
    padding-right: 10px;
}

.wt-normal {
    font-weight: normal;
}

.wt-bold {
    font-weight: bold;
}

.sz-small {
    font-size: small;
}

.cl-white {
    color: white;
}

.cl-deep-blue {
    color: var(--deep-blue);
}

.cl-logo-green {
    color: var(--logo-green);
}

.body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header {
    position: fixed;
    margin: 0;
    z-index: 999;
    width: 100%;
    top: 0;
    left: 0;
    background-color: white;
}

/*------------------ SECONDARY NAVIGATION BAR*/
.header-top {
    background-color: var(--deep-blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: var(--header__top-height);
    padding: var(--header-padding);
}

.header-top__phone-number {
    width: 130px;
}

.header-top__nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;

}

/*------------------ MAIN NAVIGATION BAR*/
.header-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header__bottom-height);
    width: 100%;
    margin: 0 auto;
    padding: var(--header-padding);
    box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.1);
    z-index: 998;
}

.header-bottom__left-side {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.business-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60%;
}

.business-logo {
    height: 90%;
}

.admin-icon-wrapper {
    margin-left: 20px;
    display: flex;
}

.admin-icon {
    color: var(--logo-green);
    font-size: 40px;
    border: 2px solid rgb(var(--logo-green-dec), 0.4);
}

.admin-icon:hover {
    color: var(--deep-blue);
    border-color: var(--deep-blue);
}

.header-bottom__nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    height: 100%;
    width: 100%;
}

.header-bottom__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-bottom__nav-menu .google-icons {
    font-size: 32px;
    font-variation-settings: 'opsz' 32;
}

.header-bottom__link:hover * {
    color: var(--logo-green);
    transition: all 0.1s ease-out;
}

.menu-toggle {
    display: none;
}

.header-bottom__call-us {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 130px;
    height: 70px;
    white-space: nowrap;
}

.header-bottom__call-us li {
    justify-self: start;
}

.header-bottom__call-us a {
    color: var(--logo-green);
}

/*------------------ MAIN*/
.main {
    margin-top: calc(var(--header__top-height) + var(--header__bottom-height));
}

.anchor {
    position: relative;
    top: calc(0px - (var(--header__top-height) + var(--header__bottom-height)));
}

.call-now-link {
    color: var(--logo-green);
}

/*------------------ MAIN > HERO SECTION*/
.hero-container {
    display: none;
    position: relative;
}

.hero-image {
    filter: brightness(70%);
    max-height: 900px;
    width: 100%;
    object-fit: cover;
}

.hero-text-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: none;
    justify-content: center;
}

.hero-text {
    padding: 0 20px;
    border-radius: 15px;
    text-align: left;
    color: white;
    font-family: var(--hero-text-font), sans-serif;
    font-size: calc(100% + 3vw);
    font-weight: var(--hero-text-font-weight);
    background-color: rgba(var(--deep-blue-dec), 0.8);
}

/*------------------ MAIN > ROWS*/
.main__rows {
    display: flex;
    flex-direction: column;
}

/*------------------ MAIN > ROWS > REGULAR ROW*/
.main__row {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.main__row-title {
    width: 100%;
    text-align: center;
}

.main__row-title,
.main__img_row-title {
    font-family: var(--row-title-font), sans-serif;
    color: rgba(61, 112, 104, 0.7);
    font-weight: 500;
}

.main__row-content {
    width: 100%;
}

/*------------------ MAIN > ROWS - HOURS*/
.main__hours {
    background-color: rgba(92, 93, 141, 0.05);
}

.main__hours-title {
    text-align: center;
}

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

/*------------------ MAIN > ROWS - LOCATIONS*/
.main__locations-content {
    text-align: center;
}

/*------------------ MAIN > ROWS - SERVICES*/
.main__services {
    background-color: white;
}

.main__services ul {
    max-width: 400px;
    display: flex;
    text-align: center;
    flex-direction: column;
    gap: 20px;
}

.main__services-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.card {
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    min-width: var(--card-width);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}

.card:hover {
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    transition: all 0.5s ease-out;
}

.card.active {
    min-width: 0;
}

.card__top-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.card__bottom-section {
    height: 50px;
}

.card__img-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.card__title {
    border-radius: 0 0 10px 10px;
    height: 100%;
    width: var(--card-width);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 10px;
    font-size: 15px;
    flex-grow: 1;
    color: var(--logo-green);
    font-weight: normal;
    background-color: var(--dark-deep-blue);
}

.card__btn-wrapper {
    width: 100%;
    height: calc(var(--card__btn-height) + var(--card__btn-margin-top));
    display: flex;
    align-items: center;
    justify-content: right;
    padding-right: 5px;
}

.card__btn {
    margin-top: var(--card__btn-margin-top);
    height: var(--card__btn-height);
    width: 24px;
    border: none;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card__btn:hover {
    cursor: pointer;
    color: var(--logo-green);
}

.card__close-icon {
    display: none;
    font-size: 20px;
}

.card__description {
    display: none;
    padding: 0 10px 10px 10px;
    height: 100%;
}

.card__description-title {
    width: 95%;
    border-bottom: 1px solid lightgray;
    margin-bottom: 5px;
    padding-left: 5px;
    color: var(--logo-green);
}

.card__description-content {
    padding-left: 5px;
    max-width: 20em;
}

.card.active .card__close-icon {
    display: block;
}

.card.active .card__description {
    display: block;
}

.card.active .card__img-wrapper {
    display: none;
}

.card.active .card__main-icon-wrapper {
    display: none;
}

.card.active .card__bottom-section {
    display: none;
}

.card.active .card__arrow-icon {
    display: none;
}

.card__main-icon-wrapper {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

/*------------------ FOOTER*/
footer {
    display: flex;
    justify-content: center;
    background-color: var(--dark-deep-blue);
    width: 100%;
}

footer .heading {
    font-size: medium;
}

footer .normal-text {
    opacity: 0.8;
}

.footer-main {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    height: 100%;
    width: 100%;
    padding: var(--footer-padding);
}

.footer-top {
    display: grid;
    grid-template-areas:
        "business-info browse services hours locations contact"
        "business-info browse services hours locations contact";
    grid-template-columns: fit-content(250px) fit-content(50px) fit-content(110px) fit-content(170px) fit-content(170px);
    justify-content: space-between;
    gap: 15px;
}

.footer-top__section {
    width: fit-content;
}

.footer-top ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    row-gap: 5px;
    margin-top: 5px;
}

/*------------------ FOOTER - company info */
.footer__business-info {
    grid-area: business-info;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer__business-info .business-logo-wrapper {
    justify-content: flex-start;
    height: 60px;
    margin: 0;
    padding: 0;
}

.footer__business-info .business-logo {
    height: 100%;
}

.footer__business-info .heading {
    white-space: nowrap;
    width: fit-content;
    padding-bottom: 5px;
}

.footer__business-info .footer-socials {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
}

.footer__business-info .facebook-logo {
    display: flex;
    align-items: center;
    justify-content: start;
    width: fit-content;
}

.footer__business-info .google-logo {
    display: flex;
    align-items: center;
    justify-content: start;
    width: fit-content;
}

.footer__business-info .call-to-review {
    grid-area: call-to-review;
}

.footer__business-info .facebook-logo svg {
    height: 20px;
}

.footer__business-info p {
    grid-area: business-info;
    padding-top: 10px;
}

/*------------------ FOOTER - browse */
.footer__browse-links {
    grid-area: browse;
}

/*------------------ FOOTER - services */
.footer__services {
    grid-area: services;
}

/*------------------ FOOTER - trading hours */
.footer__trading-hours {
    grid-area: hours;
}

.footer__trading-hours td {
    font-weight: normal;
    font-size: small;
    color: white;
    opacity: 0.8;
}

/*------------------ FOOTER - locations*/
.footer__locations {
    grid-area: locations;
}

/*------------------ FOOTER - contact us*/
.footer__contact-us {
    grid-area: contact;
}

.footer__contact-us li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 10px;
}

.footer__contact-us .google-icons {
    font-size: 16px;
    font-variation-settings: 'opsz' 16;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
}

@media screen and (max-width: 990px) {
    .footer-top {
        grid-template-areas:
            "business-info browse services locations contact"
            "business-info browse services locations hours";
    }
}

@media screen and (max-width: 880px) {
    .header-top__trading-hours {
        display: none;
    }

    .header-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-bottom__nav-menu {
        background-color: aquamarine;
        display: none;
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 250px;
        z-index: 999;
        background-color: rgba(255, 255, 255, 0.459);
        backdrop-filter: blur(10px);
        box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    }

    .header-bottom__nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .close-icon-wrapper,
    .header-bottom__link-wrapper {
        width: 100%;
        display: flex;
    }

    .close-icon-wrapper {
        justify-content: flex-start;
        margin-top: 20px;
    }

    .close-icon:hover {
        cursor: pointer;
        color: white;
    }

    .header-bottom__link {
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
        width: 100%;
    }

    .header-bottom__link, .close-icon {
        padding-left: 20px;
    }

    .header-bottom__link:hover {
        background-color: var(--logo-green);
        color: white;
        transition: all 0.1s ease-out;
    }

    .header-bottom__link:hover * {
        color: white;
    }

    .menu-icon {
        display: flex !important;
        font-size: 40px;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
        height: 35px;
        width: 40px;
    }

    .menu-icon:hover {
        cursor: pointer;
        color: white;
        background-color: var(--logo-green);
        transition: all 0.1s ease-out;
    }


    .header-bottom__call-us a {
        width: 60px;
    }

    .main__row-title,
    .main__img_row-title {
        font-size: calc(100% + 2vw);
    }

    .main__img_row {
        flex-direction: column;
        max-height: 800px;
        padding: 0;
    }

    .main__img_row-image {
        max-width: 100%;
    }

    .main__img_row-title {
        text-align: center;
    }

    .main__img_row-text-container {
        padding: 40px;
        align-items: center;
    }
}

@media screen and (max-width: 780px) {
    .hero-image
    .footer-top {
        grid-template-areas:
            "business-info services browse contact"
            "business-info services locations hours";
    }
}

@media (max-width: 680px) {
    .header-bottom__call-us {
        display: none;
    }

    .hero-container {
        display: block;
    }

    .footer-top {
        grid-template-areas:
            "business-info business-info"
            "services browse"
            "contact contact"
            "hours hours"
            "locations locations";
        grid-template-columns: min(130px) 100px;
        justify-content: center;
        justify-items: center;
    }

    .footer-bottom {
        flex-direction: column;
    }

    /* Hide the dot */
    .footer-bottom span:nth-child(2) {
        display: none;
    }
}

@media (max-width: 500px) {

    .header-top {
        padding: 25px 0;
    }

    .header-top__nav-menu {
        flex-direction: column;
    }

    .header-bottom__nav-menu {
        width: 100%;
    }

    .close-icon {
        width: 100%;
    }

    .header-bottom__link-wrapper {
        align-items: center;
    }

    .header-bottom__link {
        flex-direction: column;
        gap: 0;
        justify-content: center;
    }
}

@media (max-width: 390px) {
    .hero-image {
        max-height: 100%;
    }
}