/* Premium mobil menü — tüm sayfalar (anasayfadaki çalışan yapı) */

button.hamburger {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    position: relative;
    z-index: 30001;
    pointer-events: auto !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

body.mobile-menu-open {
    overflow: hidden !important;
}

body.mobile-menu-open .mobile-action-bar,
body.mobile-menu-open .whatsapp-btn,
body.mobile-menu-open .back-to-top {
    display: none !important;
}

body.mobile-menu-open .header .nav,
body.mobile-menu-open .header .header-right {
    visibility: hidden !important;
    pointer-events: none !important;
}

body.mobile-menu-open .hamburger {
    z-index: 30002 !important;
    position: relative;
}

/* Eski menü kalıntılarını gizle */
.mobile-menu-backdrop,
.mobile-menu,
#mobileMenu,
#mobileMenuBackdrop {
    display: none !important;
    pointer-events: none !important;
}

.home-mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 25000;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-end;
    visibility: hidden;
    pointer-events: none;
}

.home-mobile-nav.is-open {
    visibility: visible;
    pointer-events: auto;
}

.home-mobile-nav__backdrop {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: none;
    cursor: pointer;
    background: rgba(15, 15, 26, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.home-mobile-nav.is-open .home-mobile-nav__backdrop {
    opacity: 1;
}

.home-mobile-nav__panel {
    position: relative;
    flex: 0 0 auto;
    width: min(300px, 86vw);
    max-width: 86vw;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 55%, #12121c 100%);
    border-left: 1px solid rgba(201, 169, 110, 0.35);
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.45);
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.home-mobile-nav.is-open .home-mobile-nav__panel {
    transform: translateX(0);
}

.home-mobile-nav__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(201, 169, 110, 0.45);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #e0c98f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 2;
}

.home-mobile-nav__close svg {
    width: 20px;
    height: 20px;
}

.home-mobile-nav__head {
    flex-shrink: 0;
    text-align: center;
    padding: 28px 20px 20px;
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.home-mobile-nav__logo {
    display: inline-block;
    line-height: 0;
    margin-bottom: 12px;
}

.home-mobile-nav__logo img {
    height: 56px;
    width: auto;
    max-width: 200px;
    filter: brightness(0) invert(1);
}

.home-mobile-nav__tagline {
    margin: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #e0c98f;
}

.home-mobile-nav__links {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-mobile-nav__links a {
    display: block;
    padding: 14px 16px;
    border-radius: 10px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid transparent;
    transition: background 0.25s ease, color 0.25s ease;
}

.home-mobile-nav__links a:hover,
.home-mobile-nav__links a:focus-visible {
    color: #e0c98f;
    background: rgba(201, 169, 110, 0.12);
}

.home-mobile-nav__links a.is-active {
    color: #0f0f1a;
    background: linear-gradient(135deg, #e0c98f, #c9a96e);
    box-shadow: 0 8px 24px rgba(201, 169, 110, 0.35);
}

.home-mobile-nav__lang {
    flex-shrink: 0;
    padding: 14px 16px 12px;
    border-top: 1px solid rgba(201, 169, 110, 0.2);
    background: linear-gradient(180deg, rgba(201, 169, 110, 0.06) 0%, transparent 100%);
}

.home-mobile-nav__lang-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0;
    cursor: pointer;
    user-select: none;
}

.home-mobile-nav__lang-title {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #e0c98f;
}

.home-mobile-nav__lang-current {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.04em;
}

.home-mobile-nav__lang-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.home-mobile-nav__lang-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 52px;
    padding: 8px 6px;
    border-radius: 10px;
    border: 1px solid rgba(224, 201, 143, 0.28);
    background: rgba(15, 15, 26, 0.55);
    color: #fff;
    font-family: 'Inter', -apple-system, sans-serif;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.home-mobile-nav__lang-item:hover,
.home-mobile-nav__lang-item:focus-visible {
    border-color: rgba(224, 201, 143, 0.65);
    background: rgba(201, 169, 110, 0.14);
}

.home-mobile-nav__lang-item.active {
    color: #0f0f1a;
    border-color: transparent;
    background: linear-gradient(135deg, #e0c98f, #c9a96e);
    box-shadow: 0 6px 18px rgba(201, 169, 110, 0.35);
}

.home-mobile-nav__lang-flag {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #e0c98f;
}

.home-mobile-nav__lang-item.active .home-mobile-nav__lang-flag {
    color: #0f0f1a;
}

.home-mobile-nav__lang-name {
    font-size: 0.62rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    opacity: 0.92;
}

.home-mobile-nav__lang-status {
    margin: 8px 0 0;
    min-height: 1em;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.65rem;
    color: #e0c98f;
    text-align: center;
    display: none;
}

.home-mobile-nav__lang.is-expanded .home-mobile-nav__lang-grid {
    display: grid;
}

.home-mobile-nav__lang.is-expanded .home-mobile-nav__lang-status {
    display: block;
}

.home-mobile-nav__lang-current::after {
    content: '▾';
    display: inline-block;
    margin-left: 6px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.2s ease;
}

.home-mobile-nav__lang.is-expanded .home-mobile-nav__lang-current::after {
    transform: rotate(180deg);
}

.home-mobile-nav__foot {
    flex-shrink: 0;
    padding: 16px 16px calc(18px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(201, 169, 110, 0.2);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-mobile-nav__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-align: center;
}

.home-mobile-nav__btn--outline {
    color: #ffffff;
    border: 1.5px solid rgba(224, 201, 143, 0.55);
}

.home-mobile-nav__btn--gold {
    color: #0f0f1a;
    background: linear-gradient(135deg, #e0c98f, #c9a96e, #a8884d);
    box-shadow: 0 10px 28px rgba(201, 169, 110, 0.4);
}

@media (max-width: 768px) {
    .header {
        z-index: 20100 !important;
    }

    .header .hamburger {
        position: relative;
        z-index: 20101 !important;
    }

    .home-mobile-nav.is-open {
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

@media (min-width: 769px) {
    .home-mobile-nav {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}
