@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* /Bilesenler/Genel/MainLayout.razor.rz.scp.css */
.page[b-ewhawskcav] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ewhawskcav] {
    flex: 1;
}

.sidebar[b-ewhawskcav] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-ewhawskcav] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ewhawskcav]  a, .top-row[b-ewhawskcav]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-ewhawskcav]  a:hover, .top-row[b-ewhawskcav]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-ewhawskcav]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-ewhawskcav] {
        justify-content: space-between;
    }

    .top-row[b-ewhawskcav]  a, .top-row[b-ewhawskcav]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ewhawskcav] {
        flex-direction: row;
    }

    .sidebar[b-ewhawskcav] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ewhawskcav] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-ewhawskcav]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ewhawskcav], article[b-ewhawskcav] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Bilesenler/Genel/NavigasyonCubugu.razor.rz.scp.css */
.ust-navigasyon[b-yxxicyiwyy] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 80px;
    padding-top: var(--nav-padding-y, 0px);
    padding-bottom: var(--nav-padding-y, 0px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    background: #1a1a2e;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* --- TEMA 1: INTEREZZA (Refined Dark/Transparent) --- */
.ust-navigasyon.interezza[b-yxxicyiwyy] {
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-family: 'Montserrat', sans-serif;
}

.ust-navigasyon.interezza .site-baslik[b-yxxicyiwyy] {
    font-weight: 300;
    letter-spacing: 5px;
}

.ust-navigasyon.interezza.scrolled[b-yxxicyiwyy] {
    background: #ffffff;
    color: #1a1a1a;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
    border-bottom: none;
    height: 80px;
}

.ust-navigasyon.interezza .nav-item[b-yxxicyiwyy] {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: auto;
}

.ust-navigasyon.interezza .nav-item:hover[b-yxxicyiwyy] { color: #ffffff; }
.ust-navigasyon.interezza.scrolled .nav-item:hover[b-yxxicyiwyy] { color: #d4af37; }
.ust-navigasyon.interezza .nav-item[b-yxxicyiwyy]::after { background: #d4af37; height: 1px; }

.ust-navigasyon.interezza .btn-panel[b-yxxicyiwyy] {
    background: transparent;
    border: 1px solid white;
    color: white !important;
    box-shadow: none;
    border-radius: 0;
    font-size: 0.7rem;
    letter-spacing: 2px;
    padding: 10px 25px;
}
.ust-navigasyon.interezza.scrolled .btn-panel[b-yxxicyiwyy] { border-color: #1a1a1a; color: #1a1a1a !important; }
.ust-navigasyon.interezza .btn-panel:hover[b-yxxicyiwyy] { background: #d4af37; border-color: #d4af37; color: white !important; }

/* Dropdown Menü Stilleri (Interezza) */
.ust-navigasyon.interezza.koyu-tema[b-yxxicyiwyy] {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #eee;
    color: #000000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.ust-navigasyon.interezza.koyu-tema .nav-item[b-yxxicyiwyy] { color: #000000; }
.ust-navigasyon.interezza.koyu-tema .site-baslik[b-yxxicyiwyy] { color: #000000; border-color: #000000; }
.ust-navigasyon.interezza.koyu-tema .koyu-logo[b-yxxicyiwyy] { filter: brightness(0); }
.ust-navigasyon.interezza.koyu-tema .btn-panel[b-yxxicyiwyy] { color: #000 !important; border-color: #000; }
.ust-navigasyon.interezza.koyu-tema .btn-panel:hover[b-yxxicyiwyy] { background: #000; color: #fff !important; }


/* --- TEMA 2: KLASİK (Heritage/Cream) --- */
.ust-navigasyon.klasik[b-yxxicyiwyy] {
    background: #fdfaf5; /* Krem rengi */
    color: #2c2c2c;
    border-bottom: 1px solid #e8e2d8;
    font-family: 'Libre Baskerville', serif;
}
.ust-navigasyon.klasik.scrolled[b-yxxicyiwyy] {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.ust-navigasyon.klasik .site-baslik[b-yxxicyiwyy] {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    color: #8b5a2b;
}
.ust-navigasyon.klasik .nav-item[b-yxxicyiwyy] {
    color: #5a5a5a;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: capitalize; /* Büyük harf değil */
}
.ust-navigasyon.klasik .nav-item:hover[b-yxxicyiwyy] { color: #8b5a2b; }
.ust-navigasyon.klasik .nav-item[b-yxxicyiwyy]::after { background: #8b5a2b; height: 2px; bottom: 5px; }
.ust-navigasyon.klasik .btn-panel[b-yxxicyiwyy] {
    background: #8b5a2b;
    color: white !important;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    box-shadow: none;
}
.ust-navigasyon.klasik .btn-panel:hover[b-yxxicyiwyy] { background: #6d4621; }


/* --- TEMA 3: MODERN (Clean White/Minimal) --- */
.ust-navigasyon.modern[b-yxxicyiwyy] {
    background: #ffffff;
    color: #111;
    border-bottom: 1px solid #f0f0f0;
    font-family: 'Inter', sans-serif; /* Modern sans-serif */
}
.ust-navigasyon.modern.scrolled[b-yxxicyiwyy] {
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.ust-navigasyon.modern .site-baslik[b-yxxicyiwyy] {
    font-weight: 800;
    letter-spacing: -1px;
    color: #000;
}
.ust-navigasyon.modern .nav-item[b-yxxicyiwyy] {
    color: #444;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: none;
}
.ust-navigasyon.modern .nav-item:hover[b-yxxicyiwyy] { color: #000; background: #f8f9fa; border-radius: 6px; }
.ust-navigasyon.modern .nav-item[b-yxxicyiwyy]::after { display: none; } /* Çizgi yok */
.ust-navigasyon.modern .btn-panel[b-yxxicyiwyy] {
    background: #111;
    color: white !important;
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.ust-navigasyon.modern .btn-panel:hover[b-yxxicyiwyy] { transform: translateY(-1px); box-shadow: 0 6px 15px rgba(0,0,0,0.15); }


/* --- TEMA 4: KURUMSAL (Corporate Blue/Grey) --- */
.ust-navigasyon.kurumsal[b-yxxicyiwyy] {
    background: #f8f9fa;
    color: #343a40;
    border-bottom: 3px solid #0d6efd; /* Mavi alt çizgi */
    font-family: system-ui, -apple-system, sans-serif;
}
.ust-navigasyon.kurumsal.scrolled[b-yxxicyiwyy] {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.ust-navigasyon.kurumsal .site-baslik[b-yxxicyiwyy] {
    color: #0d6efd;
    font-weight: 700;
    letter-spacing: 0;
}
.ust-navigasyon.kurumsal .nav-item[b-yxxicyiwyy] {
    color: #495057;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}
.ust-navigasyon.kurumsal .nav-item:hover[b-yxxicyiwyy] { color: #0d6efd; }
.ust-navigasyon.kurumsal .nav-item[b-yxxicyiwyy]::after { background: #0d6efd; height: 3px; border-radius: 3px; }
.ust-navigasyon.kurumsal .btn-panel[b-yxxicyiwyy] {
    background: #0d6efd;
    color: white !important;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.ust-navigasyon.kurumsal .btn-panel:hover[b-yxxicyiwyy] { background: #0b5ed7; }


/* --- ORTAK LAYOUT & DROPDOWN --- */
.nav-konteyner[b-yxxicyiwyy] {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-alani[b-yxxicyiwyy] { flex: 0 0 auto; min-width: 0; }
.logo-link[b-yxxicyiwyy] { display: flex; align-items: center; }
.ana-menu[b-yxxicyiwyy] { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.site-baslik[b-yxxicyiwyy] { font-size: 1.5rem; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; }
.site-logo[b-yxxicyiwyy] { height: var(--logo-height, 40px); width: auto; max-width: 260px; object-fit: contain; }

.nav-list[b-yxxicyiwyy] {
    display: flex;
    gap: var(--nav-gap, 3rem);
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list > li[b-yxxicyiwyy] { display: flex; align-items: center; padding: 0; margin: 0; }

.nav-item-dropdown-parent[b-yxxicyiwyy] { position: relative; padding: 0; }

.nav-item[b-yxxicyiwyy] {
    position: relative;
    padding: 10px 0;
    line-height: 1;
    opacity: 0.9;
    transition: var(--gecis-hizli);
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.nav-item[b-yxxicyiwyy]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: var(--gecis-hizli);
}
.nav-item:hover[b-yxxicyiwyy]::after { width: 100%; }

.ek-aksiyonlar[b-yxxicyiwyy] { display: flex; align-items: center; gap: 15px; }

@media (max-width: 1200px) {
    .site-logo[b-yxxicyiwyy] { max-width: 220px; }
    .nav-list[b-yxxicyiwyy] { gap: 1.75rem; }
    .nav-item[b-yxxicyiwyy] { font-size: 0.8rem; }
}

.btn-giris[b-yxxicyiwyy] { opacity: 0.5; font-size: 1.2rem; text-decoration: none; }
.btn-giris:hover[b-yxxicyiwyy] { opacity: 1; }

/* --- DROPDOWN MENU (Global) --- */
.dropdown-menu[b-yxxicyiwyy] {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 0;
    list-style: none;
    display: block; 
    z-index: 1050;
}

/* Masaüstü Hover */
@media (min-width: 992px) {
    .nav-item-dropdown-parent:hover .dropdown-menu[b-yxxicyiwyy] {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-item[b-yxxicyiwyy] {
    display: block;
    padding: 12px 25px;
    color: #666;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: 0.3s;
    text-transform: uppercase;
    border-bottom: 1px solid #f5f5f5;
}
.dropdown-item:last-child[b-yxxicyiwyy] { border-bottom: none; }
.dropdown-item:hover[b-yxxicyiwyy] { background: #fcfcfc; color: #d4af37; padding-left: 30px; }


/* --- RESPONSIVE / MOBILE MENU FIX --- */
.mobil-menu-btn[b-yxxicyiwyy] {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    color: inherit;
    z-index: 1002;
}

@media (max-width: 991px) {
    .mobil-menu-btn[b-yxxicyiwyy] { display: block; }

    /* Ana Menü Konteynerı */
    .ana-menu[b-yxxicyiwyy] {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #ffffff;
        
        /* FLEX-DIRECTION: COLUMN - Kritik Düzeltme */
        flex-direction: column;
        display: flex; /* Varsayılan olarak flex ama gizli olabilir */
        
        align-items: center;
        justify-content: flex-start;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        padding: 2rem 1rem;
        overflow-y: auto;
        border-top: 1px solid #eee;
        
        /* Gizleme */
        visibility: hidden; 
        opacity: 0;
    }

    /* Açık Durum */
    .ana-menu.acik[b-yxxicyiwyy] {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }

    /* Tema Bazlı Arka Planlar Mobilde */
    .ust-navigasyon.interezza .ana-menu[b-yxxicyiwyy] { background-color: #ffffff; color: #1a1a1a; }
    .ust-navigasyon.klasik .ana-menu[b-yxxicyiwyy] { background-color: #fdfaf5; color: #2c2c2c; }
    .ust-navigasyon.modern .ana-menu[b-yxxicyiwyy] { background-color: #ffffff; color: #111; }
    .ust-navigasyon.kurumsal .ana-menu[b-yxxicyiwyy] { background-color: #f8f9fa; color: #343a40; }

    /* Liste Yapısı */
    .nav-list[b-yxxicyiwyy] {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        width: 100%;
        white-space: normal;
    }

    .nav-list > li[b-yxxicyiwyy] {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-item-dropdown-parent[b-yxxicyiwyy] { width: 100%; }

    .nav-item[b-yxxicyiwyy] {
        font-size: 1.1rem;
        justify-content: center;
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }
    
    /* Mobil Dropdown Düzeltme */
    .dropdown-menu[b-yxxicyiwyy] {
        position: static; /* Absolute değil static olmalı ki yer kaplasın */
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.03); /* Hafif gri arka plan */
        padding: 0;
        display: none;
        width: 100%;
        text-align: center;
        margin-top: 5px;
    }
    
    .dropdown-menu.show[b-yxxicyiwyy] {
        display: block;
        visibility: visible;
        opacity: 1;
    }
    
    .dropdown-item[b-yxxicyiwyy] {
        color: inherit;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: 15px;
        opacity: 0.9;
    }
    
    .dropdown-item:hover[b-yxxicyiwyy] {
        padding-left: 15px; /* Kayma efektini mobilde kapat */
        background: rgba(0,0,0,0.05);
    }
}
/* /Bilesenler/Genel/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-tw43pi65l0] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-tw43pi65l0] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-tw43pi65l0] {
    font-size: 1.1rem;
}

.bi[b-tw43pi65l0] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-tw43pi65l0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-tw43pi65l0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-tw43pi65l0] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-tw43pi65l0] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-tw43pi65l0] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-tw43pi65l0] {
        padding-bottom: 1rem;
    }

    .nav-item[b-tw43pi65l0]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-tw43pi65l0]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-tw43pi65l0]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-tw43pi65l0] {
        display: none;
    }

    .collapse[b-tw43pi65l0] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-tw43pi65l0] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
