@import './sections-filter.css';

.button {
    background-color: #6c4222;
    color: white;
    border-radius: 30px;
    display: block;
    padding: 15px 45px;
}
.button.rounded {
    padding: 15px 22px;
    border-radius: 50% !important;
}
.button:hover {
    color: #6c4222;
    background-color: white;
    box-shadow: 0px 1px 7px -1px #6c4222;
    transform: translateY(-2px);
}

.section-title {
    color: #9d6637;
    font-weight: 800;
    position: relative;
    margin: 0 auto 70px;
    font-size: 2rem;
    width: fit-content;
}

.section-title::after {
    content: "";
    position: absolute;
    left: -270px;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    border: 1px solid rgba(108, 66, 34, 0.6);
}
.section-title::before {
    content: "";
    position: absolute;
    right: -270px;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    border: 1px solid rgba(108, 66, 34, 0.6);
}
.offers .section-title{
    margin-bottom: 10px;
}


/* Our Story Section */
.our-story {
    min-height: 100vh;
    background-image: linear-gradient(
        to bottom,
        rgba(255, 252, 250, 1),
        rgba(255, 253, 249, 1),
        rgba(255, 244, 229, 1),
        rgba(255, 240, 223, 1),
        rgba(255, 236, 216, 1),
        rgba(239, 225, 210, 1),
        rgba(243, 225, 201, 1),
        rgba(250, 226, 199, 1),
        rgba(239, 220, 200, 1),
        rgba(251, 230, 209, 1),
        rgba(255, 239, 223, 1),
        rgba(255, 241, 228, 1),
        rgba(255, 249, 243, 1),
        rgba(255, 253, 252, 1)
    );
    padding: 200px 0 300px;
}

.our-story .content {
    display: grid;
    grid-template-columns: 55% 39%;
    gap: 6%;
    margin-inline: 7vw;
}

.our-story .content .gallery {
    display: grid;
    grid-template-columns: 47% 47%;
    gap: 6%;
}
.our-story .content .gallery img {
    border-radius: 5px;
    object-fit: cover;
}
.our-story .content .gallery div {
    display: grid;
    gap: 4%;
    margin-top: 40px;
}
.our-story .content .gallery > img {
    min-height: 70%;
}
.our-story .content .gallery div img {
    min-height: 100%;
}
.our-story .story {
    padding: 120px 0 140px;
}
.our-story .story h3 {
    color: #6c4222;
    font-size: 18px;
    font-weight: 400;
}
.our-story .story h4 {
    font-size: 2.5rem;
    font-weight: 600;
}
.our-story .story p {
    color: #4f4f4f;
    font-size: 1rem;
}
.our-story .story > div {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 15px;
    font-weight: bold;
}
.our-story .story > div button {
    font-weight: bold;
    font-size: 1rem;
}
.our-story .story > div .watch-video {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    color: #333333;
    font-weight: 700;
    font-size: 14px;
}

/* Documentary Section Styles */
.documentary {
    text-align: center;
    padding-inline: 5vw;
    margin-top: 150px;
    margin-bottom: 0px;
}
.documentary .h3 p{
    color: #333333 !important;
    font-size: 2.5rem !important;
    font-weight: 600;
}
.documentary p {
    font-size: 1rem;
    color: #4f4f4f;
}
.documentary .video {
    position: relative;
}
.documentary iframe{
    width: 100%;
    height: 400px;
}
.documentary .video .modal-dialog button{
    z-index: 1;
    top: -25px;
    border-radius: 50%;
    padding: 5px 12px;
    transition: .3s;
}
.documentary .video .modal-content{
    overflow: hidden;
}
.documentary .video .modal-content:hover button{
    top: 25px;
}
@media (min-width: 576px){
    .documentary .modal-dialog {
        max-width: 70vw;
    }
}

.documentary .video button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    color: black;
}
.documentary span {
    display: block;
}
.documentary .items {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}
.documentary .items div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 300px;
}
.documentary .items div img {
    width: 80px;
    margin-bottom: 20px;
}
.documentary .items div h4 {
    margin-bottom: 10px;
}

/* Our Team Section Styles */
.our-team {
    margin: -130px 0 0;
}
.our-team .title {
    position: relative;
    width: 100%;
}
.our-team .title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #6c4222d9;
    z-index: 1;
}
.our-team .title h3 {
    position: absolute;
    z-index: 2;
    top: 105px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-weight: 600;
    font-size: 2rem;
}
.our-team .members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 30px;
    padding-inline: 5vw;
    margin-top: -150px;
    margin-bottom: 100px;
    z-index: 2;
    min-height: 10vh;
}
.our-team .members .member .text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    text-align: center;
    box-shadow: 0px 0px 80px rgba(205, 205, 205, 0.25);
    padding-block: 10px;
}
.our-team .members .member .text h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #4f4f4f;
}
.our-team .members .member .text p {
    color: #828282;
    margin-bottom: 0;
    font-size: 1rem;
}
.our-team .members.mobile {
    display: none;
}

/* Interior Design Philosophy Section Styles */
.design {
    text-align: center;
    background-image: url("/front/images/design-philosophy-section-background.png");
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0px 25px 100px 10px white inset;
    padding: 170px 10vw 460px;
}
.design h2 {
    font-weight: 400;
    font-size: 18px;
    color: #333333;
    position: relative;
    isolation: isolate;
    width: fit-content;
    margin: 0 auto 1rem;
}
.design h2 img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    z-index: -1;
}
.design h3 {
    font-weight: 600;
    font-size: 2.5rem;
    color: #333333;
    margin-bottom: 30px;
}
.design .img {
    position: relative;
    isolation: isolate;
    width: 100%;
    margin-bottom: 100px;
    display: flex;
    justify-content: center;
}
.design .img .branch-grid {
    width: 90%;
    height: 400px;
    z-index: 2;
}
.design .img .branch-grid .branch-item  {
    height: 100%;
}
.design .img .branch-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* .design .img img:first-child {
    width: 90%;
    height: 400px;
    object-fit: cover;
} */
.design .img .points {
    position: absolute;
    bottom: -50px;
    right: -30px;
    z-index: -1;
    width: 35%;
}
.design .text {
    margin-bottom: 100px;
}
.design .text p {
    text-align: justify;
    margin-bottom: 0;
    color: #4f4f4f;
    font-size: 1rem;
}

.design .read-more {
    text-decoration: underline;
    text-transform: capitalize;
    margin-top: 10px;
    color: #6c4222;
    display: none;
}

footer.footer {
    margin: -460px 40px 40px;
}

/* -------------------------------------------- */
/* Offers Page Styles */
/* -------------------------------------------- */
.offers {
    min-height: 100vh;
    padding: 200px 5vw 550px;
    background-image: url("/front/images/offers-page-background.png");
    background-size: cover;
    background-repeat: no-repeat;
}
.offers .item {
    width: 75vw;
}
.offers .mobile-navigation{
    display: flex;
    justify-content: center;
    gap: 130px;
    bottom: -40px;
    z-index: 11;
}

/* Media Queries */
@media (min-width: 1300px) {
    .our-team .members {
        grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    }
}
@media screen and (max-width: 991px) {
    .our-story .content {
        margin-inline: 5vw;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 1.5rem;
        margin: -20px auto 70px;
    }
    .section-title::after {
        left: -110px;
        width: 90px;
    }
    .section-title::before {
        right: -110px;
        width: 90px;
    }


    .our-story {
        padding: 200px 0 0px;
        margin-bottom: -40px;
    }
    .our-story .content .gallery {
        grid-template-columns: 48% 48%;
        gap: 4%;
    }
    .our-story .story h3 {
        display: none;
    }
    .our-story .story h4 {
        font-size: 24px;
    }
    .our-story .story p {
        font-size: 14px;
        text-align: justify;
    }
    .our-story .story {
        padding: 35px 0 100px;
    }
    .our-story .story > div {
        justify-content: center;
        margin-top: 40px;
    }
    .our-story .story > div .watch-video span {
        display: none;
    }

    .documentary {
        margin-top: 120px;
    }
    .documentary h3 {
        font-size: 24px;
    }
    .documentary > p {
        text-align: justify;
        font-size: 14px;
    }
    .documentary .video {
        margin-top: 30px;
        height: 280px;
    }
    .documentary .video img {
        height: 100%;
        object-fit: cover;
    }
    .documentary .items {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .documentary .items div {
        width: 100%;
    }

    .our-team {
        margin: 60px 0px 0px;
    }
    .our-team .members.mobile {
        display: block;
        margin: -60px 0px 0;
        padding: 0;
    }
    .our-team .members.desktop {
        display: none;
    }
    .our-team .members .member {
        border-radius: 5px;
        overflow: hidden;
        margin-top: 10px;
    }
    .our-team .title {
        height: 200px;
    }
    .our-team .title img {
        object-fit: cover;
        height: 100%;
    }
    .our-team .title h3 {
        top: 70px;
        font-size: 1.7rem;
    }

    footer.footer {
        margin: -900px 20px 40px;
    }
    .design {
        padding: 100px 10vw 900px;
    }
    .design h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    .design .text {
        margin-bottom: 50px;
    }
    .design .text p {
        font-size: 14px;
    }
    .design .img {
        margin-bottom: 30px;
    }
    .design .img .branch-grid {
        width: 100%;
        height: auto;
        z-index: 2;
    }
    /* .design .img img:first-child {
        width: 100%;
        height: auto;
    } */
    .design .img .points {
        bottom: -20px;
        right: -20px;
    }
    .design .hidden {
        display: none;
    }
    .design .read-more {
        display: inline-block;
    }

    /* -------------------------------------------- */
    /* Offers Page Styles */
    /* -------------------------------------------- */
    .offers {
        padding: 200px 5vw 1000px;
    }
    .offers .item {
        width: 100vw;
        height: 350px;
    }
    .offers .item img{
        object-fit: cover;
        border-radius: 10px;
    }
    .offers .section-title {
        margin: -20px auto 30px;
    }
}
