:root {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:"wdth" 100;

    color-scheme: light dark;

    --black-color: light-dark(oklch(0 0 0), oklch(94.912% 0.00011 271.152));
    --white-color: light-dark(oklch(1 0 0), oklch(94.912% 0.00011 271.152));
    --background-color: light-dark(oklch(0.96 0 0), oklch(25.976% 0.02996 239.498));
    --blue-color: oklch(0.5331 0.1502 249.83);
    --orange-color: oklch(0.5676 0.159865 45.8869);
    --box-shadow-hard: 0  2px 5px 0px oklch(0 0 0 / 0.2); /*Horizontal Vertical Blur Spread Colour*/
    --box-shadow-soft: 0 4px 10px 0 oklch(0 0 0 / 0.3);
}

/* @link https://utopia.fyi/type/calculator?c=360,18,1.2,1240,20,1.25,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */

:root {
  --step--2: clamp(0.7813rem, 0.7736rem + 0.0341vw, 0.8rem);
  --step--1: clamp(0.9375rem, 0.9119rem + 0.1136vw, 1rem);
  --step-0: clamp(1.125rem, 1.0739rem + 0.2273vw, 1.25rem);
  --step-1: clamp(1.35rem, 1.2631rem + 0.3864vw, 1.5625rem);
  --step-2: clamp(1.62rem, 1.4837rem + 0.6057vw, 1.9531rem);
  --step-3: clamp(1.944rem, 1.7405rem + 0.9044vw, 2.4414rem);
  --step-4: clamp(2.3328rem, 2.0387rem + 1.3072vw, 3.0518rem);
  --step-5: clamp(2.7994rem, 2.384rem + 1.8461vw, 3.8147rem);
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
}

body{
    background: var(--background-color);
    line-height: 1.6;
}

h1{
    font-size: var(--step-2);
    text-wrap: balance;
}

h3{
    font-size: var(--step-1);
}

p{
    font-size: var(--step--1);
    text-wrap: pretty;
}

section{
    opacity: 0;
    margin-block: 1rem;
    animation: fadeInSections linear forwards;
    animation-timeline: view();
    animation-range: entry 50px;
}


@media (prefers-reduced-motion: no-preference) {
    @keyframes fadeInSections {
        from{
            scale: 0.75;
        }
        to{
            opacity: 100;
            scale: 1;
        }
    }
}


ul{
    list-style: none;
}

li{
    list-style: none;
}

/* Grid Wrapper for Sections -------------------------------------- */

.gridWrapper{
    display: grid;
    position: relative;
    grid-template-columns: repeat(auto-fit, minmax(360px, 2fr));
    gap: 1rem;
    place-items: center;
}

.gridAreas{
    display: grid;
    place-items: center;
    grid-template-columns: 100%;

    grid-template-areas:
    "header"
    "hero"
    "clients"
    "services"
    "reviews"
    "software"
    "location"
    "about"
    "booking"
    "footer"
    "returnToTop";
}

/* Text Colors -------------------------------------- */

.textLight{
    color: var(--white-color);
}

.textDark{
    color: var(--black-color);
}

/* Card Items -------------------------------------- */

.card {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1rem;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
    corner-shape: squircle;
    box-shadow: var(--box-shadow-hard), var(--box-shadow-soft);
    border-top: solid 2px light-dark(oklch(100% 0.00011 271.152 / 0.804), oklch(41.863% 0.0429 240.395 / 0.804));
    background: light-dark(oklch(0.99 0.00011 271.152), oklch(30.198% 0.04518 241.69));
}

/* Header -------------------------------------- */

.header{
    grid-area: header;
    display: grid;
    grid-template-areas:
    "headerLogo headerContent";

    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0.75rem;
    z-index: 10;

    border-radius: 2rem;
    corner-shape: squircle;

    padding: 1rem 0.75rem;
    justify-content: left;
    align-items: center;

    background-color: #006fbfc9;
    backdrop-filter: blur(10px);

    box-shadow: var(--box-shadow-hard), var(--box-shadow-soft);
    border-top: solid 1px oklch(0.8 0.1502 249.83);

        .headerLogo{
            grid-area: headerLogo;
            height: 5rem;
            width: 5rem;
        }

        .headerContent{
            grid-area: headerContent;
        }

        .title1{
            margin: 0;
            padding: 0;
            color:  var(--white-color);
            font-weight: 500;
        }

        .title2{
            margin: 0;
            padding: 0;
            color: rgb(251, 229, 133);
            font-size: 23px;
            font-weight: 325;
        }
    }


.animateHeader{
    animation: animateHeader ease-in-out forwards;
    animation-timeline: scroll();
    animation-range-start: 0%;
    animation-range-end: 10%;
}

@keyframes animateHeader{
    from {
        opacity: 1;
        scale: 1;
    }
    to {
        opacity: 0;
        scale: 0.75;
    }
}

/* Hero Section -------------------------------------- */

.hero{
    grid-area: hero;
    display: grid;
    grid-template-areas: "heroStack";
    place-items: center;
    height: 100vh;
    height: 100svh;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
}

    .heroImg{
        grid-area: heroStack;
        z-index: -10;
        height: 100vh;
        height: 100svh;
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
    }

    .heroContent{
        grid-area: heroStack;
        position: absolute;
        margin: 1rem;
        place-items: center;
        text-align: center;
    }

/*  Call to Action Button -------------------------------------- */

.ctaButton{
    display: flex;
    flex-direction: row;
    margin: 0;
    border: none;
    padding: 1rem 1.75rem;
    margin-top: 1rem;
    line-height: 1;
    justify-content: center;
    align-items: center;
    background-color: var(--orange-color);
    box-shadow: var(--box-shadow-hard), var(--box-shadow-soft);
    border-radius: 1rem;
    corner-shape: squircle;
}

.ctaButton:hover{
    background-color: var(--orange-color);
    filter: brightness(0.95);
    box-shadow: none;
    color: oklch(0.8 0 0);
}

/*  Sections -------------------------------------- */

.clients{
    display: flex;
    flex-direction: column;
    grid-area: clients;
    padding: 1rem;
    width: 100%;
    height: max-content;
    align-items: center;
    justify-content: center;
    position: relative;
}

.services{
    display: flex;
    flex-direction: column;
    grid-area: services;
    padding: 2rem;
    width: 100%;
    border-radius: 2rem;
    corner-shape: squircle;
    align-items: center;
    justify-content: center;
    background-color: var(--blue-color);
    position: relative;
    
    h1{
        color: var(--white-color);
        text-align: center;
        margin-bottom: 1rem;
    }
}

.reviews{
    display: flex;
    flex-direction: column;
    grid-area: reviews;
    padding: 1rem;
    width: 100%;
    height: max-content;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Marquee -------------------------------------- */

.marquee{
    grid-area: heroStack;
    display: flex;
    flex-direction: row;
    gap: 1rem;;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    padding: 1rem;
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
    min-width: 61.8%;
    position: relative;
    inset: 0    0   0   0;
    /* scrollbar-width: none; */

        .marqueeContent{
        scroll-snap-align: center;
        padding: 1rem;
        align-items: center;
        justify-content: center;
        min-width: 360px;
        }

        .marqueeContent:last-child{
            margin-right: 50%;
        }
        .marqueeContent:first-child{
            margin-left: 50%;
        }
}

.software{
    display: flex;
    flex-direction: column;
    grid-area: software;
    padding: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;

    li{
        margin-bottom: 2rem
    };
}

    .software img{
        aspect-ratio: auto;
        width: 360px;
    }

.location{
    display: flex;
    flex-direction: column;
    grid-area: location;
    padding: 1rem;
    border-radius: 2rem;
    corner-shape: squircle;
    width: 100%;
    align-items: center;
    justify-content: center;
    background-color: var(--blue-color);
    color: var(--white-color);
}

.map > p{
    position: relative;
    margin-top: 1rem;
    margin-bottom: 2rem;
    color: var(--white-color);

}


.mapImg{
    aspect-ratio: 1;
    width: clamp(360px, 50%, 800px);
    padding: 0.25rem;
}

.locationImg{
    aspect-ratio: 1;
    object-fit: cover;
    width: clamp(360px, 50%, 800px);
    padding: 0;
    border: none;
}

.hours{
    position: relative;
    place-items: center;
    padding-top: 0.5rem;
    width: fit-content;
}

.hours > h3, p{
    color: var(--black-color);
}

td{
    padding-inline: 1rem;
    color: var(--black-color);
}

.closedHoursStatus{
    color: red;
}

.giveUsACall{
    color: var(--black-color);
    margin-top: 2rem;    
}

.about{
    display: flex;
    flex-direction: column;
    grid-area: about;
    padding: 2rem;
    width: 100%;
    align-items: center;
    justify-content: center;

    h1{
        margin-bottom: 1rem;
    }
}

.about > p{
    transition: opacity 0.3s ease;
}

.booking{
    display: flex;
    flex-direction: column;
    grid-area: booking;
    position: relative;
    padding: 2rem;
    margin-block: 3rem;
    width: 100%;
    align-items: center;
    justify-content: center;

    h1{
        margin-bottom: 1rem;
    }
}

.booking .card{
    width: clamp(380px, 61.8% ,500px);
}

input,textarea{
    font-family: inherit;
    font-size: inherit;
    padding: 0.618rem;
    margin-block: 1rem;
    width: 100%;
    border-radius: 0.66rem;
    corner-shape: squircle;
    border: solid var(--blue-color);
}

textarea{
    resize: vertical;
}

input:hover,textarea:hover{
    border: solid var(--orange-color);
}

input:focus,textarea:focus{
    outline: none;
    border-style: none;
    border: solid oklch(from var(--orange-color) 70% 0.18 48);
}

.footer{
    display: flex;
    flex-direction: column;
    grid-area: footer;
    position: relative;
    padding: 2rem;
    width: 100%;
    height: 8rem;
    bottom : 0;
    align-items: center;
    background: var(--blue-color);
    justify-content: center;
    color: var(--white-color);

    img{
        width: 30px;
    }
    .card{
        border-radius: 50%;
        padding: 1rem;
    }
    
    .card:hover{
        filter: brightness(0.95);
        box-shadow: none;
        color: oklch(0.8 0 0);
    }

    p{
        margin-block: 1rem;
        text-align: center;
        padding-inline: 1.5rem;
        color: var(--white-color);
    }
    
    /* svg:nth-child(1){
            position: absolute;
            bottom: 7rem;
            width: 100%;
            z-index: -1;
        }
        
    svg:nth-child(2){
            position: absolute;
            bottom: 7rem;
            max-width: 100%;
            height: auto;
            z-index: -1;
        } */
}


.returnToTop{
    position: fixed;
    grid-area: returnToTop;
    aspect-ratio: 1;
    width: 2.8rem;
    border-radius: 50%;
    z-index: 10;
    bottom: 0.5rem;
    right: 1rem;
    background: radial-gradient(circle at center, oklch(91.887% 0.0001 271.152 / 0.877), oklch(100% 0.00011 271.152 / 0.233));
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow-hard), var(--box-shadow-soft);
}

.returnToTop::before{
    position: absolute;
    content: "";
    width: 6px;
    height: 24px;
    border-radius: 0.25rem;
    background-color: var(--blue-color);
    transform: rotate(-45deg);
    bottom: 10px;
    right: 13px;
}

.returnToTop::after{
    position: absolute;
    content: "";
    width: 6px;
    height: 24px;
    border-radius: 0.25rem;
    background-color: var(--blue-color);
    transform: rotate(45deg);
    bottom: 10px;
    left: 13px;
}
