/* Top Bar - Always Visible */

.top-bar {
    background: var(--bg-soft-beige);
    border-bottom: 1px solid rgba(47, 79, 79, 0.1);
    font-size: 13px;
    position: relative;
    z-index: 100;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 30px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

/* Two column layout when center is empty */
.top-bar-container:not(:has(.top-bar-center)) {
    grid-template-columns: 1fr 1fr;
}

/* Left Column - Contact Info */
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.top-bar-contact:hover {
    color: var(--accent-green);
}

.top-bar-contact svg {
    flex-shrink: 0;
    stroke: currentColor;
}

/* Center Column - Optional Text */
.top-bar-center {
    text-align: center;
    color: var(--text-dark);
    font-weight: 500;
}

/* Right Column - Navigation Links */
.top-bar-right {
    display: flex;
    justify-content: flex-end;
}

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

.top-bar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
}

.top-bar-link:hover {
    color: var(--accent-green);
    background: rgba(47, 79, 79, 0.05);
}

.top-bar-link svg {
    flex-shrink: 0;
    stroke: currentColor;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .top-bar-container {
        padding: 10px 20px;
        gap: 20px;
        font-size: 12px;
    }

    .top-bar-left {
        gap: 15px;
    }

    .top-bar-nav {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .top-bar-container {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 15px;
        justify-content: center;
        align-items: center;
    }

    .top-bar-left {
        gap: 15px;
        order: 1;
    }

    .top-bar-right {
        order: 2;
    }

    .top-bar-center {
        order: 3;
        width: 100%;
        margin-top: 4px;
    }

    .top-bar-nav {
        justify-content: center;
        gap: 15px;
    }

    .top-bar-contact span,
    .top-bar-link span {
        display: none;
    }

    /* Show icons only on mobile */
    .top-bar-contact,
    .top-bar-link {
        padding: 6px;
    }

    .top-bar-contact svg,
    .top-bar-link svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        font-size: 11px;
    }

    .top-bar-container {
        padding: 10px;
        gap: 10px;
    }

    .top-bar-left {
        gap: 8px;
    }

    .top-bar-nav {
        gap: 8px;
    }
}
