/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ========================================
   ESTILOS PARA ICONOS DE MOTOPRESS HOTEL BOOKING
   Agregar al style.css de tu tema hijo
   ======================================== */

/* --- Iconos en Atributos de Habitaciones --- */
.mphb-room-type-attributes .mphb-attribute i,
.mphb-room-type-attributes .mphb-attribute-title i {
    color: #d4af37; /* Color dorado elegante */
    margin-right: 12px;
    font-size: 1.2em;
    min-width: 24px;
    display: inline-block;
    text-align: center;
}

/* Lista de atributos con mejor formato */
.mphb-room-type-attributes .mphb-attribute {
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mphb-room-type-attributes .mphb-attribute:last-child {
    border-bottom: none;
}

/* Título del atributo */
.mphb-attribute-title {
    font-weight: 600;
    color: #333;
    font-size: 1em;
}

/* Valor del atributo */
.mphb-attribute-value {
    color: #666;
    margin-top: 5px;
}

/* --- Iconos en Servicios/Facilidades --- */
.mphb-room-type-facilities i,
.mphb-facility-title i,
.mphb-service-title i {
    color: #2ecc71; /* Verde para servicios */
    margin-right: 10px;
    font-size: 1.1em;
    min-width: 20px;
    display: inline-block;
    text-align: center;
}

/* Lista de facilidades */
.mphb-room-type-facilities ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.mphb-room-type-facilities ul li {
    padding: 8px 0;
    margin-bottom: 8px;
}

/* --- Efectos Hover --- */
.mphb-attribute-title:hover i,
.mphb-facility-title:hover i {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* --- Sección de Atributos Completa --- */
.mphb-room-type-attributes-wrapper {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

/* --- Sección de Facilidades Completa --- */
.mphb-room-type-facilities-wrapper {
    background: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin: 20px 0;
}

/* --- Grid para mostrar atributos en columnas --- */
.mphb-room-type-attributes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

/* --- Iconos con colores personalizados por categoría --- */
/* Camas y habitaciones - Azul */
i.fa-bed,
i.fa-door-open,
i.fa-ruler-combined {
    color: #3498db !important;
}

/* Baños - Celeste */
i.fa-bath,
i.fa-shower,
i.fa-hot-tub,
i.fa-sink {
    color: #1abc9c !important;
}

/* Vistas - Verde */
i.fa-water,
i.fa-mountain,
i.fa-city,
i.fa-tree {
    color: #27ae60 !important;
}

/* Tecnología - Morado */
i.fa-wifi,
i.fa-tv,
i.fa-desktop,
i.fa-phone {
    color: #9b59b6 !important;
}

/* Comodidades - Naranja */
i.fa-wind,
i.fa-fire,
i.fa-couch,
i.fa-chair,
i.fa-lightbulb {
    color: #e67e22 !important;
}

/* Servicios premium - Dorado */
i.fa-wine-bottle,
i.fa-mug-hot,
i.fa-lock,
i.fa-spa {
    color: #d4af37 !important;
}

/* Servicios de hotel - Verde */
i.fa-dumbbell,
i.fa-swimming-pool,
i.fa-utensils,
i.fa-bell-concierge {
    color: #2ecc71 !important;
}

/* --- Diseño en tarjetas para atributos --- */
.mphb-attribute-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.mphb-attribute-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.mphb-attribute-card i {
    font-size: 1.5em;
    margin-right: 15px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .mphb-room-type-attributes-list {
        grid-template-columns: 1fr;
    }
    
    .mphb-attribute i,
    .mphb-attribute-title i {
        font-size: 1em;
        margin-right: 8px;
        min-width: 18px;
    }
    
    .mphb-room-type-attributes-wrapper,
    .mphb-room-type-facilities-wrapper {
        padding: 15px;
    }
}

/* --- Diseño alternativo: Lista con iconos grandes --- */
.mphb-icon-list-style .mphb-attribute {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 10px;
    background: #ffffff;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.mphb-icon-list-style .mphb-attribute:hover {
    background: #f5f5f5;
}

.mphb-icon-list-style .mphb-attribute i {
    font-size: 1.8em;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
}

/* --- Animaciones suaves --- */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.mphb-attribute:hover i {
    animation: iconPulse 0.6s ease-in-out;
}

/* --- Estilos para modo oscuro (opcional) --- */
@media (prefers-color-scheme: dark) {
    .mphb-room-type-attributes-wrapper {
        background: #2c3e50;
    }
    
    .mphb-attribute-title {
        color: #ecf0f1;
    }
    
    .mphb-attribute-value {
        color: #bdc3c7;
    }
    
    .mphb-room-type-facilities-wrapper {
        background: #34495e;
        border-color: #2c3e50;
    }
}