/**
 * Estilos para el frontend del bloque de contacto
 */

.wp-block-gutenberg-test-contact-info {
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.contact-info-title {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.contact-info-description {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.contact-info-sections {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
}

.contact-info-section h3 {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: inherit;
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 10px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    padding: 6px;
}

/* Listas de información */
.schedule-item,
.phone-item,
.email-item,
.social-network-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.schedule-label,
.phone-label,
.email-label {
    font-weight: 600;
    margin-bottom: 0.3rem;
    display: block;
}

.schedule-value,
.phone-value,
.email-value {
    display: block;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    color: #25D366;
    text-decoration: none;
    font-weight: 500;
}

.whatsapp-link:hover {
    text-decoration: underline;
}

.whatsapp-icon {
    margin-right: 6px;
}

/* Redes sociales */
.social-networks-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-network-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-network-link:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.social-network-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.2rem;
}

.social-network-name {
    font-weight: 500;
}

/* Colores personalizados para redes sociales comunes */
.fa-facebook-f, .fa-facebook {
    color: #1877F2;
}

.fa-instagram {
    color: #E4405F;
}

.fa-twitter, .fa-twitter-x {
    color: #1DA1F2;
}

.fa-youtube {
    color: #FF0000;
}

.fa-linkedin-in, .fa-linkedin {
    color: #0A66C2;
}

.fa-pinterest-p, .fa-pinterest {
    color: #E60023;
}

.fa-tiktok {
    color: #000000;
}

.fa-telegram {
    color: #26A5E4;
}

.fa-whatsapp {
    color: #25D366;
}

/* Estilo para la dirección */
.address-container {
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.address-line {
    margin-bottom: 0.5rem;
}

.address-line:last-child {
    margin-bottom: 0;
}

/* Mapa */
.contact-map {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.map-container {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Estilos responsivos */
@media (max-width: 992px) {
    .contact-info-sections {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social-networks-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-info-sections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-networks-list {
        grid-template-columns: 1fr;
    }
    
    .wp-block-gutenberg-test-contact-info {
        padding: 1.5rem;
    }
    
    .contact-info-title {
        font-size: 1.8rem;
    }
    
    .map-container {
        height: 300px;
    }
} 