/* --- Estilos Generales --- */
html { scroll-behavior: smooth; }
:root { 
    --primary-color: #8b0000; 
    --accent-color: #d32f2f; 
    --bg-light: #f9f9f9; 
    --text-dark: #333; 
    --text-light: #fff; 
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); line-height: 1.6; color: var(--text-dark); }
a { text-decoration: none; color: inherit; }

/* --- Header --- */
header { 
    background: var(--primary-color); 
    color: var(--text-light); 
    padding: 1rem 5%; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
}
.logo { font-size: 1.5rem; font-weight: bold; letter-spacing: 1px; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a:hover { color: var(--accent-color); transition: 0.3s; }
.btn-book { background: var(--accent-color); color: var(--text-light); padding: 0.5rem 1.5rem; border-radius: 5px; font-weight: bold; }
/* Botón menú móvil */
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; background: none; border: none; color: inherit; }

/* --- Detalles de Habitación --- */
.room-detail { padding: 8rem 5% 4rem; max-width: 1200px; margin: 0 auto; }
.room-header { margin-bottom: 2rem; border-bottom: 2px solid var(--accent-color); padding-bottom: 1rem; }
.room-header h1 { color: var(--primary-color); font-size: 2.5rem; }
.price-tag { font-size: 1.5rem; color: var(--accent-color); font-weight: bold; }
.room-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }

/* --- Lista de Características --- */
.features-list { list-style: none; margin-top: 1rem; }
.features-list li { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 10px; }
.features-list i { color: var(--primary-color); width: 20px; }

/* --- Galería --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-top: 2rem; }
.gallery-grid img { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; transition: transform 0.3s; }
.gallery-grid img:hover { transform: scale(1.02); }

/* --- Área de Acción (Botones) --- */
.action-area { text-align: center; margin-top: 3rem; }
.btn-large { display: inline-block; background: var(--primary-color); color: white; padding: 1rem 2rem; font-size: 1.2rem; border-radius: 5px; transition: 0.3s; }
.btn-large:hover { background: var(--accent-color); }
.back-link { display: block; margin-top: 1rem; color: #666; }

/* --- Footer --- */
footer { background: var(--primary-color); color: white; text-align: center; padding: 2rem; margin-top: 4rem; }

/* --- Responsive --- */
@media (max-width: 768px) { 
    .room-content { grid-template-columns: 1fr; } 
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; right: 0; background: var(--primary-color); width: 100%; text-align: center; padding: 1rem 0; }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
}