/* Topbar Responsive Enhancement */
.topbar {
    background: var(--gradient-dark);
    padding: 10px 0;
    font-size: 0.9rem;
    color: #fff;
}

.topbar-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-contact a, 
.topbar-contact span {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.85rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    flex-wrap: wrap;
}
@media (max-width: 991px) {
    .topbar-contact {
        justify-content: center;
        flex-wrap: wrap;
    }
    .topbar-right {
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .topbar {
        padding: 8px 0;
    }

    .topbar-contact {
        font-size: 0.75rem;
    }

    .hero-slider, 
    .slide-img {
        height: 50vh;
    }
}

/* Language Selector Dropdown */
.lang-switch {
    display: flex;
    align-items: center;
    color: #fff;
}

.language-selector {
    position: relative;
}

.selected-language {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #fff;
    min-width: 70px;
}

.selected-language:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}

.selected-language .flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.selected-language i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    min-width: 150px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 5px;
}

.language-dropdown.show {
    z-index: 9999999;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
}

.language-dropdown a:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.language-dropdown a:first-child {
    border-radius: 8px 8px 0 0;
}

.language-dropdown a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.language-dropdown a img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.language-selector:hover .selected-language i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .topbar-contact a, 
    .topbar-contact span {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    .social-links {
        display: none;
    }

    .selected-language {
        padding: 6px 10px;
        font-size: 0.85rem;
        min-width: 60px;
    }

    .selected-language .flag-icon {
        width: 18px;
        height: 13px;
    }

    .language-dropdown {
        min-width: 130px;
    }

    .language-dropdown a {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .language-dropdown a img {
        width: 18px;
        height: 13px;
    }
}

@media (max-width: 576px) {
    .selected-language {
        padding: 5px 8px;
        font-size: 0.8rem;
        min-width: 55px;
    }

    .selected-language .flag-icon {
        width: 16px;
        height: 12px;
    }

    .language-dropdown {
        min-width: 120px;
        right: -10px;
    }

    .language-dropdown a {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .language-dropdown a img {
        width: 16px;
        height: 12px;
    }
}

 /* Enhanced Social Media Icons - Global Styles */
 .social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Topbar Social Icons */
.topbar-right .social-links {
    margin: 0;
    padding: 0;
}

.topbar-right .social-links a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-right .social-links a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--gold));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.topbar-right .social-links a i {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.topbar-right .social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--gold);
}

.topbar-right .social-links a:hover:before {
    opacity: 1;
}

.topbar-right .social-links a:hover i {
    transform: scale(1.1);
    color: var(--gold-light);
}
