html {
    scroll-behavior: smooth;
}

body {
    font-family: "Reem Kufi", sans-serif;
}

/* ===== Navigation reset ===== */
/* Header */
.site-header {
    position: relative;
    z-index: 1000;
}

header {
    border-top: 7px solid #00bba7;
    border-bottom: 2px solid #00bba7;
}

.top-bar {
    background-color: #ffffff;
}

.top-bar-logo {
    font-family: "Hinterland", cursive;
    font-weight: 500;
}

/* Toggle Button */
.nav-toggle {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
}

/* Fullscreen Menu */
.fullscreen-nav {
    position: fixed;
    /* top: 4.5rem; height of header */
    top: 132px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fefefe;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #00bba7;
}

/* Menu Styling */
.fullscreen-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fullscreen-nav li {
    margin-bottom: 1.5rem;
}

.fullscreen-nav a {
    font-size: 2.3rem;
    color: #ffffff;
    text-decoration: none;
}

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

.topHero {
    border-bottom: 4px solid #00d5be;
}

.topHeroImage {
    border-bottom: 2px solid #44d292;
}

.topHero h1 {
    font-family: "Perfetto", cursive;
    font-size: 120px;
    line-height: 0.8;
}

.topHero {
    font-family: "Sabon", serif;
}

.topHero .button {
    font-family: "Oregon LDO DemiBold", sans-serif;
}

h2 {
    font-family: "Sackers Gothic Medium AT", sans-serif;
}

#services {
    scroll-margin-top: 100px;
    /* adjust to your header height */
}

.mainContainer.secondary h2 {
    font-family: "Oregon LDO DemiBold", sans-serif;
}

.servicesContainer {
    border-top: 5px solid #00d5be;
}

.servicesContainer h2 {
    font-family: "Perfetto", cursive;
    font-size: 120px;
    line-height: 0.8;
}

.card {
    -webkit-transition: box-shadow .2s ease, -webkit-transform .2s ease;
    transition: box-shadow .2s ease, -webkit-transform .2s ease;
    transition: transform .2s ease, box-shadow .2s ease;
    transition: transform .2s ease, box-shadow .2s ease, -webkit-transform .2s ease
}

.card:hover {
    /* Card Animates When Hovered */
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
    /* Drop Shadow Appears Behind Card When Hovered */
    box-shadow: 0 1px 5px 2px rgba(0, 0, 0, .2);
    text-decoration: none;
    color: inherit
}

.card h3 {
    font-family: "Oregon LDO Bold", sans-serif;
}

.testimonialsSection {
    border-top: 1px solid #00d5be;
}

.accordionSection {
    border-top: 7px solid #00d5be;
}

.accordion {
    border-radius: 25px;
}

/* Accordion title */
.accordion-title {
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    background: #fefefe;
    user-select: none;
    width: 100%;
    padding: 1.25rem 3.2rem;
    border-top: 1px solid #e6e6e6;
}

/* Accordion title hover */
.accordion-title:hover {
    background: #f2f2f2;
}

/* Arrow rotates when active */
.accordion-item.is-active>.accordion-title::after {
    transform: rotate(-180deg);
}

/* New Alpine-only content panel */
.alpine-accordion-content {
    padding: 1rem;
    border: 1px solid #e6e6e6;
    overflow: hidden;
}

.accordion-title::before {
    margin-top: -0.8rem;
    right: 2rem;
}

.accordion-item:first-child> :first-child {
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
}

:last-child:not(.is-active)>.accordion-title {
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
}

footer {
    border-top: 5px solid #00d5be;
}

.footer {
    padding: 2rem 0;
    margin-top: 3rem;
}

.footerLogo {
    font-family: "Hinterland", cursive;
}

.footerAddress {
    font-family: "Sackers Gothic Medium AT", sans-serif;
}

.footer .menu {
    margin-bottom: 0;
}

.footer .menu ul {
    list-style-type: none;
}

.footer .menu a {
    padding: 0.5rem 1rem;
}

.footer .is-active>a {
    font-weight: 600;
}

.footer .menu {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
}

.footer .menu a {
    color: #ffffff;
}

.footer .active>a {
    background: #0f766e;
}

.footer .menu>li {
    display: inline-flex;
}

/* Accessibility: Skip link */
.skip-link {
    position: absolute;
    top: -1000px;
    left: 0;
    z-index: 1000;
    background: #000;
    color: #fff;
    padding: 0.75rem 1rem;
}

.skip-link:focus,
.skip-link:focus-visible {
    top: 0;
}

/* Scrolling Fade-In Animations */

/* Content fades in with no motion */
/* Initial state: hidden */
.fadeIn1 {
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    /* Add a smooth transition */
}

/* State when in view: visible */
.fadeIn1.visible {
    opacity: 1;
}

/* Content fades in with a slight upward movement */
/* Initial state: hidden */
.fadeIn2 {
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    /* Add a smooth transition */
    transform: translateY(50px);
    /* Add a slight upward movement */
}

/* State when in view: visible */
.fadeIn2.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Content fades in with a slight movement from the right side of the screen */
/* Initial state: hidden */
.fadeIn3 {
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    /* Add a smooth transition */
    transform: translateX(50px);
    /* Add a slight movement from the right side of screen */
}

/* State when in view: visible */
.fadeIn3.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Content fades in with a slight movement from the left side of the screen */
/* Initial state: hidden */
.fadeIn4 {
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    /* Add a smooth transition */
    transform: translateX(-50px);
    /* Add a slight movement from the left side of screen */
}

/* State when in view: visible */
.fadeIn4.visible {
    opacity: 1;
    transform: translateX(0);
}

@media screen and (max-width: 1024px) {

    .footer .menu {
        flex-direction: column;
        align-items: center;
    }

    .footer .menu a {
        padding: 1.2rem 1rem;
    }

}

@media screen and (max-width: 639px) {

    .top-bar .top-bar-left,
    .top-bar .top-bar-right {
        flex: none;
    }

    .topHero.index {
        padding-bottom: 170px;
    }

    .topHeroHeadingHome {
        font-size: 86px;
    }

    .topHeroImage {
        /* Forces a taller aspect ratio on mobile */
        height: 400px;
        object-fit: cover;
        /* Keeps the focus on the center of the woods/spa scene */
        object-position: center;
        width: 100%;
    }

}

@font-face {
    font-family: "Hinterland";
    src: url("../fonts/Hinterland.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Oregon LDO Bold";
    src: url("../fonts/OregonLDOBold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Oregon LDO Book";
    src: url("../fonts/OregonLDOBook.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Oregon LDO DemiBold";
    src: url("../fonts/OregonLDODemiBold.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Perfetto";
    src: url("../fonts/Perfetto.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sabon";
    src: url("../fonts/Sabon.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sackers Gothic Light AT";
    src: url("../fonts/SackersGothicLightAT.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sackers Gothic Medium AT";
    src: url("../fonts/SackersGothicMediumAT.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Reem Kufi";
    src: url("../fonts/ReemKufi-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}