/* =============================================
   İÇ SAYFALAR — pages.css
   ============================================= */

/* PAGE HERO */
.page-hero {
    background: linear-gradient(135deg, var(--deep-dark) 0%, var(--deep) 60%, var(--deep-light) 100%);
    padding: 48px 0 40px;
    border-bottom: 4px solid var(--accent);
}
.page-hero h1 { font-family:'Montserrat',sans-serif; font-size:32px; font-weight:800; color:white; margin:0 0 8px; }
.page-hero h1 span { color:var(--accent-light); }
.page-hero nav { font-size:13px; color:rgba(255,255,255,.6); }
.page-hero nav a { color:rgba(255,255,255,.75); }
.page-hero nav a:hover { color:var(--accent-light); }
.page-hero nav i { margin:0 6px; font-size:10px; }

.page-body { padding:50px 0 60px; background:var(--light-gray); }

/* NEWS GRID */
.news-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.news-card { background:white; border-radius:6px; overflow:hidden; box-shadow:var(--shadow); transition:var(--transition); }
.news-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.nc-img { position:relative; overflow:hidden; height:180px; }
.nc-img img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.news-card:hover .nc-img img { transform:scale(1.06); }
.nc-cat { position:absolute; top:10px; left:10px; background:var(--deep); color:white; font-size:10px; font-weight:700; padding:3px 10px; border-radius:6px; text-transform:uppercase; }
.nc-body { padding:18px; }
.nc-date { font-size:12px; color:var(--gray); display:flex; align-items:center; gap:5px; margin-bottom:8px; }
.nc-body h3 { font-family:'Montserrat',sans-serif; font-size:15px; font-weight:700; color:var(--deep); margin-bottom:8px; line-height:1.4; }
.nc-body h3 a:hover { color:var(--accent-dark); }
.nc-body p { font-size:13px; color:var(--gray); margin-bottom:10px; line-height:1.6; }

/* CAT FILTER */
.cat-filter { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.cat-filter a { padding:6px 16px; border-radius:20px; font-size:13px; font-weight:600; border:2px solid var(--border); color:#555; transition:var(--transition); }
.cat-filter a:hover, .cat-filter a.active { background:var(--deep); color:white; border-color:var(--deep); }

/* PAGINATION */
.pagination-wrap { display:flex; gap:6px; justify-content:center; margin-top:28px; }
.page-btn { width:36px; height:36px; border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:600; border:2px solid var(--border); color:var(--deep); transition:var(--transition); }
.page-btn:hover, .page-btn.active { background:var(--deep); color:white; border-color:var(--deep); }

/* ARTICLE */
.article-body { background:white; border-radius:6px; padding:32px; box-shadow:var(--shadow); }
.article-meta { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.article-title { font-family:'Montserrat',sans-serif; font-size:26px; font-weight:800; color:var(--deep); line-height:1.3; margin-bottom:20px; }
.article-img { border-radius:6px; overflow:hidden; margin-bottom:24px; }
.article-img img { width:100%; max-height:400px; object-fit:cover; display:block; }
.article-content { font-size:15.5px; line-height:1.8; color:#333; }
.article-content h2 { font-family:'Montserrat',sans-serif; color:var(--deep); margin:24px 0 12px; }
.article-content p { margin-bottom:14px; }
.article-content img { max-width:100%; border-radius:6px; }

.article-share { margin-top:28px; padding-top:20px; border-top:2px solid var(--border); display:flex; align-items:center; gap:10px; }
.article-share span { font-weight:600; font-size:14px; color:#555; }
.share-btn { width:36px; height:36px; border-radius:6px; display:flex; align-items:center; justify-content:center; color:white; font-size:14px; transition:var(--transition); }
.share-btn:hover { transform:translateY(-2px); }
.share-btn.fb { background:#1877f2; }
.share-btn.tw { background:#1da1f2; }
.share-btn.wa { background:#25d366; }

.related-news { margin-top:32px; }
.related-news h3 { font-family:'Montserrat',sans-serif; font-size:18px; font-weight:700; color:var(--deep); margin-bottom:16px; border-bottom:2px solid var(--accent); padding-bottom:8px; display:inline-block; }
.related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.related-item { display:flex; flex-direction:column; gap:8px; border-radius:6px; overflow:hidden; box-shadow:var(--shadow); background:white; transition:var(--transition); }
.related-item:hover { transform:translateY(-3px); }
.related-item img { width:100%; height:100px; object-fit:cover; }
.related-item span { padding:8px 10px; font-size:13px; font-weight:600; color:var(--deep); line-height:1.3; }

/* GALLERY FULL */
.full-gallery-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.full-gallery-grid .gallery-item img { height:200px; }

/* İLETİŞİM */
.iletisim-grid { display:grid; grid-template-columns:1fr 1.6fr; gap:40px; margin-bottom:40px; }
.contact-info { display:flex; flex-direction:column; gap:14px; }
.ci-box { background:white; border-radius:6px; padding:18px; box-shadow:var(--shadow); display:flex; gap:14px; align-items:flex-start; }
.ci-icon { width:44px; height:44px; border-radius:6px; background:var(--deep); color:var(--accent-light); display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.ci-box h4 { font-family:'Montserrat',sans-serif; font-size:14px; font-weight:700; color:var(--deep); margin:0 0 4px; }
.ci-box p { font-size:14px; color:#555; margin:0; }
.ci-box a { color:var(--deep); }
.ci-box a:hover { color:var(--accent-dark); }
.ci-social { display:flex; gap:8px; flex-wrap:wrap; }
.ci-soc-btn { padding:8px 16px; border-radius:6px; font-size:13px; font-weight:600; color:white; display:flex; align-items:center; gap:6px; transition:var(--transition); }
.ci-soc-btn:hover { opacity:.85; transform:translateY(-2px); }
.ci-soc-btn.fb { background:#1877f2; }
.ci-soc-btn.tw { background:#1da1f2; }
.ci-soc-btn.ig { background:linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366); }

.contact-form-box { background:white; border-radius:6px; padding:32px; box-shadow:var(--shadow); }
.contact-form-box h3 { font-family:'Montserrat',sans-serif; font-size:20px; font-weight:800; color:var(--deep); margin-bottom:22px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { margin-bottom:16px; }
.form-group label { display:block; font-size:13px; font-weight:600; color:#444; margin-bottom:6px; }
.form-group label span { color:#dc3545; }
.form-group input, .form-group textarea, .form-group select { width:100%; padding:11px 14px; border:1.5px solid var(--border); border-radius:6px; font-size:14px; font-family:inherit; transition:border-color .2s; outline:none; }
.form-group input:focus, .form-group textarea:focus { border-color:var(--deep); box-shadow:0 0 0 3px rgba(13,36,97,.08); }
.form-success { background:#d4edda; color:#155724; padding:14px 18px; border-radius:6px; margin-bottom:20px; font-size:14px; }
.form-error   { background:#f8d7da; color:#721c24; padding:14px 18px; border-radius:6px; margin-bottom:20px; font-size:14px; }
.map-placeholder { border-radius:6px; overflow:hidden; box-shadow:var(--shadow); background:#fff; margin-top:24px; }
.map-placeholder iframe { display:block; width:100%; height:360px; border:0; }
.map-head {
    display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
    padding:14px 18px; background:var(--deep); color:#fff;
}
.map-head span { font-size:13.5px; display:flex; align-items:center; gap:8px; }
.map-head span i { color:var(--brand-light); }
.map-yol {
    display:inline-flex; align-items:center; gap:7px;
    background:var(--brand); color:#fff; padding:7px 16px; border-radius:5px;
    font-family:'Montserrat',sans-serif; font-size:12.5px; font-weight:700; white-space:nowrap;
}
.map-yol:hover { background:#fff; color:var(--deep-dark); }
@media (max-width:600px){
    .map-head { justify-content:center; text-align:center; }
    .map-placeholder iframe { height:280px; }
}

/* ÜYE OL */
.uye-grid { display:grid; grid-template-columns:1.4fr 1fr; gap:40px; }
.uye-form-box { background:white; border-radius:6px; padding:32px; box-shadow:var(--shadow); }
.uye-form-box h3 { font-family:'Montserrat',sans-serif; font-size:20px; font-weight:800; color:var(--deep); margin-bottom:22px; }
.uye-info { background:white; border-radius:6px; padding:28px; box-shadow:var(--shadow); align-self:flex-start; }
.uye-info h3 { font-family:'Montserrat',sans-serif; font-size:18px; font-weight:800; color:var(--deep); margin-bottom:18px; padding-bottom:10px; border-bottom:2px solid var(--accent); }
.uye-avantaj { padding:0; }
.uye-avantaj li { list-style:none; padding:10px 0; border-bottom:1px solid var(--border); font-size:14px; color:#444; display:flex; align-items:center; gap:10px; }
.uye-avantaj li:last-child { border-bottom:none; }
.uye-avantaj li i { color:var(--accent-dark); font-size:16px; }

/* DUYURULAR */
.duyuru-list { max-width:800px; margin:0 auto; }
.duyuru-item { background:white; border-radius:6px; padding:18px 22px; margin-bottom:10px; box-shadow:var(--shadow); display:flex; align-items:center; gap:18px; transition:var(--transition); border-left:4px solid var(--accent); }
.duyuru-item:hover { transform:translateX(4px); box-shadow:var(--shadow-hover); }
.duyuru-date { text-align:center; flex-shrink:0; width:52px; }
.d-day { display:block; font-family:'Montserrat',sans-serif; font-size:26px; font-weight:800; color:var(--deep); line-height:1; }
.d-mon { display:block; font-size:11px; color:var(--gray); font-weight:600; text-transform:uppercase; }
.duyuru-content { flex:1; }
.duyuru-content h3 { font-family:'Montserrat',sans-serif; font-size:15px; font-weight:700; margin:0; }
.duyuru-content h3 a { color:var(--deep); }
.duyuru-content h3 a:hover { color:var(--accent-dark); }
.duyuru-arrow a { color:var(--accent-dark); font-size:18px; }

/* STATIC PAGE */
.static-page-content { background:white; border-radius:6px; padding:32px; box-shadow:var(--shadow); min-height:300px; }
.static-page-content h2 { font-family:'Montserrat',sans-serif; color:var(--deep); font-size:22px; margin-bottom:14px; }
.static-page-content p { font-size:15px; line-height:1.8; color:#444; margin-bottom:14px; }

/* BOARD PAGE */
.board-page {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 8px;
}
.board-page::before,
.board-page::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}
.board-page::before {
    width: 420px;
    height: 420px;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background:
        radial-gradient(circle at center, rgba(204, 42, 42, 0.13) 0 34%, transparent 35% 52%, rgba(32, 130, 204, 0.13) 53% 72%, transparent 73%);
}
.board-page::after {
    width: 220px;
    height: 220px;
    right: -90px;
    bottom: -60px;
    background: radial-gradient(circle at center, rgba(18, 88, 168, 0.08), transparent 70%);
}
.board-page-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 28px;
}
.board-page-kicker {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--deep);
    margin-bottom: 8px;
}
.board-page-header h2 {
    font-size: 34px;
    margin-bottom: 10px;
}
.board-page-intro {
    max-width: 700px;
    margin: 0 auto;
    color: #5f6b7b;
}
.board-chairman-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin-bottom: 34px;
}
.board-chairman-wrap::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -34px;
    transform: translateX(-50%);
    width: 2px;
    height: 34px;
    background: linear-gradient(180deg, rgba(18,88,168,0.55), rgba(18,88,168,0));
}
.board-members-wrap {
    position: relative;
    z-index: 1;
    padding-top: 28px;
}
.board-grid {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding-top: 24px;
}
.board-grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, rgba(18,88,168,0), rgba(18,88,168,0.55) 14%, rgba(18,88,168,0.55) 86%, rgba(18,88,168,0));
}
.board-member-card {
    position: relative;
    width: min(100%, 250px);
    min-height: 100%;
    background: rgba(255,255,255,0.92);
    border: 1px solid #dbe4f0;
    border-radius: 24px;
    padding: 18px 18px 22px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(13,36,97,0.10);
    backdrop-filter: blur(6px);
}
.board-grid .board-member-card::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -24px;
    transform: translateX(-50%);
    width: 2px;
    height: 24px;
    background: linear-gradient(180deg, rgba(18,88,168,0.55), rgba(18,88,168,0));
}
.board-member-card-chairman {
    width: min(100%, 340px);
    padding-top: 24px;
}
.board-member-photo {
    position: relative;
    width: 138px;
    height: 138px;
    margin: 0 auto 18px;
    border-radius: 50%;
    border: 5px solid #1258a8;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(13,36,97,0.18);
    background: linear-gradient(135deg, #dbe7f6, #f7f9fc);
}
.board-member-photo-chairman {
    width: 184px;
    height: 184px;
    border-width: 6px;
}
.board-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.board-member-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7d96b8;
    font-size: 48px;
}
.board-member-body h3 {
    margin: 0 0 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    line-height: 1.2;
    color: var(--deep);
}
.board-member-card:not(.board-member-card-chairman) .board-member-body h3 {
    font-size: 21px;
}
.board-member-body p {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    color: #30445f;
}
.board-member-detail {
    display: inline-block;
    margin-top: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #edf4fd;
    color: #1258a8;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.3;
}
.board-member-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1258a8, #2f8ec9);
    color: white;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .news-grid { grid-template-columns:1fr; }
    .iletisim-grid, .uye-grid { grid-template-columns:1fr; }
    .related-grid { grid-template-columns:1fr 1fr; }
    .full-gallery-grid { grid-template-columns:repeat(2,1fr); }
    .board-page-header h2 { font-size: 28px; }
    .board-grid::before { left: 14%; right: 14%; }
}
@media (max-width: 600px) {
    .form-row { grid-template-columns:1fr; }
    .related-grid { grid-template-columns:1fr; }
    .full-gallery-grid { grid-template-columns:1fr 1fr; }
    .article-title { font-size:20px; }
    .board-page { padding: 0; }
    .board-page::before { width: 280px; height: 280px; top: 70px; }
    .board-page-header h2 { font-size: 24px; }
    .board-page-intro { font-size: 14px; }
    .board-member-card { width: 100%; }
    .board-grid { gap: 18px; }
    .board-grid::before { left: 26px; right: 26px; }
    .board-member-body h3,
    .board-member-card:not(.board-member-card-chairman) .board-member-body h3 { font-size: 20px; }
    .board-member-photo { width: 124px; height: 124px; }
    .board-member-photo-chairman { width: 164px; height: 164px; }
}

/* =============================================
   TEMA UYUMU (yeni kurumsal tasarim)
   ============================================= */
.page-hero{
    background:linear-gradient(120deg,var(--deep-dark) 0%,var(--deep) 65%,var(--deep-mid) 100%);
    padding:38px 0 34px; border-bottom:3px solid var(--brand);
    position:relative; overflow:hidden;
}
.page-hero::before{
    content:''; position:absolute; right:-70px; top:-70px;
    width:250px; height:250px; border-radius:50%; background:rgba(255,255,255,.05);
}
.page-hero .container{ position:relative; z-index:2; }
.page-hero h1{ font-size:29px; font-weight:800; }
.page-hero h1 span{ color:#bdeef3; }
.page-body{ padding:38px 0 56px; }

.news-card{ border:1px solid var(--border); box-shadow:none; }
.news-card:hover{ box-shadow:var(--shadow-hover); border-color:transparent; }
.nc-cat{ border-radius:3px; background:var(--brand); letter-spacing:.6px; }
.cat-filter a{ border-radius:4px; border-width:1px; }
.page-btn{ border-width:1px; }
.article-body{ box-shadow:var(--shadow); }
.article-title{ font-size:27px; }
.form-group input, .form-group textarea, .form-group select{ border-radius:4px; }

/* Kurumsal kimlik tablosu (statik sayfa icerigi) */
.static-page-content .kimlik-tablo{
    width:100%; border-collapse:collapse; margin:18px 0 8px;
    font-size:14.5px; display:block; overflow-x:auto;
}
.static-page-content .kimlik-tablo th,
.static-page-content .kimlik-tablo td{
    border:1px solid var(--border); padding:11px 14px; text-align:left; vertical-align:top;
}
.static-page-content .kimlik-tablo th{
    background:var(--brand-pale); color:var(--deep-dark);
    font-family:'Montserrat',sans-serif; font-weight:700; white-space:nowrap; width:200px;
}
.static-page-content .kimlik-tablo tr:nth-child(even) td{ background:#fafcfd; }
@media (max-width:600px){
    .static-page-content .kimlik-tablo th{ width:auto; white-space:normal; }
}

/* Mevzuat sayfalarindaki dis baglanti butonu */
.static-page-content .mevzuat-link{
    display:inline-flex; align-items:center; gap:9px;
    background:var(--brand); color:#fff;
    padding:12px 22px; border-radius:6px;
    font-family:'Montserrat',sans-serif; font-weight:700; font-size:14px;
    box-shadow:0 6px 16px rgba(0,176,190,.28); transition:all .25s ease;
}
.static-page-content .mevzuat-link::before{ content:"\f35d"; font-family:"Font Awesome 6 Free"; font-weight:900; font-size:13px; }
.static-page-content .mevzuat-link:hover{ background:var(--brand-dark); transform:translateY(-2px); color:#fff; }
.static-page-content small{ color:var(--gray); font-size:12.5px; }
