/* ==========================================================================
   By Kadir — Lüks Mobil Drawer Menü Bileşeni (Obsidian Luxury Edition)
   ========================================================================== */

/* ─── Drawer Karartma & Blur Katmanı (Backdrop) ─── */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 80% 50%, rgba(180, 1, 15, 0.12) 0%, rgba(10, 11, 13, 0.78) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: var(--z-drawer-backdrop, 1040);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1), visibility 300ms;
}

.drawer-backdrop.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ─── Ana Drawer Gövdesi ─── */
.site-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(380px, 88vw);
    height: 100dvh;
    background: linear-gradient(180deg, #16181B 0%, #101112 60%, #0B0C0D 100%);
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.6), inset 1px 0 0 rgba(255, 255, 255, 0.08);
    border-radius: 24px 0 0 24px;
    z-index: var(--z-drawer, 1050);
    display: flex;
    flex-direction: column;
    transform: translate3d(105%, 0, 0);
    transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 350ms;
    visibility: hidden;
    pointer-events: none;
    font-family: var(--font-body, 'Poppins', sans-serif);
    color: #FFFFFF;
    overflow: hidden;
    contain: layout paint;
}

.site-drawer.is-active {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
}

/* ─── Drawer Üst Başlık & Logolar ─── */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(22, 24, 27, 0.8);
    backdrop-filter: blur(12px);
    flex-shrink: 0;
}

.drawer-brand {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.drawer-brand-unit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.drawer-logo-bykadir {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.drawer-brand-divider {
    display: inline-block;
    width: 1px;
    height: 18px;
    background-color: rgba(255, 255, 255, 0.2);
}

.drawer-kw-partner-unit {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.drawer-logo-kw {
    height: 20px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

.drawer-kw-partner-badge {
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #FFFFFF;
    line-height: 1;
    white-space: nowrap;
}

.drawer-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-close-btn:hover {
    background: #B4010F;
    border-color: #B4010F;
    color: #FFFFFF;
    transform: rotate(90deg);
    box-shadow: 0 4px 14px rgba(180, 1, 15, 0.4);
}

.drawer-close-btn:active {
    transform: rotate(90deg) scale(0.92);
}

/* ─── Marka Rozet Şeridi ─── */
.drawer-tagline-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px;
    background: rgba(180, 1, 15, 0.12);
    border-bottom: 1px solid rgba(180, 1, 15, 0.2);
    flex-shrink: 0;
}

.drawer-tagline-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #B4010F;
    box-shadow: 0 0 8px #B4010F;
    animation: drawerDotPulse 2s infinite ease-in-out;
}

.drawer-tagline-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.88);
}

@keyframes drawerDotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

/* ─── Drawer Gövde (Scrollable) ─── */
.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 16px 20px;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.drawer-body::-webkit-scrollbar {
    width: 4px;
}

.drawer-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

/* ─── Navigasyon Listesi ─── */
.drawer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.drawer-nav-item {
    position: relative;
}

.drawer-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #E2E8F0;
    text-decoration: none;
    transition: all 180ms ease;
}

.drawer-nav-label-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.drawer-nav-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 180ms ease;
}

.drawer-nav-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.drawer-nav-chevron {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    transition: transform 180ms ease, color 180ms ease;
}

.drawer-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    transform: translateX(3px);
}

.drawer-nav-link:hover .drawer-nav-icon-box {
    background: #B4010F;
    border-color: #B4010F;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(180, 1, 15, 0.4);
}

.drawer-nav-link:hover .drawer-nav-chevron {
    color: #FFFFFF;
    transform: translateX(2px);
}

.drawer-nav-link.active {
    background: linear-gradient(135deg, rgba(180, 1, 15, 0.28) 0%, rgba(180, 1, 15, 0.1) 100%);
    border-color: rgba(180, 1, 15, 0.55);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(180, 1, 15, 0.2);
}

.drawer-nav-link.active .drawer-nav-icon-box {
    background: #B4010F;
    border-color: #B4010F;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(180, 1, 15, 0.5);
}

/* ─── Akordeon Alt Menü Butonu ─── */
.drawer-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #E2E8F0;
    cursor: pointer;
    text-align: left;
    transition: all 180ms ease;
}

.drawer-accordion-arrow {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 200ms ease;
}

.drawer-accordion-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

.drawer-accordion-btn:hover .drawer-nav-icon-box {
    background: #B4010F;
    border-color: #B4010F;
    color: #FFFFFF;
}

.drawer-accordion-btn:hover .drawer-accordion-arrow {
    color: #FFFFFF;
}

.drawer-accordion-btn.active,
.drawer-nav-group.has-active-child .drawer-accordion-btn {
    border-color: rgba(180, 1, 15, 0.4);
    background: rgba(180, 1, 15, 0.12);
}

.drawer-accordion-btn.is-expanded .drawer-accordion-arrow,
.drawer-accordion-btn[aria-expanded="true"] .drawer-accordion-arrow {
    transform: rotate(180deg);
    color: #FF6B75;
    background: rgba(180, 1, 15, 0.22);
}

/* ─── Açılır Alt Menü (Subnav) ─── */
.drawer-subnav {
    display: none;
    padding: 6px 0 6px 14px;
    margin: 4px 0 6px 16px;
    border-left: 2px solid rgba(180, 1, 15, 0.35);
    flex-direction: column;
    gap: 4px;
}

.drawer-subnav.is-open {
    display: flex;
    animation: drawerSubnavSlide 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes drawerSubnavSlide {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.drawer-subnav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    border-radius: 8px;
    transition: all 150ms ease;
}

.drawer-subnav-link .subnav-icon {
    font-size: 14px;
    color: #B4010F;
}

.drawer-subnav-link:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(3px);
}

.drawer-subnav-link.active {
    color: #FFFFFF;
    background: rgba(180, 1, 15, 0.25);
    font-weight: 600;
}

/* ─── Hızlı Ücretsiz Değerleme Kartı ─── */
.drawer-promo-card {
    background: linear-gradient(145deg, rgba(180, 1, 15, 0.22) 0%, rgba(26, 28, 32, 0.95) 100%);
    border: 1px solid rgba(180, 1, 15, 0.35);
    border-radius: 16px;
    padding: 16px;
    margin-top: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.drawer-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #FF5E6C;
    background: rgba(180, 1, 15, 0.25);
    padding: 3px 8px;
    border-radius: 9999px;
    margin-bottom: 8px;
}

.drawer-promo-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.drawer-promo-desc {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
    margin: 0 0 12px 0;
}

.drawer-promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #B4010F 0%, #8A000A 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF !important;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(180, 1, 15, 0.4);
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.drawer-promo-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(180, 1, 15, 0.55);
    background: linear-gradient(135deg, #C80212 0%, #9C000C 100%);
}

.drawer-promo-btn:active {
    transform: translateY(0);
}

/* ─── Drawer Alt Bar (Footer) ─── */
.drawer-footer {
    padding: 16px 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(14, 15, 17, 0.95);
    backdrop-filter: blur(12px);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 180ms ease;
}

.drawer-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF !important;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.drawer-btn-whatsapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

.drawer-btn-phone {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF !important;
}

.drawer-btn-phone:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #FFFFFF;
}

/* ─── Sosyal Medya İkonları ─── */
.drawer-social-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-social-label {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.drawer-social-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.drawer-social-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    text-decoration: none;
    transition: all 150ms ease;
}

.drawer-social-btn:hover {
    background: #B4010F;
    border-color: #B4010F;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(180, 1, 15, 0.4);
}

.drawer-legal-footnote {
    text-align: center;
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.2px;
}