/* Shared site navigation for the sub-pages (kategoriler, isletmemi-ekle,
   category and city pages). Same look as the home page / pricing navbar:
   logo, links, language dropdown, store icons, hamburger + drawer < 1100px.
   Every class is prefixed "rz-" so it does not collide with page CSS.
   Markup is injected by /site/sitenav.js. */

nav.rz-nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    margin: 0;
    padding: 1rem 2rem;
    border: 0;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: none;
    transition: box-shadow 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}
nav.rz-nav.scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); }

.rz-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rz-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1A1A2E;
    text-decoration: none;
}
.rz-logo picture { display: contents; }
.rz-logo img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; }

.rz-links { display: flex; gap: 1.5rem; align-items: center; }
.rz-links > a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    white-space: nowrap;
    transition: color 0.3s ease;
}
.rz-links > a:hover { color: #00BCD4; }
.rz-links > a.current { color: #00BCD4; }

/* Store links: just the two logos, black */
.rz-stores { display: flex; align-items: center; gap: 0.15rem; margin-left: 0.25rem; }
.rz-stores-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #666666; margin-right: 0.3rem; white-space: nowrap; }
.rz-stores a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #111; font-size: 1.4rem; text-decoration: none; transition: background 0.2s ease, transform 0.2s ease; }
.rz-stores a:hover, .rz-stores a:focus-visible { background: #F1F5F6; transform: translateY(-1px); outline: none; }
.rz-stores .fa-apple { position: relative; top: -1px; font-size: 1.55rem; }
.rz-stores .fa-google-play { font-size: 1.25rem; }

@media (max-width: 1300px) {
    .rz-links { gap: 1.1rem; }
    .rz-links > a { font-size: 0.95rem; }
}

/* Hamburger */
.rz-burger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.rz-burger span {
    width: 25px;
    height: 3px;
    background: #1A1A2E;
    border-radius: 2px;
    transition: 0.3s;
    transform-origin: center;
}
.rz-burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.rz-burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.rz-burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Drawer */
.rz-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.rz-overlay.active { opacity: 1; pointer-events: auto; }

.rz-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 88vw;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    z-index: 999;
    padding: 80px 1.5rem 2rem;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.rz-drawer.active { right: 0; }

.rz-drawer > a {
    display: block;
    padding: 1rem 0;
    color: #333333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.rz-drawer > a i { width: 20px; text-align: center; color: #00BCD4; font-size: 0.95rem; }
.rz-drawer > a:hover { color: #00BCD4; padding-left: 10px; }
.rz-drawer > a.current { color: #00BCD4; font-weight: 600; }

.rz-drawer-lang {
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #eee;
}

.rz-download { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.5rem; }
.rz-download-title { color: #666666; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.rz-store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 12px;
    background: #1A1A2E;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
}
.rz-store-btn:hover, .rz-store-btn:focus-visible { color: #fff; outline: none; opacity: 0.92; }
.rz-store-btn.is-detected { background: linear-gradient(135deg, #00BCD4, #0097A7); }
.rz-store-btn svg { width: 26px; height: 26px; flex-shrink: 0; fill: currentColor; }
.rz-store-btn-text { display: flex; flex-direction: column; line-height: 1.25; }
.rz-store-btn-text small { font-size: 0.72rem; opacity: 0.8; }
.rz-store-btn-text strong { font-size: 1rem; font-weight: 600; }
.rz-download .rz-all-downloads {
    display: block;
    padding: 0.85rem 0 0;
    color: #666666;
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    min-height: 44px;
}

/* The drawer takes over at 1100px, same breakpoint as the home page. */
@media (max-width: 1100px) {
    .rz-links { display: none; }
    .rz-burger { display: flex; z-index: 1001; }
    .rz-drawer, .rz-overlay { display: block; }
}
@media (max-width: 768px) {
    nav.rz-nav { padding: 0.85rem 1.25rem; }
}
