/* ================================================
   TOPBAR — VividVerve
   Değişkenler: assets/css/global.css'den gelir
================================================ */

/* ── Topbar Wrapper ── */
.vv-topbar {
    background: var(--petrol-dark);
    border-bottom: 1px solid var(--border);
    width: 100%;
    z-index: 1001;
    position: relative;
    overflow: hidden;
}

.vv-topbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: topbarGlow 4s ease-in-out infinite;
}

@keyframes topbarGlow {
    0%   { left: -60%; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* ── İç Konteyner ── */
.topbar-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* ── Sol: İletişim ── */
.topbar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-main);
    font-size: 0.76rem;
    font-weight: 400;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: var(--transition);
    white-space: nowrap;
}

.topbar-item:hover {
    color: var(--gold-light);
}

.topbar-icon {
    display: flex;
    align-items: center;
    color: var(--gold);
    opacity: 0.8;
    transition: var(--transition);
}

.topbar-item:hover .topbar-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* ── Orta: Slogan ── */
.topbar-center {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-main);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
}

.topbar-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.7;
}

/* ── Sağ: Sosyal + Dil ── */
.topbar-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.topbar-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: var(--muted);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
}

.topbar-social:hover {
    color: var(--gold);
    background: var(--gold-pale);
}

.topbar-divider {
    width: 1px;
    height: 16px;
    background: var(--border);
    margin: 0 0.25rem;
}

.topbar-lang {
    font-family: var(--font-main);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.08em;
    padding: 2px 6px;
    border-radius: 4px;
    transition: var(--transition);
}

.topbar-lang:first-of-type,
.topbar-lang:hover,
.topbar-lang.active {
    color: var(--gold);
    background: var(--gold-pale);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .topbar-center { display: none; }
}

@media (max-width: 640px) {
    .topbar-left { display: none; }
    .topbar-inner { justify-content: flex-end; }
}
