﻿
.home-layout{
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap:15px;
}

.home-carousel-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/sample_background.jpg);
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: overlay;
    z-index: 1;
    background-size: cover;
    background-position: center;
}

.home-carousel-container {
    width: 100%;
    position: relative;
}




.home-carousel-content-layout {
    position: absolute;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: grid;
    top: 0;
    background-color: transparent;
    padding: 0 10px;
    overflow: hidden;
}

.home-carousel-content-layout-grid {
    display: grid;
}

.home-carousel-text-cont {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: center;
    position: relative;
  
}


.home-carousel-text-cont .first-text {
        color: #fff;
        font-size: 25px;
        font-weight: 500;
        padding-left: 10px;
        border-left: 5px solid #d0b702;
        opacity:0;
        animation: fadeInText 3s forwards;
}

@keyframes fadeInText{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}


.first-text b {
    color: #d0b702;
    font-size: 35px;
    font-weight: 700;
}

.home-carousel-text-cont .main-text{
    margin-top: 25px;
    color:#DCDCDC;
    font-size: 13px;
    width: 450px;
    letter-spacing:1px;
    animation: fadeInMainText 5s forwards;
}

@keyframes fadeInMainText{
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.home-carousel-text-cont .know-more {
    width: 150px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: #d0b702;
    border-radius: 5px;
    margin-top: 25px;
    animation: slideLeft 2s ease;
}

@keyframes slideLeft{
    0% {
        opacity:0;
        transform: translateX(500px);
    }

    100% {
        opacity:1;
        transform: translateX(0);
    }
}

.know-more i svg {
    fill: #1d1d1b;
    height: 20px;
}

.know-more span{
    color: #fff;
    font-size: 13px;
    margin-bottom: 5px;
}

.home-cards-infos {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: end;
    justify-content: center;
    margin-top: 25%;
    animation: slideUp 3s forwards;
}



.construction-card-infos {
    display: grid;
    grid-template-columns: 85px 1fr;
    padding: 15px;
    gap: 15px;
    align-items: center;
    background-color: #FFD700;
    height: auto;
    width: 350px;
}



@keyframes slideUp {
    0% {
        opacity:0;
        transform: translateY(50%);
    }

    100% {
        opacity:1;
        transform: translateY(-10px);
    }
}

.construction-cards-icon{
    display:flex;
    justify-content:center;
}

.construction-cards-icon svg {
        height: 80px;
        fill: #696969;
}

.construction-label{
    display: grid;
    grid-template-rows: 50px auto;
    align-items:center;
    justify-content:center;
}

    .construction-label h3 {
        font-size: 18px;
        font-weight: 600;
        color: #000;
    }

    .construction-label small {
        font-size: 12px;
        color: #808080;
    }

.home-featured-work{
    display:flex;
    justify-content:center;
    width:100%;
    height:100%;
    margin-top: 50px;
}

.home-featured-work-layout{
    height:100%;
    display:grid;
    grid-template-rows: 100px 500px 100px;
    align-items:center;
}

.home-featured-work-header{
    display: grid;
    grid-template-rows: 55px 35px;
    align-items:center;
    width:100%;
}

.home-featured-work-header h3{
    color: #000;
    font-weight:600;
    text-transform: uppercase;
    font-size: 35px;
    border-bottom: 2px solid #d0b702;
    text-align:center;

}

.home-featured-work-header h5{
    color:#696969;
    text-align:center;
    font-size: 15px;
    font-weight: 100;
    text-transform:uppercase;
}

.home-featured-work-container{
    width:100%;
    height:100%;
    display:flex;
    justify-content:center;
}

.featured-project-list{
    display:grid;
    align-items:center;
    gap: 15px;
}

.featured-project-card{
    height: 400px;
    width: 400px;
    background-color:#696969;
}

.featured-project-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.view-more-project {
    width: 100%;
    display: flex;
    justify-content: center;
    color: #696969;
    font-size:15px;
}

.view-more-project a{
    font-weight: 600;
    color: #d0b702;
    text-decoration:none;
    width:85px;
    text-align:left;
    border-bottom:2px solid #696969;
    cursor:pointer;
}

.latest-news-container {
    display: grid;
    width: 100%;
    height: 240px;
    padding:10px 0;
    position:relative;
    overflow:hidden;
}

.latest-news-container::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/wallpaper2.jpg);
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay;
    z-index: 1;
    background-size: cover;
    background-position: center;
}

#lastestNewsWrapper {
    position: absolute;
    z-index: 2;
    top: 0;
    display:grid;
    justify-content:center;
    width:100%;
    height:100%;
    padding:15px 0;
}

.latest-news-layout {
    height: 100%;
    display: grid;
    grid-template-rows: 55px 1fr;
    align-items: center;
}

.latest-news-header{
    display: grid;
    grid-template-rows: 55px 35px;
    align-items:center;
  
}

.latest-news-header h3{
    color: #fff;
    font-weight:600;
    text-transform: uppercase;
    font-size: 25px;
    border-bottom: 2px solid #d0b702;
    text-align:left;
    letter-spacing:1px;
    width:300px;

}

.latest-news-header h5{
    color:#696969;
    text-align:center;
    font-size: 15px;
    font-weight: 100;
    text-transform:uppercase;
}

.latest-news-card-container{
    display:grid;
    gap:40px;
    width:100%;
    height:100%;
}

.latest-news-card{
    display:grid;
    grid-template-columns:110px 1fr;
    height:100%;
    gap:10px;
    padding:5px;
  
}


.latest-news-card .image-container-wrapper{
    width:100%;
    height: 110px;
    border-radius:5px;
    display:flex;
    align-items:center;
    overflow:hidden;
}

.image-container-wrapper img{
    max-width:100%;
    max-height:100%;
    object-fit:cover;
}

.latestNewsTextPreview{
    display:grid;
    grid-template-rows: auto 1fr;
    grid-gap: 5px;
    overflow:hidden;
    width:100%;
    height:100%;
}

.latestNewsTextPreview b{
    font-size: 18px; 
    color:#DCDCDC;

}

.latestNewsTextPreview small{
    font-size: 13px; 
    color:#fff;

}







