/* Estilos Frontend - Property Features */

.property-features-section {
    margin: 30px 0;
    padding: 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.features-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.features-grid-frontend {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.feature-item-frontend {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-item-frontend:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 1);
}

.feature-icon-frontend {
    font-size: 36px;
    margin-right: 15px;
    flex-shrink: 0;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.1));
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.feature-label-frontend {
    font-size: 13px;
    font-weight: 500;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-value-frontend {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.feature-value-frontend small {
    font-size: 14px;
    font-weight: 500;
    color: #95a5a6;
    margin-left: 4px;
}

/* Variante con diseño de tarjetas grandes */
.features-grid-frontend.card-style {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.features-grid-frontend.card-style .feature-item-frontend {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
}

.features-grid-frontend.card-style .feature-icon-frontend {
    font-size: 48px;
    margin: 0 0 15px 0;
}

.features-grid-frontend.card-style .feature-content {
    align-items: center;
}

/* Variante compacta */
.property-features-section.compact {
    padding: 20px;
}

.property-features-section.compact .features-grid-frontend {
    gap: 10px;
}

.property-features-section.compact .feature-item-frontend {
    padding: 12px 15px;
}

.property-features-section.compact .feature-icon-frontend {
    font-size: 28px;
}

.property-features-section.compact .feature-value-frontend {
    font-size: 16px;
}

/* Estilo alternativo - Fondo claro */
.property-features-section.light {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.property-features-section.light .features-title {
    color: #2c3e50;
    border-bottom-color: #3498db;
    text-shadow: none;
}

/* Estilo alternativo - Minimalista */
.property-features-section.minimal {
    background: #ffffff;
    border: 2px solid #e1e8ed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.property-features-section.minimal .features-title {
    color: #2c3e50;
    text-shadow: none;
    border-bottom-color: #3498db;
}

.property-features-section.minimal .feature-item-frontend {
    background: #f8f9fa;
    border: 1px solid #e1e8ed;
}

/* Animación de entrada */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.feature-item-frontend {
    animation: fadeInScale 0.5s ease-out;
    animation-fill-mode: both;
}

.feature-item-frontend:nth-child(1) { animation-delay: 0.05s; }
.feature-item-frontend:nth-child(2) { animation-delay: 0.1s; }
.feature-item-frontend:nth-child(3) { animation-delay: 0.15s; }
.feature-item-frontend:nth-child(4) { animation-delay: 0.2s; }
.feature-item-frontend:nth-child(5) { animation-delay: 0.25s; }
.feature-item-frontend:nth-child(6) { animation-delay: 0.3s; }
.feature-item-frontend:nth-child(7) { animation-delay: 0.35s; }
.feature-item-frontend:nth-child(8) { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
    .features-grid-frontend {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .property-features-section {
        padding: 25px 20px;
        margin: 20px 0;
    }
    
    .features-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .features-grid-frontend {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }
    
    .feature-item-frontend {
        padding: 15px;
    }
    
    .feature-icon-frontend {
        font-size: 32px;
        margin-right: 12px;
    }
    
    .feature-value-frontend {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .property-features-section {
        padding: 20px 15px;
        border-radius: 10px;
    }
    
    .features-grid-frontend {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .feature-item-frontend {
        padding: 14px 16px;
    }
    
    .feature-icon-frontend {
        font-size: 30px;
    }
    
    .feature-label-frontend {
        font-size: 12px;
    }
    
    .feature-value-frontend {
        font-size: 16px;
    }
}

/* Estilos para impresión */
@media print {
    .property-features-section {
        background: #fff;
        border: 2px solid #000;
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .features-title {
        color: #000;
        text-shadow: none;
    }
    
    .feature-item-frontend {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Tema oscuro */
@media (prefers-color-scheme: dark) {
    .property-features-section {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    }
    
    .features-title {
        color: #ecf0f1;
    }
    
    .feature-item-frontend {
        background: rgba(52, 73, 94, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .feature-label-frontend {
        color: #95a5a6;
    }
    
    .feature-value-frontend {
        color: #ecf0f1;
    }
}

/* Badges destacados para valores importantes */
.feature-value-frontend.highlight {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Iconos con pulso para destacar */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.feature-item-frontend.featured .feature-icon-frontend {
    animation: pulse 2s infinite;
}
