/* ===== Tipografía y colores ===== */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #fdfbf6; /* Crema suave */
    color: #333;
    margin: 0;
    padding: 0;
}

/* ===== Navbar ===== */
.navbar-contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(255,255,255,0.95);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    color: #b45309; /* Azul profundo */
    margin: 0;
    text-align: center;
}

.navegacion {
    display: flex;
    gap: 40px;
}

.navegacion a {
    text-decoration: none;
    color: #b45309;
    font-weight: bold;
    transition: color 0.3s;
}

.navegacion a:hover {
    color: #154D23; /* verde */
    
}

.usuario-saludo {
    font-weight: bold;
    color: #b45309;
}
#boton-salir {
  background-color: #b45309;
  color: #ffffff;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

#boton-salir:hover {
  background-color: #154D23;
  color: white;
}

/*==== Landing Page ====*/
.seccion-hero {
  height: 70vh;
  background: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&q=80') no-repeat center center/cover;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.hero-contenido h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-contenido p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.btn-registro {
  background: #d97706;
  color: #fff;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
}

.btn-registro:hover {
  background: #154D23;
}
/* ===== Carrusel de Habitaciones  ===== */
.titulo-seccion {
    text-align: center;
    font-size: 2rem;
    margin: 40px 0;
    color: #b45309;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  /* === Carrusel automático === */
  .carrusel {
    position: relative;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  }
  
  .slides {
    display: flex;
    width: 300%;
    animation: slide 18s infinite;
  }
  
  .slide {
    width: 100%;
    position: relative;
    transition: all 0.5s ease;
  }
  
  .slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-bottom: 3px solid #b45309;
  }
  
  /* === Información de cada habitación === */
  .info {
    background: #fff;
    padding: 25px;
    text-align: center;
  }
  
  .info h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 10px;
  }
  
  .info p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1rem;
  }
  
  .servicios span {
    display: inline-block;
    margin: 0 8px;
    color: #555;
    font-size: 0.95rem;
  }
  
  .precio {
    margin-top: 15px;
    font-size: 1.2rem;
  }
  
  .precio .valor {
    font-weight: bold;
    color: #b45309;
    font-size: 1.6rem;
  }
  
  .btn-reservar {
    margin-top: 20px;
    background: #b45309;
    color: white;
    border: none;
    padding: 12px 60px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 4px 15px rgba(255,153,0,0.4);
  }
  
  .btn-reservar:hover {
    transform: translateY(-3px);
    background: #154D23;
  }
  
  /* === Animación del carrusel === */
  @keyframes slide {
    0% {margin-left: 0;}
    30% {margin-left: 0;}
  
    35% {margin-left: -100%;}
    65% {margin-left: -100%;}
  
    70% {margin-left: -200%;}
    100% {margin-left: -200%;}
  }

/* ===== Servicios ===== */
.servicios {
  padding: 3rem 0;
}

/* Contenedor general */
.contenedor {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Título principal */
.titulo {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: #92400e; /* similar a amber-800 */
  margin-bottom: 2rem;
  font-family: 'Georgia', serif;
}

/* Contenedor de tarjetas */
.tarjetas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .tarjetas {
      grid-template-columns: repeat(3, 1fr);
  }
}

/* Tarjeta individual */
.tarjeta {
  padding: 1rem;
}

/* Imagen dentro de la tarjeta */
.imagen {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 1rem;
}

/* Título de cada servicio */
.subtitulo {
  font-size: 1.25rem;
  font-weight: 600;
  color: #78350f; /* similar a amber-900 */
}

/* Descripción del servicio */
.descripcion {
  margin-top: 0.5rem;
  color: #4b5563; /* similar a gray-600 */
  font-size: 0.95rem;
}


/* ===== Formularios ===== */
.formulario-reserva, .formulario-login, .formulario-registro, .admin-habitaciones {
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    border-radius: 25px;
    background-color: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

input, select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 15px;
    border: 1px solid #ccc;
    font-size: 1em;
    transition: border 0.3s;
}

input:focus, select:focus {
    border-color: #d4af37;
    outline: none;
}

/* ===== Botones ===== */
button {
    background: #b45309;
    color: #ffffff;
    font-weight: bold;
    border: none;
    padding: 15px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

button:hover {
    transform: scale(1.05);
    background: #d4af37
}

/* ===== Footer ===== */
/* === Estructura solo para páginas con footer al fondo === */
body.footer-activo {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  /* === Footer elegante y fijo al fondo === */
  .pie-pagina {
    margin-top: auto;
    background: #3b2e06;
    color: #fff;
    padding: 40px 20px 10px;
    text-align: center;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.2);
  }
  
  .footer-contenido {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .columna {
    flex: 1;
    min-width: 250px;
  }
  
  .columna h4 {
    color: #e6b800;
    margin-bottom: 10px;
    font-size: 1.2rem;
  }
  
  .columna ul {
    list-style: none;
    padding: 0;
  }
  
  .columna ul li a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s;
  }
  
  .columna ul li a:hover {
    color: #154D23;
  }
  
  .footer-copy {
    font-size: 0.9rem;
    color: #aaa;
    border-top: 1px solid #444;
    padding-top: 10px;
  }
  


/* ===== Tarjetas de habitaciones ===== */
.tarjeta-habitacion {
    background-color: #fff;
    border-radius: 25px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    padding: 25px;
    margin-bottom: 20px;
}

/* ===== Responsive ===== */
@media(max-width: 768px){
    .tarjetas-servicios, .carrusel-imagenes {
        flex-direction: column;
        align-items: center;
    }

    .navbar-contenedor {
        flex-direction: column;
        gap: 15px;
    }
}

/*====== Seccion de contactos ====*/
/* Estilos generales */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Sección contacto */
.contacto {
  padding: 3rem 1.5rem;
  background-color: #fffaf0; /* tono ámbar claro */
}

/* Contenedor centrado */
.contenedor {
  max-width: 1200px;
  margin: 0 auto;
}

/* Título */
.titulo-seccion {
  font-size: 2rem;
  text-align: center;
  color: #92400e;
  margin-bottom: 2rem;
  font-family: 'Georgia', serif;
}

/* Grid contenido */
.contenido {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Dos columnas en pantallas grandes */
@media (min-width: 768px) {
  .contenido {
      flex-direction: row;
  }
}

/* Caja de información y formulario */
.informacion,
.formulario {
  background-color: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex: 1;
}

/* Subtítulos */
.subtitulo {
  font-size: 1.5rem;
  color: #78350f;
  margin-bottom: 1rem;
}

/* Campos del formulario */
.campo {
  margin-bottom: 1rem;
}

.campo label {
  display: block;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.3rem;
}

.campo input,
.campo textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 0.4rem;
  font-size: 1rem;
  box-sizing: border-box;
}

.campo input:focus,
.campo textarea:focus {
  outline: none;
  border-color: #d97706; /* ámbar */
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.4);
}

/* Botón */
.boton {
  display: inline-block;
  background-color: #d97706; /* ámbar-600 */
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 0.4rem;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.boton:hover {
  background-color: #b45309; /* hover más oscuro */
}

/* Mapa */
.mapa iframe {
  border-radius: 0.5rem;
  width: 100%;
  height: 300px;
}
