/* ==========================================
   GENEL AYARLAR & PREMIUM ANİMASYON ALTYAPISI
   ========================================== */
/* ==========================================
   GENEL AYARLAR & TEK SCROLLBAR ÇÖZÜMÜ
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Tarayıcının ana kaydırma çubuğunu standart ve tek hale getiriyoruz */


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    /* İçeriklerin dışarı taşarak ikinci bir dikey kaydırma alanı açmasını engeller */
    overflow-y: auto; 
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================
   HERO / MANŞET ALANI
   ========================================== */
.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 30px 0 0 0;
    color: #ffffff;
    background-color: #0b2545;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.hero-header-nav {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.logo img {
    height: 60px;
    transition: transform 0.4s ease;
}

.logo:hover img {
    transform: scale(1.03);
}

.logo span {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.main-nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: #8da9c4;
    transform: translateY(-1px);
}

.btn-ebelediye {
    background-color: #0b2545;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-ebelediye:hover {
    background-color: #134074;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.hero-text {
    max-width: 600px;
    padding-bottom: 80px;
    animation: slideInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-text h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
    animation-fill-mode: both;
}

.hero-text p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
    animation-fill-mode: both;
}

.btn-primary {
    background-color: #0b2545;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: #134074;
    box-shadow: 0 8px 25px rgba(11,37,69,0.4);
}

.btn-outline {
    background-color: #ffffff;
    color: #0b2545;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-outline:hover {
    transform: translateY(-3px);
    background-color: #f1f5f9;
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

.hero-image {
    max-width: 450px;
    text-align: right;
    line-height: 0;
    animation: slideInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image img {
    max-height: 520px;
    width: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image img:hover {
    transform: scale(1.02) translateY(-5px);
}

/* ==========================================
   BAŞKANDAN MESAJ
   ========================================== */
.message-box-wrapper {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
    animation-fill-mode: both;
}

.mayor-message-box {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    padding: 30px;
    gap: 30px;
}

.msg-content-wrapper {
    display: flex;
    gap: 25px;
    flex: 1.3;
    align-items: flex-start;
}

.msg-badge-box {
    background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
    color: #ffffff;
    width: 110px;
    min-width: 110px;
    height: 140px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(11,37,69,0.3);
}

.msg-badge-box i {
    font-size: 32px;
    margin-bottom: 8px;
    color: #ffffff;
}

.msg-badge-box span {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.msg-text-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    height: 100%;
}

.msg-text-content p {
    color: #475569;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.mayor-signature {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.mayor-signature .name {
    font-family: 'Brush Script MT', 'Great Vibes', cursive, sans-serif;
    font-size: 32px;
    color: #0b2545;
    font-weight: bold;
    line-height: 1.1;
}

.mayor-signature .title {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    margin-top: 3px;
}

.msg-image {
    flex: 1.2;
    border-radius: 12px;
    overflow: hidden;
    min-height: 260px;
}

.msg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* ==========================================
   ORTAK BAŞLIKLAR
   ========================================== */
section h2 {
    text-align: center;
    font-size: 24px;
    color: #0b2545;
    margin-bottom: 35px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #8da9c4;
    margin: 8px auto 0 auto;
    border-radius: 2px;
}

/* ==========================================
   HİZMETLER
   ========================================== */
.services-section {
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.service-card {
    background: #ffffff;
    padding: 25px 10px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(11,37,69,0.1);
    border-color: #8da9c4;
}

.service-card i {
    font-size: 30px;
    color: #0b2545;
    margin-bottom: 12px;
}

.service-card h4 {
    font-size: 12px;
    color: #0b2545;
    margin-bottom: 8px;
    font-weight: 700;
}

.service-card p {
    font-size: 11px;
    color: #666;
}

/* ==========================================
   PROJELER
   ========================================== */
.projects-section {
    margin-bottom: 70px;
}

.projects-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.projects-header-flex h2 {
    font-size: 26px;
    color: #0b2545;
    font-weight: 800;
    margin: 0;
    text-align: left;
}

.projects-header-flex h2::after {
    display: none;
}

.project-filter-buttons {
    display: flex;
    gap: 12px;
}

.filter-btn {
    background-color: #0b2545;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(11,37,69,0.15);
}

.filter-btn:hover, .filter-btn.active {
    background-color: #134074;
    transform: translateY(-2px);
}

.projects-wrapper {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.project-counters {
    width: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

.counter-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle-ring {
    width: 70px;
    height: 70px;
    border: 4px solid #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.circle-ring .count {
    font-size: 24px;
    font-weight: 800;
    color: #0b2545;
}

.counter-box .label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.btn-all-projects {
    background-color: #0b2545;
    color: #ffffff;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.project-slider-container {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #000;
    min-height: 420px;
    border: 4px solid #0b2545;
}

.slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-item {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1); 
    z-index: 1;
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 420px;
}

.slide-caption {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 30px 25px 20px 25px;
}

.slide-caption h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(11, 37, 69, 0.7);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.prev-arrow { left: 15px; }
.next-arrow { right: 15px; }

/* ==========================================
   İSTATİSTİKLER
   ========================================== */
.stats-section {
    background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
    color: #ffffff;
    padding: 45px 0;
    margin-bottom: 60px;
}

.stats-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 0 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item i {
    font-size: 28px;
    margin-bottom: 8px;
    color: #8da9c4;
}

.stat-item h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 2px;
}

.stat-item p {
    font-size: 11px;
    color: #cbd5e1;
    white-space: nowrap;
}

.stat-banner-text {
    flex: 1.4;
    padding-left: 25px;
}

.stat-banner-text h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
}

.stat-banner-text p {
    font-size: 11px;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.btn-white {
    background: #ffffff;
    color: #0b2545;
    padding: 7px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================
   YENİ ÖZEL HABERLER DÜZENİ (Sol Slider, Sağ Kartlar)
   ========================================== */
.news-section {
    margin-bottom: 70px;
}

.news-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.news-section-header h2 {
    margin: 0;
    text-align: left;
}

.news-section-header h2::after {
    display: none;
}

.btn-all-news {
    background: #0b2545;
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.btn-all-news:hover {
    background: #134074;
}

.news-layout-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 25px;
    align-items: stretch;
}

.news-main-slider {
    position: relative;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    height: 420px;
}

.main-slide-track {
    position: relative;
    flex: 1;
    width: 100%;
    height: 100%;
}

.main-slide-item {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out;
}

.main-slide-item.active {
    opacity: 1;
    visibility: visible;
}

.main-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-slide-caption {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    padding: 40px 20px 20px 20px;
}

.main-slide-caption h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.news-slider-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(11, 37, 69, 0.7);
    color: #fff;
    border: none;
    width: 35px; height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 5;
    transition: 0.3s;
}

.news-slider-arrow:hover { background: rgba(11, 37, 69, 0.95); }
.news-prev { left: 15px; }
.news-next { right: 15px; }

.news-thumbnails {
    display: flex;
    gap: 8px;
    padding: 10px;
    background: #07192f;
    align-items: center;
    overflow-x: auto;
}

.thumb-item {
    width: 60px; height: 45px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: 0.3s;
    flex-shrink: 0;
}


.thumb-item.active, .thumb-item:hover {
    opacity: 1;
    border-color: #3b82f6;
}

.thumb-item img {
    width: 100%; height: 100%; object-fit: cover;
}

.thumb-all-btn {
    background: #134074;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    padding: 5px 8px;
    border-radius: 6px;
    text-decoration: none;
    margin-left: auto;
    line-height: 1.2;
    transition: 0.3s;
}

.thumb-all-btn:hover { background: #1d5fa8; }

.news-side-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: space-between;
}

.side-news-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    gap: 15px;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: 0.3s;
    height: calc(33.33% - 10px);
}

.side-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(11,37,69,0.08);
}

.side-news-img {
    width: 110px; height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.side-news-img img {
    width: 100%; height: 100%; object-fit: cover;
}

.side-news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.side-news-content h4 {
    font-size: 13px;
    color: #0b2545;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.side-date {
    font-size: 11px;
    color: #64748b;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    background-color: #07192f;
    color: #ffffff;
    padding-top: 60px;
    box-shadow: inset 0 15px 30px rgba(0,0,0,0.2);
}

.footer-flex {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
    gap: 25px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col .logo {
    margin-bottom: 12px;
}

.footer-col .logo span {
    color: #fff;
}

.footer-col p {
    font-size: 12px;
    color: #adb5bd;
    margin-bottom: 15px;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-links a:hover {
    background: #134074;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-col p i {
    margin-right: 6px;
    color: #8da9c4;
}

.footer-bottom {
    background-color: #051222;
    padding: 15px 0;
}

.copyright-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #adb5bd;
}

.copyright-flex a {
    color: #adb5bd;
    text-decoration: none;
    margin: 0 4px;
    transition: color 0.3s ease;
}

.copyright-flex a:hover {
    color: #fff;
}

/* ==========================================
   RESPONSIVE (MOBİL UYUM)
   ========================================== */
@media (max-width: 992px) {
    .hamburger-btn { display: block; }
    .main-nav { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: #07192f; flex-direction: column; padding: 80px 30px; transition: 0.4s; z-index: 99; }
    .main-nav.active { right: 0; }
    
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text { max-width: 100%; }
    .hero-image { display: block !important; max-width: 280px; margin: 20px auto 0 auto; text-align: center; }
    .hero-image img { max-height: 350px; width: auto; margin: 0 auto; }
    
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    
    .projects-wrapper { flex-direction: column; gap: 20px; }
    .projects-header-flex { flex-direction: column; align-items: flex-start; gap: 15px; }
    .project-filter-buttons { flex-wrap: wrap; width: 100%; }
    .filter-btn { flex: 1; text-align: center; padding: 8px 10px; font-size: 11px; }
    
    .project-counters { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .counter-box { width: 100%; }
    .btn-all-projects { grid-column: span 2; }
    
    .stats-flex { flex-direction: column; gap: 25px; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 15px; width: 100%; }
    
    .news-layout-grid { grid-template-columns: 1fr; }
    .news-main-slider { height: 300px; }
    .side-news-card { height: auto; }
    
    .footer-flex { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .project-counters { grid-template-columns: 1fr; }
    .btn-all-projects { grid-column: span 1; }
    .footer-flex { grid-template-columns: 1fr; }
    .hero-image { max-width: 220px; }
}

.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    z-index: 100;
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.mayor-message-box { display: flex; flex-direction: row; }
@media (max-width: 768px) { .mayor-message-box { flex-direction: column; } }

/* ==========================================
   DUYURULAR BÖLÜMÜ (Kart Tasarımı ve Grid Düzeni)
   ========================================== */
#duyurular .news-container-wrapper {
    overflow: visible !important;
    padding: 0 !important;
}

#duyurular .news-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    transform: none !important;
}

#duyurular .news-card {
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: auto !important;
    flex: unset !important;
    transition: all 0.3s ease !important;
}

#duyurular .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(11,37,69,0.08);
}

#duyurular .news-date {
    background: #f0f4f8;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e2e8f0;
}

#duyurular .news-date .day {
    font-size: 20px;
    font-weight: 800;
    color: #0b2545;
}

#duyurular .news-date .month {
    font-size: 11px;
    font-weight: 700;
    color: #555;
    letter-spacing: 1px;
}

#duyurular .news-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

#duyurular .news-body h4 {
    font-size: 14px;
    color: #0b2545;
    margin-bottom: 8px;
    font-weight: 700;
}

#duyurular .news-body p {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    flex: 1;
}

#duyurular .read-more {
    font-size: 11px;
    font-weight: 700;
    color: #0b2545;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Duyurular İçin Mobil ve Tablet Uyumu (İkili Bloklar) */
@media (max-width: 992px) {
    #duyurular .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    #duyurular .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}
/* Header içerisindeki elemanların mobil düzeni */
.hero-header-nav {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

/* Hamburger Buton Stili ve Konumu */
.hamburger-btn {
    display: none; /* Masaüstünde gizli */
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
}

@media (max-width: 992px) {
    .hamburger-btn {
        display: block !important;
        order: 2; /* Mobilde logonun sağ tarafına geçmesini sağlar */
    }

    .logo {
        order: 1; /* Mobilde logonun sol tarafta kalmasını sağlar */
    }

    /* Mobil menü panel ayarları */
    .main-nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background: #07192f !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        text-align: left !important;
        padding: 80px 30px !important;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 999 !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5) !important;
    }

    .main-nav.active {
        right: 0 !important;
    }

    .main-nav a {
        font-size: 15px !important;
        padding: 12px 0 !important;
        width: 100% !important;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        text-align: left !important;
    }
}

/* Footer Giriş Animasyonu Tanımları */
@keyframes footerSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px); /* Aşağıdan başlar */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Yerine oturur */
    }
}

.footer-fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* JavaScript bu sınıfı eklediğinde animasyon tetiklenir */
.footer-fade-in.footer-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sütunların sırayla gelmesi için gecikmeler (Stagger effect) */
.footer-col-1 { transition-delay: 0.1s; }
.footer-col-2 { transition-delay: 0.2s; }
.footer-col-3 { transition-delay: 0.3s; }
.footer-col-4 { transition-delay: 0.4s; }
/* ==========================================
   PREMIUM SAYFA İÇİ GİRİŞ ANİMASYONLARI
   ========================================== */

/* Animasyon Tanımı */
@keyframes fadeInUpCustom {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Başlangıçta animasyona tabi tutulacak alanlar gizli/aşağıda başlar */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* JavaScript bu sınıfı eklediğinde animasyon tetiklenir ve yukarı kayarak görünür */
.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Sıralı (Gecikmeli) Geliş Efektleri İçin Sınıflar */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ==========================================
   SABİT (STICKY) HEADER & HİZALAMA DÜZELTMESİ
   ========================================== */

.hero-header-nav {
    position: relative;
    z-index: 100;
    transition: all 0.3s ease;
}

/* Sayfa aşağı kaydırıldığında ekrana sabitlenen ana yapı */
.hero-header-nav.sticky-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0b2545 !important;
    padding: 12px 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    animation: slideDownSticky 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    margin-bottom: 0 !important;
}

/* ⚠️ ÖNEMLİ: Sabitlendiğinde logonun ve sağ butonun kenarlara yapışmasını önleyen konteyner sığdırması */
.hero-header-nav.sticky-header {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

@media (min-width: 1200px) {
    .hero-header-nav.sticky-header {
        /* Büyük ekranlarda container genişliği (1200px) ile uyumlu ortalama */
        padding-left: calc((100% - 1200px) / 2 + 15px) !important;
        padding-right: calc((100% - 1200px) / 2 + 15px) !important;
    }
}

/* Sabitlenme esnasındaki akıcı aşağı süzülme animasyonu */
@keyframes slideDownSticky {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Sabit header aktif olduğunda içeriğin yukarı kaymasını önleyen boşluk */
body.header-sticky-active .hero-section {
    padding-top: 90px !important;
}

/* ==========================================
   TÜM SAYFALAR İÇİN ORTAK SABİT (STICKY) HEADER
   ========================================== */

.hero-header-nav {
    position: relative;
    z-index: 100;
    transition: all 0.3s ease;
}

/* Sayfa aşağı kaydırıldığında ekrana sabitlenen ana yapı */
.hero-header-nav.sticky-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0b2545 !important;
    padding: 12px 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    animation: slideDownSticky 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    margin-bottom: 0 !important;
}

/* Logonun ve sağ butonun kenarlara yapışmasını önleyen konteyner sığdırması */
.hero-header-nav.sticky-header {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

@media (min-width: 1200px) {
    .hero-header-nav.sticky-header {
        padding-left: calc((100% - 1200px) / 2 + 15px) !important;
        padding-right: calc((100% - 1200px) / 2 + 15px) !important;
    }
}

/* Sabitlenme esnasındaki akıcı aşağı süzülme animasyonu */
@keyframes slideDownSticky {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Sabit header aktif olduğunda içeriğin yukarı kaymasını önleyen üst boşluk */
body.header-sticky-active .hero-section {
    padding-top: 90px !important;
}
