@charset "utf-8";

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    height: 100%;
    font-size: 18px;
    scroll-behavior: smooth;
    --color-background: #FAF6ED;
    --color-font: #373736;
    --color-dark-pink: #D97152;
    --color-light-pink: #FFC4AF;
    --color-dark-green: #576049;
    --color-light-green: #A6B29E;
}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--color-background);
    color: var(--color-font);
    font-family: "Montserrat", sans-serif;
}

h1 {
    font-family: "Ultra", serif;
    color: var(--color-dark-pink);
    font-size: 11rem;
    letter-spacing: 0.4rem;
    text-shadow: 8px 8px 1px var(--color-light-pink);
    line-height: 0.85;
}

h1 .line1,
h1 .line2 {
  display: block;
}

h1 .line1 {
  text-align: center;
  position: relative;
  left: -5%;
}

h1 .line2 {
  text-align: right;
  margin-right: 15%;
}

h2, h3, h4, h5, h6 {
    font-family: "Yeseva One", serif;
    padding: 0.5rem;
}

h2 {
    font-size: 2.5rem;
}

p {
    font: inherit;
}

a {
    color: var(--color-dark-green);
}

figure {
    justify-self: center;
    align-self: center;
    max-width: 95%;
    height: 95%;
    border-radius: 10px;
    overflow: hidden;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking,
.message {
    background-color: var(--color-light-pink);
    color: var(--color-dark-green);
    padding: 8px 24px;
    border-radius: 1rem;
    text-decoration: none;
}

.booking:hover{
    background-color: var(--color-dark-pink);
    color: var(--color-light-pink);
    cursor: pointer;
}

.message:hover {
    background-color: var(--color-dark-pink);
    color: var(--color-light-pink);
    cursor: pointer;
}

.icon {
    width: 80px;
    height: 80px;
    position: relative;
}

.icon .default-img {
    position: absolute;
    top: 0; 
    left: 0;
    z-index: 1;
}

.icon .default-img:hover {
    opacity: 0;
}

.icon .hover-img {
    position: absolute;
    top: 0; 
    left: 0;
    z-index: 0;
}

/**  HEADER  */
/**  NAV  */
header{
    flex: 0 0 100vh;
    width: 100%;
    position: relative;
}

header nav {
    height: 10%;
    width: 100%;
    position: relative;
    background-color: var(--color-background);
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 0 10px;
    z-index: 1;
    padding-right: 1rem;
}

.hamburger-icon{
    display: none;
    z-index: 4;
    cursor: pointer;
    font-size: 1.5rem;
}

header nav ul {
    max-width: 80%;
    min-width: 400px;
    list-style: none;
    display: flex;
    color: var(--color-dark-green);
    justify-content: space-evenly;
    align-items: center;
    text-transform: lowercase;
    transition: all 1.5s ease;
}

header nav ul li a{
    text-decoration: none;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    padding: 0.5rem;
    transition: .7s ease-out;
    white-space: nowrap;
}

header nav ul li a:hover{
    color: var(--color-dark-pink)
}

header nav ul li a.selected{
    color: var(--color-dark-pink)
}

#big-hero {
    height: 75%;
    position: relative;
}

/* h1 */
#big-hero .overlay {
    position: absolute;
    top: 27%;               
    left: 50%;              
    transform: translate(-50%, -50%);
    z-index: 1;             
    width: 100%;            
}

#big-hero div:first-of-type {
    height: 40%;
}

#big-hero div:last-of-type {
    height: 60%;
    background-color: var(--color-dark-green);
    color: var(--color-light-pink);
    padding: 60px 40px;
}

#big-hero .booking {
    position: absolute;
    bottom: 8%;               
    right: 8%;
}

#big-hero p {
    font-size: 1.2rem;
}

#quote-section {
    height: 15%;
    position: relative;
    font-family: "Yeseva One", serif;
    font-size: 1.5rem;
    text-align: center;
    background-color: var(--color-dark-pink);
    color: var(--color-light-pink);
}

#quote-section p {
    position: absolute;
    top: 50%;               
    left: 50%;              
    transform: translate(-50%, -50%);
    width: 85%;
}

/**  MAIN  */
main {
    flex: 1 0 auto;
    margin: 0 auto;
    width: 100%;
}

main section {
    padding: 1rem 0;
    margin: 2rem 0;
}

/**  Meet  */
#meet {
    display: grid;
    grid-template-columns: 1fr 25%;
    grid-template-rows: 3rem auto;
    gap: 2.5rem;
    padding: 2rem;
    width: 100%;
    align-items: start;
}

#meet > h2 {
    grid-column: 1;
    grid-row: 1;
}

#meet > div {
    grid-column: 1;
    grid-row: 2;
}

#meet > figure {
    grid-column: 2;
    grid-row: span 2;
}

#meet p {
    padding-bottom: 1rem;
}

/**  Approach  */
#therapy {
    display: grid;
    grid-template-columns: 25% 1fr;
    grid-template-rows: 3rem auto;
    gap: 2.5rem;
    padding: 2rem;
    width: 100%;
    align-items: start;
    background-color: var(--color-light-green);
    color: var(--color-background);
    position: relative;
    text-align: right;
}

#therapy > h2 {
    grid-column: 2;
    grid-row: 1;
}

#therapy > div {
    grid-column: 2;
    grid-row: 2;
    padding-bottom: 2rem;
}

#therapy > figure {
    grid-column: 1;
    grid-row: span 2;
    align-self: start;
}

#therapy p {
    padding-bottom: 1rem;
}

#therapy div .booking {
    position: absolute;
    bottom: 2rem;               
    right: 2rem;
}

/**  EVENTS  */
#events {
    background-color: var(--color-dark-pink);
    padding: 1rem;
}

#events p {
    text-align: center;
    padding: 2rem;
}

/* #events figure img {
    max-height: 80vh;
    object-fit: contain;
} */

        /** Carousel **/
.container-slider{
   // box-shadow: 0 0 0 10px var(--color-dark-pink), 0 15px 50px;
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.slider{
    height: 100%;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    margin-left: 0%;
}

.slider-section{
    width: 100%;
    height: 100%;
    margin: auto;
}

.slider-img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.slider-btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    text-align: center;
   // font-size: 20px;
    font-weight: bold;
    font-family: monospace;
}

.slider-btn-right{
    right: 0px;
}

.slider-btn-left{
    left: 0px;
}

.slider-btn:hover{
    background-color: #fff;
    cursor: pointer;
}

.slider-fallback {
    flex: 0 0 100%;         
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/**  Qualifications  */
#qualifications {
    background-color: var(--color-light-green);
    padding: 2rem 4rem;
}

#qualifications h2{
    color: var(--color-background);
    text-align: right;
    padding: 2rem;
}

#qualifications div {
    width: 100%;
    padding: 2rem;
    padding-bottom: 6rem;
    /* aspect-ratio: 3 / 2; */
    background: url('../img/paper.png') bottom center/cover no-repeat;
}

#qualifications div ul {
    padding-left: 2rem;
    padding-bottom: 2rem;
}

/**  Main content contact  */
#contact {
    background-color: var(--color-dark-green);
    display: grid;
    grid-template-columns: 30% 1fr;
    grid-template-rows: 3rem 22rem;
    gap: 2rem;
    padding: 2rem;
    width: 100%;
    align-items: start;
}

#contact h2 {
    grid-column: span 2;
    grid-row: 1;
    color: var(--color-background)
}

#contact div {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    row-gap: 2rem;
    justify-content: start;
    justify-self: start;
}

#contact div a {
    display: inline-block;
    width: auto;
    justify-self: start;
}

#contact figure {
    grid-column: 2;
    grid-row: 2;
    min-width: 100%;
    min-height: 100px;
    align-self: start;
    justify-self: start;
}

/**  FOOTER  */
footer {
    flex: 0 1 auto;
    width: 100%;
    padding: 3rem 2rem;
    background-color: var(--color-font);
    color: var(--color-background);
    display: grid;
    grid-template-columns: 1fr 0.25fr;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

footer .legals {
    display: flex;
    flex-direction: column;
    text-align: right;
    gap: 0.5rem;
}

footer .legals a{
    color: var(--color-background);
}

footer .legals a:hover{
    opacity: 0.6;
}

/** INVISIBLE */
.element-invisible {
    display: none !important;
}

.grecaptcha-badge {
    display: none !important;
}


/** ---- MEDIA QUERIES ---- **/
@media (prefers-reduced-motion: no-preference){
    :has(:target) {
        scroll-behavior: smooth;
        scroll-padding-top: 6vh;
    }
}

@media (min-width: 1440px) {
    :root {
        font-size: 20px;
    }
}

@media (min-width: 1920px) {
    :root {
        font-size: 28px;
    }
}

@media (min-width: 3600px) {
    :root {
        font-size: 28px;
    }
}

@media (min-width: 4000px) {
    :root {
        font-size: 32px;
    }
}

@media (min-width: 6000px) {
    :root {
        font-size: 48px;
    }
}

@media (max-width: 1154px) {
    :root {
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 10rem;
    }

    h1 .line2 {
        margin-right: 9%;
    }
}

@media (max-width: 915px) {
    /* h1 */
    #big-hero .overlay {
        top: 30%;                                 
    }

    #quote-section p {
        width: 95%;
    }
}

@media (max-width: 830px) {
    h1 {
        font-size: 9rem;
    }

    #big-hero div:last-of-type {
        padding: 80px 40px;
    }

    .icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 821px) {
    #quote-section {
        font-size: 1.35rem;
    }

     #therapy {
        grid-template-rows: 6rem auto;
    }
}

@media (max-width: 700px) {
    h1 .line1 {
        left: 0%;
    }

    /**  Hamburger menu  */
    #hamburger-icon{
        display: inherit;
    }

    /* How wide the menu is going to be */
    header nav ul {
        min-width: 320px;
        max-width: 320px;
    }

    .menu-items{
        height: 100vh;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 3;
        flex-direction: column;
        justify-content: start;
        gap: 1.2rem;
        padding-top: 2rem;
        align-items: center;
        background: var(--color-white);
    }
    
    /* Circular movement effect */
    .close{
        clip-path: circle(0% at 100% 0%);
    }
    .open{
        clip-path: circle(150% at 100% 0%);
    }

    /** Main */
    #meet {
        grid-template-columns: 1fr 30%;
        gap: 2rem;
    }

    #therapy {
        grid-template-columns: 30% 1fr;
        gap: 2rem;
    }


    /** Footer */
    footer {
        grid-template-columns: 1fr 0.5fr;
    }
}

@media (max-width: 651px) {
     #meet {
        grid-template-rows: 6rem auto;
    }
}

@media (max-width: 635px) {
    h1 {
        font-size: 8rem;
        letter-spacing: 0.2rem;
        text-shadow: 5px 5px 1px var(--color-light-pink);
    }

    #quote-section {
        font-size: 1.2rem;
    }

    #big-hero div:last-of-type {
        padding: 100px 40px;
    }

    #contact {
    grid-template-columns: 0.75fr 1fr;
    grid-template-rows: 3rem 22rem;
}
}

@media (max-width: 575px) {
    #meet {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    #meet > figure {
        grid-column: 1;
        grid-row: 3;
        width: 80% !important;
        min-height: 100px !important;
        aspect-ratio: 1/1.3 !important;
    }

    #meet > figure > img {
        object-position: top center;
    }

    #therapy {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    #therapy > h2 {
        grid-column: 1;
    }

    #therapy > div {
        grid-column: 1;
        position: relative;
    }

    #therapy div .booking {
    bottom: 0rem;               
    right: 0rem;
}

    #therapy > figure {
        grid-column: 1;
        grid-row: 3;
        width: 80% !important;
        min-height: 100px !important;
        aspect-ratio: 1/1.3 !important;
    }

    #therapy > figure > img {
        object-position: top center;
    }
}

@media (max-width: 560px) {
    h1 {
        font-size: 7rem;
    }

    footer {
        grid-template-columns: 100%;
        text-align: center;
    }

    footer .legals {
        text-align: center;
    }
}

@media (max-width: 500px) {
    h1 {
        font-size: 5.8rem;
        line-height: 1;
    }

    #big-hero {
        height: 65%;
    }

    #quote-section {
        height: 25%;
    }

    #meet > figure {
        width: 90% !important;
    }

    #therapy > figure {
        width: 90% !important;
    }

    #qualifications {
        padding: 2rem;
    }

    #contact {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    #contact h2 {
        grid-column: 1;
    }

    #contact div {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: start;
        align-items: center;
    }

    #contact figure {
        grid-column: 1;
        grid-row: 3;
    }
}

@media (max-width: 410px) {
    :root {
        font-size: 15px;
    }

     h1 {
        text-shadow: 4px 4px 1px var(--color-light-pink);
    }

    h2 {
       font-size: 2rem; 
    }

    header {
        flex: 0 0 80vh;
    }
     /* How wide the menu is going to be */
     header nav ul {
        min-width: 250px;
        max-width: 250px;
    }

    h1 {
        font-size: 4.5rem;
    }

    #big-hero {
        height: 60%;
    }

    #big-hero div:last-of-type {
        padding: 60px 30px;
    }

    #quote-section {
        height: 30%;
    }

    #contact div {
        gap: 1rem;
    }
}

@media (max-width: 376px) {
    header nav ul {
        min-width: 100%;
        max-width: 100%;
    }

    .booking,
    .message {
        padding: 8px 16px;
    }

    .icon {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 339px) {
    .icon {
        width: 55px;
        height: 55px;
    }
}