*{
    
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif; 
}
.header{
    min-height: 100vh;
    width:100%;
    background-image:linear-gradient(rgba(34, 41, 63, 0.7),rgba(34, 41, 63,0.7)),url(../images/fundal.jpg);
    background-position: center;
    background-size: cover;
    position: relative; 
}
nav{
    display: flex;
    padding: 2;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 700px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
     list-style: none;
     padding: 12px 25px;
    display: inline-block;
    position: relative;
}
.nav-links ul li a{
     color:#fff;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin:auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.text-box{
    width: 90%;
    color: white;
    position: absolute  ;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    margin-left: 5%;
    margin-right: 5%;
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: white;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #f44336;
    background:#f44336;
    transition: 1s;
}
nav .fas{
    display: none; 
}
@media(max-width: 700px){
      nav img{
         width: 250px;
     }
     .text-box h1{
          font-size: 20px;
     }
     .nav-links ul li{
         display: block;
     }
     .nav-links{
         position: fixed;
         background: #f44336;
         height: 100vh;
         width: 200px;
         top: 0;
         right: -200px;
         text-align: left;
         z-index:2 ;
         transition: 1s;
     }
     nav .fas{
         display: block;
         color: #fff;
         margin: 10px;
         font-size: 22px;
         cursor: pointer;
     }
     .nav-links ul{
         padding: 30px;   
     }
} 

/*--------- contacte--------*/

.metaheader{
    height: 50vh;
    width: 100%;
    background-image:  linear-gradient(rgba(34, 41, 63, 0.7),rgba(34, 41, 63, 0.7)),url(../images/truck_sprinter.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color:#fff;
}
.metaheader h1{
    margin-top: 100px;
}
.filiale{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}
.column{
    flex-basis: 44%;
    border-radius: 30px;
    margin-bottom: 5%;
    text-align: center;
    box-sizing: border-box;
    transition: 0.5s;
}
.column iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 15px;
}
@media (max-width: 768px) {
  .column {
    flex-basis: 100% !important;
  }
}
h3{
    text-align: center;
    font-weight: 600;
}
.column:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}




/*---contactbutton--*/
.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(../images/truck_fotball.jpg) ;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.cta h1{
    color: #fff;
    margin-bottom:40px ;
    padding: 0;
}
@media(max-width:700px){
    .cta h1{
        font-size: 24px;
    }
}
/*-----footer-----*/
.footer{
    width: 100%;
    text-align: center;
    padding: 36px 0;
}
.footer h4{
    margin-bottom: 15px;
    margin-top: 20px;
    font-weight: 600;
}
.footer p{

    font-size: 5px;
}
.fab{
    color:cadetblue;
}


/*----scrisinfo---*/
.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin: 50px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.info-firma {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* începe de sus */
  flex: 1 1 calc(33.333% - 20px);
  background: #fef6fb;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  padding: 25px;
  box-sizing: border-box;
  min-height: 320px;
}
.info-firma:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.info-firma h3 {
  text-align: center;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.info-firma p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  text-align: justify;
}

/* Responsive pentru ecrane mici */
@media (max-width: 900px) {
  .info-firma {
    flex: 1 1 100%;
  }
}
/*--pozele--*/
.poze{
    width: 80%;  
    margin: auto;
    text-align: center; 
    padding-top: 50px;
}
 
.poza {
  flex-basis: calc(33.333% - 20px);
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.poza img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .poza {
    flex-basis: 100%; /* o poză pe rând */
  }
}
/*----contact boxes------*/
.box {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}

form {
  width: 70%;
  max-width: 500px;
  margin: auto;
}

.input-group {
  margin-bottom: 20px;
  position: relative;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid black;
  color: black;
  background: transparent;
  font-size: 15px;
  border-radius: 8px;
  box-sizing: border-box;
}

label {
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  padding: 10px;
  color: black;
  cursor: text;
  transition: 0.2s;
}

button {
  padding: 12px 0;
  color: black;
  background: transparent;
  border: 1px solid black;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  font-weight: 600;
}

input:focus ~ label,
input:valid ~ label,
textarea:focus ~ label,
textarea:valid ~ label {
  top: -25px;
  font-size: 14px;
}

.align-stuff {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.align-stuff .input-group {
  flex: 1;
}

/* 💡 Responsive corect pentru mobil */
@media (max-width: 700px) {
  form {
    width: 90%;
  }

  .align-stuff {
    flex-direction: column;
  }

  .align-stuff .input-group {
    width: 100%;
  }
}

/*----Contacte informatii aliniate----*/
.aside{
    margin-right: 5%;
    margin-left: 5% ;
    margin-top: 5%;
    justify-content: space-between;
    display: flex;
}
.info1{
    flex-basis: 31%;
    background:  #fff ;
    margin-bottom: 5px;
    padding: 20px 12px;
    box-sizing: border-box;
        transition: 0.5s;
        margin-bottom: 5%;
        text-align: center;

    }

h3{
    text-align: center;
    font-size: 600;
}
.info1:hover{
    box-shadow: 0 0 20px 0px black;
}

@media(max-width: 700px){
   .aside{
       flex-direction: column;
       
   }

}