@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&family=Italianno&family=Lavishly+Yours&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap');

:root {
    --color1: #d9d7c2;
    --color2: #f7c6c2;
    --color3: #fceeed;
    --color4: #b8d8be;
    --color4h: #baeac2;
    --colorCTA: #F8C8DC;
    --colorCTAh: #f9d6e4;
}

html {
    margin: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    position: relative;
    margin: 0;
    min-height: 100vh;
    width: 100vw;
    background: var(--color1);
    background-image: linear-gradient(to bottom, var(--color1), var(--color2));
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body.mobile-toggled {
    height: 100vh;
    overflow: hidden;
}

main {
    flex-grow: 1;
}

h1 {
    font-family: "Lavishly Yours", serif;
    font-weight: normal;
    font-style: normal;
}

h2, h3, h4 {
    font-family: "Italianno", serif;
    font-weight: normal;
    font-style: normal;
}

.desktop-header {
    position: relative;
    width: 100vw;
    min-height: 4rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.desktop-header.top {
    position: absolute;
    top: 0;
    left: 0;
}
.desktop-header ul {
    margin: 0;
    padding: 0;
}
.desktop-header li {
    list-style: none;
    margin: 0 2rem;
    height: fit-content;
}
nav a, nav .nav-link {
    position: relative;
    text-decoration: none;
    color: black;
    font-family: "Baloo 2", serif;
    cursor: pointer;
    font-weight: 400;
    font-size: 18pt;
    font-style: normal;
}
nav a.active, nav .nav-link.active {
    pointer-events: none;
}
nav a:not(.btn)::after, nav .nav-link:not(.btn)::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 4px;
    width: 0;
    height: 2px;
    transition: .25s;
    background: black;
}
nav a:hover, nav .nav-link:hover {
    color: black;
}
nav a:hover::after, nav a.active::after, nav .nav-link:hover::after, nav .nav-link.active::after {
    width: 100%;
}

#mobileToggle {
    display: none;
    height: 3rem;
    width: 3.5rem;
    position: absolute;
    top: 1rem;
    right: 2rem;
    background: white;
    border-radius: 3px;
    border: 1px solid black;
    cursor: pointer;
    transition: .25s;
    z-index: 1;
}
#mobileToggle::before, #mobileToggle::after {
    content: "";
    display: block;
    position: absolute;
    top: calc((50% - 4px) - .25rem);
    left: .5rem;
    height: 4px;
    width: 2.5rem;
    background: var(--color4);
    transition: .25s;
}
#mobileToggle::after {
    top: unset;
    bottom: calc((50% - 4px) - .25rem);
}
body.mobile-toggled #mobileToggle::before, body.mobile-toggled #mobileToggle::after {
    top: calc(50% - 2px);
    bottom: unset;
    rotate: 45deg;
    background: var(--colorCTA);
}
body.mobile-toggled #mobileToggle::after {
    rotate: -45deg;
}

#mobileMenu {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    height: 100%;
    pointer-events: none;
}
#mobileMenuBackground {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #00000030;
    opacity: 0;
    cursor: pointer;
    transition: .25s;
}
#mobileMenuNav {
    position: absolute;
    top: 0;
    right: -120%;
    height: 100vh;
    width: 60vw;
    background: white;
    box-shadow: 0 0 4px black;
    padding: 1rem;
    transition: .25s;
}

#mobileMenuNav ul {
    padding: 0;
}
#mobileMenuNav li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-toggled #mobileToggle {
    right: calc(60vw + 2rem);
    transition: .25s;
}
.mobile-toggled #mobileMenu {
    pointer-events: all;
}
.mobile-toggled #mobileMenuBackground {
    opacity: 1;
}
.mobile-toggled #mobileMenuNav {
    right: 0;
}

#contactModal .modal-content {
    background: #222;
    background: linear-gradient(to bottom, #aaa, #444 80%);
}
#contactModal .modal-body {
    min-height: 30vh;
    background-image: url('/static/images/399464f82f6fd43a9e79af706315d1a9.webp');
    background-size: 120%;
    background-position: center;
    background-repeat: no-repeat;
    overflow: visible;
    padding: 1rem;
}
@media (min-width: 768px) {
    #contactModal .modal-body {
        padding: 4rem;
    }
}
#closeContact {
    position: absolute;
    top: 0;
    right: 0;
    height: 3rem;
    width: 3rem;
    cursor: pointer;
}
#closeContact::before, #closeContact::after  {
    content: "";
    display: block;
    position: absolute;
    height: 3px;
    width: 2rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background: #eee;
}
#closeContact::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.modal-content form {
    background: #ccc;
    padding: 1.5rem;
    border-radius: 4px;
}
input {
    font-family: "Baloo 2", serif;
    width: 100%;
    border: 3px solid transparent;
    border-radius: 3px;
    font-size: 16pt;
    padding: .25rem .25rem .25rem 1.5rem;
}
input:active, input:focus {
    outline: none;
    border-color: var(--color4);
}
input.error {
    border-color: red;
}
input::placeholder {
    font-family: "Baloo 2", serif;
}


.hero {
    min-height: 26rem;
    width: 100%;
    padding-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 768px) {
    #mobileToggle, #mobileMenu {
        display: block;
    }
    .hero {
        padding-top: 0;
        padding-bottom: 2rem;
    }
    #buttons {
        transform: translateY(-100%);
    }
    #who {
        margin-top: -4rem !important;
    }
    #who .image-container {
        padding: 0;
    }
    #who .image-row {
        position: relative;
        margin-bottom: 3rem;
    }
    #who .image-row::before, #who .image-row::after {
        content: "";
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        height: 100%;
        width: 38%;
        background: linear-gradient(to left, transparent, var(--color1) 75%);
    }
    #who .image-row::after {
        left: unset;
        right: 0;
        background: linear-gradient(to right, transparent, var(--color1) 75%);
    }
}
.hero h1 {
    font-weight: 400;
    font-size: 48pt;
}
.hero h2 {
    font-family: "Playfair", serif;
    font-size: 24pt;
    font-weight: 400;
    font-style: normal;
}

.hero, #mission {
    background: var(--color3);
    background-image: url('/static/images/hero_background.svg');
    background-size: 165px;
    background-position: center;
}

.section-title {
    font-size: 36pt;
}

.image-container {
    aspect-ratio: 4/3;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 3px;
}
.image-row:not(.gallery) .image-container:first-child {
    padding-left: 1rem;
}
.image-row:not(.gallery) .image-container:last-child {
    padding-right: 1rem;
}
.image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    transition: .25s;    
}

.gallery .image-container {
    aspect-ratio: 4/3;
    cursor: pointer;
}
.gallery .image-container:hover img {
    transform-origin: center;
    transform: scale(1.05);
    transition: .25s;
}

@media (max-width: 768px) {
    .image-container {
        aspect-ratio: 1/1;
    }
}

.desktop-footer {
    background: #aa5f5f;
    background-image: linear-gradient(to right, #aa5f5f, #326180 200%);
    padding: 2rem 0 1rem 0;
}
.desktop-footer .btn {
    width: 10rem;
}
.footer-legal span, .footer-legal a {
    color: white;
    text-decoration: none;
}
.footer-legal a:hover {
    text-decoration: underline;
}

.btn-container {
    width: 12rem;
    margin: 2rem 3rem;
}
.btn-container .btn {
    width: 100%;
}
@media (max-width: 768px) {
    .btn-container {
        width: 50%;
        margin: 2rem 0;
        padding: 0 2rem;
    }
}

.btn {
    background: var(--color4);
    border: 1px solid black;
    color: black;
    font-family: "Playfair", serif;
    transition: .25s;
}
.btn-primary {
    background: var(--colorCTA);
}
.btn:hover {
    background: var(--color4h);
    border-color: black;
    color: black;
    box-shadow: 4px 4px 0 #00000080;
    transition: .25s;
}
.btn-primary:hover {
    background: var(--colorCTAh);
}
.btn.active {
    color: black;
    background: var(--color1);
}

form.loading .btn.submit {
    position: relative;
    color: transparent;
}

form.loading .btn.submit::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 80%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border-top: 1px solid black;
    border-right: 1px solid black;
    border-bottom: 1px solid transparent;
    border-left: 1px solid transparent;

    animation-name: loading;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes loading {
    from { transform: translate(-50%, -50%) rotate(0); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.form-message.error {
    color: red;
}
.form-message.success {
    color: green;
    font-size: 16pt;
    text-align: center;
}


.gallery-image-col {
    position: relative;
    margin-bottom: 2rem;
}
.gallery-image {
    margin-bottom: 0;
    border-radius: 8px;
    height: 14rem;
    width: 24rem;
    max-width: 100%;
    overflow: hidden;
    margin-left: 0;
    margin-right: auto;
    cursor: pointer;
}
.gallery-image img {
    transition: .25s;
}
.gallery-image:hover img {
    margin-top: -5%;
    margin-left: -5%;
    height: 110%;
    width: 110%;
}
.gallery-image-col:nth-child(even) .gallery-image {
    margin-right: 0;
    margin-left: auto;
}
.gallery-image-col .pair-svg {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
    z-index: 1;
}
.slide-modal .modal-dialog {
    position: absolute;
    height: 75vh;
    max-height: unset;
    width: 100vw;
    max-width: unset;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) !important;
}
.slide-modal .modal-content {
    height: 75vh;
    width: 100vw;
    background: var(--color1, darkgrey);
}
.slide-modal .modal-footer {
    border: none;
}
.slide-main {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
}
.slide-images-container {
    position: relative;
    width: fit-content;
    display: flex;
    flex-direction: row;
    height: 100%;
    left: 50%;
    transition: .25s;
}
.slide-images-container img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    height: fit-content;
    max-height: 100%;
    max-width: calc(100vw - 12px);
    margin: 0 1rem;
    opacity: .15;
    border-radius: 4px;
    transition: .25s;
}
.slide-images-container img.active {
    opacity: 1;
    transition: .25s;
}
.slide-btn {
    position: absolute;
    top: calc(50% - 2rem);
    left: 4rem;
    height: 4rem;
    width: 4rem;
    max-width: 20%;
    cursor: pointer;
    z-index: 1;
}
.slide-btn:hover::before {
    box-shadow: 0 0 4px black;
}
.slide-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4rem;
    width: 4rem;
    border-radius: 50%;
    background: white;
    border: 4px solid white;
}
.slide-btn::after {
    content: "";
    position: absolute;
    height: 1.5rem;
    width: 1.5rem;
    top: calc(50% - .75rem);
    left: calc(50% - .5rem);
    border-top: 4px solid black;
    border-right: 4px solid black;
    transform: rotate(-135deg);
}
.slide-btn.btn-next {
    left: unset;
    right: 4rem;
}
.slide-btn.btn-next::after {
    left: calc(50% - 1rem);
    transform: rotate(45deg);
}

@media (max-width: 992px) {
    .gallery-image {
        margin-right: unset;
    }
    .gallery-image-col:nth-child(even) .gallery-image {
        margin-left: unset;
    }
    .gallery-image-col .pair-svg {
        width: 6rem;
        filter: drop-shadow(0 0 4px black);
    }
}
@media (max-width: 768px) {
    .slide-btn {
        top: 0;
        left: 0;
        height: 100%;
        width: 10rem;
        max-width: 20%;
        transform: unset;
    }
    .slide-btn.btn-next {
        right: 0;
    }
    .slide-btn::before {
        display: none;
    }
    .slide-btn::after {
        filter: drop-shadow(0 0 4px white);
        transition: .25s;
    }
    .slide-btn:active::after {
        left: calc(50%);
    }
    .slide-btn.btn-next:active::after {
        left: calc(50% - 1.5rem);
    }
}

#oneNDoneLogo path {
    fill:#fff;
    stroke-width:0px;
}

#pagenumber {
    font-family: "Playfair", serif;
    font-size: 21pt;
    transition: .25s;
    position: absolute;
    z-index: 1;
    color: white;
    right: 1.5rem;
}
#consultationApp.loading:not(.loaded) {
    position: relative;
}
#consultationApp.loading:not(.loaded) #pagenumber, 
#consultationApp.loading:not(.loaded) #formBody, 
#consultationApp.loading:not(.loaded) #formFooter,
#consultationApp.loading:not(.loaded) #formErrors,
#consultationApp.loading:not(.loaded) #submittedMessage {
    opacity: 0;
    transition: 0;
}
#submittedMessage {
    display: none;
    min-height: 12rem;
    padding: 2rem;
    text-align: center;
    justify-content: center;
    align-items: center;
}
#submittedMessage h3 {
    font-size: 48pt;
    color: green;
}
#formErrors h3 {
    font-family: "Baloo 2", serif;
}
#formErrors h3, #formErrors li {
    color: red;
}
#formContainer.form-submitted #submittedMessage {
    display: flex;
}
#formContainer.form-submitted #formBody, #formContainer.form-submitted #pagenumber {
    display: none;
}
#consultationApp.loading:not(.loaded)::before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    height: 6rem;
    width: 6rem;
    transform: translate(-50%, -50%);
    border-top: 3px solid white;
    border-right: 3px solid white;
    border-bottom: 3px solid transparent;
    border-left: 3px solid transparent;
    border-radius: 50%;
    z-index: 1;

    animation-name: loading;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
#formContainer {
    position: relative;
    background: #454545;
    border-radius: 3px;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 5rem
}
#formBody {
    position: relative;
    padding: 2rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#formScroller {
    position: relative;
    width: 500%;
    display: flex;
    flex-direction: row;
    height: fit-content;
    min-height: 10rem;
    left: 0;
    transition: .25s;
}

.form-section {
    width: 20%;
    height: fit-content;
    display: inline-block;
    padding: 0 2rem;
}
.form-section:not(.active) {
    opacity: 0;
    transition: .15s;
}
 
.form-section .form-section-container.hide {
    height: 0;
    overflow: hidden;
    transition: .25s;
}

.form-section-title {
    color: white;
    font-size: 18pt;
    font-family: serif;
    margin-bottom: 0;
}
form label {
    color: white;
    margin-bottom: .5rem;
}
#contactForm label {
    color: black;
}
.form-section hr {
    color: white;
    margin: .1rem 0 1.5rem 0;
}
#formBody input {
    height: 4rem;
}

#formButtons {
    padding: 0 2rem;
}

#formFooter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem 2rem 2rem;
}
.form-btn {
    font-size: 18pt;
    padding: .5rem 1.75rem;
}
.disclaimer {
    color: white;
}
