/* SUB HEADER STYLES */
/* Ijtimoiy tarmoqlar uchun stillar */
.sub-header__socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-header__socials .sub-header__text {
    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.1);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

.social-link i {
    transition: transform 0.3s ease;
}

/* Active holat */
.social-link:active {
    transform: translateY(0) scale(0.95);
}

/* Dark mode */
.dark .social-link {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Black/White mode */
.blackWhite .social-link {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* Black Ground mode */
.blackGraund .social-link {
    background: rgba(255, 255, 255, 0.08);
    border-color: #333333;
}

.sub-header {
    background: rgb(0, 8, 39);
    color: #ffffff;
    font-size: 12px;
    padding: 2px 0;
    position: relative;
}

.sub-header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.sub-header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.sub-header__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sub-header__icon {
    font-size: 12px;
    opacity: 0.9;
}

.sub-header__text {
    color: #ffffff;
    opacity: 0.95;
}

.sub-header__link {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    opacity: 0.95;
}

.sub-header__link:hover {
    opacity: 1;
    color: #fff;
}

.sub-header__separator {
    margin: 0 8px;
    opacity: 1;
}

.sub-header__button {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 2px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

@media (max-width: 990px) {
    .mobile-hidden {
        display: none;
    }
}

@media (max-width: 767px) {
    .sub-header__contact {
        gap: 5px;
    }

    .sub-header__separator {
        display: none;
    }

    .sub-header__email {
        display: none;
    }

    .sub-header__address .sub-header__text {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .sub-header__icon:nth-child(1) {
        display: none;
    }

    .sub-header {
        font-size: 11px;
        padding: 2px 0;
    }

    .sub-header__icon {
        font-size: 12px;
    }

    .sub-header__button {
        padding: 5px 8px;
        font-size: 11px;
    }

    .social-link {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .sub-header__socials .sub-header__text {
        gap: 6px;
    }
}

/* Dark mode uchun */
.dark .sub-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.blackWhite .sub-header {
    background: #000000;
    border-bottom: 2px solid #ffffff;
}

.blackGraund .sub-header {
    background: #1a1a1a;
    border-bottom: 1px solid #333333;
}
