/* Template Home CSS file */
/* ------------------------------------------------- */
section.banner {
    position: fixed;
    top: 0;
    z-index: -1;
    height: 100dvh;
    width: 100%;
}

.banner-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 1;
    animation: fadeOut 0.6s ease-in-out 2.5s forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.banner-animation:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.banner-animation img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.banner-animation-title {
    position: relative;
    z-index: 2;
    width: 90%;
    margin: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-animation-title p {
    color: var(--off-white);
    font-family: "Cormorant Garamond";
    font-size: clamp(25px, 5vw, 50px);
    font-style: normal;
    font-weight: 100;
    line-height: 1.3;
    margin: 0;
    letter-spacing: 1px;
    text-align: center;
}

.banner-splide {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.banner-splide ul li {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide:after {
    background: linear-gradient(243deg, rgba(0, 0, 0, 0.04) 33.1%, rgba(0, 0, 0, 0.75) 87.65%);
    mix-blend-mode: multiply;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
}

.banner-splide ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
}

.banner-slide {
    height: 100%;
    display: flex;
    width: 100%;
    flex-direction: column;
}

.banner-splide .splide__track {
    width: 100%;
    height: 100%;
}

.banner-slide .banner-title {
    z-index: 1;
    position: relative;
    width: 90%;
    margin: auto auto 100px;
}

.banner-slide .banner-title p {
    color: var(--off-white);
    font-family:"Cormorant Garamond";
    font-size: clamp(20px, 4vw, 40px);
    font-style: normal;
    font-weight: 100;
    line-height: 1.3;
    margin: 0;
    letter-spacing: 1px;
}

/* Introduction */

section.introduction {
    padding: clamp(50px, 10vw, 100px) 0;
    background: var(--white);
}

.introduction-content h1 {
    color: var(--brown);
    text-align: center;
    font-family:"Cormorant Garamond";
    font-size: clamp(26px, 5.2vw, 52px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    max-width: 765px;
}

.introduction-content p {
    color: var(--slate);
    font-family: Mulish;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    max-width: 869px;
}

.introduction-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.introduction-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.introduction-image {
    margin-top: clamp(50px, 10vw, 100px);
    display: flex;
}

.recent-projects-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

/* Follow Us */
section.follow-us {
    padding: 0 0 clamp(50px, 10vw, 100px) 0;
    background: var(--white);
}

section.follow-us .wrap h2 {
    color: var(--brown);
    font-family: "Cormorant Garamond";
    font-size: clamp(28px, 4.5vw, 45px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.53;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

section.follow-us .wrap h2 a {
    text-decoration: none;
    color: var(--brown);
}

.follow-us-gallery-wrapper {
    position: relative;
}

.follow-us-arrows {
    display: flex;
    justify-content: end;
    position: absolute;
    top: -60px;
    right: 0;
}

.follow-us-splide {
    padding-top: 60px;
}

button.follow-us-arrow {
    border: none;
    padding: 10px;
    cursor: pointer;
    background: transparent;
}

button.follow-us-arrow:hover {
    background: transparent;
}

.follow-us-splide .splide__track {
    overflow: visible;
}

.follow-us-splide .splide__slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 2/3;
}

/* Locations */
section.locations {
    --col-gap: clamp(0px, 11vw, 170px);
    background: var(--brown);
    color: var(--off-white);
    padding: clamp(40px, 8vw, 80px) 0;
    font-family: Mulish;
}

section.locations .wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: var(--col-gap);
}

section.locations .wrap .locations-content {
    width: calc(46% - (var(--col-gap) / 2));
}

section.locations .wrap .locations-information {
    width: calc(54% - (var(--col-gap) / 2));
}

section.locations .accent-title {
    margin-top:0;
    text-transform: uppercase;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 35px;
    letter-spacing: 2.66px;
    width: 100%;
}

section.locations h2 {
    font-family: "Cormorant Garamond";
    font-size: clamp(26px, 5.2vw, 52px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    margin-block:0;
    width: 100%;
}

section.locations p:not(.accent-title) {
    margin-block: clamp(30px, 3vw, 35px);
    line-height: 27px;
}

section.locations p a {
    text-decoration: none;
    color: var(--off-white);
    transition: 0.3s ease;
}

section.locations p a:hover {
    opacity: 0.7;
}

section.locations .button-white {
    display: block;
    margin-top: 50px;
}

@media (max-width: 800px) {
    section.locations .wrap {
        flex-direction: column;
    }

    section.locations .wrap > * {
        width: 100%!important;
    }

    section.locations .button-white {
        margin-top: 0;
    }

    section.locations p:not(.accent-title) {
        line-height: 1.5;
    }
}

/* Recent Projects */
section.recent-projects {
    background: var(--white);
    padding: clamp(50px, 10vw, 100px) 0;
}

section.recent-projects .recent-projects-content {
    text-align: center;
    margin-bottom: 60px;
}

section.recent-projects .recent-projects-content h2 {
    color: var(--brown);
    text-align: center;
    font-family:"Cormorant Garamond";
    font-size: clamp(28px, 4.5vw, 45px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.53;
    margin: 0;
}

section.recent-projects .recent-projects-content p {
    color: var(--slate);
    font-family: Mulish;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    margin: 20px 0 0;
    max-width: 869px;
    margin-left: auto;
    margin-right: auto;
}

.recent-projects-showcase .portfolio-item {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 433/708;
    display: flex;
    max-width: 100%;
}

.recent-projects-showcase .portfolio-item a:hover .portfolio-content {
    opacity: 1;
}

.recent-projects-showcase .portfolio-grid-items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.recent-projects-showcase .portfolio-image img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.recent-projects-showcase .portfolio-item a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.recent-projects-showcase .portfolio-content {
    position: relative;
    z-index: 1;
    color: var(--brown);
    width: calc(100% - clamp(40px, 8vw, 80px));
    padding: clamp(20px, 4vw, 40px);
    background: rgba(250, 247, 237, 0.80);
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: ease 0.6s;
}

.recent-projects-showcase .portfolio-content svg {
    margin-left: auto;
    margin-top: clamp(10px, 2vw, 20px);
}

.recent-projects-showcase .portfolio-content h3 {
    font-family: Mulish;
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    line-height: 2;
    letter-spacing: 2.55px;
    margin: 0;
    margin-bottom: clamp(20px, 4vw, 40px);
    text-transform: uppercase;
}

.recent-projects-showcase .portfolio-content p {
    font-family: "Cormorant Garamond";
    font-size: clamp(18px, 3vw, 38px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
}

@media (max-width: 1024px) {
    .recent-projects-showcase .portfolio-grid-items {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 800px) {
    .recent-projects-showcase .portfolio-content {
        opacity: 1;
    }
}

/* Testimonials */
section.testimonials {
    background: var(--brown);
    padding: clamp(50px, 10vw, 100px) 0;
}

section.testimonials h2 {
    color: #FFF;
    font-family: 'Cormorant Garamond';
    font-size: clamp(28px, 4.5vw, 45px);
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 40px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    text-align: left;
    height: 100%;
}

.testimonial-card blockquote {
    justify-content: space-between;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card blockquote p {
    color: #FFF;
    font-family: 'Mulish';
    font-size: clamp(15px, 1.6vw, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.23;
    margin: 0 0 40px 0;
    line-height: 1.4;
    max-width: 800px;
}

.testimonial-card cite {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-style: normal;
    margin-top: auto;
}

.testimonial-card .name {
    color: #FFF;
    font-family: "Cormorant Garamond";
    font-size: clamp(20px, 3vw, 30px);
    font-style: normal;
    font-weight: 400;
    line-height: 0.91;
}

.testimonial-card .location {
    color: #FFF;
    text-align: right;
    font-family: Mulish;
    font-size: 15px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.84;
    letter-spacing: 2.66px;
    text-transform: uppercase;
}

/* Testimonial Slider Pagination */
.testimonials-splide .splide__pagination {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    margin-top: 40px;
    max-width: 50%;
    min-width: 300px;
}

.testimonials-splide .splide__pagination__page {
    width: 46px;
    height: 3px;
    background: white;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    border-radius: 0;
    transform: scale(1);
}

@media (max-width: 800px) {
    .testimonials-splide .splide__pagination {
        position: relative;
    }
}

.testimonials-splide .splide__pagination__page.is-active {
    opacity: 0.9;
}

@media (max-width: 600px) {
    .recent-projects-showcase .portfolio-grid-items {
        grid-template-columns: 1fr;
    }
}