/* ==========================================================================
   GİHSAD — Kullanıcı arayüzü teması
   Renkler logodan türetilmiştir: petrol yeşili (harita), kırmızı (asa), antrasit (yazı).
   ========================================================================== */

:root {
    --g-primary: #0e7c7b;
    --g-primary-600: #0b6968;
    --g-primary-700: #0a5357;
    --g-primary-900: #06343a;
    --g-primary-50: #eaf5f5;
    --g-primary-100: #d3ebea;
    --g-accent: #d4342c;
    --g-accent-600: #b82a23;
    --g-accent-50: #fdeeed;
    --g-ink: #17252b;
    --g-body: #3d4b52;
    --g-muted: #6b7a82;
    --g-line: #e3e9ec;
    --g-soft: #f4f8f9;
    --g-white: #fff;
    --g-radius: 16px;
    --g-radius-sm: 10px;
    --g-shadow-sm: 0 1px 2px rgba(16, 42, 50, .06), 0 2px 8px rgba(16, 42, 50, .05);
    --g-shadow: 0 10px 30px -12px rgba(16, 42, 50, .18);
    --g-shadow-lg: 0 24px 60px -20px rgba(6, 52, 58, .35);
    --g-font-head: "Poppins", system-ui, sans-serif;
    --g-font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    --g-header-h: 84px;

    --bs-primary: var(--g-primary);
    --bs-primary-rgb: 14, 124, 123;
    --bs-link-color: var(--g-primary);
    --bs-link-color-rgb: 14, 124, 123;
    --bs-link-hover-color: var(--g-primary-700);
    --bs-link-hover-color-rgb: 10, 83, 87;
    --bs-body-font-family: var(--g-font-body);
    --bs-body-color: var(--g-body);
    --bs-border-color: var(--g-line);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--g-font-body);
    color: var(--g-body);
    background: var(--g-white);
    font-size: .95rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--g-font-head);
    color: var(--g-ink);
    font-weight: 700;
    letter-spacing: -.01em;
}

a { text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; }

::selection { background: var(--g-primary-100); color: var(--g-primary-900); }

:focus-visible { outline: 3px solid rgba(14, 124, 123, .45); outline-offset: 2px; }

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 2000;
    background: var(--g-primary); color: #fff; padding: .5rem 1rem; border-radius: var(--g-radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
    --bs-btn-font-weight: 600;
    --bs-btn-padding-x: 1.1rem;
    --bs-btn-padding-y: .6rem;
    --bs-btn-border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    transition: all .2s ease;
}
.btn-lg { --bs-btn-padding-x: 1.5rem; --bs-btn-padding-y: .8rem; --bs-btn-font-size: 1rem; --bs-btn-border-radius: 999px; }
.btn-primary {
    --bs-btn-bg: var(--g-primary); --bs-btn-border-color: var(--g-primary);
    --bs-btn-hover-bg: var(--g-primary-700); --bs-btn-hover-border-color: var(--g-primary-700);
    --bs-btn-active-bg: var(--g-primary-900); --bs-btn-active-border-color: var(--g-primary-900);
    --bs-btn-disabled-bg: var(--g-primary); --bs-btn-disabled-border-color: var(--g-primary);
    box-shadow: 0 8px 20px -8px rgba(14, 124, 123, .6);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-outline-primary {
    --bs-btn-color: var(--g-primary); --bs-btn-border-color: var(--g-primary-100);
    --bs-btn-hover-bg: var(--g-primary-50); --bs-btn-hover-color: var(--g-primary-700); --bs-btn-hover-border-color: var(--g-primary);
    --bs-btn-active-bg: var(--g-primary-100); --bs-btn-active-color: var(--g-primary-700); --bs-btn-active-border-color: var(--g-primary);
    background: #fff;
}
.btn-accent {
    --bs-btn-color: #fff; --bs-btn-bg: var(--g-accent); --bs-btn-border-color: var(--g-accent);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--g-accent-600); --bs-btn-hover-border-color: var(--g-accent-600);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--g-accent-600);
    box-shadow: 0 8px 20px -8px rgba(212, 52, 44, .6);
}
.btn-light { --bs-btn-color: var(--g-primary-700); --bs-btn-hover-color: var(--g-primary-900); }
.link-arrow { color: var(--g-primary); font-weight: 600; padding-inline: 0; }
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(4px); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--g-accent); margin-bottom: .75rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g-accent); box-shadow: 0 0 0 4px var(--g-accent-50); }
.eyebrow-light { color: #ffd9d6; }

.text-gradient {
    background: linear-gradient(100deg, var(--g-primary-700) 0%, var(--g-primary) 60%, #17a3a0 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Top bar ---------- */
.topbar {
    background: var(--g-primary-900);
    color: rgba(255, 255, 255, .8);
    font-size: .85rem;
    padding: .55rem 0;
}
.topbar-info li { display: flex; align-items: center; gap: .45rem; }
.topbar-info i { color: #7fd1cf; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: #fff; }

.social-links a {
    width: 32px; height: 32px; display: inline-grid; place-items: center;
    border-radius: 50%; font-size: .9rem; transition: all .2s ease;
}
.topbar .social-links a { width: 28px; height: 28px; font-size: .8rem; }
.topbar .social-links a:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1030;
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease;
}
/* Blur ayrı katmanda: header üzerinde backdrop-filter olursa içindeki offcanvas (position: fixed) header'a hapsolur. */
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(16, 42, 50, .25); border-bottom-color: var(--g-line); }
.site-header .navbar { min-height: var(--g-header-h); padding: .5rem 0; }

.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--g-ink); }
.brand img { object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--g-font-head); font-size: 1.35rem; font-weight: 800; letter-spacing: .02em; color: var(--g-ink); }
.brand-text small { font-size: .7rem; color: var(--g-muted); font-weight: 500; }
.brand-light strong { color: #fff; }
.brand-light small { color: rgba(255, 255, 255, .65); }

.main-nav .nav-link {
    position: relative;
    font-weight: 600; font-size: .95rem; color: var(--g-ink); white-space: nowrap;
    padding: .6rem .85rem !important;
    border-radius: 999px;
}
.main-nav .nav-link:hover, .main-nav .nav-link:focus { color: var(--g-primary); }
.main-nav .nav-link.active { color: var(--g-primary); background: var(--g-primary-50); }
.main-nav .dropdown-toggle::after { border: 0; content: "\F282"; font-family: "bootstrap-icons"; font-size: .7rem; vertical-align: middle; margin-left: .3rem; transition: transform .2s ease; }
.main-nav .dropdown-toggle.show::after { transform: rotate(180deg); }

.dropdown-menu {
    --bs-dropdown-border-color: var(--g-line);
    --bs-dropdown-border-radius: 14px;
    --bs-dropdown-padding-y: .5rem;
    --bs-dropdown-link-active-bg: var(--g-primary-50);
    --bs-dropdown-link-active-color: var(--g-primary);
    box-shadow: var(--g-shadow);
    min-width: 230px;
    padding-inline: .5rem;
}
.dropdown-item {
    display: flex; align-items: center; gap: .65rem;
    border-radius: 10px; padding: .6rem .75rem; font-weight: 500; color: var(--g-ink);
}
.dropdown-item i { color: var(--g-primary); font-size: 1.05rem; }
.dropdown-item:hover { background: var(--g-soft); color: var(--g-primary); }
.dropdown-item.active { background: var(--g-primary-50); color: var(--g-primary); }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.icon-btn {
    width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid var(--g-line); background: #fff;
    color: var(--g-ink); font-size: 1.15rem; transition: all .2s ease;
}
.icon-btn:hover { border-color: var(--g-primary); color: var(--g-primary); background: var(--g-primary-50); }

@media (min-width: 1200px) {
    .main-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; animation: dropIn .18s ease; }
    .main-nav .dropdown > .dropdown-menu { top: 100%; }
    .main-nav .dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
}
@keyframes dropIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 1199.98px) {
    .site-header .navbar { min-height: 72px; }
    .brand img { width: 46px; height: 46px; }
    .brand-text strong { font-size: 1.15rem; }
    .offcanvas { --bs-offcanvas-width: 320px; }
    .offcanvas-header { border-bottom: 1px solid var(--g-line); }
    .offcanvas-body { display: flex; flex-direction: column; gap: 1.25rem; }
    .main-nav .nav-link { border-radius: 12px; padding: .75rem 1rem !important; }
    .main-nav .dropdown-menu { box-shadow: none; border: 0; background: var(--g-soft); margin: .25rem 0 .5rem; }
    .header-actions .btn { width: 100%; }
    .offcanvas-contact { display: flex; flex-direction: column; gap: .65rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--g-line); font-size: .9rem; color: var(--g-muted); }
    .offcanvas-contact a { color: var(--g-ink); }
    .offcanvas-contact i { color: var(--g-primary); margin-right: .35rem; }
    .offcanvas-contact .social-links a { background: var(--g-soft); color: var(--g-primary); }
}

/* ---------- Search overlay ---------- */
.search-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(6, 52, 58, .92);
    backdrop-filter: blur(6px);
    display: grid; place-items: start center; padding: 18vh 1.25rem 0;
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-form { width: 100%; max-width: 720px; transform: translateY(-12px); transition: transform .3s ease; }
.search-overlay.open .search-form { transform: none; }
.search-label { color: #fff; font-family: var(--g-font-head); font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; display: block; }
.search-field, .search-inline {
    display: flex; align-items: center; gap: .75rem;
    background: #fff; border-radius: 999px; padding: .5rem .5rem .5rem 1.4rem; box-shadow: var(--g-shadow-lg);
}
.search-field i, .search-inline i { color: var(--g-muted); font-size: 1.15rem; }
.search-field input, .search-inline input { flex: 1; border: 0; outline: 0; font-size: 1.05rem; min-width: 0; background: transparent; }
.search-inline { max-width: 640px; margin-inline: auto; border: 1px solid var(--g-line); box-shadow: var(--g-shadow-sm); }
.search-close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    width: 48px; height: 48px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.2rem;
}
.search-close:hover { background: rgba(255, 255, 255, .22); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-soft { background: var(--g-soft); }
.section-head { margin-bottom: 2.5rem; max-width: 100%; }
.section-head.text-center { max-width: 680px; }
.section-title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-bottom: .75rem; }
.section-lead { color: var(--g-muted); font-size: 1.05rem; max-width: 620px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(60% 60% at 90% 10%, rgba(14, 124, 123, .14), transparent 70%),
        radial-gradient(40% 50% at 0% 100%, rgba(212, 52, 44, .08), transparent 70%),
        linear-gradient(180deg, #f7fbfb 0%, #fff 100%);
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(14, 124, 123, .12) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 75%);
}
.hero-title { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); line-height: 1.1; font-weight: 800; margin-bottom: 1.25rem; }
.hero-lead { font-size: 1.15rem; color: var(--g-muted); max-width: 560px; margin-bottom: 2rem; }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin: 2.5rem 0 0; padding-top: 2rem; border-top: 1px dashed var(--g-line); }
.hero-highlights li { display: flex; gap: .85rem; align-items: center; }
.hero-highlights i {
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
    background: var(--g-primary-50); color: var(--g-primary); font-size: 1.3rem;
}
.hero-highlights li:nth-child(2) i { background: var(--g-accent-50); color: var(--g-accent); }
.hero-highlights span { display: flex; flex-direction: column; line-height: 1.3; font-size: .9rem; color: var(--g-muted); }
.hero-highlights strong { color: var(--g-ink); font-size: 1rem; }

.hero-carousel { border-radius: 24px; overflow: hidden; box-shadow: var(--g-shadow-lg); }
.hero-slide { position: relative; display: block; aspect-ratio: 4 / 3.2; color: #fff; }
.hero-slide > img, .hero-slide > .cover-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6, 30, 34, .88) 100%); }
.hero-slide-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 2rem 2rem 3.25rem; }
.hero-slide-caption h2 { color: #fff; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); margin: .75rem 0 .5rem; line-height: 1.25; }
.post-meta-light { color: rgba(255, 255, 255, .8); font-size: .875rem; display: inline-flex; gap: .4rem; }
.hero-carousel .carousel-indicators { justify-content: flex-start; margin: 0 2rem 1.25rem; z-index: 3; }
.hero-carousel .carousel-indicators [data-bs-target] { width: 22px; height: 5px; border-radius: 99px; border: 0; transition: width .3s ease; }
.hero-carousel .carousel-indicators .active { width: 40px; }
.hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next {
    width: 44px; height: 44px; top: 1.25rem; bottom: auto; border-radius: 50%;
    background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); opacity: 1; font-size: 1.1rem; z-index: 3;
}
.hero-carousel .carousel-control-prev { left: auto; right: 4.25rem; }
.hero-carousel .carousel-control-next { right: 1.25rem; }
.hero-carousel .carousel-control-prev:hover, .hero-carousel .carousel-control-next:hover { background: rgba(255, 255, 255, .32); }

/* ---------- Cover placeholders (görsel yoksa) ---------- */
.cover-placeholder {
    display: grid; place-items: center; width: 100%; height: 100%;
    position: relative; overflow: hidden;
}
.cover-placeholder img { width: 38%; max-width: 160px; opacity: .22; filter: grayscale(1) brightness(3); }
.cover-v0 { background: linear-gradient(135deg, #0e7c7b 0%, #06343a 100%); }
.cover-v1 { background: linear-gradient(135deg, #1b8f8a 0%, #0a5357 60%, #3a1c1f 100%); }
.cover-v2 { background: linear-gradient(135deg, #0a5357 0%, #13292e 100%); }
.cover-v3 { background: linear-gradient(135deg, #b82a23 0%, #5b1e22 55%, #0a5357 100%); }
.cover-placeholder::before {
    content: ""; position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 60%);
    top: -70%; right: -60%;
}

/* ---------- Badges ---------- */
.badge-type {
    position: absolute; top: 1rem; left: 1rem; z-index: 2;
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .35rem .75rem; border-radius: 999px;
    font-size: .75rem; font-weight: 700; letter-spacing: .02em;
    background: rgba(255, 255, 255, .95); color: var(--g-primary);
    box-shadow: var(--g-shadow-sm);
}
.badge-news { color: var(--g-primary); }
.badge-announcement { color: var(--g-accent); }
.badge-column { color: #7a4f10; }
.article-meta .badge-type { background: var(--g-primary-50); box-shadow: none; }
.article-meta .badge-announcement { background: var(--g-accent-50); }
.article-meta .badge-column { background: #fbf3e4; }
.pill { display: inline-block; padding: .35rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .03em; }
.pill-primary { background: var(--g-primary-50); color: var(--g-primary); }
.pill-muted { background: var(--g-soft); color: var(--g-muted); }

/* ---------- Ticker ---------- */
.ticker { background: var(--g-ink); color: #fff; padding: .85rem 0; overflow: hidden; }
.ticker-label {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: .5rem;
    background: var(--g-accent); color: #fff; font-weight: 700; font-size: .85rem;
    padding: .4rem .9rem; border-radius: 999px;
}
.ticker-label:hover { color: #fff; background: var(--g-accent-600); }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
/* Duyurular sağ kenardan girip sol kenardan çıkar, sonra baştan başlar. Başlangıç / bitiş konumu ve süre
   (sabit hız için) site.js tarafından şeridin ve içeriğin genişliğine göre hesaplanır. */
.ticker-items { display: flex; gap: 3rem; width: max-content; }
.ticker-track.is-ready .ticker-items { animation: ticker var(--ticker-duration) linear infinite; }
.ticker-track:hover .ticker-items { animation-play-state: paused; }
.ticker-items a { color: rgba(255, 255, 255, .85); font-size: .92rem; white-space: nowrap; }
.ticker-items a:hover { color: #fff; }
.ticker-items span { color: #7fd1cf; font-weight: 600; margin-right: .5rem; }
@keyframes ticker { from { transform: translateX(var(--ticker-from)); } to { transform: translateX(var(--ticker-to)); } }
@media (prefers-reduced-motion: reduce) { .ticker-track.is-ready .ticker-items { animation: none; } }

/* ---------- Feature cards ---------- */
.feature-card {
    height: 100%; padding: 2rem 1.75rem; border-radius: var(--g-radius);
    background: #fff; border: 1px solid var(--g-line);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--g-shadow); border-color: transparent; }
.feature-card h3 { font-size: 1.15rem; margin: 1.25rem 0 .6rem; }
.feature-card p { color: var(--g-muted); margin: 0; font-size: .95rem; }
.feature-icon {
    width: 56px; height: 56px; border-radius: 16px; display: inline-grid; place-items: center;
    background: var(--g-primary-50); color: var(--g-primary); font-size: 1.5rem;
}
.feature-icon-accent { background: var(--g-accent-50); color: var(--g-accent); }

/* ---------- Post card ---------- */
.post-card {
    position: relative; height: 100%; display: flex; flex-direction: column;
    background: #fff; border-radius: var(--g-radius); overflow: hidden;
    border: 1px solid var(--g-line);
    transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--g-shadow); }
.post-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card-media > img, .post-card-media > .cover-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card-media > img, .post-card:hover .post-card-media > .cover-placeholder { transform: scale(1.05); }
.post-card-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .8rem; color: var(--g-muted); margin-bottom: .6rem; }
.post-meta i { color: var(--g-primary); margin-right: .2rem; }
.post-card-title { font-size: 1.1rem; line-height: 1.35; margin-bottom: .6rem; }
.post-card-title a { color: var(--g-ink); }
.post-card:hover .post-card-title a { color: var(--g-primary); }
.post-card-summary {
    color: var(--g-muted); font-size: .92rem; margin-bottom: 1rem;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.read-more { margin-top: auto; font-weight: 600; font-size: .88rem; color: var(--g-primary); display: inline-flex; gap: .35rem; align-items: center; }
.read-more i { transition: transform .2s ease; }
.post-card:hover .read-more i { transform: translateX(4px); }

/* ---------- Announcements & columns ---------- */
.announcement-list { display: flex; flex-direction: column; gap: .75rem; margin: 0; }
.announcement-item {
    display: flex; align-items: center; gap: 1.1rem;
    padding: 1rem 1.25rem; border-radius: var(--g-radius);
    background: #fff; border: 1px solid var(--g-line); color: var(--g-ink);
    transition: all .2s ease;
}
.announcement-item:hover { border-color: var(--g-primary-100); background: var(--g-primary-50); color: var(--g-ink); transform: translateX(4px); }
.announcement-item > i { color: var(--g-muted); margin-left: auto; }
.date-badge {
    flex-shrink: 0; width: 60px; height: 64px; border-radius: 14px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: var(--g-primary); color: #fff; line-height: 1;
}
.date-badge strong { font-family: var(--g-font-head); font-size: 1.45rem; }
.date-badge small { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; margin-top: .25rem; opacity: .85; }
.announcement-item:nth-child(even) .date-badge { background: var(--g-accent); }
.announcement-text { display: flex; flex-direction: column; min-width: 0; }
.announcement-text strong { font-weight: 600; font-size: 1rem; }
.announcement-text small { color: var(--g-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.column-list { display: flex; flex-direction: column; gap: .75rem; }
.column-item {
    display: flex; gap: 1.1rem; align-items: flex-start;
    padding: 1.25rem; border-radius: var(--g-radius); border: 1px solid var(--g-line);
    background: #fff; color: var(--g-ink); transition: all .2s ease;
}
.column-item:hover { box-shadow: var(--g-shadow); border-color: transparent; color: var(--g-ink); }
.column-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.column-text small { color: var(--g-accent); font-weight: 600; font-size: .8rem; }
.column-text strong { font-family: var(--g-font-head); font-size: 1.05rem; }
.column-text > span { color: var(--g-muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.avatar {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
    display: inline-grid; place-items: center;
    background: linear-gradient(135deg, var(--g-primary) 0%, var(--g-primary-900) 100%);
    color: #fff; font-family: var(--g-font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em;
}
.avatar-lg { width: 60px; height: 60px; font-size: 1.2rem; }
.avatar-xl { width: 96px; height: 96px; font-size: 2rem; box-shadow: 0 0 0 6px rgba(255, 255, 255, .15); }
.avatar-muted { background: var(--g-primary-50); color: var(--g-primary); }

/* ---------- Gallery ---------- */
.gallery-mosaic {
    display: grid; gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
}
.gallery-mosaic > :first-child { grid-column: span 2; grid-row: span 2; }
.gallery-mosaic > :nth-child(4) { grid-column: span 2; }
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-rows: 220px; }
.gallery-grid > :nth-child(6n + 1) { grid-row: span 2; }

.photo-tile {
    position: relative; overflow: hidden; border-radius: var(--g-radius);
    border: 0; padding: 0; background: var(--g-primary-900); cursor: zoom-in; text-align: left;
}
.photo-tile > img, .photo-tile > .cover-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6, 30, 34, .8)); opacity: .85; transition: opacity .3s ease; }
.photo-tile:hover > img, .photo-tile:hover > .cover-placeholder { transform: scale(1.06); }
.photo-caption { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 2; display: flex; flex-direction: column; color: #fff; line-height: 1.3; }
.photo-caption strong { font-weight: 600; }
.photo-caption small { opacity: .75; font-size: .8rem; }
.photo-zoom {
    position: absolute; top: 1rem; right: 1rem; z-index: 2;
    width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); color: #fff;
    opacity: 0; transform: scale(.85); transition: all .25s ease;
}
.photo-tile:hover .photo-zoom { opacity: 1; transform: none; }

@media (max-width: 767.98px) {
    .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .gallery-mosaic > :nth-child(4) { grid-column: auto; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}

.segmented { display: inline-flex; padding: .3rem; border-radius: 999px; background: var(--g-soft); border: 1px solid var(--g-line); }
.segmented a { display: inline-flex; gap: .45rem; align-items: center; padding: .55rem 1.2rem; border-radius: 999px; font-weight: 600; color: var(--g-muted); }
.segmented a.active { background: #fff; color: var(--g-primary); box-shadow: var(--g-shadow-sm); }

.video-card {
    width: 100%; text-align: left; border: 1px solid var(--g-line); background: #fff; padding: 0;
    border-radius: var(--g-radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--g-shadow); }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; }
.video-thumb > img, .video-thumb > .cover-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play-btn {
    position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%;
    display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--g-accent);
    font-size: 2rem; box-shadow: 0 0 0 10px rgba(255, 255, 255, .2); transition: transform .25s ease;
}
.video-card:hover .play-btn { transform: scale(1.08); }
.video-body { display: flex; flex-direction: column; gap: .25rem; padding: 1.1rem 1.25rem 1.3rem; }
.video-body strong { font-family: var(--g-font-head); color: var(--g-ink); font-size: 1.05rem; }
.video-body small { color: var(--g-muted); }
.video-body i { color: var(--g-primary); }

.lightbox .modal-content { background: transparent; border: 0; }
.lightbox-media { border-radius: var(--g-radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.lightbox-media img, .lightbox-media iframe, .lightbox-media .cover-placeholder { width: 100%; height: 100%; object-fit: contain; border: 0; display: grid; }
.lightbox-caption { color: #fff; padding: 1rem .25rem 0; display: flex; flex-direction: column; }
.lightbox-caption small { opacity: .7; }
.lightbox-close {
    position: absolute; top: -3.25rem; right: 0; width: 42px; height: 42px; border-radius: 50%;
    border: 0; background: rgba(255, 255, 255, .15); color: #fff;
}
.modal-backdrop.show { opacity: .88; }

/* ---------- Page header ---------- */
.page-header {
    position: relative; overflow: hidden;
    padding: 64px 0 56px;
    background:
        radial-gradient(50% 80% at 100% 0%, rgba(212, 52, 44, .35), transparent 60%),
        linear-gradient(120deg, var(--g-primary-900) 0%, var(--g-primary-700) 55%, var(--g-primary) 100%);
    color: #fff;
}
.page-header::after {
    content: ""; position: absolute; right: -40px; bottom: -60px; width: 320px; height: 320px;
    background: url("../img/logo.png") no-repeat center / contain; opacity: .07; filter: grayscale(1) brightness(4);
}
.page-header h1 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); font-weight: 800; margin: .5rem 0; max-width: 860px; }
.page-header .lead { color: rgba(255, 255, 255, .8); font-size: 1.1rem; margin: 0; max-width: 680px; }
.page-header .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .5); --bs-breadcrumb-item-active-color: rgba(255, 255, 255, .7); margin: 0; font-size: .88rem; flex-wrap: nowrap; overflow: hidden; }
.page-header .breadcrumb-item { white-space: nowrap; }
.page-header .breadcrumb-item.active { overflow: hidden; text-overflow: ellipsis; }
.page-header .breadcrumb a { color: rgba(255, 255, 255, .9); }
.page-header .breadcrumb a:hover { color: #fff; }

/* ---------- Article ---------- */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; color: var(--g-muted); font-size: .9rem; margin-bottom: 1.5rem; }
.article-meta i { color: var(--g-primary); }
.article-cover { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 2rem; }
.article-cover > img, .article-cover > .cover-placeholder { width: 100%; height: 100%; object-fit: cover; }
.article-lead { font-size: 1.2rem; color: var(--g-ink); font-weight: 500; line-height: 1.6; border-left: 4px solid var(--g-accent); padding-left: 1.25rem; margin-bottom: 2rem; }
.article-body { font-size: 1.05rem; line-height: 1.85; }
.article-body h3 { font-size: 1.35rem; margin: 2rem 0 1rem; }
.article-body blockquote {
    margin: 2rem 0; padding: 1.5rem 1.75rem; border-radius: var(--g-radius);
    background: var(--g-primary-50); color: var(--g-primary-700);
    font-family: var(--g-font-head); font-size: 1.25rem; font-weight: 600; position: relative;
}
.article-body blockquote::before { content: "\201C"; position: absolute; top: -.6rem; left: 1rem; font-size: 4rem; color: var(--g-primary); opacity: .25; line-height: 1; }
.article-share { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--g-line); }
.article-share span { font-weight: 600; color: var(--g-ink); margin-right: .5rem; }
.article-share a {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: var(--g-soft); color: var(--g-ink); transition: all .2s ease;
}
.article-share a:hover { background: var(--g-primary); color: #fff; }
.author-box { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--g-radius); background: var(--g-soft); margin-bottom: 2rem; }
.author-box div { display: flex; flex-direction: column; line-height: 1.35; }
.author-box strong { color: var(--g-ink); font-family: var(--g-font-head); }
.author-box span { color: var(--g-muted); font-size: .9rem; }

.sidebar-card { padding: 1.5rem; border-radius: var(--g-radius); border: 1px solid var(--g-line); background: #fff; margin-bottom: 1.5rem; }
.sidebar-title { font-size: 1.1rem; margin-bottom: 1.25rem; padding-bottom: .9rem; border-bottom: 1px solid var(--g-line); }
.mini-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.mini-item { display: flex; gap: .9rem; align-items: center; color: var(--g-ink); }
.mini-item:hover strong { color: var(--g-primary); }
.mini-thumb { flex-shrink: 0; width: 76px; height: 64px; border-radius: 12px; overflow: hidden; }
.mini-thumb > img, .mini-thumb > .cover-placeholder { width: 100%; height: 100%; object-fit: cover; }
.mini-thumb .cover-placeholder img { width: 55%; }
.mini-item > span:last-child { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.mini-item strong { font-size: .92rem; line-height: 1.35; font-weight: 600; transition: color .2s ease; }
.mini-item small { color: var(--g-muted); font-size: .78rem; }
.sidebar-cta { background: linear-gradient(135deg, var(--g-primary) 0%, var(--g-primary-900) 100%); color: rgba(255, 255, 255, .85); border: 0; }
.sidebar-cta > i { font-size: 2rem; color: #ffb4ae; }
.sidebar-cta h3 { color: #fff; font-size: 1.25rem; margin: .75rem 0 .5rem; }

@media (min-width: 992px) { aside.col-lg-4 { position: sticky; top: calc(var(--g-header-h) + 1.5rem); align-self: flex-start; } }

/* ---------- About ---------- */
.about-visual { position: relative; padding: 2rem; }
.about-logo {
    aspect-ratio: 1; border-radius: 32px; display: grid; place-items: center; padding: 12%;
    background:
        radial-gradient(70% 70% at 30% 20%, rgba(14, 124, 123, .12), transparent 70%),
        var(--g-soft);
    border: 1px solid var(--g-line);
}
.about-badge {
    position: absolute; right: 0; bottom: 0;
    background: var(--g-accent); color: #fff; border-radius: 20px; padding: 1.25rem 1.5rem;
    box-shadow: 0 16px 40px -14px rgba(212, 52, 44, .7); display: flex; flex-direction: column; line-height: 1.1;
}
.about-badge strong { font-family: var(--g-font-head); font-size: 2rem; }
.about-badge span { font-size: .85rem; opacity: .9; }
.prose p { color: var(--g-body); font-size: 1.02rem; }
.timeline { margin: 2rem 0 0; display: grid; gap: .75rem; }
.timeline li { display: flex; gap: 1rem; align-items: baseline; padding-left: 1.25rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .55rem; width: 8px; height: 8px; border-radius: 50%; background: var(--g-primary); box-shadow: 0 0 0 4px var(--g-primary-50); }
.timeline strong { color: var(--g-primary); min-width: 110px; font-family: var(--g-font-head); }

.stats-band { background: linear-gradient(120deg, var(--g-primary-900), var(--g-primary-700)); padding: 56px 0; color: #fff; }
.stat strong { display: block; font-family: var(--g-font-head); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; line-height: 1; }
.stat span { color: rgba(255, 255, 255, .7); font-weight: 500; }

.mv-card { height: 100%; padding: 2.25rem; border-radius: 20px; background: var(--g-soft); border: 1px solid var(--g-line); }
.mv-card h2 { font-size: 1.6rem; margin: 1.25rem 0 1.25rem; }
.mv-card-accent { background: #fff; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.check-list li { position: relative; padding-left: 2rem; font-size: .97rem; }
.check-list li::before {
    content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .05rem;
    color: var(--g-primary); font-size: 1.15rem;
}
.mv-card-accent .check-list li::before { color: var(--g-accent); }

/* ---------- Board ---------- */
.president-card {
    display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap;
    padding: 2rem 2.25rem; border-radius: 24px; margin-bottom: 3rem;
    background:
        radial-gradient(60% 100% at 100% 0%, rgba(212, 52, 44, .35), transparent 60%),
        linear-gradient(120deg, var(--g-primary-900), var(--g-primary));
    color: rgba(255, 255, 255, .85);
}
.president-card h2 { color: #fff; margin: 0; }
.president-card .eyebrow { margin-bottom: .35rem; }
.president-card .avatar { background: rgba(255, 255, 255, .15); }
@media (max-width: 767.98px) { .president-card { padding: 1.5rem; gap: 1.25rem; } }
.board-tabs { gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.board-tabs .nav-link {
    border-radius: 999px; font-weight: 600; color: var(--g-muted);
    border: 1px solid var(--g-line); background: #fff; padding: .6rem 1.2rem;
}
.board-tabs .nav-link.active { background: var(--g-primary); border-color: var(--g-primary); color: #fff; }
.board-desc { color: var(--g-muted); margin-bottom: 1.5rem; }
.board-subtitle { font-size: 1rem; margin-bottom: 1rem; }
.member-card {
    display: flex; align-items: center; gap: .9rem; height: 100%;
    padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid var(--g-line); background: #fff;
    transition: all .2s ease;
}
.member-card:hover { border-color: var(--g-primary-100); box-shadow: var(--g-shadow-sm); }
.member-card div { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.member-card strong { color: var(--g-ink); font-weight: 600; }
.member-card small { color: var(--g-muted); font-size: .8rem; }
.member-card-muted { background: var(--g-soft); }
.member-card .avatar { width: 46px; height: 46px; font-size: .95rem; }

.commission-card {
    height: 100%; padding: 1.5rem; border-radius: var(--g-radius);
    background: #fff; border: 1px solid var(--g-line);
    transition: box-shadow .25s ease, transform .25s ease;
}
.commission-card:hover { box-shadow: var(--g-shadow); transform: translateY(-3px); }
.commission-card h3 { font-size: 1.05rem; display: flex; gap: .6rem; align-items: flex-start; margin-bottom: 1.1rem; }
.commission-card h3 i { color: var(--g-accent); margin-top: .1rem; }
.commission-chair {
    display: flex; align-items: center; gap: .8rem;
    padding: .75rem .9rem; border-radius: 12px; background: var(--g-primary-50); margin-bottom: 1rem;
}
.commission-chair .avatar { width: 42px; height: 42px; font-size: .9rem; }
.commission-chair div { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.commission-chair strong { color: var(--g-ink); font-weight: 600; font-size: .95rem; }
.commission-chair small { color: var(--g-primary); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.commission-members { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.commission-members li {
    font-size: .85rem; padding: .35rem .75rem; border-radius: 999px;
    background: var(--g-soft); border: 1px solid var(--g-line); color: var(--g-body);
}

/* ---------- Contact ---------- */
.contact-card {
    height: 100%; padding: 1.75rem; border-radius: var(--g-radius); border: 1px solid var(--g-line); background: #fff;
    display: flex; flex-direction: column; gap: .35rem;
}
.contact-card h3 { font-size: 1.1rem; margin: 1rem 0 .15rem; }
.contact-card a, .contact-card span { color: var(--g-muted); }
.contact-card a:hover { color: var(--g-primary); }
.form-card { padding: 2.25rem; border-radius: 20px; border: 1px solid var(--g-line); background: #fff; box-shadow: var(--g-shadow-sm); }
.form-label { font-weight: 600; font-size: .9rem; color: var(--g-ink); }
.form-control {
    border-radius: 12px; padding: .75rem 1rem; border-color: var(--g-line); background: var(--g-soft);
    transition: all .2s ease;
}
.form-control:focus { border-color: var(--g-primary); background: #fff; box-shadow: 0 0 0 4px rgba(14, 124, 123, .12); }
.form-control.input-validation-error { border-color: var(--g-accent); background: #fff; }
.invalid-text, .field-validation-error { color: var(--g-accent); font-size: .82rem; margin-top: .3rem; display: block; }
.validation-summary-valid { display: none; }
/* Botlar için tuzak alan: ekran dışında, kullanıcı görmez */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Güvenlik sorusu (captcha) */
.captcha-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; padding-top: .5rem; }
.captcha-field .form-label { display: block; }
.captcha-field .form-label i { color: var(--g-primary); margin-right: .2rem; }
.captcha-input {
    display: inline-flex; align-items: center; gap: .75rem;
    padding: .35rem .35rem .35rem 1rem; border-radius: 14px;
    background: var(--g-primary-50); border: 1px dashed var(--g-primary-100);
}
.captcha-question {
    font-weight: 700; font-size: 1.2rem; color: var(--g-primary-700); letter-spacing: .08em;
    white-space: nowrap; user-select: none;
}
.captcha-input .form-control { width: 90px; text-align: center; font-weight: 600; font-size: 1.1rem; background: #fff; }
.map-card { height: 100%; min-height: 420px; border-radius: 20px; overflow: hidden; border: 1px solid var(--g-line); }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Empty / error ---------- */
.empty-state { text-align: center; padding: 3rem 1rem; max-width: 460px; margin: 0 auto; }
.empty-icon { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 1.25rem; display: grid; place-items: center; background: var(--g-primary-50); color: var(--g-primary); font-size: 2.2rem; }
.empty-state h3 { font-size: 1.3rem; }
.empty-state p { color: var(--g-muted); }
.error-page { padding: 120px 0; }
.error-code {
    display: block; font-family: var(--g-font-head); font-weight: 800; line-height: 1;
    font-size: clamp(5rem, 3rem + 8vw, 9rem);
    background: linear-gradient(120deg, var(--g-primary), var(--g-accent));
    -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 1rem;
}

/* ---------- Pagination ---------- */
.pagination { --bs-pagination-color: var(--g-ink); --bs-pagination-border-color: var(--g-line); --bs-pagination-hover-color: var(--g-primary); --bs-pagination-hover-bg: var(--g-primary-50); --bs-pagination-active-bg: var(--g-primary); --bs-pagination-active-border-color: var(--g-primary); gap: .4rem; }
.pagination .page-link { border-radius: 12px !important; min-width: 44px; height: 44px; display: grid; place-items: center; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1f23; color: rgba(255, 255, 255, .68); margin-top: 0; }
.footer-cta { position: relative; }
.footer-cta .container { position: relative; }
.footer-cta-inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
    padding: 2.5rem 3rem; border-radius: 24px; transform: translateY(-50%);
    background:
        radial-gradient(60% 120% at 100% 0%, rgba(212, 52, 44, .55), transparent 60%),
        linear-gradient(120deg, var(--g-primary-700), var(--g-primary));
    box-shadow: var(--g-shadow-lg);
}
.footer-cta h2 { color: #fff; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.85rem); margin: 0; max-width: 560px; }
.footer-cta .btn-outline-light { --bs-btn-hover-color: var(--g-primary-700); }
.site-footer { margin-top: 110px; }
.footer-main { padding-bottom: 3.5rem; margin-top: -1rem; }
.footer-about { margin: 1.25rem 0; font-size: .95rem; max-width: 360px; }
.site-footer .social-links a { background: rgba(255, 255, 255, .08); color: #fff; width: 38px; height: 38px; }
.site-footer .social-links a:hover { background: var(--g-accent); }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 1.25rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer-links a { color: rgba(255, 255, 255, .68); font-size: .95rem; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.footer-contact li { display: flex; gap: .75rem; font-size: .95rem; }
.footer-contact i { color: #7fd1cf; margin-top: .15rem; }
.footer-contact a { color: rgba(255, 255, 255, .8); }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.25rem 0; font-size: .85rem; }

@media (max-width: 767.98px) {
    .section { padding: 64px 0; }
    .hero { padding: 48px 0 64px; }
    .footer-cta-inner { padding: 2rem 1.5rem; }
    .form-card, .mv-card { padding: 1.5rem; }
}

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1020;
    width: 48px; height: 48px; border-radius: 50%; border: 0;
    background: var(--g-primary); color: #fff; font-size: 1.1rem; box-shadow: var(--g-shadow);
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--g-primary-700); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.text-accent { color: var(--g-accent); }
