
#containerportada{
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url("serviciointegralportada.jpg");
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
}

#primerportada{
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: white;
}
/* Grupo alineado a la izquierda en el inicio */
.textportada{
  padding: 25px;
  z-index: 1;
}
.textportada h1{
    font-size: 48px;
    filter: brightness(150%);
    margin-bottom: 5px;
}
.textportada h2{
    margin-top: 0px;
    font-size: 22px;
    filter: brightness(150%);
    font-weight: 400;
}
.textportada h3{
    font-size: 15px;
    filter: brightness(150%);
    margin-top: 0px;
    font-weight: 500;
}  
#botonesportada{
    display: flex;
    flex-direction: row;
    margin-top: 25px;
}
.portada-button{
    align-items: start;
    border-radius: 5px;
    background-color: #F68712;
    color: white;
    text-decoration: none;
    padding: 6px 12px 6px 12px;
    margin-right: 25px;
}
.portada-button:hover{
    background-color: #007bff;
}
/* Formulario alineado a la derecha en el inicio */
#formulario-container {
    width: 450px;
    padding: 18px;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin-left: 25px;
}
#formulario-container h1{
    color: black;
}
#formulario {
    display: flex;
    flex-direction: column;
}
label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #222;
    font-weight: 300;
}
input, textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
textarea {
    resize: vertical;
}
input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}
input[type="submit"]:hover {
    background-color: #0056b3;
}
#funcionesform{
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 12px;
}
#funcionesform h3{
  color: #222;
  font-size: 15px;
  font-weight: 300;
  margin-right: 50px;
}
#funcionesform img{
  padding: 5px;
  border-radius: 25%;
  height: 28px;
  margin-left: 25px;
}
#funcionesform img:hover{
  background-color: #999;
  cursor: pointer;
}
/* Segunda seccion Soluciones en: */
#primera{
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0px auto;
  color: white;
}
#primera h2{
  margin-bottom: 8px;
  text-align: center;
}
#primera p{
  margin-top: 0px;
  text-align: center;
}
.icondest {
  display: flex;
  align-items: center;
  justify-content: center; 
  background-color: #007bff;
  border-radius: 50%;
  height: 110px;
  width: 110px;
  margin: 16px 25px 0px 25px;
}

.icondest img {
  max-height: 65%;
  max-width: 65%;
}
.destinos{
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.destinos h3{
  margin-top: 12px;
  text-align: center;
}
.botondestino{
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.iconsdestinos{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.destino-button{
  margin: 0px auto;
  border-radius: 18px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  padding: 6px 12px 6px 12px;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px; 
  max-width: 190px;
  padding-left: 15px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
  }
.destino-button:hover{
  background-color: #F68712;
}
/* Tercera seccion Contratanos! */
   #inicio {
    margin-top: 25px;
    display: flex;
    margin: 0px auto;
    flex-direction: column;
    padding: 25px;
    color: white;
  }

  strong {
    cursor: pointer;
  }
  
  .description {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
  }
  .description.visible {
    visibility: visible;
  }
  .contact-button {
    text-align: center;
    margin-right: 90px;
    padding: 12px;
    width: 120px;
    background-color: #0056b3;
    margin-left: auto;
    text-decoration: none;
    color: white;
  }
  .contact-button:hover{
    background-color: #007bff;
  }
/* Cuarta seccion Servicios */
/* Quinta Seccion Constructora */
/* Sexta seccion Comentarios Sala de Chat */
#comentarios {
  padding: 20px;
  border-radius: 8px;
  margin: 20px auto;
  width: 1200px;
}
#comentarios h1, #comentarios h2 {
  text-align: center;
}
#new-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
#new-form label {
  font-size: 16px;
  color: white;
  margin-top: 12px;
}
#new-form input {
  padding: 10px;
  border: 1px solid #ddd;
  font-size: 16px;
}
#new-form button {
  width: 210px;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.1s ease;
}
#new-form button:hover {
  background-color: rgb(211, 211, 211);
}
#list-container {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  height: 400px; 
  overflow-y: auto; 
  margin-bottom: 12px;
  background-color: white;
}
#data-list {
  color: black;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
#data-list li {
  margin-bottom: 10px;
}
#list-container ul {
  list-style-type: none;
  padding: 0;
}
#list-container ul li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  font-size: 16px;
}
#list-container ul li:last-child {
  border-bottom: none;
}
#inputs{
  display: flex;
  flex-direction: row;
}

/* lista de footer */
#documentos{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px;
}
.docs{
  display: flex;
  flex-direction: row;
}
.docs a{
  margin-right: 20px;
  text-decoration: none;
  color: black;
}

/* Objetos perdidos */
.fecha {
  color: grey;
  font-size: 0.9em;
}
#linediv{
  width: 10px;
}
.titleservicio h3{
  font-size: 30px;
  font-weight: 600;
  text-align: start;
  margin-left: 25px;
}

#listaServicios {
  padding: 20px;
  }
  #serviciosContainer{
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
  }
  #constructoraContainer{
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
  }
#listaConstructora {
  padding: 20px;
  }
.servicio-item {
    width: 300px;
    height: auto;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    margin: 12px;
}
.servicio-item img {
    width: 250px;
    height: auto;
    height: auto;
    display: block;
    margin-top: 10px;
}
 #firstform{
    display: flex;
    flex-direction: row;
  }
  .grupotipodecontacto{
    padding: 12px;
    margin: 25px;
    background-color: white;
    width: 320px;
    height: auto;
  }
  .grupotipodecontacto img{
    text-align: center;
 max-width: 320px;
 height: auto;
  }
  .grupotipodecontacto a{
color: black;
  }
  .generaltipodecontacto{
    display: flex;
    flex-direction:row;
  }
  /* Valoraciones stars */
  .rating:not(:checked) > input {
    position: absolute;
    appearance: none;
    display: none;
  }
  
  .rating:not(:checked) > label {
    float: right;
    cursor: pointer;
    font-size: 30px;
    color: #666;
  }
  
  .rating:not(:checked) > label:before {
    content: '★';
  }
  
  .rating > input:checked + label:hover,
  .rating > input:checked + label:hover ~ label,
  .rating > input:checked ~ label:hover,
  .rating > input:checked ~ label:hover ~ label,
  .rating > label:hover ~ input:checked ~ label {
    color: #e58e09;
  }
  
  .rating:not(:checked) > label:hover,
  .rating:not(:checked) > label:hover ~ label {
    color: #ff9e0b;
  }
  
  .rating > input:checked ~ label {
    color: #ffa723;
  }
  
  
  
@media (max-width: 600px) {
  .generaltipodecontacto{
    display: flex;
    flex-direction: column;
  }
  #primerportada{
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}
  .textportada{
    margin-top: 25px;
  }
  .textportada{
    margin-left: 12px;
  }
  #botonesportada{
    margin-left: 12px;
  }
  #firstform{
    display: flex;
    flex-direction: column;
  }
  #servicios-list{
    display: flex;
    flex-direction: column;
  }
  #constructora-list{
    display: flex;
    flex-direction: column;
  }

.textportada h1{
  font-size: 36px;
}
.textportada h2{
  font-size: 17px;
}
.textportada h3{
  font-size: 13px;
}  
#formulario-container {
  width: 350px;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
}
.contact-button {
  margin: 0px auto;
}
#comentarios {
  padding: 20px;
  border-radius: 8px;
  margin: 20px auto;
  width: 350px;
  align-items: center;
  justify-content: center;
}
form{
  max-width: 350px;
}
#inputs{
  display: flex;
  flex-direction: column;
}
#primerportada{
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}
.textportada{
  padding: 8px;
  z-index: 1;
}
.iconsdestinos {
  display: flex; 
  flex-direction:column;
}
  #inputescribe input {
  width: 320px;
}
}