@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap');

* {
    padding: 0;
    margin: 0;
}

:root {
    --black: #000000;
    --white: #FFFFFF;
    --main-scheme: #B31942;
    --secondery: #FEF8F8;
    --brown: #817468;
    --gray: #666666;
    --light-gray: #CCCCCC;
}

body {
    background-color: #FAF9F8;
    color: var(--white);
    font-family: 'Lato', Helvetica, sans-serif;
    font-weight: 400;

}

a {
    all: unset;
    font-weight: bold;
    color: var(--main-scheme);
}

a:hover {
    cursor: pointer;
    color: var(--main-scheme);
}

ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

li a {
    all: unset;
    color: var(--white);
}

li a:hover {
    cursor: pointer;
    color: var(--light-gray);
}


h1 {
    font-size: 54px;
    font-weight: 700;
    color: var(--white);
}

h2 {
    font-family: 'Lato', Helvetica, sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--main-scheme);
}

p {
    color: var(--black);
}

header {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    /* backdrop-filter: blur(8px); */
    top: 0px;
    position: fixed;
    width: 100%;
    z-index: 10;
}

.hero {
    height: 100vh;
    background-image: url(/assets/heros.webp);
    background-size: cover;
}


.gallery {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-block: 3rem;

}

.galleryslider {
    padding-top: 3rem;
    overflow-x: scroll;
    margin: auto;
}

.insideslider {
    display: flex;
    width: 1000px;
}

.galleryitems {
    width: 480px;
    height: 480px;

}

.services {
    padding-block: 1rem;
}

.grids {
    padding-top: 3rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1300px;
    margin: auto;
    gap: 2rem;
}

.griditems {
    border-radius: 16px;
    background-color: #FFFFFF;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

button {
    border: 1px solid #FFFFFF;
    background-color: rgba(0, 0, 0, 0);
    color: #FFFFFF;
    border-radius: 28px;
    padding: 1rem;
    display: flex;
}

button:hover {
    cursor: pointer;
    border: 1px solid #B31942;
    background-color: #B31942;
}

.inside-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.hdn {
    display: block;
    display: flex;
}

.ndh {
    display: none;
}

.hidden {
    display: none !important;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: auto;
}

.herot {
    text-align: center;
}

.herob {
    margin-top: 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
    gap: 0.3rem;

}

.grid-container>div {
    color: #000000;
    text-align: center;
    padding: 10px;
    font-size: 18px;
    border: 2px solid;
    font-family: 'Lato', Helvetica, sans-serif;
    font-weight: 400;
}

.item2 {
    grid-column-start: 2;
    grid-column-end: 7;
}

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

    .grid-container>div {
        font-size: 12px;

    }

    .hero {
        height: 100vh;
        background-image: url(/assets/hero.webp);
        background-size: cover;
    }

    .herob {
        margin-bottom: 200px;
        padding-inline: 1rem;
        font-size: 21px;
        border: 1px solid #B31942;
        background-color: #B31942;
    }

    .herot {
        margin-top: 100px;
        font-size: 36px;
    }

    nav {
        padding-inline: 1rem;
    }

    .hdn {
        display: none !important;
    }

    .ndh {
        display: block;
    }

    .grids {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        padding: 3rem;
    }

    .galleryslider {
        width: 100%;
    }

    .insideslider {
        width: fit-content;
    }

    .galleryitems {
        width: 100%;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .inside-hero {
        justify-content: center;
    }

    .galleryitems {
        width: 100%;
        height: 300px;
    }
}

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.7s ease-in-out;
    z-index: 9999;
}

#splash-screen.fade-out {
    opacity: 1;
    transform: translateY(-100%);
}

#splash-screen img {
    width: 300px;
    transform: scale(0);
    opacity: 0;
    transition: all 0.5s ease-out;
}

#splash-screen img.show {
    transform: scale(1);
    opacity: 1;
}


.carousel-container {
    max-width: 100%;
    overflow: hidden;
    margin: auto;
    position: relative;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}


.carousel-dot-container {
    text-align: center;
    margin-top: 10px;
}

.carousel-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #bbb;
    margin: 0 5px;
    cursor: pointer;
}

.carousel-dot.active {
    background-color: var(--main-scheme);
}

.contact {
    max-width: 1280px;
    margin: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.open {
    max-width: 1280px;
    margin: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}