@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* Preloader stiluri */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1); /* Fundal semitransparent */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#preloader .logo {
    width: 300px; /* Ajustează dimensiunea logo-ului */
}

/* Animație pentru logo */
@keyframes rotateLogo {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Stiluri pentru conținutul paginii (inițial ascuns) */
#content {
    display: none;
}


h1{
    font-family: "Anton", sans-serif;
    font-weight: 900;
    font-style: normal;
    line-height: 4rem;
    font-size:3rem;
}

h2{
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size:2.5rem;
    line-height: 3.5rem;
}

h3{
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-variation-settings: "wdth" 100;
}

.h3-general{
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-variation-settings: "wdth" 100;
    color:#D79151;
    font-size:1.5rem;
}

h4{
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h5{
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h6{
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
}

p{
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-variation-settings: "wdth" 100;
    color:#D3C7BC;
}

nav a{
    color:white;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-variation-settings: "wdth" 100;
    text-decoration: none;
    transition:.2s;
}

nav a:hover{
    color:#d79151;
    transition:.2s;
}

.list-contact-header-top{
    padding-left:12px;
    padding-top:1rem;
    padding-bottom:0.7rem;
}

.list-contact-header-top li{
    display: inline;
    margin-right:1.4rem;
}

#mobileMenu a{
    text-decoration: none;
}

.footer{
    background-color:#171719;
    padding:4rem 0 4rem 0;
}

.btn-general{
    text-decoration: none;
    transition: .3s;
    color:white;
}

.btn-general:hover{
    color:black;
    background-color: white;
    transition: .3s;
}

.fa-arrow-right{
    background-color:#d79151;
    padding:5px 6px 5px 6px; 
    border-radius:50px;
    margin-left:8px;
}

.content-hero-section{
    width: 65%;
}

.hero-section{
    margin-top:9rem;
}

.about-hp{
    margin:18rem 0 8rem 0;
}

.bg-fixed{
    background: url('/img/clouds.jpg');
    background-attachment: fixed;
    background-position:center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer-contact-list{
    padding:0px;
    margin-top:20px;
}

.footer-contact-list li i{
    color:#d79151;
}

.footer-contact-list li{
    color: #D3C7BC;
    padding:5px 0 5px 0;
}

.footer-quick-list{
    padding:0px;
    margin-top:20px;
}

.footer-quick-list li{
    color: #D3C7BC;
    padding:5px 0 5px 0;
}

.footer-quick-list li i{
    color:#d79151;
}

.call-action-home{
    background: url('/img/house-build.jpg');
    background-attachment: fixed;
    background-position:center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.call-action-home::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* negru cu opacitate 50% */
    z-index: 1;
}

.call-action-home h3{
    position: relative;
    z-index: 2;
}

.call-action-home h2{
    position: relative;
    z-index: 2;
}

.call-action-home a{
    position: relative;
    z-index: 2;
}

.service-cards-1 {
    position: relative;
    overflow: hidden; /* Ca să nu iasă imaginea în afară */
    background-color: transparent;
    padding: 15rem 2rem 2rem 2rem;
}

.service-cards-1::before {
    content: "";
    position: absolute;
    inset: 0; 
    background: linear-gradient(
        rgba(0, 0, 0, 0.4), 
        rgba(0, 0, 0, 1)
      ),
      url('/img/service-card-1.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0; 
    transition: opacity 0.3s ease;
    z-index: 0; 
}

.service-cards-1 > * {
    position: relative;
    z-index: 1; 
}

.service-cards-1:hover::before {
    opacity: 1;
}

.service-cards-2 {
    position: relative;
    overflow: hidden; /* Ca să nu iasă imaginea în afară */
    background: linear-gradient(
        rgba(0, 0, 0, 0.4), 
        rgba(0, 0, 0, 1)
      ),
      url('/img/service-cards-2.jpg');
    padding: 15rem 2rem 2rem 2rem;
}



.service-cards-2 > * {
    position: relative;
    z-index: 1; 
}

.service-cards-2:hover::before {
    opacity: 1;
}

.service-cards-3 {
    position: relative;
    overflow: hidden; /* Ca să nu iasă imaginea în afară */
    background-color: transparent;
    padding: 15rem 2rem 2rem 2rem;
}

.service-cards-3::before {
    content: "";
    position: absolute;
    inset: 0; 
    background: linear-gradient(
        rgba(0, 0, 0, 0.4), 
        rgba(0, 0, 0, 1)
      ),
      url('/img/service-cards-3.jpg');
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0; 
    transition: opacity 0.3s ease;
    z-index: 0; 
}

.service-cards-3 > * {
    position: relative;
    z-index: 1; 
}

.service-cards-3:hover::before {
    opacity: 1;
}

.service-cards-4 {
    position: relative;
    overflow: hidden; /* Ca să nu iasă imaginea în afară */
    background-color: transparent;
    padding: 15rem 2rem 2rem 2rem;
}

.service-cards-4::before {
    content: "";
    position: absolute;
    inset: 0; 
    background: linear-gradient(
        rgba(0, 0, 0, 0.4), 
        rgba(0, 0, 0, 1)
      ),
      url('/img/service-cards-4.jpg');
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0; 
    transition: opacity 0.3s ease;
    z-index: 0; 
}

.service-cards-4 > * {
    position: relative;
    z-index: 1; 
}

.service-cards-4:hover::before {
    opacity: 1;
}

.img-rustic{
    width: 65%;
}

.slide-img {
    overflow: hidden; /* ascunde ce iese afara */
    position: relative;
  }

  .slide-img img {
    transition: transform 0.5s ease, opacity 0.5s ease;
    cursor:pointer;
  }

  .slide-img:hover img {
    transform: scale(1.07); /* zoom usor la hover */
    opacity: 1; /* transparenta 0 la hover */
  }

  .contact-section{
    margin-top:9rem;
  }

  .section-up{
    margin-top:9rem;
  }

  .contact-parallax{
    background-image:url('/img/asset-bg.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    padding:8rem 0 8rem 0;
    position: relative;
    overflow: hidden;   
  }

  .overlay{
    z-index:1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5); /* negru semi-transparent */
  }

  form input{
    width: 100%;
    border:none;
    background-color: transparent;
    border-bottom:1px solid #d79151;
    font-family: "Roboto", sans-serif;
    outline: none;
    transition: .3s;
    padding-top:0.8rem;
}

.label-form{
    margin-top:2rem;
}

form input:focus {
    border-bottom:1px solid #eec9a6; /* Elimină border-ul */
    outline: none;
    transition: .3s;
}

form label{
    font-weight: 700;
}

form textarea{
    width: 100%;
    border:none;
    background-color: transparent;
    font-family: "Roboto", sans-serif;
    border-bottom:1px solid #d79151;
    transition: .3s;
    outline: none;
}

form textarea:focus {
    border-bottom:1px solid #eec9a6; /* Elimină border-ul */
    outline: none;
    transition: .3s;
}

.l-form{
    padding-right:4rem;
}

.r-form{
    padding-left:4rem;
}

.map-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 35rem; /* Raport de aspect 16:9 */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:35rem;
}

.error-message {
    color: red;
    display: none;
    margin-top:5px;
}

.cp{
    border-top:1px solid white;
}

.projects-img{
    opacity:0.5;
    transition:.3s;
    cursor:pointer
}

.projects-img:hover{
    opacity:1;
    transition:.3s;
}

@media screen and (max-width: 768px) {
    h1 {
      line-height: 3rem;
      font-size:2rem;
    }

    h2{
        line-height: 3rem;
        font-size:2rem;
    }

    .content-hero-section{
        width: 100%;
    }

    .hero-section{
        margin-top:4rem;
    }
    
    .contact-section{
        margin-top:4rem;
    }

    .section-up{
        margin-top:4rem;
    }

    .draw-build{
        display: none;
        width: 0;
    }

    .exp-text{
        display: none;
        width: 0;
    }

    .content-hero-section{
        margin-bottom:-20%;
    }

    .services-hp{
        margin-top:-10%;
    }

    .service-cards-1{
        padding:2rem 0.4rem 2rem 0.4rem;
    }
    
    .service-cards-2{
        padding:2rem 0.4rem 2rem 0.4rem;
    }

    .service-cards-3{
        padding:2rem 0.4rem 2rem 0.4rem;
    }

    .service-cards-4{
        padding:2rem 0.4rem 2rem 0.4rem;
    }
    
    .img-rustic{
        display: none;
    }

    .contact-info{
        margin-top:2.5rem;
    }

    .l-form{
        padding:0.3rem;
    }

    .r-form{
        padding:0.3rem;
    }

    .details-header-top{
        display:none;
    }
  }

  @media screen and (max-width: 992px){
    .btn-header{
        display: none;
        width: 0;
    }
  }
