/* ==========================================================================
   Top bar (utility strip above main nav) component — consolidated from
   style.css (base) + mobile-fixes.css (responsive additions) on 2026-08-14.
   Loaded last, so no !important needed.
   ========================================================================== */

.top-bar {
    position: relative;
    z-index: 1001;
    background: transparent;
    color: var(--text-light);
    border-bottom: none;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: none;
}

.top-bar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(212, 175, 55, 0.35),
            transparent);
    pointer-events: none;
}

.top-bar-inner {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0.25rem clamp(2%, 3vw, 4%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar-left span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.75);
}

.top-bar-left i {
    font-size: 0.7rem;
    color: var(--primary-color);
}

.top-bar-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.6);
    background: transparent;
    backdrop-filter: none;
    transition: all 0.3s ease;
}

.top-bar-contact i {
    font-size: 0.8rem;
}

.top-bar-contact--accent {
    background: transparent;
    color: var(--primary-color);
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: none;
}

.top-bar-contact:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Top Bar Search */
.top-bar-search {
    display: flex;
    align-items: center;
}

.top-bar-search-form {
    display: flex;
    align-items: center;
    position: relative;
}

.top-bar-search-input {
    width: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.top-bar-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.top-bar-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.top-bar-search-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--primary-color);
}

.top-bar-search-btn i {
    font-size: 0.85rem;
}

/* Expanded state */
.top-bar-search.is-expanded .top-bar-search-input {
    width: 180px;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px 0 0 20px;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    margin-right: -1px;
}

.top-bar-search.is-expanded .top-bar-search-btn {
    border-radius: 0 20px 20px 0;
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--primary-color);
}

.top-bar-search.is-expanded .top-bar-search-input:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(0, 0, 0, 0.4);
}

/* Responsive — from mobile-fixes.css, purely additive (not a competing redesign) */
@media (max-width: 1024px) {
    .top-bar-right .top-bar-contact {
        display: none;
    }

    .top-bar-inner {
        padding: 0.5rem 4%;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
    }

    .top-bar-left,
    .top-bar-right {
        gap: 0.75rem;
    }

    .top-bar-left {
        flex-wrap: wrap;
        gap: 0.35rem 0.85rem;
        flex: 1 1 auto;
        min-width: 0;
    }

    .top-bar-right {
        flex-shrink: 0;
    }

    .top-bar-left span {
        font-size: 0.7rem;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }
}

@media (max-width: 768px) {
    .top-bar-search {
        display: none;
    }
}

@media (max-width: 640px) {
    .top-bar-left span:nth-of-type(2) {
        display: none;
    }

    .top-bar-inner {
        gap: 0.4rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .top-bar-left span {
        font-size: 0.65rem;
    }
}

@media (max-width: 380px) {
    .top-bar-left span:nth-of-type(1) {
        font-size: 0.65rem;
    }
}
