@import 'style1.css';

.t-c {
    text-align: center;
}


.container-fluid {
    width: 100%;
    height: auto;
    margin: auto;
}

.container {
    width: 100%;
    height: auto;
    padding: 8% 10%;
    overflow: hidden;
}

.container1 {
    width: 100%;
}

.d-fl {
    display: flex;
    flex-direction: row;
    column-gap: 2vw;
}
.d-grid{
    display: grid;
    grid-template-columns: 1fr 3fr;
    column-gap: 10px;
    justify-items: center;
}

.d-flex {
    display: flex;
    justify-content: space-between;
}
.d-flex3{
    display: flex;
    justify-content: space-around;
}

.d-gr3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2.5vw;
    row-gap: 12vh;
}

.d-gr2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    column-gap: 5vw;
    row-gap: 50px;
}

button {
    font-size: 1em;
    background-color: #d55437;
    color: white;
    padding: 3% 17%;
}

.button {
    font-size: 1.02rem;
    text-decoration: none;
    background-color: #d55437;
    color: white;
    padding: 1% 5%;
    width: max-content;
}

.button1 {
    font-size: 1.02rem;
    background-color: transparent;
    color: var(--complementory-color);
    text-decoration: none;
}

.mb-5 {
    margin-bottom: 5vh;
}

.mb-4 {
    margin-bottom: 4vh;
}

.mb-3 {
    margin-bottom: 3vh;
}

.mb-2 {
    margin-bottom: 2vh;
}

/* Top banner slider */
.Top-banner {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Set the height to 100vh */
    margin: auto;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Black color with 0.1 opacity */
}


.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide>img {
    width: 100%;
    height: 100%;
    /* Ensure the image fills the entire slide */
    object-fit: cover;
    /* Maintain aspect ratio and fill the entire space */

}

.title {
    position: absolute;
    width: 50%;
    top: 50%;
    right: 400px;
    /* Start from the sharp right */
    transform: translate(5%, -50%);
    padding: 10px;
    border-radius: 5px;
    transition: transform 1s ease, opacity 1s ease, right 1s ease;
    /* Add right to the transition */
    opacity: 0;
    color: white;
}

.locations {
    position: absolute;
    background-color: var(--green);
    bottom: 0px;
    left: 0px;
    width: 400px;
    height: 100px;
    color: white;
    padding: 1%;
    display: flex;
    column-gap: 10px;
    transition: opacity 0.3s ease-in-out, bottom 0.5s ease-in-out;
    opacity: 0;
    align-items: top;
}

.locations span {
    height: 35px;
    align-content: center;
}

.slide.active .locations {
    bottom: 0px;
    opacity: 1;
}

.slide.active .title {
    opacity: 1;
    right: 10%;
    /* End with 10% from the right */
    transform: translate(0, -50%);
}

/* Top banner slider */

.properties {
    display: flex;
    gap: 20px;
    text-align: center;
}

.property {
    flex: 25%;
    /* Ensure each product takes 25% width */
    justify-content: space-between;
    height: auto;
    position: relative;
    overflow: hidden;
    display: block;
    text-align: left;
    text-wrap: wrap;
    height: 380px;
}

.property img {
    height: 100%;
    width: 100%;
}
.overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: -100%;
    left: 0;
    background-color:rgba(0, 0, 0, 0.5);
    transition: 0.7s ease;
}

.up {
    transition: 0.3s linear;
}

.property:hover .up {
    transform: translateY(-20px);
}

.property:hover .overlay {
    bottom: 0;
}



@keyframes slideAnimation {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-25%);
    }

    45% {
        transform: translateX(-25%);
    }

    50% {
        transform: translateX(-50%);
    }

    70% {
        transform: translateX(-50%);
    }

    75% {
        transform: translateX(-78%);
    }

    100% {
        transform: translateX(-78%);
    }
}


.property h5 {
    position: absolute;
    width: 80%;
    left: 0;
    bottom: 10%;
    padding-left: 15px;
    color: white;
}

.ourserv {
    background-color: var(--green);
    color: white;
    overflow: hidden;
    padding: 8% 2%;
}

.icon {
    transition: 0.5s ease;
}

.icon:hover {
    scale: 1.15;
}

/* slideIn animation */
.leftbahar {
    transform: translateX(-50vw);
    transition: 1s ease-out;
}

.rightbahar {
    transform: translateX(50vw);
    transition: 1s ease-out;
}
.centerdown{
    transform: translateY(50vh);
    transition: 1s ease-out;
}

/* slideIn animation */

.highlight {
    background-color: #fff;
    transform: translateY(100px);
    transition: 0.5s ease;
    /*for slide up animation*/
}


.highlight>:first-child {
    margin-bottom: 10vh;
}

.highlight>:nth-child(2) {
    display: flex;
    flex-direction: row-reverse;
}

.detail {
    align-content: center;
}

.blog-section {
    width: 100%;
    height: auto;
    padding: 8% 10%;
    transform: translateY(100px);
    transition: 0.6s ease;
    background: #ebe7e0;
}

.blog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.blog-img {
    width: 100%;

}

.blog div {
    width: 25vw;
    max-height: 550px;
    overflow: hidden;
    position: relative;
    /*For date field absolute property*/
}

.blog div>* {
    margin: 2% 0;
}

.blog div .date {
    position: absolute;
    top: 10%;
    padding: 1% 5%;
    background-color: aliceblue;
}

.bottom-banner {
    width: 100%;
    height: 80vh;
    align-content: center;
    text-align: center;
    background-image: url('../Images/Udaipur2.webp');
    background-size: cover;
    color: white;
}

.weather {
    text-align: center;
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
}

.error{
    width: 100%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    }




/***********************************post page**********************/
.spacer {
    width: 100%;
    height: 30vh;
}
.bg-banner{
    height: 100px;
    width: 100%;
    background-color:var(--green);
}
.news-1{
    width: 25%;
}
.bold{
    font-weight: bold;
}
.news-section {
    width: 80%;
    height: auto;
    margin: auto;
    position: relative;
    padding: 5% 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.news-2 {
    width: 75%;
    height: auto;
    display: flex;
    column-gap: 20px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}
.news-card {
    min-width: calc((100% - 40px)/3);
    position: relative;
}
.news-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#right-arrow1 {
    position: absolute;
    top: 45%;
    right: -1.5%;
    z-index: 3;
    transform: rotate(180deg);
    background-color: white;
    border-radius: 50%;
}
#left-arrow1 {
    position: absolute;
    top: 45%;
    left: 23.5%;
    z-index: 3;
    background-color: white;
    border-radius: 50%;
}
.news-short {
    font-size: 0.9rem;
    height: auto;
    width: 100%;
    color: white;
}
.news-title {
    height: auto;
    width: 90%;
    font-weight: bold;
    color: white;
}
.news-details {
    position: absolute;
    bottom: 10%;
    left: 20px;
}
.news-button{
    margin-top: 10px;
    display: inline-block;
    background-color: #d55437;
    padding: 5px 10px;
    text-decoration: none;
    color: white;
}
/***********************************post page**********************/



/* ***********************************mobile********************************** */
@media screen and (max-width: 1024px) {
    .banner {
        height: 70vh;
        width: 100%;
    }

    .title {
        width: 100%;
        padding: 5%;
        top: 38%;
        transform: translateY(0, -50%);
        left: 0;
        text-align: center;
    }

    .locations {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 10px;
    }

    .d-fl {
        flex-wrap: wrap;
        row-gap: 3vh;
    }

    .d-gr {
        grid-template-columns: 1fr;
    }

    .featured {
        max-width: 100%;
    }

    .d-gr3 {
        grid-template-columns: 1fr;
        row-gap: 5vh;
    }

    .d-gr2 {
        grid-template-columns: 1fr;
    }

    .serv>div {
        flex-wrap: wrap;
        row-gap: 5vh;
    }

    .properties {
        width: 100%;
        flex-direction: column;
        height: auto;
    }

    .property {
        width: 100%;
        max-height: 30vh;
    }

    .property img {
        height: auto;
        width: 100%;
    }

    .highlight>:first-child {
        margin-bottom: 5vh;
    }
    .highlight img {
        width: 100%;
    }

    .blog-section {
        background: #ebe7e0;
    }

    .blog {
        grid-template-columns: 1fr;
        row-gap: 5vh;
    }

    .blog>div {
        width: 100%;
    }

    .bottom-banner {
        height: 60vh;
    }

    .weather {
        margin: 5% 0;
        grid-template-columns: 1fr;
    }

    .temp {
        margin: 10% 0;
    }
.all-news-2{
        display: none;
    }
    .news-section {
        flex-direction: column;
        align-items: center;
    }  
    .news-1 {
        width: 100%;
    }   
    .news-2 {
        margin-top: 5%;
        width: 100%;

    }
    #left-arrow1{
        top: 55%;
        left: -10%;
    } 
    #right-arrow1{
        top: 55%;
        right: -10%;
    } 
    .news-card {
        width: 100%;
}

}
