/* =============================================================================
   HotelManager - Sitio público
   Estilos del frontend público (sin sidebar admin)
   ============================================================================= */

:root {
    --hm-sitio-primary: #1e3a8a;
    --hm-sitio-primary-dark: #1e3066;
    --hm-sitio-accent: #f59e0b;
    --hm-sitio-text: #1f2937;
    --hm-sitio-text-muted: #6b7280;
    --hm-sitio-bg: #f9fafb;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--hm-sitio-text);
    background: #fff;
}

/* =============================================================================
   Navbar
   ============================================================================= */
.hm-sitio-navbar {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 1020;
}
.hm-sitio-navbar .navbar-brand {
    color: var(--hm-sitio-primary);
    font-size: 1.35rem;
}
.hm-sitio-navbar .nav-link {
    color: var(--hm-sitio-text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.15s;
}
.hm-sitio-navbar .nav-link:hover {
    color: var(--hm-sitio-primary);
}

/* =============================================================================
   Hero
   ============================================================================= */
.hm-sitio-hero {
    position: relative;
    min-height: 60vh;
    background: linear-gradient(135deg, var(--hm-sitio-primary), var(--hm-sitio-primary-dark));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hm-hero-overlay {
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    padding: 4rem 0;
}
.hm-sitio-hero h1 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.hm-sitio-hero .lead {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* =============================================================================
   Buscador rápido
   ============================================================================= */
.hm-sitio-buscador-quick {
    margin-top: -3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}
.hm-sitio-buscador-quick .card {
    border: none;
    border-radius: 0.75rem;
}

/* =============================================================================
   Page header (no-hero)
   ============================================================================= */
.hm-sitio-page-header {
    background: linear-gradient(135deg, var(--hm-sitio-primary), var(--hm-sitio-primary-dark));
}
.hm-sitio-page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
}
.hm-sitio-page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}
.hm-sitio-page-header a {
    color: rgba(255, 255, 255, 0.85);
}
.hm-sitio-page-header a:hover {
    color: #fff;
}

/* =============================================================================
   Cards de tipo de habitación
   ============================================================================= */
.hm-sitio-tipo-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.hm-sitio-tipo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.hm-sitio-tipo-imagen {
    height: 200px;
    background: linear-gradient(135deg, var(--hm-sitio-primary-dark), var(--hm-sitio-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 4rem;
}

.hm-sitio-tipo-card-grande {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.hm-sitio-tipo-card-grande:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.hm-sitio-tipo-imagen-lateral {
    background: linear-gradient(135deg, var(--hm-sitio-primary-dark), var(--hm-sitio-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 4rem;
    min-height: 200px;
}

/* =============================================================================
   Detalle de habitación
   ============================================================================= */
.hm-sitio-detalle-imagen {
    height: 400px;
    background: linear-gradient(135deg, var(--hm-sitio-primary-dark), var(--hm-sitio-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 8rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.hm-sitio-detalle-feature {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #f9fafb;
}
.hm-sitio-detalle-feature i {
    font-size: 1.5rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.hm-sitio-precio-card {
    border: 2px solid var(--hm-sitio-primary);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
}

/* =============================================================================
   Cotización en motor de reservas
   ============================================================================= */
.hm-sitio-cotizacion {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* =============================================================================
   Página de confirmación
   ============================================================================= */
.hm-sitio-paso {
    text-align: center;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    height: 100%;
}
.hm-paso-numero {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hm-sitio-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    margin: 0 auto 0.75rem;
}

/* =============================================================================
   Main y Footer
   ============================================================================= */
.hm-sitio-main {
    min-height: 60vh;
}

.hm-sitio-footer {
    background: var(--hm-sitio-text);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 2rem;
    margin-top: 5rem;
}
.hm-sitio-footer h5,
.hm-sitio-footer h6 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}
.hm-sitio-footer a {
    text-decoration: none;
    transition: opacity 0.15s;
}
.hm-sitio-footer a:hover {
    opacity: 0.8;
}
.hm-sitio-footer .text-light-emphasis {
    color: rgba(255, 255, 255, 0.5) !important;
}
.hm-sitio-footer ul li {
    margin-bottom: 0.4rem;
}

/* =============================================================================
   Responsive
   ============================================================================= */
@media (max-width: 768px) {
    .hm-sitio-hero {
        min-height: 50vh;
    }
    .hm-sitio-buscador-quick {
        margin-top: -1.5rem;
    }
    .hm-sitio-detalle-imagen {
        height: 250px;
        font-size: 5rem;
    }
}
