        :root {
            --brand-primary: #0b2545;       /* Koyu Kurumsal Lacivert */
            --brand-secondary: #0284c7;     /* Canlı Turkuaz Mavi */
            --brand-accent: #d97706;        /* Tarihi Toprakkale Kehribar/Altın */
            --brand-accent-light: #fef3c7;  /* Açık Kehribar Zemin */
            --brand-surface: #f8fafc;       /* Ferah Arka Plan */
            --brand-card: #ffffff;          /* Kart Beyazı */
            --brand-border: #e2e8f0;        /* Zarif Çerçeve */
            --brand-text-dark: #0f172a;     /* Başlık Rengi */
            --brand-text-muted: #64748b;    /* Açıklama Grisi */
            --brand-success: #10b981;       /* Durum Yeşili */
            --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        /* Yüksek Kontrast Modu */
        body.high-contrast {
            --brand-primary: #000000;
            --brand-secondary: #0044ff;
            --brand-surface: #ffffff;
            --brand-card: #ffffff;
            --brand-border: #000000;
            --brand-text-dark: #000000;
            --brand-text-muted: #111111;
            filter: contrast(115%);
        }

        /* Yazı Boyutu Ayarları */
        body.font-large { font-size: 1.15rem; }
        body.font-xlarge { font-size: 1.25rem; }

        * {
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }

        html {
            width: 100%;
            max-width: 100%;
            overflow-x: clip;
        }

        body {
            font-family: var(--font-main);
            background-color: var(--brand-surface);
            color: var(--brand-text-dark);
            line-height: 1.6;
            width: 100%;
            max-width: 100%;
            overflow-x: clip;
            padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
        }

        main,
        section,
        footer,
        .hero-section {
            max-width: 100vw;
            overflow-x: hidden;
        }

        @media (min-width: 992px) {
            body { padding-bottom: 0; }
        }

        @media (min-width: 1400px) {
            .container-xl {
                max-width: 1420px;
            }
        }

        /* ----------------------------------------------------
           0. KURUMSAL PRELOADER (YÜKLENİYOR EKRANI) & SCROLL EFEKTLERİ
        ---------------------------------------------------- */
        #portalPreloader {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100vw !important;
            max-width: 100% !important;
            height: 100vh;
            height: 100dvh !important;
            margin: 0 !important;
            padding: 1.5rem !important;
            background: radial-gradient(circle at center, #0e2f56 0%, #07192f 100%);
            z-index: 999999 !important;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            transform: translate3d(0, 0, 0);
            -webkit-transform: translate3d(0, 0, 0);
            transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.55s ease;
        }

        #portalPreloader.preloader-hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        .preloader-ring-box {
            position: relative;
            width: 118px;
            height: 118px;
            margin: 0 auto 1.2rem auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .preloader-ring {
            position: absolute;
            inset: 0;
            border-radius: 50%;
            border: 3.5px solid rgba(255, 255, 255, 0.12);
            border-top-color: #f59e0b;
            border-right-color: #38bdf8;
            animation: spinPreloader 1.1s linear infinite;
        }

        .preloader-logo {
            width: 82px;
            height: 82px;
            border-radius: 50%;
            object-fit: contain;
            display: block;
            margin: 0 auto;
            animation: pulseLogo 1.6s ease-in-out infinite;
        }

        .preloader-progress {
            width: 180px;
            height: 4px;
            background: rgba(255, 255, 255, 0.12);
            border-radius: 999px;
            overflow: hidden;
            margin: 0.65rem auto 0 auto;
        }

        .preloader-progress-bar {
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, #38bdf8, #f59e0b);
            animation: preloadSlide 1s ease-in-out infinite;
            transform-origin: left;
        }

        @keyframes spinPreloader {
            to { transform: rotate(360deg); }
        }

        @keyframes pulseLogo {
            0%, 100% { transform: scale(0.96); }
            50% { transform: scale(1.05); }
        }

        @keyframes preloadSlide {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        /* SCROLL REVEAL (AŞAĞI KAYDIRDIKÇA SLAYT GİBİ AÇILAN BÖLÜMLER) */
        .reveal-item {
            opacity: 0;
            transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: opacity, transform;
        }

        .reveal-up { transform: translateY(45px); }
        .reveal-left { transform: translateX(-55px); }
        .reveal-right { transform: translateX(55px); }
        .reveal-zoom { transform: scale(0.94); }

        @media (max-width: 991.98px) {
            .reveal-left,
            .reveal-right {
                transform: translateY(32px);
            }
        }

        .reveal-item.revealed {
            opacity: 1;
            transform: translate(0, 0) scale(1);
        }

        /* Hero Slider Ken Burns & Caption Animasyonu */
        .hero-slider-card .carousel-item img {
            transition: transform 6.5s ease-out;
            transform: scale(1.02);
        }
        .hero-slider-card .carousel-item.active img {
            transform: scale(1.09);
        }
        .hero-slider-card .carousel-item .hero-caption-content {
            opacity: 0;
            transform: translateY(25px);
            transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
        }
        .hero-slider-card .carousel-item.active .hero-caption-content {
            opacity: 1;
            transform: translateY(0);
        }

        /* ----------------------------------------------------
           1. AMBIENT CIVIC TOP BAR (Canlı Kent Şeridi)
        ---------------------------------------------------- */
        .civic-topbar {
            background: #07192f;
            color: #cbd5e1;
            font-size: 0.8125rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            position: relative;
            z-index: 1040;
        }

        .civic-topbar a {
            color: #e2e8f0;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .civic-topbar a:hover {
            color: #38bdf8;
        }

        .live-badge-item {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: rgba(255, 255, 255, 0.07);
            padding: 0.25rem 0.65rem;
            border-radius: 9999px;
            font-size: 0.775rem;
            white-space: nowrap;
        }

        .live-pulse {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background-color: #22c55e;
            box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
            animation: pulse-green 1.8s infinite;
        }

        @keyframes pulse-green {
            0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
            70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
            100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
        }

        /* ----------------------------------------------------
           2. ANA NAVBAR (Kurumsal Header)
        ---------------------------------------------------- */
        .header-main {
            background: #ffffff;
            border-bottom: 1px solid rgba(15, 23, 42, 0.16);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.95),
                inset 0 -2px 0 rgba(15, 23, 42, 0.07),
                0 3px 6px rgba(7, 25, 47, 0.22),
                0 10px 22px -2px rgba(7, 25, 47, 0.30),
                0 18px 36px -6px rgba(7, 25, 47, 0.20);
            z-index: 1035;
            transition: all 0.3s ease;
        }

        .navbar-brand-wrapper {
            display: flex;
            align-items: center;
            gap: 0.85rem;
            text-decoration: none;
        }

        .navbar-brand-logo {
            height: 52px;
            width: auto;
            max-width: 240px;
            object-fit: contain;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
        }

        @media (max-width: 575.98px) {
            .navbar-brand-logo {
                height: 42px;
                max-width: 175px;
            }
        }

        .main-nav .nav-link {
            font-weight: 600;
            font-size: 0.925rem;
            color: #334155;
            padding: 0.75rem 0.9rem !important;
            border-radius: 8px;
            transition: all 0.2s ease;
            position: relative;
        }

        .main-nav .nav-link:hover,
        .main-nav .nav-link.active {
            color: var(--brand-secondary);
            background: rgba(2, 132, 199, 0.06);
        }

        .dropdown-menu-custom {
            border: 1px solid var(--brand-border);
            border-radius: 14px;
            box-shadow: 0 16px 40px rgba(11, 37, 69, 0.12);
            padding: 0.6rem;
            margin-top: 0.5rem;
            animation: fadeInDown 0.25s ease;
        }

        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .dropdown-menu-custom .dropdown-item {
            border-radius: 8px;
            padding: 0.55rem 0.85rem;
            font-weight: 500;
            font-size: 0.875rem;
            color: #334155;
            display: flex;
            align-items: center;
            gap: 0.65rem;
            transition: all 0.15s ease;
        }

        .dropdown-menu-custom .dropdown-item i {
            color: var(--brand-secondary);
            font-size: 1.05rem;
        }

        .dropdown-menu-custom .dropdown-item:hover {
            background-color: rgba(2, 132, 199, 0.08);
            color: var(--brand-secondary);
            transform: translateX(3px);
        }

        .btn-portal-ebelediye {
            background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
            color: #ffffff;
            font-weight: 700;
            font-size: 0.875rem;
            padding: 0.55rem 1.25rem;
            border-radius: 9999px;
            border: none;
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
            transition: all 0.25s ease;
            text-decoration: none;
        }

        .btn-portal-ebelediye:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
            color: #ffffff;
        }

        /* ----------------------------------------------------
           3. HERO VITRIN & GÜNCEL KENT BÖLÜMÜ
        ---------------------------------------------------- */
        .hero-section {
            padding: 1.75rem 0 2rem;
            background: linear-gradient(180deg, #f1f5f9 0%, var(--brand-surface) 100%);
        }

        .hero-slider-card {
            border-radius: 20px;
            overflow: hidden;
            background: #000;
            position: relative;
            box-shadow: 0 12px 36px -8px rgba(11, 37, 69, 0.18);
        }

        .hero-slider-card .carousel-item {
            height: calc(100vh - 172px);
            height: calc(100dvh - 172px);
            min-height: 480px;
            max-height: 820px;
            position: relative;
        }

        @media (max-width: 991.98px) {
            .hero-slider-card .carousel-item {
                height: 440px;
                min-height: 360px;
            }
        }

        @media (max-width: 768px) {
            .hero-slider-card .carousel-item {
                height: 360px;
                min-height: 300px;
            }
        }

        .hero-slider-card img,
        .hero-slider-card video.hero-bg-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0.82);
            display: block;
        }

        .hero-caption-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 2rem 2.25rem 1.75rem;
            background: linear-gradient(0deg, rgba(7, 25, 47, 0.95) 0%, rgba(7, 25, 47, 0.6) 65%, transparent 100%);
            color: #ffffff;
        }

        @media (max-width: 768px) {
            .hero-caption-overlay {
                padding: 1.25rem 1.25rem 1rem;
            }
        }

        .hero-badge-tag {
            background: var(--brand-accent);
            color: #ffffff;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            display: inline-block;
            margin-bottom: 0.5rem;
            letter-spacing: 0.03em;
        }

        .hero-title {
            font-size: 1.65rem;
            font-weight: 800;
            line-height: 1.25;
            margin-bottom: 0.4rem;
            text-shadow: 0 2px 6px rgba(0,0,0,0.4);
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 1.2rem;
            }
        }

        /* Sol Taraf: Hızlı Bilgi Paneli */
        .quick-feed-panel {
            background: #ffffff;
            border-radius: 20px;
            border: 1px solid var(--brand-border);
            padding: 1.25rem;
            box-shadow: 0 10px 30px -5px rgba(11, 37, 69, 0.07);
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .feed-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-bottom: 0.75rem;
            margin-bottom: 0.75rem;
            border-bottom: 1px solid #f1f5f9;
        }

        .feed-title {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--brand-primary);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 0.45rem;
        }

        .feed-card-item {
            background: var(--brand-surface);
            border: 1px solid #edf2f7;
            border-radius: 12px;
            padding: 0.85rem;
            margin-bottom: 0.65rem;
            transition: all 0.2s ease;
            position: relative;
        }

        .feed-card-item:hover {
            background: #ffffff;
            border-color: var(--brand-secondary);
            box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1);
            transform: translateY(-2px);
        }

        /* ----------------------------------------------------
           4. MOBİL YATAY HIZLI İŞLEM ÇİPLERİ (Scrollable Bar)
        ---------------------------------------------------- */
        .mobile-quick-scroll {
            display: none;
            overflow-x: auto;
            white-space: nowrap;
            padding: 0.75rem 0.5rem;
            gap: 0.6rem;
            scrollbar-width: none;
            -ms-overflow-style: none;
            background: #ffffff;
            border-bottom: 1px solid var(--brand-border);
        }

        .mobile-quick-scroll::-webkit-scrollbar {
            display: none;
        }

        @media (max-width: 991px) {
            .mobile-quick-scroll {
                display: flex;
            }
        }

        .quick-scroll-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            background: var(--brand-surface);
            border: 1px solid var(--brand-border);
            padding: 0.5rem 0.9rem;
            border-radius: 9999px;
            font-size: 0.825rem;
            font-weight: 600;
            color: #334155;
            text-decoration: none;
            flex-shrink: 0;
            transition: all 0.2s ease;
        }

        .quick-scroll-chip:active,
        .quick-scroll-chip:hover {
            background: var(--brand-secondary);
            color: #ffffff;
            border-color: var(--brand-secondary);
        }

        .quick-scroll-chip i {
            font-size: 1rem;
            color: var(--brand-secondary);
        }

        .quick-scroll-chip:hover i {
            color: #ffffff;
        }

        /* ----------------------------------------------------
           5. HIZLI HİZMETLER & E-BELEDİYE (8'Lİ GRID)
        ---------------------------------------------------- */
        .section-header-wrap {
            margin-bottom: 1.75rem;
        }

        .section-subtitle-tag {
            font-size: 0.775rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--brand-secondary);
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            margin-bottom: 0.25rem;
        }

        .section-main-title {
            font-size: 1.65rem;
            font-weight: 800;
            color: var(--brand-primary);
            letter-spacing: -0.02em;
            margin: 0;
        }

        .service-action-card {
            background: #ffffff;
            border: 1px solid var(--brand-border);
            border-radius: 16px;
            padding: 1.35rem 1.15rem;
            text-decoration: none;
            color: var(--brand-text-dark);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            height: 100%;
            transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 16px -2px rgba(11, 37, 69, 0.04);
        }

        .service-action-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--brand-secondary), var(--brand-accent));
            opacity: 0;
            transition: opacity 0.25s ease;
        }

        .service-action-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 14px 28px -4px rgba(11, 37, 69, 0.1);
            border-color: rgba(2, 132, 199, 0.3);
            color: var(--brand-text-dark);
        }

        .service-action-card:hover::before {
            opacity: 1;
        }

        .service-icon-box {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.45rem;
            margin-bottom: 0.9rem;
            transition: all 0.25s ease;
        }

        .service-action-card:hover .service-icon-box {
            transform: scale(1.08);
        }

        .icon-blue { background: rgba(2, 132, 199, 0.1); color: #0284c7; }
        .icon-amber { background: rgba(217, 119, 6, 0.1); color: #d97706; }
        .icon-emerald { background: rgba(16, 185, 129, 0.1); color: #10b981; }
        .icon-indigo { background: rgba(99, 102, 241, 0.1); color: #6366f1; }
        .icon-rose { background: rgba(244, 63, 94, 0.1); color: #f43f5e; }
        .icon-purple { background: rgba(168, 85, 247, 0.1); color: #a855f7; }

        .service-card-title {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
            color: var(--brand-primary);
            line-height: 1.3;
        }

        .service-card-desc {
            font-size: 0.8125rem;
            color: var(--brand-text-muted);
            margin-bottom: 0;
            line-height: 1.4;
        }

        /* ----------------------------------------------------
           6. BAŞKAN KÖŞESİ (Modern & Prestijli)
        ---------------------------------------------------- */
        .mayor-banner-card {
            background: linear-gradient(135deg, #0b2545 0%, #07192f 100%);
            border-radius: 24px;
            color: #ffffff;
            position: relative;
            overflow: hidden;
            box-shadow: 0 16px 40px -8px rgba(11, 37, 69, 0.25);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .mayor-banner-card::after {
            content: '';
            position: absolute;
            right: -100px;
            bottom: -100px;
            width: 320px;
            height: 320px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, transparent 70%);
            pointer-events: none;
        }

        .mayor-photo-wrap {
            position: relative;
            max-width: 280px;
            margin: 0 auto;
        }

        .mayor-photo {
            width: 100%;
            height: auto;
            border-radius: 20px;
            box-shadow: 0 12px 28px rgba(0,0,0,0.35);
            border: 4px solid rgba(255, 255, 255, 0.15);
            object-fit: cover;
        }

        .mayor-quote-box {
            position: relative;
            z-index: 2;
        }

        .quote-icon {
            font-size: 2.2rem;
            color: var(--brand-accent);
            opacity: 0.75;
            line-height: 1;
            margin-bottom: 0.5rem;
        }

        .mayor-quote-text {
            font-size: 1.15rem;
            font-weight: 400;
            line-height: 1.6;
            color: #e2e8f0;
            font-style: italic;
            margin-bottom: 1.25rem;
        }

        @media (max-width: 768px) {
            .mayor-quote-text {
                font-size: 1rem;
            }
        }

        /* ----------------------------------------------------
           7. GÜNDEM, HABERLER & DUYURULAR MERKEZİ
        ---------------------------------------------------- */
        .nav-tabs-civic {
            border-bottom: 2px solid #e2e8f0;
            gap: 0.5rem;
            flex-wrap: nowrap;
            overflow-x: auto;
            max-width: 100%;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .nav-tabs-civic::-webkit-scrollbar {
            display: none;
        }

        .nav-tabs-civic .nav-link {
            border: none;
            background: transparent;
            font-weight: 700;
            font-size: 0.95rem;
            color: var(--brand-text-muted);
            padding: 0.65rem 1.2rem;
            border-radius: 9999px;
            white-space: nowrap;
            transition: all 0.2s ease;
        }

        @media (max-width: 575.98px) {
            .nav-tabs-civic .nav-link {
                font-size: 0.85rem;
                padding: 0.5rem 0.9rem;
            }
        }

        .nav-tabs-civic .nav-link:hover {
            color: var(--brand-primary);
            background: #f1f5f9;
        }

        .nav-tabs-civic .nav-link.active {
            color: #ffffff;
            background: var(--brand-primary);
        }

        .news-featured-card {
            background: #ffffff;
            border-radius: 18px;
            overflow: hidden;
            border: 1px solid var(--brand-border);
            height: 100%;
            box-shadow: 0 6px 20px -2px rgba(11, 37, 69, 0.06);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .news-featured-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 32px -4px rgba(11, 37, 69, 0.12);
        }

        .news-card-img-wrap {
            position: relative;
            height: 230px;
            overflow: hidden;
        }

        .news-card-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .news-featured-card:hover .news-card-img {
            transform: scale(1.05);
        }

        .news-card-body {
            padding: 1.4rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            justify-content: space-between;
        }

        .news-compact-item {
            background: #ffffff;
            border: 1px solid var(--brand-border);
            border-radius: 14px;
            padding: 1rem;
            margin-bottom: 0.85rem;
            display: flex;
            gap: 1rem;
            align-items: center;
            text-decoration: none;
            color: var(--brand-text-dark);
            transition: all 0.2s ease;
        }

        .news-compact-item:hover {
            border-color: var(--brand-secondary);
            transform: translateX(4px);
            box-shadow: 0 4px 14px rgba(2, 132, 199, 0.08);
            color: var(--brand-primary);
        }

        .news-compact-thumb {
            width: 85px;
            height: 85px;
            border-radius: 10px;
            object-fit: cover;
            flex-shrink: 0;
        }

        /* ----------------------------------------------------
           8. PROJELER VE YATIRIMLAR ("Gelişen Toprakkale")
        ---------------------------------------------------- */
        .project-card {
            background: #ffffff;
            border-radius: 18px;
            overflow: hidden;
            border: 1px solid var(--brand-border);
            box-shadow: 0 6px 20px -2px rgba(11, 37, 69, 0.05);
            transition: all 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 16px 36px -4px rgba(11, 37, 69, 0.12);
        }

        .project-img-box {
            position: relative;
            height: 200px;
            overflow: hidden;
        }

        .project-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .project-card:hover .project-img-box img {
            transform: scale(1.06);
        }

        .project-status-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: rgba(11, 37, 69, 0.85);
            backdrop-filter: blur(6px);
            color: #ffffff;
            font-size: 0.725rem;
            font-weight: 700;
            padding: 0.3rem 0.75rem;
            border-radius: 9999px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .project-body {
            padding: 1.25rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            justify-content: space-between;
        }

        /* ----------------------------------------------------
           9. RAKAMLARLA TOPRAKKALE & SAYAÇLAR
        ---------------------------------------------------- */
        .stats-section-dark {
            background: linear-gradient(135deg, #07192f 0%, #0b2545 100%);
            color: #ffffff;
            padding: 3.5rem 0;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            position: relative;
        }

        .stat-item-box {
            text-align: center;
            padding: 1rem;
            border-right: 1px solid rgba(255, 255, 255, 0.1);
        }

        @media (max-width: 768px) {
            .stat-item-box {
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                padding-bottom: 1.5rem;
            }
            .stat-item-box:last-child {
                border-bottom: none;
            }
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: #38bdf8;
            line-height: 1.1;
            margin-bottom: 0.35rem;
            letter-spacing: -0.02em;
        }

        .stat-label {
            font-size: 0.9rem;
            font-weight: 600;
            color: #cbd5e1;
            margin: 0;
        }

        /* ----------------------------------------------------
           10. İNTERAKTİF VATANDAŞ ANKETİ & ÇEK-GÖNDER
        ---------------------------------------------------- */
        .interactive-widget-card {
            background: #ffffff;
            border: 1px solid var(--brand-border);
            border-radius: 20px;
            padding: 1.75rem;
            box-shadow: 0 8px 24px -2px rgba(11, 37, 69, 0.06);
            height: 100%;
        }

        .cek-gonder-banner {
            background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
            color: #ffffff;
            border-radius: 20px;
            padding: 2rem;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(2, 132, 199, 0.25);
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .cek-gonder-banner::before {
            content: '';
            position: absolute;
            right: -40px;
            top: -40px;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.12);
        }

        /* ----------------------------------------------------
           11. ALT SAYFA KURUMSAL BANNER (BREADCRUMB HERO)
        ---------------------------------------------------- */
        .subpage-hero {
            background: linear-gradient(135deg, #0b2545 0%, #07192f 100%);
            color: #ffffff;
            padding: 2.75rem 0;
            position: relative;
            overflow: hidden;
            border-bottom: 3px solid var(--brand-secondary);
        }

        .subpage-hero::after {
            content: '';
            position: absolute;
            right: -80px;
            top: -80px;
            width: 280px;
            height: 280px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(2, 132, 199, 0.28) 0%, transparent 70%);
            pointer-events: none;
        }

        /* ----------------------------------------------------
           12. KURUMSAL ZENGİN FOOTER
        ---------------------------------------------------- */
        .footer-kurumsal {
            background: #07192f;
            color: #94a3b8;
            padding-top: 4rem;
            padding-bottom: 1.5rem;
            border-top: 3px solid var(--brand-secondary);
        }

        .footer-kurumsal h5,
        .footer-kurumsal h6 {
            color: #ffffff;
            font-weight: 700;
            letter-spacing: -0.01em;
            margin-bottom: 1.25rem;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 0.65rem;
        }

        .footer-links a {
            color: #cbd5e1;
            text-decoration: none;
            font-size: 0.875rem;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            transition: all 0.2s ease;
        }

        .footer-links a:hover {
            color: #38bdf8;
            transform: translateX(4px);
        }

        .footer-emergency-badge {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 0.85rem 1rem;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: #ffffff;
        }

        .footer-social-btn {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.08);
            color: #ffffff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .footer-social-btn:hover {
            background: var(--brand-secondary);
            color: #ffffff;
            transform: translateY(-2px);
        }

        /* ----------------------------------------------------
           13. MOBİL ALT DOCK
        ---------------------------------------------------- */
        .mobile-bottom-bar {
            position: fixed !important;
            bottom: 0 !important;
            left: 0 !important;
            right: 0 !important;
            width: 100% !important;
            max-width: 100vw !important;
            height: calc(64px + env(safe-area-inset-bottom, 0px));
            padding-bottom: env(safe-area-inset-bottom, 0px);
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-top: 1px solid var(--brand-border);
            display: flex;
            align-items: center;
            justify-content: space-around;
            z-index: 1045 !important;
            box-shadow: 0 -4px 20px rgba(11, 37, 69, 0.12);
            transform: translate3d(0, 0, 0);
            -webkit-transform: translate3d(0, 0, 0);
        }

        @media (min-width: 992px) {
            .mobile-bottom-bar {
                display: none !important;
            }
        }

        .mobile-dock-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #64748b;
            text-decoration: none;
            font-size: 0.7rem;
            font-weight: 600;
            padding: 0.25rem 0.5rem;
            border-radius: 8px;
            transition: all 0.15s ease;
            position: relative;
        }

        .mobile-dock-btn i {
            font-size: 1.3rem;
            margin-bottom: 1px;
            line-height: 1;
        }

        .mobile-dock-btn.active,
        .mobile-dock-btn:hover {
            color: var(--brand-secondary);
        }

        .mobile-dock-cta {
            background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
            color: #ffffff !important;
            width: 46px;
            height: 46px;
            border-radius: 50%;
            margin-top: -18px;
            box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
            border: 3px solid #ffffff;
        }

        .mobile-dock-cta i {
            font-size: 1.35rem;
            margin-bottom: 0;
        }

        /* ----------------------------------------------------
           14. YARDIMCI SINIFLAR
        ---------------------------------------------------- */
        .offcanvas-custom { border-radius: 0 20px 20px 0; }
        .badge-ihale { background-color: #fef3c7; color: #92400e; font-weight: 700; font-size: 0.725rem; padding: 0.25rem 0.6rem; border-radius: 6px; }
        .badge-duyuru { background-color: #e0f2fe; color: #0369a1; font-weight: 700; font-size: 0.725rem; padding: 0.25rem 0.6rem; border-radius: 6px; }
        .badge-vefat { background-color: #f1f5f9; color: #475569; font-weight: 700; font-size: 0.725rem; padding: 0.25rem 0.6rem; border-radius: 6px; }

        .py-0\.5 { padding-top: 0.125rem !important; padding-bottom: 0.125rem !important; }
        .py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
        .py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
        .px-1\.5 { padding-left: 0.375rem !important; padding-right: 0.375rem !important; }
        .px-2\.5 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
        .p-2\.5 { padding: 0.625rem !important; }
        .mb-2\.5 { margin-bottom: 0.625rem !important; }
        .gap-1\.5 { gap: 0.375rem !important; }
        .fw-extrabold { font-weight: 800 !important; }
        .text-slate-400 { color: #94a3b8 !important; }
        .leading-relaxed { line-height: 1.65 !important; }
        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        @media (min-width: 768px) {
            .stat-row > div:nth-child(4n) .stat-item-box,
            .stat-row > div:last-child .stat-item-box {
                border-right: none;
            }
        }

        /* ====================================================
           2026-10-23 — ANA SAYFA DÜZENİ
           Manşet vitrini küçültülüp Başkan kartı yanına alındı;
           Günün Kent Özeti, Gündem & Haber Merkezi'ne taşındı.
        ==================================================== */

        /* --- Yan yana düzende manşet vitrini (tam ekran yükseklik yerine sabit) --- */
        .hero-slider-split .carousel-item {
            height: 300px;
            min-height: 300px;
            max-height: 300px;
        }

        @media (min-width: 768px) {
            .hero-slider-split .carousel-item {
                height: 380px;
                min-height: 380px;
                max-height: 380px;
            }
        }

        /* lg ve üzeri: Başkan kartıyla aynı yükseklikte dursun */
        @media (min-width: 992px) {
            .hero-slider-split .carousel-item {
                height: 452px;
                min-height: 452px;
                max-height: 452px;
            }
        }

        @media (min-width: 1200px) {
            .hero-slider-split .carousel-item {
                height: 488px;
                min-height: 488px;
                max-height: 488px;
            }
        }

        /* Daralan vitrinde yazı alanı ve başlık ölçüsü */
        .hero-slider-split .hero-caption-content {
            max-width: 560px;
        }

        .hero-slider-split .hero-caption-overlay {
            padding: 1.5rem 1.5rem 1.25rem;
        }

        .hero-slider-split .hero-title {
            font-size: 1.35rem;
        }

        @media (max-width: 768px) {
            .hero-slider-split .hero-title {
                font-size: 1.1rem;
            }
        }

        /* --- Dar sütuna uyarlanmış Başkan kartı --- */
        .mayor-banner-split {
            min-height: 0;
        }

        .mayor-photo-split {
            width: 104px;
            max-width: 104px;
        }

        @media (min-width: 1200px) {
            .mayor-photo-split {
                width: 124px;
                max-width: 124px;
            }
        }

        .mayor-photo-split .mayor-photo {
            aspect-ratio: 1 / 1;
            height: auto;
            border-radius: 16px;
            border-width: 3px;
        }

        /* Alıntı metni kartı taşırmasın: satır sınırı ile sabit yükseklik */
        .mayor-quote-split {
            font-size: 0.92rem;
            line-height: 1.55;
            margin-bottom: 0.75rem;
            display: -webkit-box;
            -webkit-line-clamp: 5;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        @media (min-width: 1200px) {
            .mayor-quote-split {
                font-size: 0.98rem;
                -webkit-line-clamp: 6;
            }
        }

        /* Telefonda alıntı kısalsın, kart uzamasın */
        @media (max-width: 575.98px) {
            .mayor-quote-split {
                -webkit-line-clamp: 4;
                font-size: 0.88rem;
            }
        }

        /* --- Gündem içindeki kompakt Kent Özeti paneli (3 sütun) --- */
        .quick-feed-compact {
            padding: 1rem;
        }

        .quick-feed-compact .feed-card-item {
            padding: 0.75rem;
        }

        .quick-feed-compact .feed-title {
            font-size: 1rem;
        }

        .quick-feed-compact .btn {
            font-size: 0.78rem;
        }

        /* lg'de 3 sütun dar kaldığı için yazıları biraz küçült */
        @media (min-width: 992px) and (max-width: 1199.98px) {
            .quick-feed-compact p,
            .quick-feed-compact .small {
                font-size: 0.78rem;
            }

            .quick-feed-compact h4 {
                font-size: 0.92rem !important;
            }
        }

        /* Esnek kutularda uzun metnin taşmasını engelleyen yardımcı sınıf */
        .min-w-0 {
            min-width: 0;
        }

        /* ====================================================
           2026-10-23 — SABİT LOGO FİLİGRANI
           Sayfa kayarken arkada sabit kalan, saydam kurum logosu.
        ==================================================== */

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            z-index: -1;
            pointer-events: none;
            background-image: url('../img/logo-yuvarlak.png');
            background-repeat: no-repeat;
            background-position: center center;
            background-size: min(72vmin, 760px);
            opacity: 0.055;
        }

        @media (max-width: 575.98px) {
            body::before {
                background-size: min(86vmin, 420px);
                opacity: 0.045;
            }
        }

        /* Filigranın görünebilmesi için bölüm zeminleri yarı saydam */
        .hero-section {
            background: linear-gradient(180deg, rgba(241, 245, 249, 0.86) 0%, rgba(248, 250, 252, 0.62) 100%);
        }

        section.bg-white {
            background-color: rgba(255, 255, 255, 0.82) !important;
        }

        /* Yüksek kontrast modunda filigran okunabilirliği bozmasın */
        body.high-contrast::before {
            display: none;
        }

        body.high-contrast .hero-section {
            background: #ffffff;
        }

        body.high-contrast section.bg-white {
            background-color: #ffffff !important;
        }

        @media print {
            body::before {
                display: none;
            }
        }

        /* ====================================================
           2026-10-23 — MOBİL DÜZELTMELER
        ==================================================== */

        /* --- Başkan kartı: telefonda büyük, ortalanmış portre + altında bilgiler --- */
        @media (max-width: 575.98px) {
            .mayor-identity-row {
                flex-direction: column;
                align-items: center !important;
                text-align: center;
                gap: 0.85rem !important;
            }

            /* Kaynak görsel 337x411 (dikey): bu ölçüye kadar net kalır */
            .mayor-photo-split {
                width: 190px;
                max-width: 64%;
            }

            /* Kare kırpma portreyi bozuyordu; doğal dikey oran korunuyor */
            .mayor-photo-split .mayor-photo {
                aspect-ratio: 4 / 5;
                border-radius: 18px;
                border-width: 4px;
            }

            .mayor-identity-row .mayor-quote-box {
                width: 100%;
                text-align: center;
            }

            /* Kimlik metni tam genişlikte ve ortalı: okunur ölçüler */
            .mayor-banner-split h3 {
                font-size: 1.25rem;
                line-height: 1.3;
            }

            .mayor-banner-split .mayor-identity-row .badge {
                font-size: 0.72rem !important;
                white-space: normal;
            }

            /* Alıntı ve butonlar da ortalı dursun */
            .mayor-banner-split .mayor-quote-split {
                text-align: center;
            }

            .mayor-banner-split .quote-icon {
                text-align: center;
            }

            .mayor-actions-row {
                justify-content: center;
            }

            /* Sosyal ikonlar sm'den itibaren sağa yapışıyor; telefonda ortala */
            .mayor-actions-row > .d-flex {
                margin-left: auto;
                margin-right: auto;
            }
        }

        /* Biraz daha geniş telefonlarda portre bir tık büyür */
        @media (min-width: 400px) and (max-width: 575.98px) {
            .mayor-photo-split {
                width: 210px;
            }
        }

        /* --- Mobil alt dock bar: 5 eşit sütun, kamera butonu tam ortada --- */
        .mobile-bottom-bar {
            justify-content: space-between !important;
            padding-left: 0.25rem;
            padding-right: 0.25rem;
            height: calc(68px + env(safe-area-inset-bottom, 0px));
        }

        /* Her öğe eşit genişlikte olmalı; aksi hâlde farklı etiket
           uzunlukları (Anasayfa / E-Belediye / Eczane / Menü) ortadaki
           butonu merkezden kaydırıyor. */
        .mobile-bottom-bar .mobile-dock-btn {
            flex: 1 1 0;
            min-width: 0;
            padding-left: 0.15rem;
            padding-right: 0.15rem;
        }

        .mobile-bottom-bar .mobile-dock-btn span {
            font-size: 0.62rem;
            line-height: 1.15;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* Kamera butonu: sütunu germesin, daire `i` üzerinde kurulur ve
           barın içinde kalır (üst çizgiye dayanmaz). */
        .mobile-bottom-bar .mobile-dock-cta {
            background: none;
            border: 0;
            box-shadow: none;
            border-radius: 8px;
            width: auto;
            height: auto;
            margin-top: 0;
        }

        .mobile-bottom-bar .mobile-dock-cta i {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
            border: 3px solid #ffffff;
            box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
            color: #ffffff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            margin: 0 0 1px;
            line-height: 1;
        }

        .mobile-bottom-bar .mobile-dock-cta span {
            color: var(--brand-secondary);
        }

        /* Çok dar ekranlarda (≤360px) etiketleri biraz daha küçült */
        @media (max-width: 360px) {
            .mobile-bottom-bar .mobile-dock-btn span {
                font-size: 0.58rem;
            }

            .mobile-bottom-bar .mobile-dock-cta i {
                width: 38px;
                height: 38px;
                font-size: 1.05rem;
            }
        }
