/* Estilos para contactos y ubicaciones mejorados */

/* Contactos */
.contact-section {
    padding: 2rem 0;
}

.location-item, .contact-item {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.location-item strong, .contact-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.social-link i {
    font-size: 1.5rem;
}

/* Selector de ubicaciones */
.location-selector {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.location-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--primary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(230, 57, 70, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Ocultar solo los botones de Dosquebradas y Manizales */
.location-btn[data-location="dosquebradas"],
.location-btn[data-location="manizales"] {
    display: none !important;
}

.location-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.location-btn.active {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
    box-shadow: 0 4px 15px rgba(29, 53, 87, 0.4);
}

.location-btn i {
    font-size: 1.1rem;
}

/* Información de ubicación */
.location-info {
    margin-top: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.location-details h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.location-details p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-details i {
    color: var(--primary);
    width: 20px;
}

/* Redes sociales */
.social-stats {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 0 auto;
    max-width: 600px;
}

.stat-item {
    padding: 1rem;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.redes-sociales-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.red-social-embed {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.red-social-embed:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.social-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.social-header h4 {
    margin: 0.5rem 0;
    color: var(--primary);
}

.social-header p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.social-content {
    padding: 1.5rem;
}

.red-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f0f0;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.red-social-link:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.red-social-link i {
    font-size: 1.5rem;
}

/* Placeholders de redes sociales */
.facebook-placeholder,
.instagram-placeholder,
.tiktok-placeholder,
.whatsapp-placeholder {
    transition: transform 0.3s ease;
}

.facebook-placeholder:hover,
.instagram-placeholder:hover,
.tiktok-placeholder:hover,
.whatsapp-placeholder:hover {
    transform: scale(1.02);
}

/* Call to action de redes sociales */
.social-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
}

.social-cta .btn {
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
}

.social-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .social-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .redes-sociales-row {
        grid-template-columns: 1fr;
    }
    
    .social-cta > div {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Animaciones */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.red-social-embed {
    animation: slideInUp 0.6s ease forwards;
}

.red-social-embed:nth-child(1) { animation-delay: 0.1s; }
.red-social-embed:nth-child(2) { animation-delay: 0.2s; }
.red-social-embed:nth-child(3) { animation-delay: 0.3s; }
.red-social-embed:nth-child(4) { animation-delay: 0.4s; }