﻿/* Social Header Bar */
.social_header_bar {
    width: 100%;
    height: 45px;
    background: linear-gradient(90deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: var(--font_text);
    box-sizing: border-box;
}

/* Wrapper para informaciÃ³n de contacto */
.contact_info_wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 100%;
}

/* Grupo de contacto */
.contact_group {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
}

/* Icono de contacto */
.contact_icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Hace el icono blanco para el email */
}

/* Icono de WhatsApp */
.contact_icon[src*="phone"] {
    filter: brightness(0) saturate(100%) invert(71%) sepia(88%) saturate(651%) hue-rotate(93deg) brightness(95%) contrast(93%); /* Color WhatsApp #25D366 */
}

/* Contenedor de nÃºmeros */
.contact_numbers,
.contact_emails {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Enlaces de contacto */
.contact_link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.contact_link:hover {
    color: #faaa01;
}

/* Separador */
.separator {
    color: #666;
    font-size: 14px;
    margin: 0 2px;
}

/* Wrapper para iconos sociales */
.social_icons_wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

/* Enlaces de iconos sociales */
.social_icon_link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #ffffff;
}

.social_icon_link:hover {
    background: #faaa01;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(250, 170, 1, 0.3);
}

/* Iconos SVG */
.social_icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Facebook especÃ­fico */
.social_icon_link:first-child .social_icon {
    width: 15px;
    height: 15px;
}

/* Responsive para tablets */
@media screen and (max-width: 1024px) {
    .social_header_bar {
        padding: 0 3%;
    }
    
    .contact_group {
        gap: 6px;
    }
    
    .contact_link {
        font-size: 13px;
    }
}

/* Responsive para mÃ³viles */
@media screen and (max-width: 768px) {
    .social_header_bar {
        height: auto;
        min-height: 80px;
        padding: 10px 12px;
        left: 0; right: 0; width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    
    .contact_info_wrapper {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .contact_group {
        justify-content: center;
    }
    
    .contact_numbers {
        flex-direction: column;
        gap: 2px;
        align-items: flex-start;
    }

    /* Apilar correos en mÃ³vil */
    .contact_emails {
        flex-direction: column;
        gap: 2px;
        align-items: flex-start;
    }
    
    .separator {
        display: none;
    }
    
    .social_icons_wrapper {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .contact_link {
        font-size: 12px;
    }
    
    .contact_icon {
        width: 16px;
        height: 16px;
    }
    
    .social_icon_link {
        width: 28px;
        height: 28px;
    }
    
    .social_icon {
        width: 14px;
        height: 14px;
    }
}

/* Fix overflow on mobile: allow wrapping long contact links */
@media screen and (max-width: 768px) {
  .social_header_bar .contact_link {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
