/**
 * CSS Página Calidad - DejaVu Restaurante
 * Selectores específicos que NO afectan header ni footer
 */

/* Contenedor principal de la página - SOLO CONTENIDO */
body.page .entry-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Separador decorativo */
body.page .entry-content .wp-block-separator {
    border-color: var(--accent, #dbad50);
    border-width: 2px;
    max-width: 200px;
    margin: 2rem auto;
    opacity: 1;
}

/* Encabezados con mejor jerarquía - SOLO EN CONTENIDO */
body.page .entry-content h2 {
    font-size: 2.5rem;
    color: var(--accent, #dbad50);
    text-align: center;
    margin: 2rem 0 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

body.page .entry-content h3 {
    font-size: 1.8rem;
    color: var(--accent, #dbad50);
    margin: 2.5rem 0 1.5rem;
    font-weight: 600;
    padding-left: 1rem;
    border-left: 4px solid var(--accent, #dbad50);
}

/* Párrafos con mejor legibilidad - SOLO EN CONTENIDO */
body.page .entry-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 1.5rem;
}

/* Destacar textos en negrita - SOLO EN CONTENIDO */
body.page .entry-content strong {
    color: var(--fg, #ffffff);
    font-weight: 600;
}

/* Lista de certificaciones - SOLO EN CONTENIDO */
body.page .entry-content ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

body.page .entry-content ul li {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 2px solid var(--accent, #dbad50);
    border-left: 5px solid var(--accent, #dbad50);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

body.page .entry-content ul li::before {
    content: '✓';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 4rem;
    color: rgba(219, 173, 80, 0.1);
    font-weight: bold;
}

body.page .entry-content ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(219, 173, 80, 0.3);
    border-left-width: 8px;
}

body.page .entry-content ul li strong {
    display: block;
    font-size: 1.3rem;
    color: var(--accent, #dbad50);
    margin-bottom: 0.5rem;
}

/* Párrafo centrado con destacado especial - SOLO EN CONTENIDO */
body.page .entry-content .has-text-align-center {
    background: linear-gradient(135deg, rgba(219, 173, 80, 0.1) 0%, rgba(219, 173, 80, 0.05) 100%);
    border: 2px solid var(--accent, #dbad50);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    font-size: 1.2rem;
    line-height: 1.8;
    position: relative;
}

body.page .entry-content .has-text-align-center::before {
    content: '🥩';
    display: block;
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Espaciador visible - SOLO EN CONTENIDO */
body.page .entry-content .wp-block-spacer {
    background: linear-gradient(
        to right,
        transparent,
        rgba(219, 173, 80, 0.2),
        transparent
    );
    height: 2px !important;
    margin: 3rem auto !important;
}

/* Responsive */
@media (max-width: 768px) {
    body.page .entry-content {
        padding: 2rem 1rem;
    }
    
    body.page .entry-content h2 {
        font-size: 2rem;
    }
    
    body.page .entry-content h3 {
        font-size: 1.5rem;
    }
    
    body.page .entry-content ul {
        grid-template-columns: 1fr;
    }
    
    body.page .entry-content .has-text-align-center {
        padding: 1.5rem;
        font-size: 1.1rem;
    }
}

/* Animaciones suaves */
@media (prefers-reduced-motion: no-preference) {
    body.page .entry-content ul li {
        animation: fadeInUp 0.6s ease-out;
    }
    
    body.page .entry-content ul li:nth-child(2) {
        animation-delay: 0.1s;
    }
    
    body.page .entry-content ul li:nth-child(3) {
        animation-delay: 0.2s;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Título de entrada */
body.page .entry-header .entry-title {
    font-size: 3rem;
    text-align: center;
    color: var(--accent, #dbad50);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
