* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* 🔥 LAYOUT GENERAL (FOOTER ABAJO) */
html, body {
    height: 100%;
}

body {
    font-size: 16px;
    line-height: 1.6;
    background-color: #f4f6f8;
    color: #333;

    display: flex;
    flex-direction: column;
}

/* HEADER */
header {
    background-color: #1e293b;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #fff;
    font-size: 26px;
    letter-spacing: 1px;
}

nav a {
    color: #e5e7eb;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #38bdf8;
}

/* CONTENEDOR */
.container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
    flex: 1;
}

/* HERO */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: rgba(0, 70, 140, 0.75);
    color: white;
    border-radius: 12px;
    max-width: 700px;
    margin: 40px auto;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.hero p {
    margin-bottom: 20px;
    font-size: 18px;
}

/* BOTONES */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: #0284c7;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.btn:hover {
    background: #0369a1;
    transform: translateY(-3px);
}

/* TITULOS */
h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #1e293b;
}

/* CATÁLOGO */
.catalogo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

/* CARDS */
.card {
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 8px;
}

.card-content p {
    margin-bottom: 5px;
}

.precio {
    font-size: 18px;
    color: #0284c7;
    font-weight: bold;
}

/* LOGIN */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.login-container label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.login-container input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.login-container button {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background-color: #0284c7;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.login-container button:hover {
    background-color: #0369a1;
}

/* CONTACTO */
ul {
    margin-top: 15px;
    padding-left: 20px;
}

ul li {
    margin-bottom: 8px;
}

ul a {
    color: #0284c7;
    text-decoration: none;
    font-weight: bold;
}

ul a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    background-color: #1e293b;
    color: #fff;
    text-align: center;
    padding: 15px;
}

/* FONDO */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../img/hotel1.jpg") no-repeat center/cover;
    opacity: 0.25;
    z-index: -1;
    animation: zoomFondo 20s infinite alternate ease-in-out;
}

@keyframes zoomFondo {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* SERVICIOS */
.servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 60px auto;
    max-width: 1000px;
}

.servicio {
    background-color: rgba(0, 70, 140, 0.6); /* 🔹 MÁS transparente */
    color: white;

    padding: 25px;
    border-radius: 10px;
    text-align: center;

    box-shadow: 0 4px 10px rgba(0,0,0,0.5);

    opacity: 0;
    transform: translateY(-150px);

    transition: all 0.3s ease;
}

.servicio.visible {
    opacity: 1;
    transform: translateY(0);
}

.servicio:hover {
    transform: translateY(-8px) scale(1.02);
    background-color: rgba(0, 70, 140, 1); /* 🔥 MÁS sólido */
}