/**
 * style.css
 * Ana Stil Dosyası - Avrupa Birliği Okul Projesi
 */

/* --- Genel Stiller ve Değişkenler --- */
:root {
    --primary-color: #003399; /* Ana renk: koyu mavi */
    --secondary-color: #FFCC00; /* İkincil renk: sarı */
    --accent-color: #007bff; /* Vurgu rengi: açık mavi */
    --light-gray: #f8f9fa; /* Açık gri */
    --medium-gray: #e9ecef; /* Orta gri */
    --dark-gray: #343a40; /* Koyu gri */
    --text-color: #212529; /* Metin rengi */
    --text-muted: #6c757d; /* Soluk metin rengi */
    --link-color: #003399; /* Bağlantı rengi */
    --link-hover-color: #002266; /* Bağlantı üzerine gelindiğinde renk */
    --border-color: #dee2e6; /* Kenarlık rengi */
    --success-color: #28a745; /* Başarı rengi: yeşil */
    --warning-color: #ffc107; /* Uyarı rengi: sarı */
    --info-color: #17a2b8; /* Bilgi rengi: turkuaz */
    --error-color: #dc3545; /* Hata rengi: kırmızı */
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --header-height: 70px; /* Üst menü yüksekliği */
}

/* Temel Reset ve Body Ayarları */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Yumuşak kaydırma */
}

body {
    font-family: var(--font-family-sans-serif);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: var(--header-height);
}

main {
    flex-grow: 1;
    width: 100%;
}

/* Konteyner */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

/* Tipografi */
a {
    color: var(--link-color);
    text-decoration: none;
    background-color: transparent;
    transition: color 0.2s ease-in-out, text-decoration 0.2s ease-in-out;
}
a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}
a:not([href]):not([tabindex]) {
    color: inherit;
    text-decoration: none;
}
a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--dark-gray);
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

ul, ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}
ul ul, ol ol, ul ol, ol ul {
    margin-bottom: 0;
}

img, svg {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

/* Butonlar */
.btn {
    display: inline-block;
    font-weight: 400;
    color: var(--text-color);
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    text-decoration: none !important;
}
.btn:hover {
    text-decoration: none !important;
    filter: brightness(95%);
}
.btn:focus, .btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-primary { color: #fff; background-color: var(--primary-color); border-color: var(--primary-color); }
.btn-primary:hover { background-color: #002a80; border-color: #002a80; }

.btn-secondary { color: #fff; background-color: var(--dark-gray); border-color: var(--dark-gray); }
.btn-secondary:hover { background-color: #23272b; border-color: #1d2124; }

.btn-success { color: #fff; background-color: var(--success-color); border-color: var(--success-color); }
.btn-success:hover { background-color: #1e7e34; border-color: #1c7430; }

.btn-warning { color: var(--dark-gray); background-color: var(--warning-color); border-color: var(--warning-color); }
.btn-warning:hover { background-color: #e0a800; border-color: #d39e00; }

.btn-info { color: #fff; background-color: var(--info-color); border-color: var(--info-color); }
.btn-info:hover { background-color: #117a8b; border-color: #10707f; }

.btn-danger { color: #fff; background-color: var(--error-color); border-color: var(--error-color); }
.btn-danger:hover { background-color: #bd2130; border-color: #b21f2d; }

.btn-outline-primary { color: var(--primary-color); border-color: var(--primary-color); }
.btn-outline-primary:hover { color: #fff; background-color: var(--primary-color); border-color: var(--primary-color); }

.btn-sm { padding: 0.25rem 0.6rem; font-size: 0.875rem; line-height: 1.5; border-radius: 0.2rem; }
.btn-lg { padding: 0.7rem 1.4rem; font-size: 1.15rem; line-height: 1.5; border-radius: 0.3rem; }

/* Form Elemanları */
.form-group { margin-bottom: 1rem; }
.form-label { display: inline-block; margin-bottom: 0.5rem; font-weight: 500; }
.form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control:focus {
    color: var(--text-color);
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.form-control::placeholder { color: var(--text-muted); opacity: 1; }
.form-control:disabled, .form-control[readonly] { background-color: var(--light-gray); opacity: 1; }

textarea.form-control { min-height: calc(1.5em + 1rem + 2px); min-height: 120px; resize: vertical; }
select.form-control { height: calc(1.5em + 1rem + 2px); }

.form-text { font-size: 0.875em; color: var(--text-muted); }
.invalid-feedback { display: none; width: 100%; margin-top: 0.25rem; font-size: 0.875em; color: var(--error-color); }
.valid-feedback { display: none; width: 100%; margin-top: 0.25rem; font-size: 0.875em; color: var(--success-color); }

.form-control.is-invalid, .was-validated .form-control:invalid {
    border-color: var(--error-color);
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.form-control.is-invalid:focus, .was-validated .form-control:invalid:focus {
    border-color: var(--error-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
.form-control.is-invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-tooltip,
.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-tooltip { display: block; }

/* Yardımcı Class'lar */
.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.text-muted { color: var(--text-muted) !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.ps-1 { padding-left: 0.25rem !important; }
.pe-1 { padding-right: 0.25rem !important; }
.w-100 { width: 100% !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }

/* Alert Mesajları */
.alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}
.alert-success { color: #0f5132; background-color: #d1e7dd; border-color: #badbcc; }
.alert-danger { color: #842029; background-color: #f8d7da; border-color: #f5c2c7; }
.alert-warning { color: #664d03; background-color: #fff3cd; border-color: #ffecb5; }
.alert-info { color: #055160; background-color: #cff4fc; border-color: #b6effb; }

/* Genel Sayfa Yapısı */
.page-container { padding-top: 30px; padding-bottom: 40px; }
.page-container > h1:first-child {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

/* --- Üst Menü (Header/a) --- */
header {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    flex-direction: row; /* Logo ve menü yan yana */
    align-items: center; /* Dikeyde ortalanmis */
    justify-content: space-between; /* Logo sola, menü saga */
    width: 100%;
    padding: 0 15px; /* Iç bosluk */
}

.navbar-brand {
   display: flex;
    align-items: center;
    flex-shrink: 0; /* Logo alaninin küçülmesini engelle */
}

.site-logo {
   max-height: 40px;
    width: auto;
    margin-right: 8px;
    margin-left: 10px;
    display: inline-block; /* Mobilde ve masaüstünde görünür */
}


.site-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 10px;
    display: none;
}
@media (max-width: 991.98px) {
    .site-logo {
        max-height: 35px; /* Mobilde logo biraz daha küçük */
        margin-left: 8px; /* Sol kenardan hafif bosluk */
        margin-right: 5px; /* Ana Sayfa linkine yakinlik */
    }
    .navbar-brand {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-start; /* Logo ve site adi sola hizali */
    }
    .site-name {
        display: inline-block; /* Mobilde site adi görünür */
        font-size: 1.1rem; /* Mobilde daha küçük font */
    }
}

/* Mobil Menü Butonu */
.mobile-menu-button {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 1.4rem;
    color: var(--dark-gray);
    cursor: pointer;
    line-height: 1;
    display: none;
}
.mobile-menu-button.active .fa-bars::before {
    content: '\f00d'; /* X simgesi */
}

/* Ana Menü */
.navbar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    height: 100%;
	flex-wrap: nowrap; /* Menü ögeleri alt alta geçmesin */
}

.navbar-menu li {
    margin-left: 20px;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-menu a {
    color: var(--dark-gray);
    font-weight: 500;
    padding: 10px 5px;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.navbar-menu a:hover::after,
.navbar-menu li.active a::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.navbar-menu a:hover,
.navbar-menu li.active a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Açılır Menü (Dropdown) */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-top: none;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    list-style: none;
    padding: 5px 0;
    margin: 0;
    min-width: 220px;
    z-index: 1000;
    border-radius: 0 0 4px 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    margin: 0;
    height: auto;
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 8px 15px;
    color: var(--dark-gray);
    font-weight: 400;
    white-space: nowrap;
    text-decoration: none;
    border-bottom: none !important;
    transition: background-color 0.2s ease;
}
.dropdown-menu a::after { display: none; }

.dropdown-menu a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.dropdown > a.dropdown-toggle::after {
    content: ' \f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7em;
    vertical-align: middle;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.2s ease;
}
.dropdown:hover > a.dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Kullanıcı Menüsü */
.menu-item-user {
    margin-left: 15px;
}
.menu-item-user span {
    font-size: 0.9em;
    color: var(--text-muted);
}
.menu-item-user .user-nav-link {
    font-size: 0.9em;
    color: var(--link-color);
    padding: 5px 0;
}
.menu-item-user .user-nav-link:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}
.menu-item-user .register-link.btn {
    padding: 4px 10px;
    font-size: 0.85em;
    margin-left: 15px;
    vertical-align: middle;
    border-width: 1px;
}
.menu-item-user .register-link.btn:hover {
    filter: none;
}

/* --- Ana Sayfa - Hero Slider --- */
.hero-slider {
    position: relative;
    overflow: hidden;
    background-color: var(--dark-gray);
    color: #fff;
    min-height: 400px;
    height: 60vh;
    max-height: 550px;
}

.hero-slider .swiper-container {
    width: 100%;
    height: 100%;
}
.hero-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    height: 100%; /* Ensure slide takes full height */
}
.hero-slider .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
}
.slide-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 20px 40px;
    animation: fadeInSlide 1s ease-out forwards;
}
.swiper-slide:not(.swiper-slide-active) .slide-content {
    opacity: 0;
    animation: none;
}

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

.slide-content h2 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.slide-content p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}
.slide-content .btn {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-gray);
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
}
.slide-content .btn:hover {
    background-color: #e6b800;
    border-color: #e6b800;
}

/* Swiper Okları */
.swiper-button-prev, .swiper-button-next {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: background-color 0.2s;
}
.swiper-button-prev::after, .swiper-button-next::after {
    font-size: 1.2rem;
}
.swiper-button-prev:hover, .swiper-button-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

/* Swiper Noktalama (Pagination) */
.swiper-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 0.8;
    width: 10px;
    height: 10px;
}
.swiper-pagination .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}

/* --- Ana Sayfa - Diğer Bölümler --- */
.project-info { padding: 35px 0; background-color: var(--light-gray); }
.project-title { font-size: 2rem; margin-bottom: 8px; color: var(--primary-color); font-weight: 600; }
.project-number { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 25px; }
.project-info .btn-secondary { background-color: var(--accent-color); border-color: var(--accent-color); color: #fff; }
.project-info .btn-secondary:hover { background-color: #0056b3; border-color: #0056b3; }

.partner-logos { padding: 50px 0; background-color: #fff; }
.partner-logos h2 { margin-bottom: 40px; }
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }
.logo-item { display: block; transition: opacity 0.3s ease, transform 0.3s ease; }
.logo-item img { max-height: 65px; filter: grayscale(100%); opacity: 0.7; transition: filter 0.3s ease, opacity 0.3s ease; }
.logo-item:hover { opacity: 1; transform: scale(1.1); text-decoration: none; }
.logo-item:hover img { filter: grayscale(0%); opacity: 1; }

.focus-points { padding: 50px 0; background-color: var(--light-gray); }
.focus-points h2 { margin-bottom: 40px; }
.focus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 35px; text-align: center; }
.focus-item { background-color: #fff; padding: 30px 20px; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.07); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.focus-item:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.focus-item img { max-height: 65px; margin-bottom: 20px; }
.focus-item h3 { font-size: 1.35rem; color: var(--primary-color); margin-bottom: 10px; font-weight: 600; }
.focus-item p { color: var(--text-muted); font-size: 0.95rem; }

.focus-icon {
    font-size: 2.1rem; /* İkon boyutu biraz daha büyük */
    color: var(--primary-color); /* İstenilen mavi renk */
    margin-bottom: 1.8rem; /* Altındaki başlıkla arası boşluk */
    display: inline-block; /* Ortalamak ve boşluk vermek için */
    line-height: 1; /* Dikey hizalama */
    /* İsteğe bağlı hafif animasyon */
    transition: transform 0.3s ease;
}
.focus-item:hover .focus-icon {
    transform: scale(2.1); /* Hover'da hafif büyüt */
}
.focus-item h3 { font-size: 1.3rem; /* Başlık boyutu */ color: var(--primary-color); margin-bottom: 0.8rem; font-weight: 600; }
.focus-item p { color: var(--muted-color); font-size: 0.95rem; /* Açıklama fontu */ line-height: 1.5; }


.contribute-section { background-color: var(--white-color); }
.contribute-section .lead { /* Açıklama metni */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--muted-color);
    margin-bottom: 3rem !important; /* Alt boşluğu artır */
}
.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px; /* Kartlar arası boşluk */
}
.cta-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    background-color: var(--white-color);
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}
.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}
/* Kart İkon Arka Planı */
.cta-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    color: var(--white-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto; /* Ortala ve alt boşluk */
    /* Renkler için yardımcı sınıflar */
}
.cta-icon-wrapper.bg-success { background-color: var(--success-color); }
.cta-icon-wrapper.bg-warning { background-color: var(--warning-color); color: var(--dark-color); /* Sarı üzerine koyu renk */}
.cta-icon-wrapper.bg-info    { background-color: var(--info-color); color: var(--dark-color); /* Info üzerine koyu renk */ }
/* Kart İkonu */
.cta-icon {
    font-size: 2.2rem;
    line-height: 1;
}
.cta-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--dark-color);
}
.cta-description {
    color: var(--muted-color);
    font-size: 0.9rem;
    margin-bottom: 1.5rem; /* Butonla arası boşluk */
    flex-grow: 1; /* Kartın altını doldur */
}
.cta-card .btn {
    margin-top: auto; /* Butonu kartın altına iter */
    padding: 0.6rem 1.2rem; /* Daha belirgin buton */
    font-weight: 500;
}
/* Renkli butonların hover'ını düzeltelim */
.cta-card .btn-success:hover { background-color: #157347; border-color: #146c43; }
.cta-card .btn-warning:hover { background-color: #ffca2c; border-color: #ffc720; }
.cta-card .btn-info:hover    { background-color: #3dd5f3; border-color: #25cff2; }

/* --- Haber Izgara Bölümü --- */
.news-grid-section { padding: 50px 0; }
.news-grid-section h1, .news-grid-section h2 { margin-bottom: 40px; }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 sütunlu ızgara */
    gap: 30px;
}
.news-item {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.news-item-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.news-item-content {
    padding: 20px;
}
.news-item-content h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    font-weight: 600;
}
.news-item-content h3 a {
    color: var(--dark-gray);
}
.news-item-content h3 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}
.news-item-content .news-meta {
    font-size: 0.85em;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.news-item-content .news-meta i {
    margin-right: 5px;
}
.news-item-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 15px;
}
.news-item-content .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-size: 0.9rem;
}
.news-item-content .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* --- İçerik Sayfaları --- */
.content-layout { display: flex; flex-wrap: wrap; gap: 30px; }
.main-content-area { flex: 1; min-width: 65%; }
.sidebar-area { flex-basis: 280px; flex-grow: 0; }

@media (max-width: 991.98px) {
    .content-layout { flex-direction: column; }
    .main-content-area { min-width: 100%; }
    .sidebar-area { flex-basis: auto; width: 100%; margin-top: 30px; border-top: 1px solid var(--border-color); padding-top: 30px; }
}

.sidebar-area h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--accent-color); border-bottom: 1px solid var(--medium-gray); padding-bottom: 8px; }
.sidebar-area ul { list-style: none; padding: 0; }
.sidebar-area ul li { margin-bottom: 10px; border-bottom: 1px dashed var(--medium-gray); padding-bottom: 8px; }
.sidebar-area ul li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-area ul li a { color: var(--text-color); display: block; }
.sidebar-area ul li a:hover { color: var(--primary-color); }

/* Haber Listesi */
.news-list article { margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--medium-gray); }
.news-list article:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.news-item-summary { display: flex; gap: 25px; }
.news-summary-image { flex-basis: 220px; flex-shrink: 0; }
.news-summary-image img { display: block; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.news-summary-content h2 { font-size: 1.6rem; margin-bottom: 8px; font-weight: 600; }
.news-summary-content h2 a { color: var(--dark-gray); }
.news-summary-content h2 a:hover { color: var(--primary-color); text-decoration: none; }
.news-meta { font-size: 0.85em; color: var(--text-muted); margin-bottom: 15px; }
.news-meta i { margin-right: 5px; }
.news-summary-content p { margin-bottom: 15px; color: var(--text-color); }
.news-summary-content .btn-primary { background-color: var(--accent-color); border-color: var(--accent-color); font-size: 0.9rem; }
.news-summary-content .btn-primary:hover { background-color: #0056b3; border-color: #0056b3; }

@media (max-width: 767.98px) {
    .news-item-summary { flex-direction: column; gap: 15px; }
    .news-summary-image { flex-basis: auto; max-width: 300px; }
    .news-summary-content h2 { font-size: 1.4rem; }
}

/* Tekil Haber */
.single-news-layout {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.news-content {
    flex: 1;
    min-width: 65%;
}

.news-content h1 {
    font-size: 2.1rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.news-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.news-meta span {
    margin-right: 15px;
}

.news-main-image {
    float: right;
    max-width: 40%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 5px;
    margin: 0 0 15px 20px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.news-image-content {
    overflow: hidden;
}

.news-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
}

.news-body p {
    margin-bottom: 1.2rem;
}

.news-body::after {
    content: "";
    display: table;
    clear: both;
}

.social-share {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.social-share strong {
    font-weight: 600;
    margin-right: 10px;
}

.social-share a {
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.social-share a:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    text-decoration: none;
}

.social-share a i {
    margin-right: 5px;
}

/* Sol Sidebar */
.sidebar {
    flex-basis: 280px;
    order: -1; /* Sidebar'ı sola taşır */
}

.sidebar h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}

.sidebar li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.sidebar-news-item {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    padding-left: 20px;
    position: relative;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.sidebar-news-item:hover {
    color: var(--accent-color);
    padding-left: 25px;
}

.sidebar-news-item::before {
    content: '\f1ea'; /* Font Awesome haber simgesi */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* Mobil Uyumluluk */
@media (max-width: 991.98px) {
    .news-item-summary { flex-direction: column; gap: 15px; }
    .news-grid { grid-template-columns: 1fr; } /* Mobil için tek sütun */
    .single-news-layout { flex-direction: column; }
    .news-content { min-width: 100%; }
    .sidebar { flex-basis: auto; width: 100%; margin-top: 30px; }
}

@media (max-width: 767.98px) {
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.6rem; }
    .hero-slider {
        height: 50vh; /* Use viewport height for consistency */
        min-height: 380px;
        max-height: none; /* Remove max-height to allow full image coverage */
    }
    .hero-slider .swiper-slide {
        background-size: cover; /* Ensure image covers the entire slide */
        background-position: center;
        height: 100%; /* Force slide to take full container height */
    }
    .slide-content h2 { font-size: 2rem; }
    .slide-content p { font-size: 1rem; }
    .slide-content .btn { padding: 10px 25px; font-size: 1rem; }
    .project-title { font-size: 1.6rem; }
    .focus-grid { grid-template-columns: 1fr; }
    .footer-columns { gap: 25px; }
    .footer-col { min-width: 100%; text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .news-main-image {
        float: none;
        max-width: 100%;
        margin: 0 0 15px 0;
    }
    .news-content h1 { font-size: 1.8rem; }
}

/* Sayfalama (Pagination) */
.pagination {
    display: flex;
    justify-content: center;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
}
.pagination .btn { margin: 0 2px; }
.pagination .btn-outline-primary { color: var(--primary-color); border-color: var(--primary-color); }
.pagination .btn-outline-primary:hover { background-color: var(--primary-color); color: #fff; }
.pagination .btn-primary { cursor: default; }
.pagination .btn-secondary { background-color: var(--medium-gray); border-color: var(--medium-gray); color: var(--text-muted); }
.pagination .btn-secondary:hover { background-color: var(--border-color); }

/* Sosyal Paylaşım */
.social-share { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--medium-gray); }
.social-share strong { font-weight: 600; margin-right: 10px; }
.social-share a {
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.9em;
    color: var(--text-muted);
    transition: all 0.2s ease;
}
.social-share a:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    text-decoration: none;
}
.social-share a i { margin-right: 5px; }

/* Hakkımızda Sayfası */
.about-content .about-image {
    float: right;
    margin-left: 25px;
    margin-bottom: 15px;
    max-width: 45%;
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
.about-content::after { content: ""; display: table; clear: both; }
.about-content h2 { font-size: 1.7rem; color: var(--primary-color); margin-top: 20px; margin-bottom: 15px; }
.about-content ul { list-style: disc; padding-left: 25px; }

/* Galeri Sayfası */
.gallery-layout { display: flex; gap: 30px; }
.gallery-categories { flex-basis: 230px; flex-shrink: 0; }
.gallery-categories h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--accent-color); }
.gallery-categories ul { list-style: none; padding: 0; }
.gallery-categories li a {
    display: block;
    padding: 10px 15px;
    margin-bottom: 5px;
    color: var(--text-color);
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-left: 3px solid transparent;
}
.gallery-categories li a.active,
.gallery-categories li a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
    font-weight: 500;
    border-left-color: var(--primary-color);
}

.gallery-grid-container { flex: 1; }
.gallery-grid { column-count: 3; column-gap: 15px; }
.gallery-item {
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: var(--light-gray);
}
.gallery-item a { display: block; }
.gallery-item img { display: block; width: 100%; border-radius: 5px; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.03); }

.gallery-item-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
    color: #fff;
    padding: 25px 15px 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border-radius: 0 0 5px 5px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; visibility: visible; }
.gallery-item-caption { font-size: 0.9em; margin-bottom: 8px; line-height: 1.3; }
.gallery-item-actions { font-size: 0.85em; }
.gallery-item-actions button, .gallery-item-actions a {
    background: none; border: none; color: rgba(255,255,255,0.8);
    margin-right: 10px; cursor: pointer; padding: 0; transition: color 0.2s;
}
.gallery-item-actions button:hover, .gallery-item-actions a:hover { color: #fff; }
.gallery-item-actions .like-btn.liked i { color: var(--error-color); font-weight: 900; }

.gallery-item.hidden { opacity: 0.1; pointer-events: none; }

@media (max-width: 991.98px) { .gallery-grid { column-count: 2; } }
@media (max-width: 575.98px) { .gallery-grid { column-count: 1; } }

/* İletişim Sayfası */
.contact-layout { display: flex; flex-wrap: wrap; gap: 40px; }
.contact-form-container { flex: 1; min-width: 60%; }
.contact-info { flex-basis: 320px; flex-grow: 0; background-color: var(--light-gray); padding: 30px; border-radius: 5px; }
.contact-info h3 { margin-bottom: 20px; color: var(--primary-color); font-size: 1.4rem; }
.contact-info p { margin-bottom: 18px; line-height: 1.5; display: flex; align-items: flex-start; }
.contact-info i { margin-right: 12px; color: var(--primary-color); font-size: 1.1rem; width: 22px; text-align: center; margin-top: 4px; }
.contact-info strong { display: block; margin-bottom: 3px; }
.map-container { margin-top: 25px; height: 280px; background-color: var(--medium-gray); border-radius: 4px; overflow: hidden; border: 1px solid var(--border-color); }
.map-container iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 991.98px) {
    .contact-layout { flex-direction: column; }
    .contact-form-container { min-width: 100%; }
    .contact-info { flex-basis: auto; width: 100%; margin-top: 30px; }
}

/* --- Alt Kısım (Footer) --- */
footer {
    background-color: var(--dark-gray);
    color: #adb5bd;
    padding: 50px 0 25px;
    margin-top: auto;
    font-size: 0.9rem;
}
.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 35px;
}
.footer-col { flex: 1; min-width: 220px; }
.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}
.footer-col p { color: #adb5bd; margin-bottom: 10px; line-height: 1.6; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #adb5bd; transition: color 0.2s, padding-left 0.2s; display: inline-block; }
.footer-col ul a:hover { color: #fff; text-decoration: none; padding-left: 5px; }
.footer-col ul a i { margin-right: 8px; }

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #495057;
    font-size: 0.85em;
    color: #6c757d;
}

/* --- Mobil Uyumluluk --- */
@media (max-width: 991.98px) {
    body {
        padding-top: calc(var(--header-height) - 10px);
    }
    header {
        height: calc(var(--header-height) - 10px);
    }
    .mobile-menu-button {
        display: inline-block;
    }
    .navbar-menu {
        display: none;
        position: fixed;
        top: calc(var(--header-height) - 10px);
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    .navbar-menu.active {
        display: flex;
    }
    .navbar-menu li {
        margin-left: 0;
        margin-bottom: 10px;
        width: 100%;
    }
    .navbar-menu a {
        padding: 10px 0;
        width: 100%;
    }
    .dropdown-menu {
        position: static;
        width: 100%;
        border: none;
        box-shadow: none;
        padding: 0 0 0 15px;
        opacity: 1;
        visibility: visible;
        display: none;
    }
    .dropdown.active .dropdown-menu {
        display: block;
    }
    .menu-item-user {
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    body {
        padding-top: calc(var(--header-height) - 15px);
        font-size: 0.95rem;
    }
    header {
        height: calc(var(--header-height) - 15px);
    }
    .slide-content h2 { font-size: 1.7rem; }
    .contribute-buttons .btn { min-width: 160px; font-size: 0.9rem; }
    .single-news-content h1 { font-size: 1.8rem; }
};
/* --- Anket Sayfası Stilleri --- */
.survey-item {
    background-color: var(--white-color); /* Veya --light-color */
    transition: var(--transition-base);
    border-left: 5px solid var(--primary-color); /* Sol kenara vurgu */
}

.survey-item:hover {
    box-shadow: var(--box-shadow);
    transform: translateY(-3px);
}

.survey-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: var(--font-weight-semibold);
}

.survey-action {
    margin-top: 1.5rem;
}

/* Gömülü iframe'lerin responsive olması için */
.survey-embed-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (çoğu form için uygun) */
    /* padding-top: 75%;  4:3 Aspect Ratio */
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.survey-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none; /* iframe kenarlığını kaldır */
}

.survey-action .btn i {
    margin-right: 0.5rem; /* Buton içindeki ikonun sağına boşluk */
}

/* --- İçerik Sayfaları --- */
/* ... (Önceki .content-layout, .main-content-area, .sidebar-area stilleri) ... */

/* --- Hareketlilik Detay Sayfası Özel Stilleri --- */
.mobility-detail-page .page-title-container {
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: calc(var(--spacer) * 0.8);
    margin-bottom: calc(var(--spacer) * 2);
}
.mobility-detail-page .page-title {
    border-bottom: none; /* Ana border container'da */
    padding-bottom: 0;
    margin-bottom: 0;
    display: inline; /* Bayrakla yan yana */
}
.mobility-detail-flag {
    width: 45px; /* Başlıktaki bayrak boyutu */
    height: auto;
    border-radius: 4px;
    box-shadow: var(--box-shadow-sm);
    flex-shrink: 0; /* Küçülmesin */
}

.mobility-sidebar .sidebar-widget { margin-bottom: 0; } /* Sidebar içi boşlukları kaldıralım */
.mobility-day-menu { margin-top: 0.5rem; }
.mobility-day-menu li { margin-bottom: 0; border-bottom: none; padding-bottom: 0;}
.mobility-day-menu li a {
    display: block;
    padding: 0.8rem 1rem; /* Daha sıkışık */
    margin-bottom: 0.2rem;
    color: var(--text-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-base);
    border-left: 4px solid transparent;
    font-size: 0.9rem; /* Menü yazı boyutu */
    text-decoration: none;
}
.mobility-day-menu li a.active,
.mobility-day-menu li a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    border-left-color: var(--primary-color);
    text-decoration: none;
}

/* Gün İçerik Alanı */
.mobility-content .hidden-day {
    display: none; /* Başlangıçta diğer günler gizli */
}
.mobility-day-title-main {
    color: var(--primary-color);
    margin-bottom: 1.8rem;
    font-weight: 600;
}
.day-header-section { overflow: hidden; /* Float için */ }
.mobility-day-header-image {
    float: left; /* Resmi sola yasla */
    width: 35%; /* Resim genişliği */
    max-width: 300px; /* Maksimum genişlik */
    height: auto;
    margin-right: 1.5rem;
    margin-bottom: 0.8rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-sm);
}
.mobility-day-description {
    line-height: 1.7;
    text-align: justify; /* İki yana yasla (isteğe bağlı) */
}
/* Mobil için resmi üste al */
@media (max-width: 767.98px) {
    .mobility-day-header-image {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
}


.mobility-day-video { margin-top: 2rem; }
.mobility-day-video h4,
.mobility-day-gallery h4 { margin-bottom: 1rem; font-size: 1.2rem; color: var(--dark-color); border-bottom: 1px solid var(--medium-gray); padding-bottom: 0.5rem;}
.video-embed-container { /* YouTube iframe'i responsive yapar */
    position: relative; overflow: hidden; width: 100%;
    max-width: 640px; /* Videoyu çok büyütme */
    margin-left: auto; /* Ortala */
    margin-right: auto;
    padding-top: 56.25%; /* 16:9 */
    border-radius: var(--border-radius); box-shadow: var(--box-shadow-sm);
    border: 1px solid var(--border-color);
}
.video-embed-container iframe { position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 100%; height: 100%; border: 0; }

/* Günlük Galeri Thumbnail'leri */
.mobility-day-gallery { margin-top: 2rem; }
.day-gallery-thumbnails {
    display: flex;
    flex-wrap: wrap; /* Sığmazsa alta kaydır */
    gap: 10px; /* Resimler arası boşluk */
}
.gallery-thumbnail-link {
    display: block;
    width: calc(20% - 8px); /* Yan yana 5 resim (boşlukları hesaba kat) */
    /* Veya: width: 120px; */
    height: auto;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
.gallery-thumbnail-link:hover {
    transform: scale(1.05);
    box-shadow: var(--box-shadow);
}
.gallery-thumbnail-img {
    display: block;
    width: 100%;
    height: 80px; /* Thumbnail yüksekliği */
    object-fit: cover; /* Resmi kırp/sığdır */
}
/* Thumbnail Responsive */
@media (max-width: 991.98px) {
    .gallery-thumbnail-link { width: calc(25% - 8px); } /* 4 resim */
}
@media (max-width: 767.98px) {
    .gallery-thumbnail-link { width: calc(33.333% - 7px); } /* 3 resim */
}
@media (max-width: 480px) {
    .gallery-thumbnail-link { width: calc(50% - 5px); } /* 2 resim */
     .gallery-thumbnail-img { height: 100px; }
}


/* Basit Modal Stilleri */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Koyu arkaplan */
    z-index: 1050; /* Header'ın üzerinde */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Başlangıçta gizli */
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    background-color: #fff; /* İsteğe bağlı - sadece resmi göstermek için */
    padding: 10px; /* Resim etrafında boşluk */
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    display: flex; /* İçeriği ortalamak için */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#modalImage {
    display: block;
    max-width: 100%;
    max-height: calc(85vh - 80px); /* Ekran yüksekliğine göre ayarla (caption payı) */
    height: auto;
    width: auto; /* En boy oranını koru */
}
#modalCaption {
    color: #ccc;
    text-align: center;
    padding: 15px 10px 5px 10px;
    font-size: 0.9rem;
}
.modal-close-button,
.modal-prev-button,
.modal-next-button {
    position: absolute;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 2.5rem;
    font-weight: bold;
    transition: color 0.2s ease;
    z-index: 1051;
    user-select: none;
}
.modal-close-button:hover,
.modal-prev-button:hover,
.modal-next-button:hover {
    color: #fff;
}
.modal-close-button {
    top: 15px;
    right: 25px;
    font-size: 2rem;
}
.modal-prev-button,
.modal-next-button {
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 15px;
    background-color: rgba(0,0,0,0.3);
    border-radius: 5px;
}
.modal-prev-button { left: 15px; }
.modal-next-button { right: 15px; }

/* --- Ana Sayfa - Dinamik Hareketlilikler --- */
.home-mobilities-section {
    background-color: var(--light-color); /* Veya istediğiniz arka plan */
}
.home-mobilities-grid {
    display: grid;
    /* Otomatik sığdırma ve min boyut belirleme */
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 1.5rem; /* Kartlar arası boşluk */
}
.home-mobility-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%; /* Grid öğesinin yüksekliğini doldur */
}
.home-mobility-card {
    display: flex;
    align-items: center;
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius); /* Biraz daha az yuvarlak */
    padding: 1.2rem 1.5rem;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-base);
    position: relative; /* Ok ikonu için */
    height: 100%; /* Linkin yüksekliğini al */
}
.home-mobility-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}
.home-mobility-flag {
    flex-shrink: 0;
    margin-right: 1rem;
    width: 50px;
    height: 33px;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 0 3px rgba(var(--black-rgb), 0.1);
}
.home-mobility-flag img { width: 100%; height: 100%; object-fit: cover; }
.home-mobility-info { flex-grow: 1; }
.home-mobility-info h3 { margin-bottom: 0.2rem; font-size: 1.15rem; color: var(--dark-color); font-weight: 600; }
.home-mobility-info p { margin-bottom: 0; font-size: 0.9rem; color: var(--muted-color); }
.arrow-icon {
    margin-left: 1rem;
    color: var(--primary-color);
    font-size: 1rem;
    opacity: 0.5;
    transition: var(--transition-base);
    align-self: center; /* Oku dikeyde ortala */
}
.home-mobility-card:hover .arrow-icon {
    opacity: 1;
    transform: translateX(4px);
}

/* --- Ana Sayfa - Dinamik Hareketlilikler --- */
.home-mobilities-section {
    /* background-color: var(--light-color); */ /* Eski renk */
    /*background-color: #e7f0f8; /* <<< YENİ ZEMİN RENGİ (Açık Mavi Tonu) */
    /* Veya başka bir renk: */
    /* background-color: #f0f0f0; */ /* Çok açık gri */
     background-color: var(--medium-gray); */ /* Orta gri */
	padding-top: var(--section-padding-y); /* Değişkendeki değeri direkt yazın veya artırın */
    padding-bottom: var(--section-padding-y); /* Değişkendeki değeri direkt yazın veya artırın */
}

/* --- İçerik Detay Sayfası --- */
.content-detail-page .page-title { /* Başlık stili zaten var */ }

.content-body {
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 2rem; /* Sonraki bölümden boşluk */
}
.content-featured-image { /* Öne çıkan resim */
    float: right; width: 35%; max-width: 280px; /* Biraz daha küçük */
    height: auto; margin: 0 0 1rem 1.5rem; border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-sm);
}
.content-body::after { content: ""; display: table; clear: both; } /* Clearfix */
@media (max-width: 767.98px) { .content-featured-image { float: none; width: 100%; max-width: 400px; margin: 0 auto 1.5rem auto; display: block; } }

@media (max-width: 767.98px) {
    .content-featured-image {
        float: none;
        width: 100%;
        max-width: 400px; /* Mobilde çok büyük olmasın */
        margin: 0 auto 1.5rem auto; /* Ortala */
        display: block;
    }
}



/* Dosyalar ve Linkler */
.content-files .list-group-flush { border: 1px solid var(--medium-gray); border-radius: var(--border-radius); }
.content-files .list-group-item { padding: 0.8rem 1rem; background: none; border-top: 1px solid var(--medium-gray); }
.content-files .list-group-item:first-child { border-top: none; }
.content-files .list-group-item i { width: 20px; text-align: center;}
.content-files .list-group-item .btn { font-weight: 500; }

.content-gallery { margin-top: 2rem; }
.content-gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Resimler arası boşluk */
    margin-top: 1rem; /* Başlıktan sonra boşluk */
}
.gallery-thumbnail-link {
    display: block;
    /* Genişlikleri responsive yapalım */
    width: calc(20% - 8px); /* 5'li sıra */
    height: auto;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    background-color: var(--light-color); /* Yüklenene kadar */
}
.gallery-thumbnail-link:hover {
    transform: scale(1.05);
    box-shadow: var(--box-shadow);
}
.gallery-thumbnail-img {
    display: block;
    width: 100%;
    height: 100px; /* Thumbnail yüksekliği */
    object-fit: cover; /* Resmi kırp/sığdır */
}

/* --- Çerez ve KVKK Uyarisi Stilleri (ÖZEL TASARIM) --- */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Arka plan rengi ve seffaflik */
    background-color: #2c3e50; /* Koyu, modern bir mavi-gri */
    color: #ecf0f1; /* Açik, okunabilir bir gri (beyaza yakin) */
    padding: 1rem 1.5rem;
    z-index: 1050;
    
    display: none; /* Baslangiçta gizli */
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap; /* Masaüstünde alt alta gelmesini engelle */
    gap: 1.5rem; /* Ögeler arasi bosluk */
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.15); /* Üstte gölge */
    
    /* Animasyon */
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Yumusak giris animasyonu */
}

.cookie-consent-banner.show {
    display: flex;
    transform: translateY(0);
}

.cookie-content {
    flex: 1 1 auto;
    padding-right: 1.5rem;
}

/* <<< Normal Metin Stili >>> */
.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    /* Renk zaten body'den (veya banner'in kendisinden) geliyor: color: #ecf0f1; */
}

/* <<< Link Stili (KVKK Metni) >>> */
.cookie-content a {
    color: var(--secondary-color); /* <<< Istenilen gibi baslangiçta SARI */
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.cookie-content a:hover {
    color: #fff; /* <<< Üzerine gelince BEYAZ/PARLAK olsun */
    text-decoration: underline; /* Alt çizgi kalsin */
}

/* <<< Buton Alani Stili >>> */
.cookie-actions {
    flex-shrink: 0;
}

/* <<< ANLADIM BUTONU Stili >>> */
.cookie-actions .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    background-color: var(--primary-color); /* Mavi arkaplan */
    border: 1px solid var(--primary-color);
    color: var(--white-color); /* <<< YAZI RENGI AÇIK (BEYAZ) >>> */
    border-radius: 5px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cookie-actions .btn:hover {
    background-color: var(--link-hover-color); /* <<< Üzerine gelince arka plan KOYULASSIN */
    border-color: var(--link-hover-color);
    color: var(--white-color); /* <<< YAZI RENGI DEGISMESIN, AÇIK KALSIN >>> */
    transform: none; /* Bu butonda hover'da kalkma efekti olmasin */
    box-shadow: none;
    filter: none;
}


/* === Mobil için Düzeltmeler === */
@media (max-width: 767.98px) {
    .cookie-consent-banner {
        flex-direction: column; /* Ögeleri alt alta diz */
        align-items: center; /* Ortala */
        text-align: center;
        padding: 1.2rem;
        gap: 1rem;
    }

    .cookie-content {
        padding-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .cookie-content p {
        font-size: 0.85rem;
    }

    .cookie-actions {
        width: 100%;
        text-align: center;
    }
     .cookie-actions .btn {
         width: 80%; /* Buton genisligi */
         max-width: 300px;
     }
}

/* En küçük telefonlar için özel ayar (Istege bagli) */
@media (max-width: 400px) {
     .cookie-actions .btn {
         width: 100%; /* En küçüklerde tam genislik */
     }
}

/* Footer Sosyal Medya Ikonlari */
.footer-social-icons {
    display: flex; /* Ikonlari yan yana diz */
    gap: 1rem; /* Ikonlar arasi bosluk */
}

.footer-social-icons a {
    color: var(--light-gray); /* Ikon rengi */
    font-size: 1.5rem; /* Ikon boyutu */
    text-decoration: none;
    transition: var(--transition-base);
    opacity: 0.8;
}

.footer-social-icons a:hover {
    color: var(--secondary-color); /* Hover'da sari renk */
    opacity: 1;
    transform: translateY(-2px); /* Hafif yukari kalkma efekti */
}

/* Iletisim sayfasindaki ikonlarin hizalanmasi için (eger bozulursa) */
.contact-info p {
    display: flex;
    align-items: flex-start; /* Ikon ve metni üstten hizala */
}
.contact-info i {
    flex-shrink: 0; /* Ikonun küçülmesini engelle */
    margin-top: 5px; /* Metinle dikey hizalama için ince ayar */
}

.poll-options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.poll-option-card { border: 1px solid var(--border-color); border-radius: var(--border-radius); }
.poll-option-card input[type="radio"] { display: none; }
.poll-option-card label { display: block; padding: 1rem; cursor: pointer; text-align: center; height: 100%; transition: var(--transition-base); }
.poll-option-card input[type="radio"]:checked + label { border: 2px solid var(--primary-color); box-shadow: var(--box-shadow-sm); }
.poll-option-card label:hover { background-color: var(--light-color); }
.slogan-text { font-style: italic; font-size: 1.1rem; }
.poll-option-card img { max-width: 100%; height: auto; max-height: 150px; object-fit: contain; }

/* --- Anket/Oylama Sayfasi Stilleri --- */
.poll-options-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobilde tek sütun */
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .poll-options-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    }
}

.poll-option-card {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    position: relative; /* Içerik için */
    transition: var(--transition-base);
}
.poll-radio { /* Radio butonu gizle */
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.poll-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    cursor: pointer;
    text-align: center;
    height: 100%;
    min-height: 150px;
    border-radius: var(--border-radius);
}
.poll-label:hover {
    background-color: var(--light-color);
}
.poll-radio:checked + .poll-label {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color), var(--box-shadow-sm);
    background-color: rgba(var(--primary-rgb), 0.05);
}
.slogan-text {
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-color);
}
.logo-image {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

/* Anket Sonuçlari */
.poll-results {
    margin-top: 2rem;
}
.result-item {
    margin-bottom: 1.5rem;
}
.result-label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.result-image {
    max-height: 80px;
    border: 1px solid var(--border-color);
    padding: 5px;
    border-radius: var(--border-radius-sm);
    background: var(--white-color);
}
.result-bar-wrapper {
    background-color: var(--medium-gray);
    border-radius: var(--border-radius);
    position: relative;
    height: 30px;
    line-height: 30px;
    color: var(--white-color);
    font-size: 0.9rem;
}
.result-bar {
    background-color: var(--primary-color);
    height: 100%;
    border-radius: var(--border-radius);
    white-space: nowrap;
    padding-left: 10px;
    transition: width 0.6s ease;
}
.percentage-text {
    position: absolute;
    right: 10px;
    top: 0;
    color: var(--dark-color);
    font-weight: 500;
}

/* Anket Listeleme Sayfasi */
.poll-list-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .poll-list-grid { grid-template-columns: repeat(2, 1fr); } }

.poll-list-card {
    display: flex; gap: 1.5rem; padding: 1.5rem;
    border: 1px solid var(--border-color); border-radius: var(--border-radius);
    background-color: var(--white-color); transition: var(--transition-base);
    box-shadow: var(--box-shadow-sm);
}
.poll-list-card:hover { transform: translateY(-4px); box-shadow: var(--box-shadow); }
.poll-list-icon { font-size: 2.5rem; color: var(--primary-color); flex-shrink: 0; margin-top: 5px; }
.poll-list-content { display: flex; flex-direction: column; }
.poll-list-content h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.poll-list-content p { flex-grow: 1; font-size: 0.9rem; }
.poll-list-content .btn { align-self: flex-start; /* Butonu sola yasla */ }