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

:root {
    --white: #FFFFFF;
    --sand: #D6D3CD;
    --sand-lighter: #E8E6E3;
    --grayish: 8f8681;
    --brown: #3a322f;
    --green: #7ea481;
    --dark-green: #08300b;
}

* {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    background-color: var(--sand);
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100vh;
}

main {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Enable smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

/* Apply the offset to every element with an ID */
[id] {
    scroll-margin-top: 100px;
}

.outer-wrapper {
    width: 100%;
    padding-inline: 60px;
    padding-block: 80px;
}

.inner-wrapper {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
}

.center-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}


header {
    position: sticky;
    top: 0;
    background-color: var(--sand);
    padding-block: 20px !important;
    z-index: 999;
    transition: box-shadow 0.3s ease-in-out;
}

header.has-scrolled {
    box-shadow:
        0 2px 2px -1px rgba(58, 50, 47, 0.1),
        0 12px 16px -4px rgba(58, 50, 47, 0.08);
}

nav {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}


.flex-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 60px;
}

.flex-item {
    width: 100%;
    overflow: hidden;
}

.top-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 5px;
    gap: 15px;
    background-color: var(--dark-green);
}

.top-banner .text {
    color: var(--sand);
    font-size: 14px;
    font-weight: 500;
}

#logo-link {
    display: flex;
    justify-content: center;
}

.logo {
    width: 130px;
}

.hamburger-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(3px);
    z-index: 998;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
}

.hamburger-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

#hamburger-toggle {
    display: none;
    position: relative;
    height: 16px;
    width: 24px;
    padding: 0;
    border: 0;
    background-color: transparent;
    cursor: pointer;

}

#hamburger-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--brown);
    border-radius: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s ease;
}

#hamburger-toggle span:nth-child(1) {
    top: 0%;
}

#hamburger-toggle span:nth-child(3) {
    top: 100%;

}

#hamburger-toggle.is-open span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

#hamburger-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

#hamburger-toggle.is-open span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.navigation-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-inline: auto;
}

.link:hover,
.btn:hover {
    opacity: 75%;
}




.link {
    font-family: "Montserrat", sans-serif;
    color: var(--brown);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;

    transition: opacity 0.3s ease;
}

.btn {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;

    transition: opacity 0.3s ease;
}

.btn-primary {
    color: var(--sand);
    background-color: var(--brown);
}

.link-with-icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 15px;
}

.link-with-icon svg {
    color: inherit;
    width: 24px;
}

.btn-with-icon {
    gap: 15px;
}

.btn-with-icon svg {
    color: var(--sand);
    width: 20px;
}

.large-heading {
    font-family: "Cormorant Garamond", serif;
    color: var(--brown);
    font-size: 120px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
}

.big-heading {
    font-family: "Cormorant Garamond", serif;
    color: var(--brown);
    font-size: 60px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
}

.small-heading-montserrat {
    font-family: "Montserrat", sans-serif;
    color: var(--brown);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
}

.small-heading {
    font-family: "Cormorant Garamond", serif;
    color: var(--brown);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
}

.text {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    color: var(--brown);
}

.section-topper {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    color: var(--brown);
    opacity: 33%;
    display: block;
    margin-bottom: 15px;
}

.text-small {
    font-size: 16px !important;
}

.highlight-dark-green {
    color: var(--dark-green);
}

.highlight-green {
    color: var(--green);
}

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

.center {
    text-align: center;
    margin-inline: auto;
}

.margin-btm-60 {
    margin-bottom: 60px;
}

.margin-btm-30 {
    margin-bottom: 30px;
}

.margin-btm-15 {
    margin-bottom: 15px;
}

.italic {
    font-style: italic;
}

.max-width-1000 {
    max-width: 1000px;
}

.max-width-500 {
    max-width: 500px;
}

footer {
    background-color: var(--brown);
}

footer .inner-wrapper {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

footer .link-heading {
    font-weight: 600;
    opacity: 50%;
}

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

    .outer-wrapper {
        padding-block: 60px;
    }

    .flex-row {
        flex-direction: column;
        gap: 0px;
    }

    footer .inner-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 60px;
    }

    .margin-btm-60 {
        margin-bottom: 30px;
    }

    .navigation-content {
        position: absolute;
        top: 100%;
        left: 0;
        height: fit-content;
        flex-direction: column;
        background-color: var(--sand);
        gap: 30px;
        align-items: start;

        padding-inline: 60px;

        visibility: hidden;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease, visibility 0.3s;


        box-shadow:
            0 2px 2px -1px rgba(58, 50, 47, 0.1),
            0 12px 16px -4px rgba(58, 50, 47, 0.08);
    }

    .navigation-content.opened {
        visibility: visible;
    }

    #nav-button {
        margin-bottom: 30px;
    }


    .nav-links {
        width: 100%;
        flex-direction: column;
        margin-top: 30px;
    }

    #hamburger-toggle {
        display: flex;
    }

    .large-heading {
        font-size: 80px;
    }

    .big-heading {
        font-size: 40px;
    }

    .small-heading {
        font-size: 25px;
    }

    .small-heading-montserrat {
        font-size: 20px;
    }

}

@media screen and (max-width: 767px) {
    .logo {
        width: 115px;
    }

    .outer-wrapper,
    .navigation-content {
        padding-inline: 30px;
    }

    .navigation-content #nav-button {
        width: 100%;
    }

    .large-heading {
        font-size: 55px;
    }

    .big-heading {
        font-size: 35px;
    }


    .top-banner {
        display: none;
    }

}

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

    .outer-wrapper,
    .navigation-content {
        padding-inline: 20px;
    }

    .large-heading {
        font-size: 40px;
    }

    .big-heading {
        font-size: 30px;
    }

    .small-heading {
        font-size: 20px;
    }

    .small-heading-montserrat {
        font-size: 16px;
    }

    .text {
        font-size: 16px;
    }

    .text-small {
        font-size: 14px !important;
    }

    .btn {
        font-size: 14px;
    }

}