/*Index*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
}

nav {
      position: fixed;
  top: 0;
  left: 0;
  width: 100%;
    background-color: #1e3d59;
    padding: 15px;
    text-align: center;
}

nav a {
    
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}
nav a:hover {
    text-decoration: underline;
}

header {
    background: url("img/Hotel1.jpg") center/cover no-repeat;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

header h1 {

    font-size: 3rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 15px;
}

section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #1e3d59;
    
}

.icon {
    justify-content: center; /* Centra horizontalmente */
    align-items: center;     /* Centra verticalmente */
    height: 20;
    font-weight: bolder;
    
}
.center{
display: flex; justify-content: center;
}

.rooms,
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 20px;
}

.contact {
    background-color: #eaeaea;
    text-align: center;
    padding: 40px 20px;
}

footer {
    background-color: #1e3d59;
    color: white;
    text-align: center;
    padding: 20px;
    position: absolute;
}

/*reservación*/ 
.form-reserva { 
    
  padding: 25px;
  border-radius: 10px;
  width: 450px;
  height: 700;background-color: #eaeaea;

}

.fila {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

input,
select,
textarea {
  width: 100%;
  padding: 9px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

textarea {
  height: 90px;
  resize: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #007BFF;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
}
button {
  width: 100%;
  background-color: #007BFF;
  color: #ffffff;
  padding: 10px;
  font-size: 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}
