/* Top Bar Styles - BEM Methodology */

.header__top-bar {
    width: 100%;
    height: 30px;
    background-color: #000000;
    display: flex;
    align-items: center;
    direction: ltr;
    position: relative;
}

/* Hide top bar on all pages except homepage */
body:not(.home) .header__top-bar {
    display: none;
}

.header__top-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

.header__top-bar-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.header__top-bar-left {
    display: flex;
    align-items: center;
}

.header__top-bar-right {
    display: flex;
    align-items: center;
}

.header__social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2px;
    border-radius: 2px;
}

.header__social-link:hover {
    transform: translateY(-1px);
}

.header__social-link:active {
    transform: translateY(0);
}

.header__social-icon {
    width: 14px;
    height: 14px;
    fill: #808080;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__social-link:hover .header__social-icon {
    fill: #ffffff;
    transform: scale(1.1);
}

.header__top-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__top-nav-link {
    color: #808080;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 2px 0;
}

.header__top-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ffffff;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__top-nav-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

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

.header__top-nav-link:active {
    transform: translateY(0);
}

/* Responsive Styles - Keep Layout Side by Side */

/* Extra Small Devices (Portrait Phones, less than 480px) */
@media screen and (max-width: 479px) {
    .header__top-bar-container {
        padding: 0 10px;
    }

    .header__social {
        gap: 8px;
    }

    .header__social-icon {
        width: 12px;
        height: 12px;
    }

    .header__top-nav {
        gap: 10px;
    }

    .header__top-nav-link {
        font-size: 10px;
    }
}

/* Small Devices (Landscape Phones, 480px to 575px) */
@media screen and (min-width: 480px) and (max-width: 575px) {
    .header__top-bar-container {
        padding: 0 12px;
    }

    .header__social {
        gap: 10px;
    }

    .header__social-icon {
        width: 13px;
        height: 13px;
    }

    .header__top-nav {
        gap: 12px;
    }

    .header__top-nav-link {
        font-size: 11px;
    }
}

/* Medium Devices (Tablets, 576px to 767px) */
@media screen and (min-width: 576px) and (max-width: 767px) {
    .header__top-bar-container {
        padding: 0 15px;
    }

    .header__social {
        gap: 11px;
    }

    .header__social-icon {
        width: 13px;
        height: 13px;
    }

    .header__top-nav {
        gap: 15px;
    }

    .header__top-nav-link {
        font-size: 11px;
    }
}

/* Large Devices (Small Desktops, 768px to 991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .header__top-bar-container {
        padding: 0 18px;
    }
}

