/**
 * Site Top Bar
 * Primary: #19868b | Secondary: #e1273d
 */

.site-topbar {
    background: #19868b !important;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Social Icons */
.topbar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 12px;
    transition: all 0.3s ease;
}

.topbar-social a:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Quick Links */
.topbar-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 0;
    position: relative;
}

.topbar-link i {
    font-size: 12px;
    color: #ffffff;
}

.topbar-link:hover {
    color: #ffffff;
}

.topbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.topbar-link:hover::after {
    width: 100%;
}

/* Contact Info */
.topbar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-phone,
.topbar-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.topbar-phone i,
.topbar-whatsapp i {
    font-size: 14px;
}

.topbar-phone:hover {
    color: #ffffff;
    opacity: 0.8;
}

.topbar-whatsapp {
    background: #25D366;
    padding: 4px 12px;
    border-radius: 20px;
}

.topbar-whatsapp:hover {
    background: #1fb855;
    color: #ffffff;
}

/* RTL Support */
[dir="rtl"] .topbar-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .topbar-social {
    flex-direction: row-reverse;
}

[dir="rtl"] .topbar-links {
    flex-direction: row-reverse;
    margin-left: 0;
    margin-right: 20px;
    padding-left: 0;
    padding-right: 20px;
    border-left: none;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

[dir="rtl"] .topbar-link {
    flex-direction: row-reverse;
}

[dir="rtl"] .topbar-link::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .topbar-contact {
    flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 991px) {
    .topbar-links {
        gap: 15px;
    }
    
    .topbar-link {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .site-topbar {
        padding: 6px 0;
    }
    
    .topbar-social {
        gap: 8px;
    }
    
    .topbar-social a {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    
    .topbar-links {
        display: none;
    }
    
    .topbar-contact {
        gap: 12px;
    }
    
    .topbar-phone span,
    .topbar-whatsapp span {
        display: none;
    }
    
    .topbar-phone,
    .topbar-whatsapp {
        padding: 4px 8px;
    }
    
    .topbar-whatsapp {
        border-radius: 50%;
        width: 28px;
        height: 28px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .topbar-social a:nth-child(n+4) {
        display: none;
    }
}

