/* ========================================
📁 DIRECTORIO PÚBLICO - ESTILOS
======================================== */

/* Header del Directorio */
.directorio-header {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    text-align: center;
}

.directorio-header h1 {
    color: #667eea;
    margin-bottom: 10px;
}

.directorio-header .subtitle {
    color: #666;
    font-size: 1.1rem;
}

/* Sección de Búsqueda */
.search-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.search-form {
    margin-bottom: 15px;
}

.search-input-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-search {
    padding: 12px 25px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-search:hover {
    background: #5568d3;
}

.btn-back {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-back:hover {
    background: #f0f0f0;
}

/* Info de Resultados */
.results-info {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.results-info p {
    margin: 5px 0;
    color: #555;
}

.results-info .pagination-info {
    font-size: 0.9rem;
    color: #888;
}

/* Grid de Negocios */
.negocios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Tarjeta de Negocio */
.negocio-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.negocio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 20px;
}

.card-categoria {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-body {
    padding: 20px;
}

.card-nombre {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 10px;
}

.card-ciudad {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.card-telefono {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 5px;
    transition: background 0.3s;
}

.card-telefono:hover {
    background: #e0e0e0;
}

.card-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
}

.btn-ver-sitio {
    display: block;
    text-align: center;
    padding: 10px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 5