﻿html {
    font-size: 14px;
}
/* ================= MUSEUM BREADCRUMB ================= */

.museum-breadcrumb-wrapper {
    background: #fbf8f2;
    border-left: 5px solid #7b3f00;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

.museum-breadcrumb {
    margin: 0;
    background: none;
    font-size: .9rem;
}

    .museum-breadcrumb a {
        color: #7b3f00;
        text-decoration: none;
        font-weight: 500;
    }

        .museum-breadcrumb a:hover {
            text-decoration: underline;
        }

    .museum-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        content: "›";
        color: #a98b6c;
    }

    .museum-breadcrumb .active {
        color: #5a4632;
        font-weight: 600;
    }

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.logo-animate {
    transition: all 0.4s ease;
}

.province-material {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ff7043;
    color: white;
    font-weight: bold;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,.3);
    border: 2px solid white;
    margin-top: 18px; /*  sayıyı il adının altına indirir */
}

.navbar-brand:hover .logo-animate {
    transform: rotate(-5deg) scale(1.1);
}

.navbar-brand span {
    position: relative;
    transition: 0.4s;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

html {
    position: relative;
    min-height: 100%;
}

.museum-search-bar {
    background: linear-gradient(180deg,#f8f4ec,#efe6d6);
    padding: 18px 0 12px 0; /* Üstü azalttık */
    margin-top: -10px; /* Navbar boşluğunu biraz kır */
    border-bottom: 1px solid rgba(0,0,0,.05);
}

mark {
    background: #f7d774;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 600;
}

.search-input {
    border-radius: 40px;
    height: 56px;
    font-size: 1rem;
    border: 1px solid #d6c3a5;
    padding-left: 22px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 8px 20px rgba(122,92,46,0.08);
    transition: all .25s ease;
}

    .search-input:focus {
        border-color: #7a5c2e;
        box-shadow: 0 8px 25px rgba(122,92,46,0.18);
    }

.search-btn {
    background: linear-gradient(135deg,#7a5c2e,#a77b3b);
    color: #fff;
    border-radius: 40px;
    height: 56px;
    width: 56px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(122,92,46,0.2);
    transition: all .25s ease;
}

    .search-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(122,92,46,0.3);
    }

body {
    background-color: #ffffff;
    color: #2b2b2b;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ==============================
   MODERN YÖNETİM BLOĞU
   ============================== */

.management-modern {
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 14px;
    transition: all .25s ease;
}

    .management-modern:hover {
        background: rgba(122,28,31,0.06);
        transform: translateY(-2px);
    }

.management-box {
    line-height: 1.2;
}

.management-header {
    font-weight: 600;
    font-size: 14px;
    color: #2b2b2b;
}

.management-icon {
    color: #7a1c1f;
}

/* ROLE BADGE */
.role-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 10px;
    font-size: 11px;
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: .4px;
    color: white;
}

/* ADMIN */
.role-admin {
    background: linear-gradient(135deg, #8b0000, #c62828);
}

/* İL TEMSİLCİSİ */
.role-rep {
    background: linear-gradient(135deg, #0d47a1, #1976d2);
}

/* ALT TEMSİLCİ */
.role-province {
    background: linear-gradient(135deg, #424242, #757575);
}

/* MODERN LOGOUT */
.btn-logout-modern {
    background: linear-gradient(135deg, #7a1c1f, #a83236);
    color: white;
    border-radius: 30px;
    padding: 6px 18px;
    font-weight: 500;
    transition: all .25s ease;
}

    .btn-logout-modern:hover {
        background: linear-gradient(135deg, #5f1416, #7a1c1f);
        transform: translateY(-2px);
        color: white;
    }

.search-row {
    background: #f9f5ec;
    border-left: 5px solid #b08d57;
    padding: 14px 18px;
    margin-bottom: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; /* önemli */
    position: relative;
}

    .search-row:hover {
        background: #f1eadc;
    }

.search-main {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.search-type {
    font-weight: 600;
    color: #7a5c2e;
}

.search-title {
    font-weight: 600;
    color: #2f220f;
}

.search-meta {
    color: #6b5e4a;
    font-size: 0.9rem;
}

.search-rank {
    background: #e6c27a;
    color: #2f220f;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}
/* ==============================
   TÜRK MAARİF ARŞİVİ FOOTER
   ============================== */

/* ==============================
   BEYAZ MODERN FOOTER
   ============================== */

.tma-footer {
    background: #ffffff;
    margin-top: 80px;
    margin-top: 20px !important;
}

.footer-top {
    background: #ffffff;
}

.footer-logo {
    max-width: 60px;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 18px;
    font-size: 16px;
    color: #2b2b2b;
}

.footer-text {
    color: #555;
    line-height: 1.7;
    text-align: left !important;
}


.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        text-decoration: none;
        color: #7a1c1f; /* kırmızı link */
        font-weight: 500;
        transition: all .2s ease;
    }

        .footer-links a:hover {
            color: #a83236;
            padding-left: 4px;
        }

.footer-bottom {
    background: #f8f8f8;
    font-size: 14px;
    color: #777;
    border-top: 1px solid #eee;
}
/* ================= MODERN FOOTER LINKS ================= */

.modern-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

    .modern-links li {
        margin-bottom: 12px;
    }

    .modern-links a {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
        color: #7a1c1f; /* kırmızı */
        font-weight: 500;
        transition: all .25s ease;
        position: relative;
    }

/* ikon */
.link-icon {
    margin-right: 8px;
    font-size: 14px;
    transition: transform .25s ease;
}

/* hover animasyon */
.modern-links a:hover {
    color: #a83236;
    transform: translateX(6px);
}

    /* ikon hareket */
    .modern-links a:hover .link-icon {
        transform: translateX(4px);
    }

/* alt çizgi animasyonu */
.modern-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: #7a1c1f;
    transition: width .25s ease;
}

.modern-links a:hover::after {
    width: 100%;
}
/* ======================================
   MODERN NAVBAR MENU ANIMATION
   ====================================== */

.navbar-nav .nav-link {
    position: relative;
    padding: 8px 14px;
    transition: all 0.3s ease;
}

    /* Hover hafif yukarı */
    .navbar-nav .nav-link:hover {
        transform: translateY(-2px);
    }

    /* Alt çizgi animasyonu */
    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 14px;
        bottom: 4px;
        width: 0%;
        height: 2px;
        background: linear-gradient(90deg,#7a1c1f,#a83236);
        transition: width 0.3s ease;
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: calc(100% - 28px);
        transform: translateY(-2px);
    }

    /* Hover rengi */
    .navbar-nav .nav-link:hover {
        color: #7a1c1f;
    }
/* Scroll efekti */
.navbar {

    transition: all .3s ease;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.95);
}



.navbar-scrolled {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
/* CTA SECTION */
.tma-cta-section {
    position: relative;
    background: linear-gradient(135deg, #0d6efd, #0a3d91);
    overflow: hidden;
}

    .tma-cta-section h2 {
        animation: fadeUp 1s ease forwards;
    }

    .tma-cta-section p {
        opacity: 0.9;
    }

    .tma-cta-section .btn {
        transition: all 0.3s ease;
    }

        .tma-cta-section .btn:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }
/* ======================================
   MÜZE STİLİ CTA SECTION
   ====================================== */

.tma-cta-museum {
    background: #fdfaf4; /* krem ton */
    border-top: 1px solid #e6dcc8;
    border-bottom: 1px solid #e6dcc8;
    position: relative;
}

.museum-divider {
    width: 80px;
    height: 3px;
    margin: 0 auto;
    background: linear-gradient(90deg,#b08d57,#7a5c2e);
    border-radius: 10px;
}

.museum-title {
    font-weight: 600;
    color: #2f220f;
    letter-spacing: 0.5px;
}

.museum-subtitle {
    color: #6b5e4a;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.museum-btn {
    background: linear-gradient(135deg,#7a5c2e,#a77b3b);
    color: white;
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 500;
    transition: all .25s ease;
    box-shadow: 0 8px 20px rgba(122,92,46,0.2);
}

    .museum-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 28px rgba(122,92,46,0.3);
        color: white;
    }

/* Wave Effect */
.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 80px;
    background: url('/images/wave.svg');
    background-size: cover;
}

/* Fade animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================
   FOOTER AÇILIR BİLGİ ALANI
   ============================== */

.footer-info-box {
    background: #faf7f0;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #e6dcc8;
}

.footer-duties {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

    .footer-duties li {
        margin-bottom: 10px;
        position: relative;
        padding-left: 18px;
        color: #5a4a36;
    }

        .footer-duties li::before {
            content: "›";
            position: absolute;
            left: 0;
            color: #7a1c1f;
            font-weight: bold;
        }

.footer-toggle-btn {
    margin-top: 12px;
    background: none;
    border: none;
    color: #7a1c1f;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}

    .footer-toggle-btn:hover {
        color: #a83236;
        transform: translateX(4px);
    }

/* ==============================
   FOOTER ACCORDION – MÜZE OVAL
   ============================== */

.footer-accordion .accordion-item {
    border: none;
    margin-bottom: 12px;
    background: transparent;
}

.footer-accordion .accordion-button {
    border-radius: 40px !important;
    background: #f5efe4;
    color: #4b3a22;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 18px;
    box-shadow: 0 4px 10px rgba(122,92,46,0.08);
    transition: all .25s ease;
}

    .footer-accordion .accordion-button:hover {
        background: #efe6d6;
        transform: translateX(4px);
    }

    .footer-accordion .accordion-button:not(.collapsed) {
        background: linear-gradient(135deg,#7a5c2e,#a77b3b);
        color: white;
    }

.footer-accordion .accordion-body {
    background: #ffffff;
    border-radius: 16px;
    margin-top: 8px;
    padding: 14px 18px;
    font-size: 0.85rem;
    color: #6b5e4a;
    line-height: 1.6;
    box-shadow: 0 6px 18px rgba(122,92,46,0.08);
}

.footer-accordion .accordion-button:focus {
    box-shadow: none;
}
/* ======================================
   MÜZE NAVBAR
   ====================================== */

.navbar-museum {
    background: linear-gradient(180deg,#f8f4ec,#efe6d6);
    border-bottom: 1px solid #e5e5e5;
    transition: all .3s ease;
    padding-top: 90px;
    padding-bottom: 20px;
}

    /* Scroll olduğunda */
    .navbar-museum.navbar-scrolled {
        background: #f1eadc;
        box-shadow: 0 8px 20px rgba(122,92,46,0.12);
        padding-top: 6px;
        padding-bottom: 6px;
        top: 70px;
    }

    /* Logo yazısı */
    .navbar-museum .navbar-brand span {
        font-weight: 600;
        color: #4b3a22;
        letter-spacing: .4px;
    }

    /* Menü linkleri */
    .navbar-museum .nav-link {
        color: #1a1a1a !important; /* koyu siyah */
        font-weight: 700; /* bold */
        letter-spacing: 0.3px; /* premium spacing */
    }

        /* Hover efekti */
        .navbar-museum .nav-link:hover {
            color: #7a1c1f;
        }

        /* Alt çizgi */
        .navbar-museum .nav-link::after {
            content: "";
            position: absolute;
            left: 14px;
            bottom: 4px;
            width: 0%;
            height: 2px;
            background: linear-gradient(90deg,#7a5c2e,#a77b3b);
            transition: width .25s ease;
        }

        .navbar-museum .nav-link:hover::after,
        .navbar-museum .nav-link.active::after {
            width: calc(100% - 28px);
        }

    /* Yönetici Girişi Butonu */
    .navbar-museum .btn-dark {
        background: linear-gradient(135deg,#7a5c2e,#a77b3b);
        border: none;
        border-radius: 30px;
        padding: 6px 18px;
        font-weight: 500;
        transition: all .25s ease;
    }

        .navbar-museum .btn-dark:hover {
            background: linear-gradient(135deg,#5f4a2c,#7a5c2e);
            transform: translateY(-2px);
        }

    /* Logout butonu */
    .navbar-museum .btn-outline-dark {
        border-radius: 30px;
        border: 1px solid #7a5c2e;
        color: #7a5c2e;
    }

        .navbar-museum .btn-outline-dark:hover {
            background: #7a5c2e;
            color: white;
        }

    /* ======================================
   NAVBAR PILL BUTTON – MÜZE STİLİ
   ====================================== */

    .navbar-museum .navbar-nav .nav-link {
        border-radius: 40px;
        padding: 8px 18px;
        margin-right: 6px;
        font-weight: 500;
        background: transparent;
        transition: all .25s ease;
    }

        /* Hover */
        .navbar-museum .navbar-nav .nav-link:hover {
            background: #efe6d6;
            color: #7a1c1f;
            transform: translateY(-2px);
        }

        /* Aktif Sayfa */
        .navbar-museum .navbar-nav .nav-link.active {
            background: transparent;
            color: #7a1c1f !important;
            border-bottom: 2px solid #7a1c1f;
        }

            /* Aktif hover */
            .navbar-museum .navbar-nav .nav-link.active:hover {
                transform: translateY(-2px);
            }

        /* İkon rengi */
        .navbar-museum .navbar-nav .nav-link i {
            opacity: .85;
        }
.navbar-nav .nav-link i {
    font-size: 1.25rem;
    transition: all 0.25s ease;
}
/* Kurumlar */
.navbar-nav .nav-link:hover .bi-building {
    color: #3498db;
}

/* Materyaller */
.navbar-nav .nav-link:hover .bi-archive {
    color: #9b59b6;
}

/* Personel */
.navbar-nav .nav-link:hover .bi-people {
    color: #2ecc71;
}

/* Galeri */
.navbar-nav .nav-link:hover .bi-image {
    color: #f39c12;
}

/* Harita */
.navbar-nav .nav-link:hover .bi-map {
    color: #e74c3c;
}
/* sadece icon hover */
.navbar-nav .nav-link:hover i {
    color: #e74c3c; /* istediğin renk */
    transform: scale(1.3);
}
/* ==============================
   MOBİL NAVBAR COLLAPSE
   ============================== */

@media (max-width: 991px) {

    .navbar-museum .navbar-collapse {
        background: #f8f4ec;
        padding: 15px;
        border-radius: 16px;
        margin-top: 10px;
        box-shadow: 0 10px 25px rgba(122,92,46,0.15);
    }

    .navbar-museum .navbar-nav .nav-link {
        display: block;
        margin-bottom: 8px;
    }
}

.navbar-museum .navbar-toggler {
    border: none;
}
/* NAVBAR LOGO */
.navbar-brand img.navbar-logo {
    height: 90px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
    display: block;
}

/* Scroll olunca küçülür */
.navbar-museum.navbar-scrolled .navbar-logo {
    height: 70px !important;
    width: auto !important;
    max-width: none !important;
}
.navbar-museum {
    padding-top: 90px;
    padding-bottom: 30px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 20px !important;
    padding-bottom: 0 !important;
}


.navbar-museum .navbar-toggler-icon {
    filter: sepia(1) saturate(3) hue-rotate(10deg);
}
/* Hamburger icon görünür yap */
.navbar-museum .navbar-toggler {
    border: 1px solid #7a5c2e;
    border-radius: 8px;
    padding: 6px 10px;
}

/* ======================
   MUSEUM HAMBURGER MENU
   ====================== */

.navbar-museum .navbar-toggler {
    border: none;
    background: #efe6d6;
    border-radius: 10px;
    padding: 8px 10px;
    box-shadow: 0 4px 10px rgba(122,92,46,0.2);
}

.navbar-museum .navbar-toggler-icon {
    background-image: none;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg,#7a5c2e,#a77b3b);
    position: relative;
}

    .navbar-museum .navbar-toggler-icon::before,
    .navbar-museum .navbar-toggler-icon::after {
        content: "";
        position: absolute;
        left: 0;
        width: 24px;
        height: 2px;
        background: linear-gradient(90deg,#7a5c2e,#a77b3b);
    }

    .navbar-museum .navbar-toggler-icon::before {
        top: -7px;
    }

    .navbar-museum .navbar-toggler-icon::after {
        top: 7px;
    }

    .navbar-museum .navbar-toggler-icon::before,
    .navbar-museum .navbar-toggler-icon::after {
        content: "";
        position: absolute;
        left: 0;
        width: 24px;
        height: 2px;
        background-color: #7a5c2e;
    }

    .navbar-museum .navbar-toggler-icon::before {
        top: -7px;
    }

    .navbar-museum .navbar-toggler-icon::after {
        top: 7px;
    }
/* =============================
   TOP PARTNER LOGO BAR
   ============================= */

.top-logo-bar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(180deg,#f8f4ec,#efe6d6);
    border-bottom: 1px solid #e6dcc8;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    box-shadow: 0 6px 15px rgba(122,92,46,0.12);
    z-index: 3000;
    display: flex;
    align-items: center;
}
    .top-logo-bar .container {
        height: 100%;
        display: flex;
        align-items: center;
    }
    .top-logo-bar img {
        height: 48px;
        width: auto;
        max-width: none;
        opacity: 0.9;
        transition: all .25s ease;
    }

        .top-logo-bar img:hover {
            transform: translateY(-3px) scale(1.05);
            opacity: 1;
        }

/* NAVBAR aşağı kaydır */
.navbar {
    position: fixed;
    top: 70px;
    width: 100%;
    z-index: 2000;
}
.navbar-spacer {
    height: 200px;
}
.top-logo-bar a {
    margin-left: 18px;
}

    .top-logo-bar a:first-child {
        margin-left: 0;
    }

/* Kapak hover ışık efekti */
.cover-wrapper {
    position: relative;
    overflow: hidden;
}

    .cover-wrapper::after {
        content: "";
        position: absolute;
        top: -120%;
        left: -30%;
        width: 60%;
        height: 300%;
        background: linear-gradient( 120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.6) 50%, rgba(255,255,255,0) 100% );
        transform: rotate(25deg);
        transition: all .8s ease;
    }

    /* Hover olunca aşağı kayar */
    .cover-wrapper:hover::after {
        top: 120%;
    }

.btn-admin-login {
    background: linear-gradient(135deg,#7a5c2e,#a77b3b);
    color: white;
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all .25s ease;
}

    .btn-admin-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0,0,0,.15);
        color: white;
    }

/* =========================
   MOBILE NAVBAR CENTER LOGO
   ========================= */
/* ======================
   MOBILE NAVBAR FIX
   ====================== */

@media (max-width:991px) {

    .navbar .container {
        justify-content: flex-start;
    }

    .navbar-toggler {
        margin-left: 5px;
    }
}
@media (max-width:768px) {

    .top-logo-bar img {
        height: 34px;
    }

    .btn-admin-login {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* ======================
   MOBILE LOGO HIDE
   ====================== */

@media (max-width:991px) {

    .navbar-brand {
        display: none;
    }
}
.navbar .bi {
    font-size: 10px;
}
@media (max-width:575px) {

    /* container ortalama */
    .navbar .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* LOGO tekrar görünür + ortada */
    .navbar-brand {
        display: flex !important;
        justify-content: center;
        width: 100%;
        margin: 0 auto;
        padding-top: 10px !important;
    }

    /* TOGGLER altta ve ortada */
    .navbar-toggler {
        margin-top: 8px;
    }
}