/* Variables y Reset */
:root {
    --primary: #660066;
    --secondary: #BF0000;
    --accent: #BF0000;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #95a5a6;
    --success: #27ae60;
    --warning: #f39c12;
    
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Navegación */
.navbar {
    background-color: var(--primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.logo i {
    margin-right: 10px;
    color: var(--secondary);
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 15px;
    border-radius: 4px;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Banner */
.banner {
    height: 500px;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

/* Secciones */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
}

.section-header p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Categorías */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.category-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    padding: 2rem 1rem;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.category-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.category-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.category-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--accent);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: white;
}

/* Tarjetas de contenido */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.card-subtitle {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

/* Noticias */
.news-section {
    background-color: var(--light);
}

/* Eventos */
.events-section {
    background-color: white;
}

.event-date {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Negocios destacados */
.featured-section {
    background-color: var(--light);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--warning);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--secondary);
    width: 20px;
}

.footer-col a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-icons {
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .banner {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        flex-direction: column;
        padding: 1rem 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem;
        border-radius: 0;
    }
    
    .banner {
        height: 300px;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .banner {
        height: 250px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
}

/* Estilos para el formulario de registro */
.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    position: relative;
    padding-bottom: 15px;
}

.form-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.form-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.business-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 500;
    color: var(--dark);
    font-size: 1.05rem;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.1rem;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f9fbfd;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    background-color: white;
}

.input-with-icon textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    min-width: 280px;
    margin-bottom: 0;
}

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.upload-label {
    display: block;
    padding: 15px;
    background-color: #f8f9fa;
    border: 2px dashed #d1d7e0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.upload-label:hover {
    background-color: #eef5ff;
    border-color: var(--accent);
}

.upload-label i {
    display: block;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.upload-label span {
    color: var(--dark);
    font-weight: 500;
}

.file-info {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--gray);
}

.terms {
    padding: 1.2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-top: 1.5rem;
}

.terms label {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.terms input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.terms a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.terms a:hover {
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 2.5rem;
}

.form-submit .btn {
    padding: 14px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.form-submit .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

.form-submit .btn i {
    margin-right: 8px;
}

.form-note {
    margin-top: 15px;
    color: var(--gray);
    font-size: 0.95rem;
}

/* Alertas */
.alert {
    padding: 1.2rem 1.5rem;
    margin-bottom: 2.5rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert i {
    margin-right: 12px;
    font-size: 1.4rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-danger strong {
    display: block;
    margin-bottom: 8px;
}

.alert-danger ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.alert-danger li {
    margin-bottom: 5px;
}
/* Estilos para página de categoría */
.category-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.category-icon-bg {
    width: 75px;
    height: 75px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon-bg i {
    font-size: 2rem;
    color: white;
}

.category-info h1 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.category-info p {
    color: var(--gray);
    max-width: 800px;
    margin-bottom: 1rem;
}

.category-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.75rem;
    color: #6c757d;
}

.category-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-meta i {
    color: var(--accent);
}

/* Filtros */
.category-filters {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background-color: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.search-box {
    display: flex;
    flex: 2;
    min-width: 50px;
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e1e5eb;
    border-radius: 8px 0 0 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.90rem;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.search-box button {
    padding: 0 10px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background-color: #2980b9;
}

.filter-options {
    display: flex;
    gap: 1rem;
    align-items: center;
}

#sort-by {
    padding: 5px 10px;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: var(--transition);
}

#sort-by:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.view-toggle {
    display: flex;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    overflow: hidden;
}

.view-toggle button {
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    cursor: pointer;
    transition: var(--transition);
}

.view-toggle button:hover {
    background-color: #f1f3f5;
}

.view-toggle button.active {
    background-color: var(--accent);
    color: white;
}

/* Listado de negocios */
.business-listing {
    margin-top: 0.50rem;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0.5rem;
}

.business-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--warning);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.business-image {
    height: 200px;
    overflow: hidden;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.business-card:hover .business-image img {
    transform: scale(.75);
}

.business-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.business-name {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.business-meta {
    margin-bottom: 1rem;
}

.business-meta p {
    margin-bottom: 0.3rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.business-meta i {
    color: var(--accent);
    width: 20px;
}

.business-desc {
    color: var(--gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.business-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.business-hours {
    font-size: 0.9rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.business-hours i {
    color: var(--accent);
}

/* Vista de lista */
.business-grid.list-view {
    grid-template-columns: 1fr;
}

.business-grid.list-view .business-card {
    flex-direction: row;
}

.business-grid.list-view .business-image {
    width: 200px;
    height: auto;
    flex-shrink: 0;
}

.business-grid.list-view .business-info {
    flex-grow: 1;
}

/* Sin resultados */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.no-results i {
    font-size: 5rem;
    color: #e9ecef;
    margin-bottom: 1.5rem;
}

.no-results h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.no-results p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
/* Estilos para página de detalle de negocio */
.business-detail {
    padding-top: 2rem;
    background-color: #f8f9fa;
}

.back-to-category {
    margin-bottom: 1.5rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-back i {
    margin-right: 8px;
}

.btn-back:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.business-header {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.business-logo {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.business-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-info {
    flex: 1;
    min-width: 300px;
}

.business-info h1 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.business-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.business-category {
    display: inline-flex;
    align-items: center;
    background-color: #e8f4fe;
    color: var(--accent);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
}

.business-category i {
    margin-right: 8px;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    background-color: #fef3e8;
    color: var(--warning);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
}

.featured-badge i {
    margin-right: 8px;
}

.business-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.business-rating .stars {
    color: #ffc107;
}

.business-rating span {
    color: #6c757d;
    font-size: 0.95rem;
}

.business-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
}

/* Contenido principal */
.business-content {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.business-main {
    flex: 1;
    min-width: 0;
}

.business-sidebar {
    width: 350px;
    flex-shrink: 0;
}

.business-section {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.business-section h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.business-section h2 i {
    color: var(--accent);
}

/* Detalles de contacto */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    background-color: #f8f9fa;
}

.detail-item i {
    font-size: 1.3rem;
    color: var(--accent);
    width: 40px;
    height: 40px;
    background-color: #e8f4fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-item h3 {
    font-size: 1.05rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.detail-item p {
    color: #555;
    margin: 0;
}

/* Horario */
.schedule {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.schedule-item.closed {
    color: #6c757d;
}

/* Galería */
.business-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.gallery-item {
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Negocios relacionados */
.related-businesses {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    background-color: #f8f9fa;
    text-decoration: none;
    transition: var(--transition);
}

.related-item:hover {
    background-color: #e8f4fe;
    transform: translateX(5px);
}

.related-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info h3 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.related-info p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Reseñas */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.reviews-summary {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.summary-rating {
    text-align: center;
    min-width: 120px;
}

.rating-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.rating-count {
    color: #6c757d;
    font-size: 0.9rem;
}

.rating-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-bar span:first-child {
    width: 80px;
    color: #6c757d;
}

.rating-bar span:last-child {
    width: 40px;
    text-align: right;
    color: var(--primary);
    font-weight: 500;
}

.bar {
    flex: 1;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background-color: #ffc107;
    border-radius: 4px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.review {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.review:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e8f4fe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
}

.user-info h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.review-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.review-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.review-content p {
    color: #555;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .business-content {
        flex-direction: column;
    }
    
    .business-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .business-header {
        flex-direction: column;
    }
    
    .business-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .reviews-summary {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .business-logo {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .business-info {
        text-align: center;
    }
    
    .business-meta {
        justify-content: center;
    }
    
    .business-rating {
        justify-content: center;
    }
    
    .business-actions {
        justify-content: center;
    }
    
    .review-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .review-date {
        margin-left: 65px;
    }
}
/* Estilos para área de administración */
.admin-navbar {
    background-color: var(--primary);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-navbar .logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-navbar .logo i {
    color: var(--accent);
}

.admin-navbar .logo span {
    color: var(--accent);
}

.admin-user {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 6px;
    transition: var(--transition);
}

.admin-user:hover {
    background-color: rgba(255,255,255,0.1);
}

.admin-user i {
    font-size: 1.8rem;
}

.admin-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    padding: 10px 0;
    display: none;
    z-index: 1000;
}

.admin-user:hover .admin-dropdown {
    display: block;
}

.admin-dropdown a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: var(--transition);
}

.admin-dropdown a:hover {
    background-color: #f8f9fa;
}

.admin-dropdown a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--accent);
    font-size: 1rem;
}

.admin-container {
    display: flex;
    min-height: calc(100vh - 70px);
}

.admin-sidebar {
    width: 250px;
    background-color: var(--admin-sidebar);
    padding: 20px 0;
    flex-shrink: 0;
}

.admin-content {
    flex: 1;
    padding: 30px;
    background-color: #f8f9fa;
    overflow-y: auto;
}

.admin-header {
    margin-bottom: 2rem;
}

.admin-header h1 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-header h1 i {
    color: var(--accent);
}

.admin-header p {
    color: #6c757d;
    max-width: 600px;
}

.admin-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 900px;
}

.admin-form .form-group {
    margin-bottom: 1.8rem;
}

.admin-form label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 500;
    color: var(--dark);
    font-size: 1.05rem;
}

.admin-form input[type="text"],
.admin-form input[type="datetime-local"],
.admin-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f9fbfd;
}

.admin-form textarea {
    min-height: 150px;
    resize: vertical;
}

.admin-form input[type="text"]:focus,
.admin-form input[type="datetime-local"]:focus,
.admin-form textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    background-color: white;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    min-width: 280px;
    margin-bottom: 0;
}

.admin-nav {
    padding: 0 15px;
}

.admin-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-nav li {
    margin-bottom: 5px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #d6e0e9;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    gap: 12px;
}

.admin-nav a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.admin-nav a.active {
    background-color: var(--admin-accent);
    color: white;
}

.admin-nav a i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
}

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.upload-label {
    display: block;
    padding: 15px;
    background-color: #f8f9fa;
    border: 2px dashed #d1d7e0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.upload-label:hover {
    background-color: #eef5ff;
    border-color: var(--accent);
}

.upload-label i {
    display: block;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.upload-label span {
    color: var(--dark);
    font-weight: 500;
}

.file-info {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--gray);
}

.form-submit {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.form-submit .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

.form-submit .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.form-submit .btn i {
    margin-right: 8px;
}

/* Estilos para news.php */
.news-listing {
    background-color: #f8f9fa;
}

.news-filters {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.news-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.news-image {
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-excerpt {
    color: var(--gray);
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.newsletter {
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.newsletter-content {
    flex: 1;
    min-width: 300px;
    padding: 2.5rem;
    color: white;
}

.newsletter-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    opacity: 0.9;
    max-width: 500px;
}

.newsletter-form {
    flex: 1;
    min-width: 300px;
    padding: 2.5rem;
    background-color: white;
    display: flex;
    align-items: center;
}

.input-group {
    display: flex;
    width: 100%;
    max-width: 500px;
}

.input-group input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #e1e5eb;
    border-radius: 8px 0 0 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.input-group .btn {
    border-radius: 0 8px 8px 0;
    padding: 15px 25px;
    font-weight: 600;
}

/* Estilos para events.php */
.events-listing {
    background-color: white;
}

.events-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.filter-group select {
    padding: 10px 15px;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    background-color: white;
    min-width: 200px;
}

.view-toggle {
    display: flex;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    background-color: white;
}

.view-toggle button {
    flex: 1;
    padding: 12px 20px;
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #6c757d;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.view-toggle button:hover {
    background-color: #f1f3f5;
}

.view-toggle button.active {
    background-color: var(--accent);
    color: white;
}

.events-list {
    margin-bottom: 3rem;
}

.event-card {
    display: flex;
    flex-wrap: wrap;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.event-date {
    width: 100px;
    flex-shrink: 0;
    background-color: var(--accent);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
}

.event-day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.event-year {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 5px;
}

.event-info {
    flex: 1;
    min-width: 300px;
    padding: 1.8rem;
}

.event-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.event-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: #555;
    flex-wrap: wrap;
}

.event-meta p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.event-meta i {
    color: var(--accent);
}

.event-desc {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.event-actions {
    display: flex;
    gap: 15px;
    padding: 0 1.8rem 1.8rem;
    width: 100%;
}

.events-calendar {
    margin-bottom: 3rem;
    display: none;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.calendar-header button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: #f1f3f5;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-header button:hover {
    background-color: var(--accent);
    color: white;
}

.calendar-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
    min-width: 200px;
    text-align: center;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day-header {
    text-align: center;
    padding: 10px;
    background-color: var(--primary);
    color: white;
    font-weight: 500;
    border-radius: 6px;
}

.calendar-day {
    background-color: #f8f9fa;
    border-radius: 8px;
    min-height: 120px;
    padding: 10px;
    position: relative;
}

.calendar-day.empty {
    background-color: transparent;
}

.calendar-day-number {
    position: absolute;
    top: 10px;
    right: 10px;
    font-weight: 700;
    color: #6c757d;
}

.calendar-day.today .calendar-day-number {
    background-color: var(--accent);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-event {
    background-color: #e8f4fe;
    border-left: 3px solid var(--accent);
    padding: 8px;
    border-radius: 4px;
    margin-top: 25px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.calendar-event:hover {
    background-color: #d4e9ff;
}

.calendar-event-title {
    font-weight: 500;
    margin-bottom: 3px;
    color: var(--primary);
}

.calendar-event-time {
    color: #6c757d;
    font-size: 0.8rem;
}

.suggest-event {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background-color: #f8f9fa;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px dashed var(--accent);
}

.suggest-event i {
    font-size: 2.5rem;
    color: var(--accent);
}

.suggest-event h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.suggest-event p {
    color: #6c757d;
    margin: 0;
}

/* Sin resultados */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 2rem 0;
}

.no-results i {
    font-size: 5rem;
    color: #e9ecef;
    margin-bottom: 1.5rem;
}

.no-results h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.no-results p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .newsletter {
        flex-direction: column;
    }
    
    .newsletter-content,
    .newsletter-form {
        width: 100%;
    }
    
    .newsletter-form {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .events-filters {
        flex-direction: column;
    }
    
    .filter-options {
        flex-direction: column;
        gap: 1rem;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        padding: 15px;
    }
    
    .event-info {
        padding: 1.5rem;
    }
    
    .event-actions {
        flex-direction: column;
        padding: 0 1.5rem 1.5rem;
    }
    
    .event-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .suggest-event {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .calendar-grid {
        gap: 5px;
    }
    
    .calendar-day-header,
    .calendar-day {
        font-size: 0.8rem;
    }
}
/* Estilos para news-detail.php */
.news-detail {
    background-color: #f8f9fa;
}

.news-article {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.news-header {
    text-align: center;
    margin-bottom: 2rem;
}

.news-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-meta i {
    color: var(--accent);
}

.news-image-main {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.news-image-main img {
    width: 100%;
    display: block;
}

.news-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.news-content p {
    margin-bottom: 1.5rem;
}

.news-share {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.news-share h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--primary);
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.btn-share.facebook {
    background-color: #3b5998;
    color: white;
}

.btn-share.twitter {
    background-color: #1da1f2;
    color: white;
}

.btn-share.whatsapp {
    background-color: #25d366;
    color: white;
}

.btn-share:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-news h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.related-news .news-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-news .news-card {
    margin-bottom: 0;
}

/* Estilos para event-detail.php */
.event-detail {
    background-color: #f8f9fa;
}

.event-header {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.event-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.event-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 15px;
}

.event-date-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.event-date-info {
    display: flex;
    flex-direction: column;
}

.event-date-day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-date-month {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-date-year {
    font-size: 0.9rem;
    color: #6c757d;
}

.event-time, .event-location {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.event-time i, .event-location i {
    font-size: 1.8rem;
    color: var(--accent);
    flex-shrink: 0;
}

.event-time div, .event-location div {
    display: flex;
    flex-direction: column;
}

.event-time span, .event-location span {
    display: block;
}

.event-location a {
    color: var(--accent);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.event-location a:hover {
    text-decoration: underline;
}

.event-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-image {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.event-image img {
    width: 100%;
    display: block;
}

.event-details {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 2rem;
}

.event-details h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.event-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 2rem;
}

.event-map {
    margin-bottom: 2rem;
}

.event-map h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.event-share {
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.event-share h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--primary);
}

.btn-share.calendar {
    background-color: var(--warning);
    color: white;
}

.related-events h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.related-events .event-card {
    margin-bottom: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 992px) {
    .event-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .event-meta {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .event-time, .event-location {
        text-align: center;
    }
    
    .news-header h1 {
        font-size: 2rem;
    }
    
    .news-content {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .news-article,
    .event-header,
    .event-details {
        padding: 1.5rem;
    }
    
    .event-header h1,
    .news-header h1 {
        font-size: 1.6rem;
    }
    
    .event-date {
        flex-direction: column;
        text-align: center;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .btn-share {
        justify-content: center;
    }
}
/* Estilos para iconos de redes sociales en detalles */
.detail-item .fab {
    background-color: #e8f4fe;
    color: var(--accent);
}

/* Colores específicos para cada red social */
.detail-item .fa-facebook {
    color: #3b5998;
}

.detail-item .fa-instagram {
    color: #e1306c;
}

.detail-item .fa-whatsapp {
    color: #25d366;
}

/* Estilos para iconos de redes sociales en detalles */
.detail-item .fab {
    background-color: #e8f4fe;
    color: var(--accent);
}

/* Colores específicos para cada red social */
.detail-item .fa-facebook {
    color: #3b5998;
}

.detail-item .fa-instagram {
    color: #e1306c;
}

.detail-item .fa-whatsapp {
    color: #25d366;
}

/* Menú inferior fijo (tipo app móvil) */
.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #BF0000; /* Rojo vibrante */
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-top: 3px solid #F2F200; /* Amarillo oscuro */
}

.bottom-navbar .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #F2F200; /* Rojo oscuro */
    font-size: 0.5rem;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 15px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bottom-navbar .nav-item i {
    font-size: 1rem;
    margin-bottom: 5px;
    transition: var(--transition);
}

.bottom-navbar .nav-item.active {
    background-color: #660066; /* Naranja oscuro */
    color: #FFF;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.bottom-navbar .nav-item.active i {
    color: #FFF;
    transform: scale(1.1);
}

.bottom-navbar .nav-item:hover {
    background-color: #660066; /* Naranja oscuro */
    color: #FFF;
}

.bottom-navbar .nav-item:hover i {
    color: #FFF;
    transform: scale(1.1);
}

/* Animación para el ítem activo */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.bottom-navbar .nav-item.active {
    animation: pulse 1s ease-in-out infinite;
}

/* Ajuste del contenido para que no quede detrás del menú */
.content-wrapper {
    padding-bottom: 80px; /* Altura del menú inferior */
}

/* Ocultar menú superior en móviles */
@media (max-width: 768px) {
    .navbar {
        display: none;
    }
    
    .content-wrapper {
        padding-top: 15px;
    }
}

/* Mantener menú superior en desktop */
@media (min-width: 769px) {
    .bottom-navbar {
        display: none; /* Ocultar menú inferior en desktop */
    }
    
    .navbar {
        display: flex; /* Mostrar menú superior en desktop */
    }
    
    .content-wrapper {
        padding-bottom: 0;
    }
}

/* Ajuste para dispositivos muy pequeños */
@media (max-width: 350px) {
    .bottom-navbar .nav-item span {
        font-size: 0.5rem;
    }
    
    .bottom-navbar .nav-item i {
        font-size: 1rem;
    }
    
    .bottom-navbar {
        padding: 8px 0;
    }
}

/* Animación de entrada del menú */
@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.bottom-navbar {
    animation: slideUp 0.5s ease-out forwards;
}

/* Menú inferior fijo para todos los dispositivos */
.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #FFD700;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 2px solid #C00;
}

.bottom-navbar .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #C00;
    font-size: 0.8rem;
    padding: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bottom-navbar .nav-item i {
    font-size: 1.5rem;
    margin-bottom: 3px;
}

.bottom-navbar .nav-item.active {
    color: #fff;
}

.bottom-navbar .nav-item.active i {
    color: #fff;
}

/* Versión móvil - texto visible */
@media (max-width: 768px) {
    .bottom-navbar .nav-item {
        flex: 1;
    }
    
    .bottom-navbar .nav-item span {
        display: block;
        font-size: 0.7rem;
    }
    
    .content-wrapper {
        padding-bottom: 80px;
    }
}

/* Versión desktop - solo iconos */
@media (min-width: 769px) {
    .bottom-navbar .nav-item {
        width: 60px;
        padding: 8px 5px;
    }
    
    .bottom-navbar .nav-item span {
        display: none;
    }
    
    .bottom-navbar .nav-item i {
        font-size: 1.8rem;
        margin-bottom: 0;
    }
    
    .content-wrapper {
        padding-bottom: 70px;
    }
}

/* Ajuste para pantallas grandes */
@media (min-width: 1200px) {
    .bottom-navbar {
        justify-content: center;
    }
    
    .bottom-navbar .nav-item {
        width: auto;
        min-width: 100px;
        padding: 10px 15px;
        flex-direction: row;
    }
    
    .bottom-navbar .nav-item span {
        display: block;
        margin-left: 8px;
        font-size: 0.9rem;
    }
    
    .bottom-navbar .nav-item i {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
}

/* Ajuste del contenido para que no quede detrás del menú */
.content-wrapper {
    padding-bottom: 70px;
}

/* Ocultar menú superior */
.navbar {
    display: none;
}

/* Ajuste para dispositivos muy pequeños */
@media (max-width: 350px) {
    .bottom-navbar .nav-item span {
        font-size: 0.6rem;
    }
    
    .bottom-navbar .nav-item i {
        font-size: 1.2rem;
    }
    
    .bottom-navbar {
        padding: 8px 0;
    }
}



/* Estilos para la página de afiliación */
.affiliate-section {
    background-color: #f8f9fc;
    padding: 40px 0;
}

.promo-header {
    position: relative;
    padding: 40px 20px;
    background: linear-gradient(120deg, #1a56db 0%, #0e4bcb 100%);
    color: white;
    border-radius: 12px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(14, 75, 203, 0.2);
    margin-bottom: 50px;
}

.promo-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.promo-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.promo-header .lead {
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.promo-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ffd700, #ffb700);
    color: #000;
    font-weight: 800;
    padding: 8px 25px;
    border-radius: 30px;
    margin: 20px 0;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-header .text-muted {
    color: rgba(255,255,255,0.8) !important;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card-header {
    background: linear-gradient(120deg, #1a56db 0%, #0e4bcb 100%);
    color: white;
    font-weight: 600;
    border-bottom: none;
    padding: 20px 25px;
    font-size: 1.3rem;
}

.card-title {
    font-weight: 700;
    color: #1a56db;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.card-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1a56db, #0e4bcb);
    border-radius: 2px;
}

.benefit-card, .step-card {
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid #eef2f7;
}

.benefit-card::before, .step-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1a56db, #0e4bcb);
    z-index: 2;
}

.benefit-card:hover, .step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.benefit-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e6f0ff 0%, #d0e1ff 100%);
    border-radius: 50%;
    font-size: 2.2rem;
    color: #1a56db;
    box-shadow: 0 5px 15px rgba(26, 86, 219, 0.15);
}

.benefit-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a3b6d;
    font-size: 1.3rem;
}

.benefit-card p {
    color: #5a6c84;
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-card {
    padding-top: 60px;
}

.step-card .step-number {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #1a56db 0%, #0e4bcb 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 20px rgba(14, 75, 203, 0.3);
    z-index: 3;
}

.step-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a3b6d;
    font-size: 1.25rem;
}

.step-card p {
    color: #5a6c84;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.payment-methods .badge {
    margin: 0 5px 8px;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 500;
    background: #e6f0ff;
    color: #1a56db;
    border: 1px solid #d0e1ff;
    font-size: 0.9rem;
}

.list-group-item {
    border: none;
    padding: 15px 0;
    background: transparent;
    font-size: 1rem;
}

.list-group-item span {
    font-weight: 600;
    color: #1a3b6d;
}

.address {
    background: #f0f7ff;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #1a56db;
}

.alert-info {
    background: #e6f0ff;
    border: 1px solid #d0e1ff;
    color: #1a3b6d;
    border-radius: 10px;
}

.btn-primary {
    background: linear-gradient(120deg, #1a56db 0%, #0e4bcb 100%);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(14, 75, 203, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(14, 75, 203, 0.4);
    background: linear-gradient(120deg, #0e4bcb 0%, #1a56db 100%);
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(30deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.btn-primary:hover::after {
    opacity: 1;
    transform: rotate(30deg) translate(20%, 20%);
}

.accordion-item {
    border: 1px solid #eef2f7;
    border-radius: 10px !important;
    overflow: hidden;
    margin-bottom: 15px;
}

.accordion-button {
    background: #f8fafd;
    font-weight: 600;
    color: #1a3b6d;
    padding: 20px;
    font-size: 1.1rem;
    border-radius: 10px 10px 0 0 !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(120deg, #e6f0ff 0%, #d0e1ff 100%);
    color: #1a56db;
    box-shadow: none;
}

.accordion-body {
    background: white;
    padding: 20px 25px;
    color: #5a6c84;
    line-height: 1.7;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .promo-header {
        padding: 30px 15px;
    }
    
    .promo-header h1 {
        font-size: 2rem;
    }
    
    .promo-header .lead {
        font-size: 1.3rem;
    }
    
    .benefit-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .step-card .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        top: -30px;
    }
}
/* Sección de WhatsApp */
.whatsapp-section {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    border-top: 1px solid #e9ecef;
	margin: 0px auto;
}

.whatsapp-card {
    position: relative;
    overflow: hidden;
}

.whatsapp-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="rgba(255,255,255,0.1)" d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"/></svg>');
    background-repeat: no-repeat;
    opacity: 0.3;
}

.whatsapp-btn {
    background-color: #fff;
    color: #25D366;
    border: none;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: inline-flex;
    align-items: center;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    background-color: #f8f9fa;
    color: #128C7E;
}

@media (max-width: 768px) {
    .whatsapp-card {
        text-align: center;
    }
    
    .whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
}


/* Mejoras para la funcionalidad de búsqueda y ordenamiento */
.search-box {
    position: relative;
}

.search-box input {
    padding-right: 30px;
}

.search-box button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 30px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background-color: var(--primary);
}

/* Estilos para la vista de lista en negocios */
.business-grid.list-view {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.business-grid.list-view .business-card {
    flex-direction: row;
    height: auto;
}

.business-grid.list-view .business-image {
    width: 250px;
    height: 180px;
    flex-shrink: 0;
}

.business-grid.list-view .business-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.business-grid.list-view .business-footer {
    margin-top: auto;
}

/* Efectos de transición para cambios de vista */
.business-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.business-card.hidden {
    opacity: 0;
    transform: scale(0.95);
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
}

/* Mejoras para dispositivos móviles */
@media (max-width: 768px) {
    .category-filters {
        flex-direction: column;
    }
    
    .filter-options {
        width: 80%;
        justify-content: space-between;
    }
    
    #sort-by {
        flex: 1;
        margin-right: 10px;
    }
    
    .business-grid.list-view .business-card {
        flex-direction: column;
    }
    
    .business-grid.list-view .business-image {
        width: 100%;
        height: 200px;
    }
}

/* Efecto de carga durante la búsqueda */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.searching {
    animation: pulse 1s infinite;
}

/* Mensaje cuando no hay resultados de búsqueda */
.no-results-message {
    display: none;
    text-align: center;
    padding: 2rem;
    grid-column: 1 / -1;
}

.no-results-message.visible {
    display: block;
}