/**
 * RandeVip — Üst menü: ferah, tek yüzey, metin ağırlıklı (xl’de ikonsuz)
 */

.navbar-rv-dock .nav-rv-item::before { display: none !important; content: none !important; }
.navbar-rv-dock .nav-rv-item:not(.nav-rv-item--dd)::after { display: none !important; content: none !important; }

/* Marka: daha yumuşak, tek blok */
.navbar-rv-dock .brand-lockup {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    padding: 0.4rem 0.75rem 0.4rem 0.5rem !important;
}

/* ── Ana bar: tek kapsül, iç “kutu” yok ─────────────────────── */
.navbar-rv-dock .navbar-rv-dock__bar {
    position: relative;
    overflow: visible;
    max-width: min(1200px, 94vw);
    margin-left: auto;
    margin-right: auto;
    padding: 0.55rem 1rem 0.55rem 1.1rem;
    min-height: 60px;
    border-radius: 9999px;
    background:
        linear-gradient(145deg, rgba(32, 22, 48, 0.55) 0%, rgba(12, 10, 20, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(24px) saturate(1.15);
    -webkit-backdrop-filter: blur(24px) saturate(1.15);
    align-items: center;
    gap: 0.5rem;
}

.navbar-rv-dock .navbar-rv-dock__bar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.14) 0%,
        rgba(168, 85, 247, 0.12) 40%,
        rgba(244, 59, 138, 0.1) 70%,
        rgba(255, 255, 255, 0.05) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.45;
}

/* ── Desktop: ortalanmış linkler, geniş nefes ──────────────── */
@media (min-width: 1200px) {
    .navbar-rv-dock .navbar-rv-collapse {
        display: flex !important;
        flex: 1 1 auto;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        min-width: 0;
        gap: 0.75rem 1.25rem;
    }

    .navbar-rv-dock__rail-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        min-width: 0;
    }

    .navbar-rv-dock__rail {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 0.15rem 0.2rem;
        gap: 0.2rem;
    }
}

/* Ayraç yok: temiz, modern */
.navbar-rv-dock__rail .nav-item::after { content: none !important; }

/* Linkler: okunur tipografi, yumuşak pill hover */
.navbar-rv-dock .nav-rv-item {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 0 !important;
    padding: 0.5rem 1.05rem !important;
    border-radius: 9999px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500 !important;
    font-size: 0.9375rem !important;
    letter-spacing: 0.01em;
    line-height: 1.3;
    text-decoration: none;
    border: 1px solid transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none !important;
}

@media (min-width: 1200px) {
    .navbar-rv-dock .nav-rv-item {
        font-size: 0.9375rem !important;
        padding: 0.5rem 1.1rem !important;
    }
}

.navbar-rv-dock .nav-rv-item__ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    min-width: 1.4rem;
    font-size: 0.9rem;
    line-height: 1;
    color: rgba(244, 59, 138, 0.85);
    opacity: 0.95;
}

.navbar-rv-dock .nav-rv-item__tx {
    font-size: inherit !important;
    font-weight: 500 !important;
    white-space: nowrap;
}

.navbar-rv-dock .nav-rv-item:hover,
.navbar-rv-dock .nav-rv-item:focus-visible {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

/* Dropdown ok */
.navbar-rv-dock .nav-rv-item--dd.dropdown-toggle::after { display: none; }
.navbar-rv-dock .nav-rv-item--dd .nav-rv-item__tx {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.navbar-rv-dock .nav-rv-item--dd .nav-rv-item__tx::after {
    content: '';
    display: inline-block;
    width: 0.4em;
    height: 0.4em;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-0.04em);
    opacity: 0.45;
    flex-shrink: 0;
}

/* ── CTA: dolgun, yumuşak, premium ─────────────────────────── */
.navbar-rv-dock .btn-rv-dock-cta {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 1.35rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    border-radius: 9999px !important;
    color: #fff !important;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: linear-gradient(135deg, #f472b6 0%, #e11d74 50%, #a855f7 130%) !important;
    background-size: 200% 100%;
    background-position: 0% 50%;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 6px 24px rgba(225, 29, 116, 0.35);
    transition: background-position 0.35s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

@media (min-width: 1200px) {
    .navbar-rv-dock .btn-rv-dock-cta { display: inline-flex !important; }
    .navbar-rv-dock .btn-rv-dock-cta:hover,
    .navbar-rv-dock .btn-rv-dock-cta:focus-visible {
        background-position: 100% 50%;
        filter: brightness(1.05);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.25) inset,
            0 8px 28px rgba(168, 85, 247, 0.3);
    }
}

.navbar-rv-dock .nav-item.dropdown { position: relative; z-index: 20; }

/* Dropdown panel */
.navbar-rv-dock .nav-rv-dd.dropdown-menu {
    margin-top: 0.5rem !important;
    padding: 0.4rem !important;
    min-width: 12.5rem;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(16, 12, 28, 0.97) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar-rv-dock .nav-rv-dd .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: 10px !important;
    padding: 0.55rem 0.7rem !important;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-rv-dock .nav-rv-dd .dropdown-item i {
    width: 1.6rem;
    height: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    border: none;
}

.navbar-rv-dock .nav-rv-dd .dropdown-item:hover,
.navbar-rv-dock .nav-rv-dd .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.navbar-rv-dock .nav-rv-dd .dropdown-item:hover i {
    color: #fda4c8;
    background: rgba(244, 59, 138, 0.15);
}

/* Mobil */
@media (max-width: 1199.98px) {
    /* backdrop-filter mobil Safari’de kaydırma sırasında pahalı */
    .navbar-rv-dock .navbar-rv-dock__bar {
        border-radius: 18px;
        backdrop-filter: blur(10px) saturate(1.05);
        -webkit-backdrop-filter: blur(10px) saturate(1.05);
        contain: layout style;
    }

    .navbar-rv-dock .navbar-rv-dock__bar::before {
        opacity: 0.22;
    }

    .navbar-rv-dock__rail {
        flex-direction: column !important;
        align-items: stretch;
        width: 100%;
        padding: 0.4rem 0.35rem;
        gap: 0.15rem;
        border-radius: 14px;
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.07);
    }

    .navbar-rv-dock .nav-rv-item {
        justify-content: flex-start;
        font-size: 0.9rem !important;
        padding: 0.65rem 0.9rem !important;
    }

    .navbar-rv-dock .nav-rv-item__ic {
        color: rgba(255, 255, 255, 0.55);
    }

    .navbar-rv-dock .nav-rv-item--dd .nav-rv-item__tx::after { display: none; }

    .navbar-rv-dock .nav-rv-item--dd {
        position: relative;
        padding-right: 2.5rem !important;
    }
    .navbar-rv-dock .nav-rv-item--dd::after {
        content: '';
        position: absolute;
        right: 1rem;
        top: 50%;
        width: 0.45em;
        height: 0.45em;
        margin-top: -0.2em;
        border-right: 1.5px solid rgba(255, 255, 255, 0.45);
        border-bottom: 1.5px solid rgba(255, 255, 255, 0.45);
        transform: rotate(45deg);
        pointer-events: none;
    }

    .navbar-rv-dock .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0.2rem 0 0.2rem !important;
        background: rgba(0, 0, 0, 0.25) !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        box-shadow: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .navbar-rv-dock .navbar-rv-dock__bar,
    .navbar-rv-dock .nav-rv-item,
    .navbar-rv-dock .btn-rv-dock-cta { transition: none !important; }
    .navbar-rv-dock .btn-rv-dock-cta:hover { background-position: 0% 50% !important; }
}
