/* ==========================================================================
   Hadim Belediyesi Resmi Web Portalı - Özel Stiller
   Hadim Logosu Renk Paleti:
   - Hadim Kırmızısı (Dış Çember & Türbe): #c8102e
   - Şelale & Su Mavisi (Yerköprü): #004b87
   - Koyu Kurumsal Mavi: #0a192f
   - Doğa & Vadi Yeşili: #198754
   ========================================================================== */

:root {
    --hadim-red: #c8102e;
    --hadim-red-hover: #9e0c24;
    --hadim-blue: #004b87;
    --hadim-blue-dark: #0a192f;
    --hadim-green: #198754;
    --hadim-gold: #f59e0b;

    --primary-color: #c8102e;
    --primary-dark: #0a192f;
    --primary-light: #fff5f6;
    --accent-color: #004b87;
    --accent-hover: #003662;
    --surface-bg: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: #f8fafc;
    line-height: 1.6;
}

/* ==========================================================================
   1. NAVBAR
   ========================================================================== */
.navbar-main {
    background-color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--hadim-red);
    border-bottom: 3px solid var(--hadim-red);
}

.brand-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.25s ease;
}

.brand-logo-img:hover {
    transform: scale(1.06) rotate(-2deg);
}

.nav-link {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--hadim-blue-dark) !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--hadim-red) !important;
    background-color: rgba(200, 16, 46, 0.08) !important;
}

/* Navbar Hadim Dropdown Stilleri */
.dropdown-menu-hadim {
    border-top: 3px solid var(--hadim-red) !important;
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    min-width: 210px;
}

.dropdown-menu-hadim .dropdown-item {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-main, #334155);
    padding: 0.55rem 1rem;
    transition: all 0.18s ease;
}

.dropdown-menu-hadim .dropdown-item:hover {
    color: var(--hadim-red) !important;
    background-color: rgba(200, 16, 46, 0.06);
    padding-left: 1.25rem;
}

.dropdown-menu-hadim .dropdown-item.active {
    color: var(--hadim-red) !important;
    background-color: rgba(200, 16, 46, 0.1);
    font-weight: 600;
}

@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: navDropdownFade 0.2s ease;
    }
}

@keyframes navDropdownFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header Grid & Menü Ortalama (Desktop) */
@media (min-width: 992px) {
    .navbar-header-grid {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        width: 100%;
    }
    
    .navbar-header-grid .navbar-brand {
        justify-self: start;
    }
    
    .navbar-header-grid .navbar-collapse {
        justify-self: center;
    }
    
    .navbar-header-grid .header-right-area {
        justify-self: end;
        display: flex;
        align-items: center;
        gap: 12px;
    }
}

/* Türk Bayrağı Rozet Tasarımı */
.turkish-flag-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #ffffff;
    padding: 1px;
    line-height: 0;
    flex-shrink: 0;
}

.turkish-flag-badge:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 12px rgba(227, 10, 23, 0.25), 0 0 0 1.5px rgba(227, 10, 23, 0.4);
}

.turkish-flag-badge .turkish-flag-img {
    width: 44px;
    height: 29px;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

/* Mobilde Hamburger Yanı Türk Bayrağı */
.turkish-flag-badge.mobile-flag {
    border-radius: 4px;
    padding: 1px;
}

.turkish-flag-badge.mobile-flag .turkish-flag-img {
    width: 30px;
    height: 20px;
    border-radius: 3px;
}

/* Mobil Cihazlarda Navbar Ögelerinin Kusursuz Sığması */
@media (max-width: 575.98px) {
    .navbar-main .brand-logo-img {
        width: 38px;
        height: 38px;
    }
    .navbar-main .brand-title {
        font-size: 0.98rem !important;
    }
    .navbar-main .brand-subtitle {
        font-size: 0.65rem !important;
        letter-spacing: 0.5px !important;
    }
    .navbar-toggler {
        padding: 4px 6px !important;
        font-size: 1.15rem !important;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--hadim-red), #b91c1c) !important;
    border-color: var(--hadim-red) !important;
    color: #ffffff !important;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--hadim-red-hover), #991b1b) !important;
    border-color: var(--hadim-red-hover) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.btn-outline-primary {
    color: var(--hadim-red) !important;
    border-color: var(--hadim-red) !important;
}

.btn-outline-primary:hover {
    background-color: var(--hadim-red) !important;
    border-color: var(--hadim-red) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.25);
}

/* ==========================================================================
   2. HERO ALANI (3 SÜTUNLU YAPI)
   ========================================================================== */
.hero-section {
    background-color: var(--surface-bg);
}

.hero-col-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(13, 59, 102, 0.04);
    transition: all 0.3s ease;
}

/* 1. Sütun: Başkan & İlçe Künyesi */
.mayor-avatar-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0 auto;
}

.mayor-avatar-wrapper img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.mayor-badge-role {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background: rgba(200, 16, 46, 0.92);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    text-align: center;
    font-weight: 600;
}

.stat-box-compact {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 7px 10px;
    transition: all 0.2s ease;
}

.stat-box-compact:hover {
    background-color: var(--primary-light);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.stat-box-compact .stat-icon {
    font-size: 1.15rem;
    line-height: 1;
}

/* 2. Sütun: Manşet & 16x9 Carousel */
.manset-card {
    position: relative;
}

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

.manset-card:hover .manset-carousel-img {
    transform: scale(1.02);
}

/* Resim Üzerindeki Gezinme Okları (< ve >) */
.manset-overlay-arrow {
    position: absolute;
    top: 36%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(13, 59, 102, 0.75);
    backdrop-filter: blur(6px);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: all 0.25s ease;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    padding: 0;
}

.manset-overlay-arrow:hover {
    background: var(--primary-color);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.manset-overlay-arrow.prev {
    left: 14px;
}

.manset-overlay-arrow.next {
    right: 14px;
}

@media (max-width: 576px) {
    .manset-overlay-arrow {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
        top: 32%;
    }
    .manset-overlay-arrow.prev {
        left: 8px;
    }
    .manset-overlay-arrow.next {
        right: 8px;
    }
}

/* 1'den 10'a Kadar Manşet Numaraları ve Tümünü Gör */
.manset-numbers-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid #edf2f7;
}

.manset-see-all-btn {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.manset-see-all-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateX(2px);
    box-shadow: 0 4px 10px rgba(13, 59, 102, 0.2);
}

.manset-btn-num {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background-color: #f8fafc;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.manset-btn-num:hover,
.manset-btn-num.active {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 10px rgba(13, 59, 102, 0.22);
    transform: translateY(-1px);
}

@media (max-width: 576px) {
    .manset-btn-num {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
}

/* 3. Sütun: Hızlı Erişim Çubuğu */
.quick-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    background-color: #f8fafc;
    border: 1px solid #edf2f7;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.quick-nav-link:hover {
    background-color: var(--primary-light);
    border-color: #cbd5e1;
    color: var(--primary-color);
    transform: translateX(3px);
}

.quick-nav-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.quick-nav-link:hover .quick-nav-icon {
    transform: scale(1.08);
}

/* ==========================================================================
   3. HABERLER VE DUYURULAR (YENİ MODERN KART TASARIMI)
   ========================================================================== */
.news-card-modern {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-bottom: 3px solid transparent;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    position: relative;
    text-decoration: none;
    color: inherit;
}

.news-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(200, 16, 46, 0.12);
    border-color: rgba(200, 16, 46, 0.25);
    border-bottom-color: var(--hadim-red);
    color: inherit;
}

.news-card-modern .card-img-wrapper {
    position: relative;
    height: 195px;
    overflow: hidden;
    background-color: #0f172a;
}

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

.news-card-modern:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.news-card-modern .card-img-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.55) 0%, transparent 60%);
    pointer-events: none;
}

/* Takvim Tarih Damgası (Calendar Stamp) */
.news-calendar-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    width: 44px;
    z-index: 2;
}

.news-calendar-badge .day {
    display: block;
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.1;
    padding-top: 5px;
    color: var(--hadim-blue-dark);
}

.news-calendar-badge .month {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--hadim-red);
    color: #ffffff;
    padding: 2px 0;
    letter-spacing: 0.5px;
}

/* Kategori Rozeti (Glassmorphism Pill) */
.news-tag-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(10, 25, 47, 0.65);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
}

.news-tag-pill.tag-duyuru {
    background: rgba(200, 16, 46, 0.85);
}

.news-tag-pill.tag-faaliyet {
    background: rgba(0, 75, 135, 0.85);
}

.news-tag-pill.tag-etkinlik {
    background: rgba(245, 158, 11, 0.9);
    color: #1e293b;
}

.news-tag-pill.tag-ekonomi {
    background: rgba(25, 135, 84, 0.85);
}

/* Kart Gövdesi ve Tipografi */
.news-card-modern .news-card-body {
    padding: 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-modern .news-title {
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.4;
    color: var(--text-main);
    margin-bottom: 0.55rem;
    transition: color 0.25s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-modern:hover .news-title {
    color: var(--hadim-red);
}

.news-card-modern .news-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Alt Çubuk: Detay Butonu */
.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: auto;
}

.news-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--hadim-blue);
    transition: all 0.25s ease;
}

.news-read-btn i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    transition: all 0.25s ease;
}

.news-card-modern:hover .news-read-btn {
    color: var(--hadim-red);
}

.news-card-modern:hover .news-read-btn i {
    background-color: var(--hadim-red);
    color: #ffffff;
    transform: rotate(45deg);
}

/* ==========================================================================
   4. MEDYA & GALERİ VİTRİNİ (AÇIK ÇİM YEŞİLİ ARKA PLAN & SIFIR BOŞLUKLU MOZAİK)
   ========================================================================== */
.gallery-nature-section {
    background: linear-gradient(135deg, #1b663e 0%, #228b53 45%, #2ea065 85%, #1e7545 100%);
    overflow: hidden;
}

/* Arka Plan Dekoratif Işık Hareleri (Daha Açık ve Canlı) */
.gallery-ambient-glow-1 {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(134, 239, 172, 0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.gallery-ambient-glow-2 {
    position: absolute;
    bottom: -25%;
    right: -10%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(74, 222, 128, 0.18) 40%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Tüm Galeri Butonu (Çim Yeşili Temalı Parlayan Buton) */
.btn-gallery-all-green {
    background: #ffffff;
    color: #1b663e;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    padding: 8px 22px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.btn-gallery-all-green:hover {
    background: #86efac;
    color: #0c331d;
    border-color: #86efac;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   SIFIR BOŞLUKLU MOZAİK FOTOĞRAF VİTRİNİ (GAP: 0)
   ========================================================================== */
.gallery-seamless-mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 210px 210px;
    height: 420px;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-color: #1b663e;
}

.mosaic-tile {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    height: 100%;
}

/* 1. Büyük Görsel (Sol 7 Kolon, 2 Satır Boyunca) */
.mosaic-tile.tile-primary {
    grid-column: span 7;
    grid-row: span 2;
    border-right: 1.5px solid rgba(255, 255, 255, 0.3);
}

/* 2. Sağ Üst Görsel (Sağ 5 Kolon, 1. Satır) */
.mosaic-tile.tile-top-right {
    grid-column: span 5;
    grid-row: span 1;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
}

/* 3. Sağ Alt Görsel (Sağ 5 Kolon, 2. Satır) */
.mosaic-tile.tile-bottom-right {
    grid-column: span 5;
    grid-row: span 1;
}

.mosaic-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.mosaic-tile:hover img {
    transform: scale(1.06);
}

.mosaic-zoom-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.25s ease;
}

.mosaic-tile:hover .mosaic-zoom-btn {
    opacity: 1;
    transform: scale(1);
    background: rgba(200, 16, 46, 0.9);
}

/* ==========================================================================
   TANITIM VİDEOSU VİTRİN KARTI (TİTREMESİZ, DONANIM HIZLANDIRMALI)
   ========================================================================== */
.video-showcase-green {
    background: #0f3d23;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    height: 420px;
    display: flex;
    flex-direction: column;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.video-cover-wrapper {
    position: relative;
    height: 230px;
    overflow: hidden;
    background-color: #000000;
    cursor: pointer;
    transform: translateZ(0);
}

.video-cover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transform: translateZ(0);
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.video-cover-wrapper:hover img {
    transform: scale(1.04) translateZ(0);
    opacity: 1;
}

.video-cover-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 61, 35, 0.8) 0%, transparent 60%);
    pointer-events: none;
}

/* Titremeyen, Sabit ve Donanım Hızlandırmalı Play Butonu */
.video-center-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--hadim-red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border: 3px solid #ffffff;
    z-index: 3;
    pointer-events: none; /* Mouse olay çakışmalarını ve titremeyi kesinlikle engeller */
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.video-cover-wrapper:hover .video-center-play-btn {
    transform: translate(-50%, -50%) scale(1.08);
    background-color: #e01235;
}

/* Video Bilgi Gövdesi */
.video-content-body {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.video-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 8px;
}

.video-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.84rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.video-footer-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.video-dept-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-video-trigger {
    background: var(--hadim-red);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
    border: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.4);
}

.btn-video-trigger:hover {
    background: var(--hadim-red-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(200, 16, 46, 0.6);
}

/* Mobil & Tablet Uyumluluğu */
@media (max-width: 991px) {
    .gallery-seamless-mosaic {
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 14px;
        background: transparent;
        border: none;
        box-shadow: none;
        overflow: visible;
    }
    .mosaic-tile {
        border-radius: 16px;
        overflow: hidden;
        border: 2px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }
    .mosaic-tile.tile-primary {
        grid-column: span 1;
        grid-row: auto;
        height: 230px;
        border-right: 2px solid rgba(255, 255, 255, 0.4);
        border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    }
    .mosaic-tile.tile-top-right {
        grid-column: span 1;
        grid-row: auto;
        height: 185px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    }
    .mosaic-tile.tile-bottom-right {
        grid-column: span 1;
        grid-row: auto;
        height: 185px;
    }
    .video-showcase-green {
        height: auto;
    }
}

/* ==========================================================================
   5. PROJELERİMİZ (DENGELİ BOŞLUKLAR VE STANDART YÜKSEKLİKLER)
   ========================================================================== */
.projects-section {
    background-color: #f8fafc;
}

.project-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    background-color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(13, 59, 102, 0.08);
    border-color: #cbd5e1;
}

.project-card .card-img-wrapper {
    position: relative;
    height: 160px;
    overflow: hidden;
    flex-shrink: 0;
}

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

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

.project-status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.project-status-badge.badge-ongoing {
    background-color: #f59e0b;
    color: #ffffff;
}

.project-status-badge.badge-completed {
    background-color: #16a34a;
    color: #ffffff;
}

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

.project-card-title {
    font-weight: 700;
    font-size: 0.94rem;
    color: #0a192f;
    line-height: 1.35;
    margin-bottom: 0.45rem;
    min-height: 2.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-desc {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   BASINDA BİZ KARTLARI
   ========================================================================== */
.press-news-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    flex: 1 1 0;
    min-height: 0;
}

.press-news-card-static {
    cursor: default !important;
}

.press-news-card-static:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    border-color: #e2e8f0 !important;
}

.press-news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.08);
    border-color: rgba(200, 16, 46, 0.35);
}

.press-news-thumb {
    width: 105px;
    height: 82px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.press-news-card:hover .press-news-thumb img {
    transform: scale(1.08);
}

.press-news-body {
    flex-grow: 1;
    min-width: 0;
}

.press-news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.press-source-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    padding: 2px 7px;
    border-radius: 4px;
}

.press-date-tag {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.press-news-title {
    font-size: 0.87rem;
    font-weight: 700;
    color: #0a192f;
    line-height: 1.35;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.press-news-card:hover .press-news-title {
    color: var(--hadim-red);
}

.press-news-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.press-news-card:hover .press-news-arrow {
    background-color: var(--hadim-red);
    color: #ffffff;
    transform: rotate(45deg);
}

/* Basında Biz Mobil Uyumluluğu */
@media (max-width: 991.98px) {
    .press-news-card {
        flex: none;
        width: 100%;
        min-height: 84px;
        padding: 10px 14px;
        gap: 12px;
    }

    .press-news-thumb {
        width: 90px;
        height: 72px;
        border-radius: 8px;
    }

    .press-news-meta {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 4px;
    }

    .press-source-tag {
        font-size: 0.62rem;
        padding: 2px 6px;
    }

    .press-date-tag {
        font-size: 0.70rem;
    }

    .press-news-title {
        font-size: 0.84rem;
        line-height: 1.32;
    }
}

@media (max-width: 480px) {
    .press-news-card {
        padding: 9px 11px;
        gap: 10px;
    }

    .press-news-thumb {
        width: 78px;
        height: 66px;
    }

    .press-news-title {
        font-size: 0.80rem;
    }
}

/* ==========================================================================
   5. FOOTER
   ========================================================================== */
.footer-main {
    background-color: var(--hadim-blue-dark);
    color: #e2e8f0;
    border-top: 4px solid var(--hadim-red);
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    margin-bottom: 0.45rem;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

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

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

/* ==========================================================================
   SPLASH SCREEN (AÇILIŞ VE YÜKLEME EKRANI)
   ========================================================================== */
.splash-screen-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: radial-gradient(circle at center, #0f233e 0%, #06111f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.splash-screen-overlay.splash-fade-out {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    pointer-events: none;
}

/* Arka Plan Atmosferik Işıklar */
.splash-ambient-glow-red {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.splash-ambient-glow-blue {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 500px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 75, 135, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}

.splash-content-box {
    position: relative;
    z-index: 2;
    max-width: 440px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: splashAppear 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Logo & Darbeli Dalga Efekti */
.splash-logo-container {
    position: relative;
    width: 105px;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-logo-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
    animation: splashLogoFloat 3s ease-in-out infinite alternate;
}

.splash-pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(200, 16, 46, 0.45);
    animation: splashRingPulse 2.4s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    z-index: 1;
}

.splash-pulse-ring.delay-1 {
    animation-delay: 1.2s;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Tipografi */
.splash-pretitle {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.splash-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1.5px;
    margin-bottom: 0.35rem;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.splash-subtitle {
    font-size: 0.82rem;
    color: #94a3b8;
    letter-spacing: 1.5px;
    font-weight: 500;
    margin-bottom: 0;
    text-transform: uppercase;
}

/* İlerleme Çubuğu */
.splash-progress-wrapper {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.splash-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #c8102e, #f59e0b, #ffffff);
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(200, 16, 46, 0.8);
    transition: width 0.35s ease;
}

/* Durum Metni & Nokta Animasyonu */
.splash-status-text {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.8px;
    font-weight: 500;
}

.splash-dots span {
    animation: splashDotFade 1.4s infinite;
    opacity: 0;
}

.splash-dots span:nth-child(1) { animation-delay: 0.2s; }
.splash-dots span:nth-child(2) { animation-delay: 0.4s; }
.splash-dots span:nth-child(3) { animation-delay: 0.6s; }

/* Keyframe Animasyonları */
@keyframes splashAppear {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes splashLogoFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

@keyframes splashRingPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

@keyframes splashDotFade {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* ==========================================================================
   BAŞKAN SAYFASI ÖZEL STİLLERİ (baskan.blade.php)
   ========================================================================== */

/* 1. Üst Banner & Breadcrumb Hero */
.baskan-hero-banner {
    background: radial-gradient(circle at 85% 30%, rgba(200, 16, 46, 0.22), transparent 50%),
                radial-gradient(circle at 15% 80%, rgba(0, 75, 135, 0.32), transparent 55%),
                linear-gradient(135deg, #06101e 0%, #0a192f 50%, #112240 100%);
    position: relative;
    color: #ffffff;
    border-bottom: 3px solid var(--hadim-red);
    overflow: hidden;
}

.baskan-hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.baskan-display-name {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    letter-spacing: 0.5px;
    line-height: 1.15;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.baskan-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.baskan-breadcrumb .breadcrumb-item a:hover {
    color: #ffffff;
}

.baskan-breadcrumb .breadcrumb-item.active {
    color: #f8fafc;
    font-weight: 600;
}

.baskan-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.45);
}

/* Sekmeler (Tabs) Navigasyonu */
.baskan-tabs-nav-wrapper {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 1.5rem 0;
}

.baskan-tabs-capsule {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 60px;
    padding: 6px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.baskan-custom-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.baskan-custom-pills .baskan-tab-btn {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--hadim-blue-dark);
    padding: 12px 28px;
    border-radius: 50px;
    background: transparent;
    border: 1.5px solid transparent;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.baskan-custom-pills .baskan-tab-btn:hover {
    background: #ffffff;
    color: var(--hadim-red);
    border-color: rgba(200, 16, 46, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.baskan-custom-pills .baskan-tab-btn.active {
    background: linear-gradient(135deg, var(--hadim-red) 0%, #a80c24 100%) !important;
    color: #ffffff !important;
    border-color: var(--hadim-red) !important;
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.38) !important;
    transform: translateY(-2px);
}

.baskan-custom-pills .baskan-tab-btn.active i {
    color: #ffffff !important;
}

@media (max-width: 767.98px) {
    .baskan-tabs-nav-wrapper {
        padding: 0.75rem 0;
    }
    
    .baskan-tabs-capsule {
        border-radius: 20px;
        padding: 5px;
        width: 100%;
    }
    
    .baskan-custom-pills {
        gap: 6px;
        width: 100%;
    }
    
    .baskan-custom-pills .nav-item {
        flex: 1 1 auto;
    }
    
    .baskan-custom-pills .baskan-tab-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 14px;
        font-size: 0.88rem;
        border-radius: 14px;
    }
}

/* Sayfa İçi Responsive Düzen (Mobilde Butonların Başkan Kartı Altında Gelmesi) */
.baskan-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.baskan-grid-sidebar {
    order: 1;
}

.baskan-grid-tabs {
    order: 2;
    position: sticky;
    top: 66px;
    z-index: 85;
    padding: 0.5rem 0;
}

.baskan-grid-content {
    order: 3;
}

@media (min-width: 992px) {
    .baskan-grid-layout {
        display: grid;
        grid-template-columns: 320px 1fr;
        grid-template-areas:
            "tabs tabs"
            "sidebar content";
        column-gap: 2.5rem;
        row-gap: 2rem;
        align-items: start;
    }

    .baskan-grid-tabs {
        grid-area: tabs;
        order: unset;
        position: sticky;
        top: 66px;
        z-index: 90;
        padding: 0.5rem 0;
    }

    .baskan-grid-sidebar {
        grid-area: sidebar;
        order: unset;
    }

    .baskan-grid-content {
        grid-area: content;
        order: unset;
    }
}

@media (min-width: 1200px) {
    .baskan-grid-layout {
        grid-template-columns: 340px 1fr;
        column-gap: 3rem;
    }
}

/* Editöryel Zengin İçerik Görselleri */
.editorial-image-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(10, 25, 47, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: #ffffff;
    margin: 1.75rem 0;
}

.editorial-image-card img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.editorial-image-card:hover img {
    transform: scale(1.02);
}

.editorial-image-caption {
    padding: 10px 18px;
    font-size: 0.84rem;
    color: #64748b;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Hadim İstatistik Kutuları */
.hadim-stat-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    text-align: center;
    transition: all 0.25s ease;
}

.hadim-stat-box:hover {
    border-color: var(--hadim-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(200, 16, 46, 0.08);
    background: #ffffff;
}

.hadim-stat-box .stat-number {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--hadim-blue-dark);
    line-height: 1.2;
}

.hadim-stat-box .stat-label {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 2. Kart Yapıları */
.baskan-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.baskan-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

/* Başkan Fotoğraf & Profil Kartı */
.baskan-photo-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(10, 25, 47, 0.12);
    border: 3px solid #ffffff;
}

.baskan-photo-img {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.baskan-photo-wrapper:hover .baskan-photo-img {
    transform: scale(1.03);
}

.baskan-photo-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 8px 12px;
    text-align: center;
}

/* Sosyal Medya İkonları */
.baskan-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--hadim-blue-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.baskan-social-link:hover {
    background: var(--hadim-red);
    color: #ffffff;
    transform: translateY(-2px);
}

/* 3. Başkanın Mesajı Özel Tasarımı */
.baskan-quote-watermark {
    font-size: 5.5rem;
    line-height: 0;
    color: rgba(200, 16, 46, 0.12);
    font-family: Georgia, serif;
    user-select: none;
}

.baskan-message-text p {
    font-size: 1rem;
    line-height: 1.85;
    color: #334155;
    margin-bottom: 1.25rem;
}

.baskan-message-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.25rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.baskan-message-highlight {
    border-left: 4px solid var(--hadim-red);
    background: linear-gradient(to right, rgba(200, 16, 46, 0.05), transparent);
    padding: 1rem 1.25rem;
    border-radius: 0 12px 12px 0;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--hadim-blue-dark);
    line-height: 1.6;
}

.baskan-signature-box {
    border-top: 1px dashed #cbd5e1;
    padding-top: 1.25rem;
}

/* 4. Zaman Çizelgesi (Timeline) */
.baskan-timeline {
    position: relative;
    padding-left: 32px;
}

.baskan-timeline::before {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 11px;
    width: 2px;
    background: linear-gradient(to bottom, var(--hadim-red), var(--hadim-blue), #cbd5e1);
}

.baskan-timeline-item {
    position: relative;
    margin-bottom: 28px;
}

.baskan-timeline-item:last-child {
    margin-bottom: 0;
}

.baskan-timeline-dot {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--hadim-red);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.baskan-timeline-dot.current {
    background: var(--hadim-red);
    border-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.35);
}

.baskan-timeline-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.baskan-timeline-card:hover {
    border-color: rgba(200, 16, 46, 0.35);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* 5. Yönetim İlkeleri Kartları */
.baskan-principle-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
    height: 100%;
    transition: all 0.25s ease;
}

.baskan-principle-card:hover {
    border-color: var(--hadim-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(200, 16, 46, 0.08);
}

.baskan-principle-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

/* 6. Form Alanları */
.baskan-form-control {
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    padding: 11px 14px;
    font-size: 0.92rem;
    color: var(--text-main);
    transition: all 0.2s ease;
    background-color: #f8fafc;
}

.baskan-form-control:focus {
    background-color: #ffffff;
    border-color: var(--hadim-red);
    box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.12);
    outline: none;
}

.baskan-form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hadim-blue-dark);
    margin-bottom: 6px;
}

/* İletişim Yan Menü Kartı */
.baskan-contact-widget {
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    border-radius: 18px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.baskan-contact-widget::after {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 140px; height: 140px;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

/* ==========================================================================
   HABERLER SAYFALARI (haberler.blade.php & haber-detay.blade.php)
   ========================================================================== */

/* 1. Haberler Listesi Kartı (Sadece Resim + Başlık + Tarih/Paylaş) */
.news-grid-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.news-grid-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 16, 46, 0.3);
    box-shadow: 0 10px 24px rgba(200, 16, 46, 0.08);
}

.news-grid-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #f1f5f9;
}

.news-grid-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.news-grid-card:hover .news-grid-thumb {
    transform: scale(1.06);
}

.news-grid-body {
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.news-grid-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--hadim-blue-dark);
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.news-grid-card:hover .news-grid-title {
    color: var(--hadim-red);
}

.news-grid-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.76rem;
    color: #94a3b8;
}

.news-share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 0.88rem;
    position: relative;
    z-index: 5;
    -webkit-tap-highlight-color: transparent;
}

.news-share-btn:hover,
.news-share-btn:active {
    background: var(--hadim-red);
    color: #ffffff;
    border-color: var(--hadim-red);
    transform: scale(1.08);
}

.news-share-btn.copied-success {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}

/* 2. Haber Detay Sayfası Stilleri */
.news-detail-container {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.news-detail-hero-img {
    width: 100%;
    max-height: 520px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.news-detail-content {
    font-size: 1.04rem;
    line-height: 1.85;
    color: #334155;
}

.news-detail-content p {
    margin-bottom: 1.35rem;
}

.news-detail-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    margin: 1.75rem auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: block;
    object-fit: cover;
}

.news-detail-content h3, 
.news-detail-content h4 {
    color: var(--hadim-blue-dark);
    font-weight: 700;
    margin-top: 1.8rem;
    margin-bottom: 0.85rem;
}

.news-social-share-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.news-social-share-pill.whatsapp {
    background: #25D366;
    color: #ffffff;
}

.news-social-share-pill.twitter {
    background: #000000;
    color: #ffffff;
}

.news-social-share-pill.facebook {
    background: #1877F2;
    color: #ffffff;
}

.news-social-share-pill.copy {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    cursor: pointer;
}

.news-social-share-pill.copy.copied-success {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}

.news-social-share-pill:hover,
.news-social-share-pill:active {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Evrensel Yüzen Bildirim (Floating Toast for Mobile & Desktop) */
.universal-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translate(-50%, -120%);
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    font-size: 0.88rem;
    font-weight: 600;
    z-index: 999999;
    pointer-events: none;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.universal-toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}

/* ==========================================================================
   GALERİLER SAYFALARI (galeriler.blade.php & galeri-detay.blade.php)
   ========================================================================== */

/* 1. Galeri Filtre Butonları */
.gallery-filter-pill {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.22s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gallery-filter-pill:hover {
    color: var(--hadim-red);
    border-color: rgba(200, 16, 46, 0.35);
    background: #ffffff;
    transform: translateY(-2px);
}

.gallery-filter-pill.active {
    background: var(--hadim-red);
    color: #ffffff;
    border-color: var(--hadim-red);
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.25);
}

/* 2. Galeri Kartı */
.gallery-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    text-decoration: none;
}

.gallery-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 16, 46, 0.3);
    box-shadow: 0 14px 30px rgba(11, 31, 58, 0.1);
}

.gallery-card-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #0f172a;
}

.gallery-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease, opacity 0.3s ease;
}

.gallery-card:hover .gallery-card-thumb {
    transform: scale(1.07);
    opacity: 0.92;
}

/* Medya Rozeti (Foto/Video Sayısı) */
.gallery-media-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.gallery-media-badge.video-badge {
    background: rgba(200, 16, 46, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Video Kartında Merkezdeki Play Butonu */
.gallery-play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(200, 16, 46, 0.92);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-card:hover .gallery-play-btn-overlay {
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--hadim-red);
    box-shadow: 0 0 0 10px rgba(200, 16, 46, 0.3);
}

/* Fotoğraf Kartında İncele Butonu Hover Overlay */
.gallery-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    z-index: 2;
}

.gallery-card:hover .gallery-photo-overlay {
    opacity: 1;
}

.gallery-photo-overlay-btn {
    background: #ffffff;
    color: var(--hadim-blue-dark);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Kart Gövdesi */
.gallery-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.gallery-card-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--hadim-blue-dark);
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.gallery-card:hover .gallery-card-title {
    color: var(--hadim-red);
}

.gallery-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    color: #94a3b8;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

/* 3. Galeri Albüm Detay Sayfası Izgarası (galeri-detay.blade.php) */
.gallery-album-grid-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.gallery-album-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery-album-grid-item:hover .gallery-album-grid-img {
    transform: scale(1.08);
    opacity: 0.88;
}

.gallery-album-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease;
}

.gallery-album-grid-item:hover .gallery-album-zoom-overlay {
    opacity: 1;
}

.gallery-album-zoom-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--hadim-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: scale(0.85);
    transition: transform 0.25s ease;
}

.gallery-album-grid-item:hover .gallery-album-zoom-btn {
    transform: scale(1);
}

/* 4. Dahili Lüks Lightbox (Işık Kutusu) */
.hadim-lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 100000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hadim-lightbox-backdrop.active {
    display: flex;
    opacity: 1;
}

.hadim-lightbox-wrapper {
    position: relative;
    max-width: 1100px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hadim-lightbox-img {
    max-width: 100%;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    user-select: none;
}

.hadim-lightbox-caption-bar {
    width: 100%;
    color: #ffffff;
    text-align: center;
    margin-top: 14px;
}

.hadim-lightbox-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.hadim-lightbox-counter {
    font-size: 0.8rem;
    color: #94a3b8;
}

.hadim-lightbox-close-btn {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 100005;
}

.hadim-lightbox-close-btn:hover {
    background: var(--hadim-red);
    transform: scale(1.1);
}

.hadim-lightbox-nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 100005;
}

.hadim-lightbox-nav-btn:hover {
    background: var(--hadim-red);
    transform: translateY(-50%) scale(1.1);
}

.hadim-lightbox-nav-btn.prev {
    left: 24px;
}

.hadim-lightbox-nav-btn.next {
    right: 24px;
}

@media (max-width: 768px) {
    .hadim-lightbox-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .hadim-lightbox-nav-btn.prev {
        left: 8px;
    }
    .hadim-lightbox-nav-btn.next {
        right: 8px;
    }
    .hadim-lightbox-close-btn {
        top: 14px;
        right: 14px;
        width: 38px;
        height: 38px;
    }
}

/* ==========================================================================
   İLETİŞİM SAYFASI (iletisim.blade.php) - SADE & MİNİMALİST KURUMSAL TASARIM
   ========================================================================== */

/* 1. İletişim Bilgi Kartları (Badge Yok, Sade ve Şık) */
.contact-info-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 24px 20px;
    height: 100%;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 16, 46, 0.25);
    box-shadow: 0 10px 24px rgba(11, 31, 58, 0.06);
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--hadim-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 16px;
    transition: all 0.25s ease;
}

.contact-info-card:hover .contact-icon-box {
    background: var(--hadim-red);
    color: #ffffff;
    border-color: var(--hadim-red);
}

.contact-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--hadim-blue-dark);
    margin-bottom: 8px;
}

.contact-card-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 2. İletişim Form Kartı & Inputları */
.contact-form-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.contact-input {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.94rem;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.contact-input:focus {
    border-color: var(--hadim-blue-dark);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.08);
    outline: none;
}

.contact-form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

/* 3. Sade Dahili Telefon Rehberi */
.directory-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

.directory-list-item:last-child {
    border-bottom: none;
}

.directory-dept {
    font-weight: 600;
    color: #334155;
}

.directory-ext {
    font-family: monospace;
    font-weight: 700;
    color: var(--hadim-blue-dark);
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
}

/* 4. Harita Alanı */
.contact-map-frame {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 16px;
    display: block;
}

