/* Basic */

:root {
    --primary-color: #728254;
    /* Green */
    --secondary-color: #f44336;
    /* Red */
    --background-color: #f4f4f4;
    /* Light Gray */
    --text-color: #1a1a1a;
    /* Dark Gray */
    --font-family: 'Figtree', sans-serif;
    /* Light Green */
    --light-green: #d7c9a6;
    /* Light Text Color */
    --light-text-color: #fff1cd;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding-bottom: .5rem;
}

p {
    margin: 0;
    padding-bottom: .5rem;
    line-height: 1.5;
    font-size: 1.1rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.grid-3-2 {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;
}

.bg-brand {
    background-color: var(--primary-color);
}

.text-white {
    color: var(--light-text-color);
}

.bg-white {
    background-color: white;
}

.rounded-corners {
    border-radius: 8px;
}

.shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.m-2 {
    margin: 2rem;
}

.p-1 {
    padding: 1rem;
}

.p-2 {
    padding: 2rem;
}

.p-3 {
    padding: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

.text-right {
    text-align: right;
}

.muted {
    color: #838383;
    font-size: 90%;
}

.px-2 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.pb-2 {
    padding-bottom: 2rem;
}

.p-1 {
    padding: 1rem;
}

.pt-1 {
    padding-top: 1rem;
}

.pl-1 {
    padding-left: 1rem;
}

.pr-1 {
    padding-right: 1rem;
}

.pb-1 {
    padding-bottom: 1rem;
}

.py-2 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

p {
    padding-bottom: 1rem;
}

/* Global */

main:not(.home) {
    padding: 2rem 4rem;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
}

.button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    font-size: 1rem;
    margin: 1rem 0;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #6f8b4a;
}

a.brand-btn {
    background: transparent;
    padding: 1.2rem 3rem;
    margin: .5rem 0;
    color: var(--light-text-color);
    font-weight: 600;
    font-size: 1.2rem;
    border-radius: 1rem;
    border: none;
    text-decoration: none;
    display: block;
    border: 1px solid var(--light-text-color);
    box-shadow: 0 2px 4px rgba(153, 151, 151, 0.1);
    margin-bottom: 3rem;
    font-weight: 300;

    &:hover {
        background: var(--light-text-color);
        color: var(--primary-color);
    }
}

main.home hr {
    border: 1px solid #c1bbaa;
    margin: 2rem auto;
}

table {
    margin: auto;
    width: 100%;
}

tr td:nth-child(1),
tr th:nth-child(1) {
    text-align: left;
}

tr td:nth-child(2) {
    text-align: center;
}

td.active {
    font-weight: 600;
}

.mobile-only {
    display: none;
}

/* Datepicker z-index */
.ui-datepicker {
    z-index: 9999 !important;
}

.iti__selected-dial-code {
    color: var(--text-color);
}

/* Homepage */

main.home {
    background-color: var(--primary-color);
    color: white;
}

.hero {
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 1s ease;
    gap: 6rem;
}

.hero.active {
    min-height: 0vh;
}

.home .intro h2 {
    font-weight: normal;
    font-size: 1.7rem;
    padding-bottom: 1rem;
}

.home .logo {
    max-height: 50vh;
    display: block;
    margin-top: 2rem;
    transition: all 1s ease;
}

.home .brand-btn {
    transition: all 1s ease;
}

.hero.active .brand-btn {
    margin-bottom: 1rem;
}

.hero.active .logo {
    max-height: 30vh;
}

.socials {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1rem;
}

.socials a {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;

    &:hover {
        color: #f7f7e7;
    }
}

#gmap {
    min-height: 20rem;
}


.footer-content {
    font-size: .9rem;
}

.contact-btns {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    text-align: center;
}

a.brand-btn.contact-btn {
    padding: 1rem .5rem;
    display: flex;
    justify-content: center;
    font-size: 1rem;
}

.sticky-button {
    width: 100%;
    display: block;
    text-align: center;
    background: var(--light-text-color);
    color: var(--primary-color);
    color: var(--light-text-color);
    background: #2f4d10;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    position: fixed;
    bottom: 0;
    z-index: 99;

    &:hover {
        background: var(--light-text-color);
        color: var(--primary-color);
    }
}

/* Book a Slot Page */
.fa-solid {
    color: var(--light-text-color);

    &:hover {
        color: var(--background-color);
    }
}

.slot-section-container .logo {
    max-width: 50%;
}

.slots-radio-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.slots.disabled {
    pointer-events: none;
    filter: blur(2px);
}

.slots.disabled * {
    pointer-events: none;
}

.custom-radiobox {
    display: inline-block;
}

.radio-label {
    position: relative;
    padding: 1rem;
    border: 1px solid transparent;
    border-color: #e6e6e6;
    background: var(--light-text-color);
    cursor: pointer;
    border-radius: 4px;
    z-index: 2;
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.custom-radio-input {
    display: none;
}

.custom-radio-input:before,
.custom-radio-input:not(:checked)+label:before {
    display: none;
}

.custom-radio-input:checked+label:after,
.custom-radio-input:not(:checked)+label:after {
    content: "";
    width: 100%;
    height: 100%;
    background: #374125;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    z-index: -1;
}

.custom-radio-input:not(:checked)+label:after {
    opacity: 0;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
}

.custom-radio-input:checked+label:after,
.custom-radio-input:hover+label:after {
    opacity: 1;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.custom-radiobox .custom-radio-input:checked~.radio-label,
.custom-radiobox .custom-radio-input:hover~.radio-label {
    color: #fff;
    border-color: white;
}

/* Disabled input */
.custom-radio-input:disabled+label {
    background-color: #dbdbdb;
    color: #595959;
    cursor: not-allowed;
}

.custom-radio-input:disabled:hover~.radio-label {
    background-color: #f7f7f7;
    color: #ccc;
    cursor: not-allowed;
}

.custom-radio-input:disabled:hover+label:after {
    opacity: 0 !important;
    -webkit-transform: scaleX(0) !important;
    transform: scaleX(0) !important;
    pointer-events: none !important;
}

input.datepicker {
    border: none;
    font-size: 1.2rem;
    text-align: center;
    cursor: pointer;
    background: transparent;
    color: var(--background-color);

    &:focus {
        outline: none;
    }
}

.date-button {
    width: auto;
    display: inline-block;
    background-color: transparent;
    color: darkgray;
    transition: all 0.3s ease;    
    margin: 10px 0;

    &:hover {
        color: black;
        background-color: transparent;
    }
}

.date-wrap {
    display: flex;
    justify-content: center;
}

.foot-note {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 2rem;
}

.markers {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
    padding-top: 1rem;
}

.markers .marker {
    width: 10px;
    height: 10px;
}


.unavailable-marker {
    color: #dbdbdb;
}

.unavailable-marker .marker {
    background-color: #dbdbdb;
}

.available-marker .marker {
    background-color: var(--light-text-color);
}

.slots-container h4 {
    padding: 0;
}


/* Book Pay Page */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group input {
    font-size: 1rem;
    width: -webkit-fill-available;
    margin-bottom: 1rem;
    border: 1px solid #e6e6e6;
    padding: .5rem;
}

.checkbox-group {
    padding-top: 2rem;
}

.checkbox-group a:any-link {
    color: var(--light-text-color) !important;
}

/* Mobile */
@media (max-width: 768px) {
    .grid-3-2:not(.keep-mobile) {
        grid-template-columns: 1fr;
    }

    main:not(.home) {
        padding: 1rem;
    }

    button.sticky {
        position: fixed;
        bottom: 0;
        z-index: 99;
        width: 100vw;
        margin: auto;
        left: 0;
        min-height: 4rem;
    }

    .subtotals-container {
        display: flex;
        flex-direction: column-reverse;
        gap: 4rem;
        margin-bottom: 4rem;
    }

    main.home hr {
        width: 85vw;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .mobile-only .info p,
    .mobile-only .glance p {
        padding: 0;
    }

    .mobile-only .glance i {
        color: var(--text-color);
        transition: all 0.3s ease;
    }

    .mobile-only .info p>small {
        font-size: 1rem;
    }

    .mobile-only.summary-toggle {
        position: fixed;
        width: 100%;
        left: 0;
        bottom: 0;
        z-index: 99;
    }

    .mobile-only.summary-toggle .button {
        margin: 0;
    }

    .subtotals-container .company-info {
        margin-bottom: 10rem;
    }

    .summary-toggle .summary {
        max-height: 0;
        transition: all 0.3s ease;
        opacity: 0;
        position: relative;
        z-index: -1;
    }

    .mobile-only.summary-toggle.open .glance.open i {
        transform: rotate(180deg);
    }

    .mobile-only.summary-toggle.open .summary {
        max-height: max-content;
        height: auto;
        opacity: 1;
        z-index: 99;
        position: static;
    }

    .mobile-only.back-to-site a {
        display: flex;
        justify-content: start;
        gap: 9px;
        align-items: center;
        color: var(--text-color);
        text-decoration: none;
        padding: 0 0 1rem 0;
    }

    .mobile-only.back-to-site a i {
        color: var(--text-color);
    }

    .mobile-only.back-to-site img {
        max-width: 10%;
        border-radius: 100%;
        background-color: var(--primary-color);
    }
}