html, body{
    overflow-x:hidden;
    
}

.mih-dev-nav.navbar{
    position: fixed;
    width: 100%;
    z-index: 5;
}

.row.bg-warning.dorel{
    width: 100%;
    margin-top: 95px !important;
}

.mih-dev-dark{
   background-color: #1b1b1b; 
}

.mih-dev-gold{
   color: #dfaf46; 
}

.mih-dev-nav{
    background-color: #1b1b1b;
}

.mih-dev-logo-nav{
    width: 69px;
}

.selectat:hover{
    color: #dfaf46 !important;
}

.mih-dev-homepage-banner{
    width: 100%;
}

.carousel-item{
    max-height: 800px;
    overflow: hidden;
}

.imagine-banner{
    width: 100%;

}

.banner-text{
    border: 2px solid white;
    border-radius: 25px;
    background-color: #1b1b1ba8;
}

.banner-text-mobile{
    display: none;
}

.mih-dev-footer{
    background-color: #1b1b1b;
    color: white;
}

.contact{
    color: white;
}

.selectat{
    transition:0.3s;
}

.selectat:hover {
  transform: scale(1.01);
  transform-origin: bottom;
}

.border-mih-dev-gold-dark-button{
    background-color: #1b1b1b;
    margin: .5rem;
}

.border-mih-dev-gold-dark-button:hover{
    scale: 1.1;
}

a.text-white:hover{
    color: #dfaf46 !important;
}

.ti-date{
    color: black !important;
}

.inoveaza-header-image{
    object-fit: cover;
}


.image-container img {
  animation: idleMove 6s ease-in-out infinite,
             idleShadow 6s ease-in-out infinite;
}


@media (min-width: 960px){
    .adapteaza-text.fs-5{
        font-size: 1.5rem !important;
    }

    .adapteaza-title-mobile{
        display: none;
    }

    .adapteaza-title-desktop{
        display: block;
    }
}

@media (max-width: 960px){
    .carousel-caption.banner-text{
        width: 90%;
        left: 5%;
        padding: .5rem;
    }

    .carousel-caption.banner-text p{
        margin-bottom: 0;
    }

    .carousel-item{
        max-height: 100%;
    }

    .mih-dev-adapteaza{
        margin: 0;
        padding: 0;
        flex-direction: column;
    }

    .mih-dev-adapteaza-text{
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .mih-dev-adapteaza-iamge{
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .adapteaza-title-mobile{
        display: block;
    }

    .adapteaza-title-desktop{
        display: none;
    }

    .adapteaza-text{
       margin-top: 1rem 
    }

    .inoveaza-cuprins{
        text-align: center;
    }

    

    .mih-dev-cards{
        width: 90% !important;
    }
}

@media (max-width: 768px){

    .banner-text-mobile{
        background-color: #1b1b1b;
        color: white;
        padding: 1rem;
        width: 100%;
        text-align: center;
        display: block;
    }

}


/* Definim mișcarea subtilă */
@keyframes idleMove {
  0% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.02) translateY(-3px); /* ușor mai mare și un pic ridicată */
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

@keyframes idleShadow {
  0%,100% { box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
  50%     { box-shadow: 0 8px 25px rgba(0,0,0,0.25); }
}