/* Modern Top Bar Styling */
.techmawu-top-bar {
    background: linear-gradient(135deg, var(--primary-color, #4a6cf7) 0%, var(--secondary-color, #3a56c4) 100%);
    color: var(--light-text, #fff);
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    z-index: 999;
}

.techmawu-top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    flex-wrap: wrap;
    gap: 15px;
}

/* Contact Info Styling */
.contact-info {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light-text, #fff);
    transition: all 0.3s ease;
}

.contact-item i {
    font-size: 14px;
    color: var(--light-text, #fff);
    width: 16px;
    text-align: center;
    opacity: 0.9;
}

.contact-link {
    color: var(--light-text, #fff);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.95;
}

.contact-link:hover {
    color: var(--light-text, #fff);
    text-decoration: none;
    opacity: 1;
    transform: translateY(-1px);
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-text, #fff);
    transition: width 0.3s ease;
    opacity: 0.8;
}

.contact-link:hover::after {
    width: 100%;
}

/* Social Links Styling */
.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-label {
    font-weight: 600;
    color: var(--light-text, #fff);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--light-text, #fff);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--light-text, #fff);
    color: var(--primary-color, #4a6cf7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.social-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.1);
}

/* Specific social media brand colors on hover */
.social-facebook:hover { 
    background: #1877f2 !important; 
    color: var(--light-text, #fff) !important; 
}

.social-instagram:hover { 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%) !important; 
    color: var(--light-text, #fff) !important; 
}

.social-x:hover { 
    background: #000000 !important; 
    color: var(--light-text, #fff) !important; 
}

.social-linkedin:hover { 
    background: #0077b5 !important; 
    color: var(--light-text, #fff) !important; 
}

.social-threads:hover { 
    background: #000000 !important; 
    color: var(--light-text, #fff) !important; 
}

.social-youtube:hover { 
    background: #ff0000 !important; 
    color: var(--light-text, #fff) !important; 
}

.social-tiktok:hover { 
    background: #000000 !important; 
    color: var(--light-text, #fff) !important; 
}

.social-bluesky:hover { 
    background: #00bcd4 !important; 
    color: var(--light-text, #fff) !important; 
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        text-align: center;
        padding: 15px 0;
        gap: 12px;
    }
    
    .contact-info {
        justify-content: center;
        gap: 20px;
    }
    
    .social-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .social-label {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .techmawu-top-bar {
        font-size: 13px;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
    }
    
    .social-link i {
        font-size: 12px;
    }
}

/* Animation for smooth appearance */
.techmawu-top-bar {
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Dark mode support (matching your custom.css) */
@media (prefers-color-scheme: dark) {
    .techmawu-top-bar {
        background: linear-gradient(135deg, var(--primary-color, #6366f1) 0%, var(--secondary-color, #4f46e5) 100%);
    }
    
    .contact-item,
    .contact-link,
    .social-label {
        color: var(--light-text, #ffffff);
    }
    
    .social-link {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.15);
    }
    
    .social-link:hover {
        background: var(--light-text, #ffffff);
        color: var(--primary-color, #6366f1);
    }
}

/* High contrast mode support (matching your custom.css) */
@media (prefers-contrast: high) {
    .techmawu-top-bar {
        background: #0000ff;
        color: #ffffff;
    }
    
    .social-link {
        border: 2px solid #ffffff;
        background: transparent;
    }
    
    .social-link:hover {
        background: #ffffff;
        color: #0000ff;
    }
    
    .contact-link::after {
        background: #ffffff;
    }
}

/* Reduced motion support (matching your custom.css) */
@media (prefers-reduced-motion: reduce) {
    .techmawu-top-bar {
        animation: none;
    }
    
    .social-link,
    .contact-link,
    .contact-item {
        transition: none;
    }
    
    .social-link:hover {
        transform: none;
    }
    
    .contact-link:hover {
        transform: none;
    }
}
