/* ==========================================================
   KFL Matematik Yarışması ve Bilim Şenliği — Site teması
   Ana renk: #1F3A5F (sitenin mevcut kırmızısı) · Koyu: #37423b
   ========================================================== */
:root {
  --brand: #1F3A5F;
  --brand-600: #172C48;
  --brand-700: #0F1F33;
  --brand-50: #F6F7F6;
  --brand-100: #EEF0EF;
  --ink: #37423b;
  --ink-2: #2a332d;
  --text: #4a524d;
  --muted: #7a837d;
  --line: #E7E5E4;
  --bg-soft: #F6F7F6;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(55, 66, 59, .08);
  --shadow-lg: 0 24px 60px rgba(55, 66, 59, .14);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --math-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.12' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M20 18v16M12 26h16'/%3E%3Cpath d='M98 22h18M98 30h18'/%3E%3Ccircle cx='136' cy='86' r='9'/%3E%3Cpath d='M18 92l12 12M30 92l-12 12'/%3E%3Cpath d='M70 120c8-14 16-14 24 0'/%3E%3Cpath d='M58 62h20M68 52v4M68 68v4'/%3E%3Cpath d='M126 132l10-14 10 14z'/%3E%3C/g%3E%3Ctext x='84' y='88' font-family='Georgia,serif' font-size='22' fill='%23ffffff' fill-opacity='.12'%3E%CF%80%3C/text%3E%3Ctext x='18' y='148' font-family='Georgia,serif' font-size='20' fill='%23ffffff' fill-opacity='.12'%3E%E2%88%91%3C/text%3E%3Ctext x='126' y='40' font-family='Georgia,serif' font-size='18' fill='%23ffffff' fill-opacity='.12'%3E%E2%88%9A%3C/text%3E%3C/svg%3E");
  --math-pattern-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%2337423b' stroke-opacity='.05' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M20 18v16M12 26h16'/%3E%3Cpath d='M98 22h18M98 30h18'/%3E%3Ccircle cx='136' cy='86' r='9'/%3E%3Cpath d='M18 92l12 12M30 92l-12 12'/%3E%3Cpath d='M70 120c8-14 16-14 24 0'/%3E%3Cpath d='M58 62h20M68 52v4M68 68v4'/%3E%3Cpath d='M126 132l10-14 10 14z'/%3E%3C/g%3E%3Ctext x='84' y='88' font-family='Georgia,serif' font-size='22' fill='%2337423b' fill-opacity='.05'%3E%CF%80%3C/text%3E%3Ctext x='18' y='148' font-family='Georgia,serif' font-size='20' fill='%2337423b' fill-opacity='.05'%3E%E2%88%91%3C/text%3E%3Ctext x='126' y='40' font-family='Georgia,serif' font-size='18' fill='%2337423b' fill-opacity='.05'%3E%E2%88%9A%3C/text%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html, body { overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -.01em;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }
::selection { background: var(--brand); color: #fff; }
img { max-width: 100%; height: auto; }
.skip-link { position: absolute; z-index: 2000; left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; border-radius: 8px; }
.okul-ac { position: relative; }
.okul-ac-list { position: absolute; z-index: 50; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); max-height: 320px; overflow-y: auto; padding: .35rem; }
.okul-ac-item { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .55rem .7rem; border-radius: 8px; cursor: pointer; }
.okul-ac-item small { color: var(--muted); white-space: nowrap; font-size: .78rem; }
.okul-ac-item small b { color: var(--brand); font-weight: 700; }
.okul-ac-item:hover, .okul-ac-item.active { background: var(--brand); color: #fff; }
.okul-ac-item:hover small, .okul-ac-item.active small, .okul-ac-item:hover small b, .okul-ac-item.active small b { color: rgba(255,255,255,.85); }
.okul-ac-empty { padding: .6rem .7rem; color: var(--muted); font-size: .9rem; }
.dilekce-adim { padding-left: 1.2rem; margin: 0 0 1rem; color: var(--text); font-size: .95rem; }
.dilekce-adim li { margin-bottom: .35rem; }
.dilekce-adim a { font-weight: 700; }
.captcha-q { display: inline-block; background: var(--brand-50); color: var(--brand); font-weight: 800; padding: 0 .5rem; border-radius: 6px; font-family: var(--font-head); }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; }

/* ---------- Butonlar ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: .62rem 1.35rem; white-space: nowrap; }
.btn-sm { padding: .45rem 1rem; }
.btn-lg { padding: .85rem 1.8rem; font-size: 1.05rem; }
.btn-brand { background: var(--brand); border: 2px solid var(--brand); color: #fff; box-shadow: none; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-600); border-color: var(--brand-600); color: #fff; transform: translateY(-1px); }
.btn-outline-brand { border: 2px solid var(--brand); color: var(--brand); background: transparent; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-light-brand { background: #fff; color: var(--brand); border: 2px solid #fff; }
.btn-light-brand:hover { background: transparent; color: #fff; }
.btn-ghost-light { border: 2px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }
.btn i { margin-right: .25rem; }
.btn { transition: all .2s ease; }

/* ---------- Üst bar & header ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.8); font-size: .85rem; padding: .45rem 0; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar i { color: #1F3A5F; margin-right: .25rem; }
.topbar-badge { background: rgba(255,255,255,.1); color: #fff; padding: .15rem .7rem; border-radius: 999px; font-weight: 600; }
.topbar-social a { margin-left: .6rem; }
.topbar-social i { color: inherit; }

.site-header { background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(55,66,59,.08); border-color: var(--line); }
.site-header .navbar { padding: .85rem 0; transition: padding .25s; }
.site-header.scrolled .navbar { padding: .5rem 0; }

.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { flex: none; }
.brand strong { display: block; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.05; font-weight: 800; letter-spacing: -.01em; }
.brand strong em { font-style: normal; color: var(--brand); }
.brand small { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light small { color: rgba(255,255,255,.6); }
.brand-light strong em { color: #1F3A5F; }

.navbar .nav-link { font-weight: 600; color: var(--ink); padding: .5rem .75rem !important; border-radius: 999px; font-size: .95rem; white-space: nowrap; }
@media (max-width: 1399.98px) {
  .navbar .nav-link { padding: .45rem .55rem !important; font-size: .92rem; }
  .brand small { display: none; }
  .nav-cta .btn .lbl-long { display: none; }
}
@media (min-width: 1400px) { .nav-cta .btn .lbl-short { display: none; } }
.navbar .nav-link { transition: background-color .2s, color .2s; }
/* Bulunulan sayfa dolu lacivert; üzerine gelinen bağlantı açık tonda (iki dolu kutu yan yana gelmesin) */
.navbar .nav-link.active { background: var(--brand); color: #fff !important; }
.navbar .nav-link:not(.active):hover, .navbar .nav-link:not(.active):focus-visible,
.navbar .nav-link:not(.active).show, .navbar .dropdown:hover > .nav-link:not(.active) { background: rgba(31,58,95,.09); color: var(--brand) !important; }
@media (min-width: 992px) { .navbar-nav { gap: .3rem; } }
.dropdown-menu { border: 0; box-shadow: var(--shadow-lg); border-radius: var(--radius-sm); padding: .5rem; }
.dropdown-item { border-radius: 8px; padding: .5rem .8rem; font-weight: 500; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--brand); color: #fff; }
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
  .dropdown-menu-mega { min-width: 260px; }
}
.navbar-toggler { border: 0; font-size: 1.9rem; color: var(--ink); padding: .2rem .4rem; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
  .navbar-collapse { display: none !important; }
}

.mobile-nav { max-width: 320px; }
.mobile-links a { display: flex; justify-content: space-between; padding: .85rem .25rem; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-links a { border-radius: 10px; padding-left: .75rem !important; padding-right: .75rem !important; }
.mobile-links a.active, .mobile-links a:hover { background: var(--brand); color: #fff; }

/* ---------- Hero (anasayfa) ---------- */
.hero {
  position: relative;
  background: var(--math-pattern-ink), linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  color: var(--text);
  padding: 4.5rem 0 7.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::after { content: none; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); color: var(--ink); padding: .4rem .9rem; border-radius: 999px; font-weight: 600; font-size: .88rem; box-shadow: 0 4px 14px rgba(55,66,59,.06); }
.hero .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #2e9e5b; box-shadow: 0 0 0 4px rgba(46,158,91,.18); }
.hero .eyebrow .dot.off { background: #e3a008; box-shadow: 0 0 0 4px rgba(227,160,8,.18); }
.hero h1 { color: var(--ink); font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 800; line-height: 1.05; margin: 1.2rem 0 1rem; }
.hero h1 span { display: block; color: var(--brand); }
.hero .lead { color: var(--text); font-size: 1.12rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.2rem; color: var(--ink); font-weight: 600; font-size: .95rem; }
.hero-facts i { color: var(--brand); margin-right: .35rem; }

.countdown-card { position: relative; z-index: 2; background: #fff; color: var(--text); border-radius: 24px; padding: 1.8rem; box-shadow: 0 20px 50px rgba(55,66,59,.12); border: 1px solid var(--line); }
.countdown-card .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--brand); }
.countdown-card h2 { font-size: 1.3rem; margin: .3rem 0 1.2rem; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-bottom: 1.4rem; }
.countdown div { background: var(--brand-50); border-radius: 14px; text-align: center; padding: .8rem .2rem; }
.countdown b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--brand); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.key-dates { list-style: none; padding: 0; margin: 0; }
.key-dates li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .15rem .5rem; padding: .65rem 0; border-top: 1px dashed var(--line); font-size: .9rem; }
.key-dates li span { color: var(--muted); white-space: nowrap; }
.key-dates li strong { color: var(--ink); text-align: right; white-space: nowrap; margin-left: auto; }

/* ---------- Bölümler ---------- */
.section { padding: 5.5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-head .kicker, .kicker { display: inline-block; color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: .6rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.feature-strip { position: relative; z-index: 3; margin-top: -5rem; }
.feature-tile { background: #fff; border-radius: var(--radius); padding: 1.6rem; height: 100%; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.feature-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-tile .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font-size: 1.5rem; margin-bottom: 1rem; }
.feature-tile h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.feature-tile p { margin: 0; color: var(--muted); font-size: .94rem; }

.about-visual { position: relative; border-radius: 28px; background: var(--math-pattern), linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%); padding: 2.4rem; color: #fff; overflow: hidden; }
.about-visual::before { content: none; }
.about-visual > * { position: relative; }
.about-visual .big { font-family: var(--font-head); font-size: 4.5rem; line-height: 1; font-weight: 800; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.stat-grid div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 1rem 1.1rem; }
.stat-grid b { display: block; font-family: var(--font-head); font-size: 1.9rem; color: #FFFFFF; }
.stat-grid span { font-size: .85rem; color: rgba(255,255,255,.75); }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .75rem; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: -.05rem; color: var(--brand); font-size: 1.25rem; }

/* Adımlar */
.steps { counter-reset: s; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 2rem 1.6rem 1.6rem; height: 100%; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 1.6rem; width: 38px; height: 38px; border-radius: 12px; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; }
.step h3 { font-size: 1.12rem; margin-top: .3rem; }
.step p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }

/* Atölye kartları */
.ws-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 1.6rem; color: var(--text); transition: all .25s; position: relative; overflow: hidden; }
.ws-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.ws-card:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ws-card:hover::after { transform: scaleX(1); }
.ws-card .ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font-size: 1.6rem; margin-bottom: 1.1rem; transition: all .25s; }
.ws-card:hover .ico { background: var(--brand); color: #fff; transform: rotate(-6deg); }
.ws-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.ws-card p { font-size: .93rem; color: var(--muted); flex: 1; }
.ws-card .more { font-weight: 700; color: var(--brand); font-size: .9rem; }
.ws-card img.cover { border-radius: 12px; margin: -0.4rem 0 1rem; aspect-ratio: 16/9; object-fit: cover; }

/* Zaman çizelgesi */
.timeline { position: relative; list-style: none; padding: 0; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand), var(--brand-100)); }
.timeline li { position: relative; padding: 0 0 1.8rem 4rem; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); }
.timeline li.past::before { background: #c4cbc6; border-color: #c4cbc6; }
.timeline li.past .date, .timeline li.past h3, .timeline li.past h2, .timeline li.past p { color: #9aa29d; }
.timeline .date { font-weight: 700; color: var(--brand); font-size: .9rem; }
.timeline h3 { font-size: 1.12rem; margin: .15rem 0 .2rem; }
.timeline p { color: var(--muted); margin: 0; font-size: .94rem; }
.timeline .badge-next { background: var(--brand); color: #fff; font-size: .7rem; padding: .2rem .55rem; border-radius: 999px; margin-left: .4rem; vertical-align: middle; }

/* Ödüller */
.award-card { text-align: center; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 2rem 1.4rem; height: 100%; transition: all .25s; }
.award-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.award-card .medal { width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; color: #fff; background: linear-gradient(135deg, #f5c451, #d99b1a); box-shadow: 0 10px 24px rgba(217,155,26,.35); }
.award-card.r2 .medal { background: linear-gradient(135deg, #d9dde3, #9aa3ae); box-shadow: 0 10px 24px rgba(120,130,140,.35); }
.award-card.r3 .medal { background: linear-gradient(135deg, #e7a873, #b06a32); box-shadow: 0 10px 24px rgba(176,106,50,.35); }
.award-card.r4 .medal { background: linear-gradient(135deg, var(--brand), var(--brand-700)); box-shadow: 0 10px 24px rgba(31, 58, 95,.35); }
.award-card .rank { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--muted); }
.award-card h3 { font-size: 1.2rem; margin: .3rem 0 .5rem; }
.award-card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Duyuru kartları */
.news-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; color: var(--text); transition: all .25s; }
.news-card:hover { color: var(--text); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.news-card .thumb { aspect-ratio: 16/9; background: var(--math-pattern-ink), var(--bg-soft); display: grid; place-items: center; color: var(--brand); font-size: 2.4rem; border-bottom: 1px solid var(--line); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-card time { font-size: .82rem; font-weight: 600; color: var(--brand); }
.news-card h3 { font-size: 1.12rem; margin: .35rem 0 .5rem; }
.news-card p { color: var(--muted); font-size: .93rem; margin-bottom: 0; }

/* SSS */
.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--radius-sm) !important; margin-bottom: .75rem; overflow: hidden; }
.faq .accordion-button { font-weight: 700; color: var(--ink); font-family: var(--font-head); font-size: 1.05rem; padding: 1.1rem 1.3rem; }
.faq .accordion-button:not(.collapsed) { background: var(--brand-50); color: var(--brand); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(31, 58, 95,.15); }
.faq .accordion-body { color: var(--text); }

/* CTA bandı */
.cta-band { border-radius: 28px; padding: 3rem; background: var(--math-pattern), linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-weight: 800; }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; }

/* ---------- İç sayfa başlığı ---------- */
.page-hero { background: var(--math-pattern-ink), var(--bg-soft); color: var(--text); padding: 3rem 0 3.2rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--ink); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem); margin: .4rem 0 0; }
.page-hero .lead { color: var(--muted); margin: .6rem 0 0; max-width: 680px; }
.page-hero .breadcrumb { margin: 0; font-size: .88rem; }
.page-hero .breadcrumb a { color: var(--muted); }
.page-hero .breadcrumb-item.active { color: var(--brand); font-weight: 600; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: #b9c0bb; }

.content-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 2rem; box-shadow: var(--shadow); }
.prose { font-size: 1.04rem; line-height: 1.75; }
.prose h2 { font-size: 1.5rem; margin: 1.8rem 0 .8rem; }
.prose h3 { font-size: 1.25rem; margin: 1.5rem 0 .6rem; }
.prose img { border-radius: 14px; margin: 1rem 0; }
.prose blockquote { border-left: 4px solid var(--brand); padding: .5rem 1rem; background: var(--brand-50); border-radius: 0 10px 10px 0; }

.side-card { background: var(--bg-soft); border-radius: var(--radius); padding: 1.5rem; }
.side-card h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list a { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 10px; color: var(--ink); font-weight: 500; }
.side-list a:hover, .side-list a.active { background: #fff; color: var(--brand); }
.side-list i { color: var(--brand); }

/* ---------- Formlar ---------- */
.form-card { background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 2.2rem; }
.form-card fieldset + fieldset { margin-top: 1.8rem; }
.form-card legend { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.15rem; display: flex; align-items: center; gap: .55rem; margin-bottom: 1rem; }
.form-card legend i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font-size: 1rem; }
.form-label { font-weight: 600; color: var(--ink); font-size: .92rem; }
.form-label .req { color: var(--brand); }
.form-control, .form-select { border-radius: 12px; border: 1.5px solid #DEDBDA; padding: .7rem .95rem; font-size: .98rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .22rem rgba(31, 58, 95,.14); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { box-shadow: 0 0 0 .22rem rgba(31, 58, 95,.14); border-color: var(--brand); }
.was-validated .form-control:invalid, .form-control.is-invalid { border-color: #dc3545; }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon .form-control { padding-left: 2.6rem; }
.status-box { border-radius: 20px; padding: 2.5rem; text-align: center; background: var(--bg-soft); border: 2px dashed var(--brand-100); }
.status-box > i, .status-box > .bi { font-size: 3rem; color: var(--brand); }
.status-box .btn i { font-size: inherit; color: inherit; }
.info-pill { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 14px; background: var(--brand-50); color: var(--ink); font-size: .93rem; }
.info-pill i { color: var(--brand); font-size: 1.2rem; }

/* Sonuç kartı */
.result-card { border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.result-card .head { background: var(--math-pattern), linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; padding: 1.6rem 1.8rem; }
.result-card .head h2 { color: #fff; margin: 0; font-size: 1.5rem; }
.result-card .head small { opacity: .85; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; padding: 1.6rem 1.8rem; }
.result-grid div { background: var(--bg-soft); border-radius: 14px; padding: 1rem; }
.result-grid span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.result-grid b { font-family: var(--font-head); font-size: 1.35rem; color: var(--ink); }
.result-grid .hl { background: var(--brand); }
.result-grid .hl span { color: rgba(255,255,255,.8); }
.result-grid .hl b { color: #fff; }

/* Galeri */
.gallery-grid { columns: 3 260px; column-gap: 1rem; }
.gallery-grid a { display: block; margin-bottom: 1rem; border-radius: 14px; overflow: hidden; position: relative; break-inside: avoid; }
.gallery-grid img { width: 100%; transition: transform .4s; display: block; }
.gallery-grid a:hover img { transform: scale(1.05); }
.gallery-grid a span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .7rem; color: #fff; font-weight: 600; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.6)); opacity: 0; transition: opacity .3s; }
.gallery-grid a:hover span { opacity: 1; }
.year-filter .btn { margin: 0 .25rem .5rem 0; }
.year-filter .btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* İletişim */
.contact-tile { display: flex; gap: 1rem; padding: 1.2rem; border-radius: 16px; background: var(--bg-soft); margin-bottom: 1rem; }
.contact-tile .ico { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 1.2rem; }
.contact-tile h3 { font-size: 1rem; margin: 0 0 .2rem; }
.contact-tile p, .contact-tile a { margin: 0; color: var(--text); }
.map-wrap { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }
@media (max-width: 575.98px) { .map-wrap iframe { height: 300px; } }

/* ---------- Footer ---------- */
main { padding-bottom: 5rem; }
.site-footer { background: var(--ink-2); color: rgba(255,255,255,.75); margin-top: 0; }
.footer-cta { padding-top: 0; }
.footer-cta-inner { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2rem 2.2rem; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; transform: translateY(-50%); box-shadow: var(--shadow-lg); }
.footer-cta-inner h2 { color: var(--ink); font-size: 1.5rem; margin: 0 0 .2rem; }
.footer-cta-inner h2::before { content: "\F32F"; font-family: "bootstrap-icons"; color: var(--brand); margin-right: .5rem; font-size: 1.3rem; vertical-align: -.1rem; }
.footer-cta-inner p { margin: 0; color: var(--muted); }
.newsletter { display: flex; gap: .5rem; background: var(--bg-soft); border: 1.5px solid var(--line); padding: .35rem; border-radius: 999px; flex: 1 1 280px; max-width: 460px; min-width: 0; }
.newsletter input[type=email] { background: transparent; }
.newsletter input[type=email] { flex: 1; border: 0; padding: .4rem 1rem; border-radius: 999px; outline: none; min-width: 0; }
.newsletter .btn { box-shadow: none; }
.footer-main { padding-bottom: 2.5rem; margin-top: -1.5rem; }
.site-footer h3 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; }
.footer-contact { font-style: normal; font-size: .93rem; }
.footer-contact div { margin-bottom: .45rem; }
.footer-contact i { color: #1F3A5F; margin-right: .4rem; }
.footer-social { display: flex; gap: .5rem; margin-top: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.footer-social a:hover { background: var(--brand); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0; font-size: .85rem; }

.back-to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 1030; width: 46px; height: 46px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.2rem; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { color: #fff; background: var(--brand-600); }

/* Toast */
.toast { border: 0; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.toast .toast-body { display: flex; gap: .7rem; align-items: center; font-weight: 600; padding: .9rem 1rem; }
.toast.t-success { border-left: 5px solid #2e9e5b; }
.toast.t-error { border-left: 5px solid var(--brand); }
.toast.t-info { border-left: 5px solid #3c7dd9; }
.toast.t-warning { border-left: 5px solid #e3a008; }
.toast .ti-success { color: #2e9e5b; } .toast .ti-error { color: var(--brand); } .toast .ti-info { color: #3c7dd9; } .toast .ti-warning { color: #e3a008; }

/* SweetAlert renkleri */
.swal2-popup { border-radius: 22px !important; font-family: var(--font-body) !important; }
.swal2-title { font-family: var(--font-head) !important; color: var(--ink) !important; }
.swal2-confirm { background: var(--brand) !important; border-radius: 999px !important; }
.swal2-cancel { border-radius: 999px !important; }
.swal-no { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; letter-spacing: .04em; color: var(--brand); background: var(--brand-50); border: 2px dashed var(--brand-100); border-radius: 16px; padding: .8rem; margin: 1rem 0 .5rem; user-select: all; }

/* Görünüm animasyonu */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobil ---------- */
@media (max-width: 991.98px) {
  .hero { padding: 3rem 0 6.5rem; }
  .countdown-card { margin-top: 2rem; }
  .section { padding: 4rem 0; }
  .footer-cta-inner { transform: translateY(-40%); }
}
@media (max-width: 575.98px) {
  .brand small { display: none; }
  .brand strong { font-size: 1.1rem; }
  .countdown b { font-size: 1.55rem; }
  .form-card, .content-card { padding: 1.4rem; border-radius: 18px; }
  .cta-band { padding: 2rem 1.5rem; }
  .footer-cta-inner { padding: 1.5rem; }
  .newsletter .btn span { display: none; }
  .hero-facts { gap: .8rem 1.2rem; }
  .gallery-grid { columns: 2 140px; }
}

/* ---------- Yazdırma ---------- */
@media print {
  .topbar, .site-header, .site-footer, .back-to-top, .page-hero, .no-print, .toast-container { display: none !important; }
  body { background: #fff; }
}

/* ---------- Koyu alanlar yerine açık gri (eski sitedeki gibi) ---------- */
.topbar { background: #EEF0EF; color: var(--text); border-bottom: 1px solid var(--line); }
.topbar a { color: var(--text); }
.topbar a:hover { color: var(--brand); }
.topbar-badge { background: #fff; color: var(--ink); border: 1px solid var(--line); }

.about-visual { background: var(--math-pattern-ink), linear-gradient(160deg, #F3F4F3 0%, #E9ECEA 100%); color: var(--text); border: 1px solid var(--line); }
.about-visual .kicker { color: var(--brand); }
.about-visual p { color: var(--ink); }
.stat-grid div { background: #fff; border: 1px solid var(--line); }
.stat-grid b { color: var(--brand); }
.stat-grid span { color: var(--muted); }

.cta-band { background: var(--math-pattern-ink), linear-gradient(120deg, #F3F4F3 0%, #E9ECEA 100%); color: var(--text); border: 1px solid var(--line); }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--muted); }

.site-footer { background: #EEF0EF; color: var(--text); border-top: 1px solid var(--line); }
.site-footer h3 { color: var(--ink); }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--brand); }
.footer-social a { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-bottom { border-top: 1px solid #dfe3e0; color: var(--muted); }
.site-footer .brand-light, .site-footer .brand-light:hover { color: var(--ink); }
.site-footer .brand-light small { color: var(--muted); }

/* ---------- Küçük kırmızı yazılar: okunabilirlik için bir ton koyu (#172C48) ---------- */
:root { --brand-text: #172C48; }
a, .okul-ac-item small b, .countdown-card .label, .section-head .kicker, .kicker, .about-visual .kicker,
.ws-card .more, .timeline .date, .news-card time, .faq .accordion-button:not(.collapsed),
.page-hero .breadcrumb-item.active, .side-list a:hover, .side-list a.active, .form-label .req,
.topbar a:hover, .site-footer a:hover { color: var(--brand-text); }
.btn-outline-brand, .btn-light-brand { color: var(--brand-text); }
.btn-outline-brand:hover, .btn-outline-brand:focus { color: #fff; }

/* ---------- Gri yerine beyaz ağırlıklı düzen ---------- */
:root { --bg-soft: #FAFAFA; }
.section-soft { background: #FAFAFA; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero { background: var(--math-pattern-ink), #fff; }
.page-hero { background: var(--math-pattern-ink), #fff; }
.side-card, .contact-tile, .result-grid div { background: #fff; border: 1px solid var(--line); }
.status-box { background: #fff; }

.topbar { background: var(--brand-600); color: #fff; border-bottom: 0; }
.topbar a, .topbar i { color: #fff; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-badge { background: #fff; color: var(--brand-600); border: 0; }
.topbar-badge i { color: var(--brand-600); }

.news-card .thumb { background: #fff; border-bottom: 1px solid var(--line); }
.news-card .thumb i, .news-card .thumb .bi { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 2rem; }

.about-visual { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.stat-grid div { background: #FAFAFA; }
.cta-band { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--brand); box-shadow: var(--shadow); }

.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-social a { background: #FAFAFA; }

/* Marka adı: önce yarışma, sonra şenlik */
.brand strong { font-size: 1.12rem; }
.brand .brand-sub { display: block; font-family: var(--font-head); font-style: normal; font-weight: 700; color: var(--brand); font-size: 1rem; line-height: 1.1; }
.brand small { margin-top: .1rem; }
@media (max-width: 400px) { .brand strong { font-size: 1rem; } .brand .brand-sub { font-size: .9rem; } .brand img { width: 38px; height: 38px; } }

/* ---------- Koyu alanlar: kömür grisi, üzerinde yalnızca beyaz yazı ---------- */
:root { --dark: #2B2F33; --dark-2: #24272B; }
.topbar { background: var(--dark); color: rgba(255,255,255,.85); }
.topbar a, .topbar i { color: #fff; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-badge { background: rgba(255,255,255,.12); color: #fff; }
.topbar-badge i { color: #fff; }

.about-visual { background: var(--math-pattern), linear-gradient(160deg, #33383D 0%, var(--dark-2) 100%); color: #fff; border: 0; }
.about-visual .kicker { color: rgba(255,255,255,.7); }
.about-visual p { color: rgba(255,255,255,.92); }
.about-visual .text-secondary { color: rgba(255,255,255,.7) !important; }
.stat-grid div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.stat-grid b { color: #fff; }
.stat-grid span { color: rgba(255,255,255,.72); }

.cta-band { background: var(--math-pattern), linear-gradient(120deg, #33383D 0%, var(--dark-2) 100%); color: #fff; border: 0; box-shadow: none; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); }
.cta-band .btn-brand { background: #fff; border-color: #fff; color: var(--dark); }
.cta-band .btn-brand:hover, .cta-band .btn-brand:focus { background: rgba(255,255,255,.88); border-color: transparent; color: var(--dark); }

.site-footer { background: var(--dark-2); color: rgba(255,255,255,.75); border-top: 0; }
.site-footer h3 { color: #fff; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact i { color: #fff; opacity: .8; }
.footer-social a { background: rgba(255,255,255,.08); border: 0; color: #fff; }
.footer-social a:hover { background: rgba(255,255,255,.2); color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
.site-footer .brand-light, .site-footer .brand-light:hover { color: #fff; text-decoration: none; }
.site-footer .brand-light .brand-sub { color: #fff; opacity: .85; }
.site-footer .brand-light small { color: rgba(255,255,255,.6); }

/* Atölye menüsü simgeleri */
.dropdown-menu-mega .dropdown-item { display: flex; align-items: center; gap: .65rem; }
.dd-ico { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: #F3F4F3; color: var(--brand); font-size: .95rem; transition: all .2s; }
.dropdown-item:hover .dd-ico, .dropdown-item:focus .dd-ico { background: rgba(255,255,255,.2); color: #fff; }
.page-hero h1 { display: flex; align-items: center; gap: .9rem; }
.hero-ico { width: 1.6em; height: 1.6em; flex: none; border-radius: .45em; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: .7em; }

/* ---------- Eski sitedeki mantık: koyu yerine düz site kırmızısı + beyaz yazı ---------- */
:root { --red-solid: #1F3A5F; }
.topbar { background: var(--red-solid); color: #fff; }
.topbar a, .topbar i { color: #fff; }
.topbar-badge { background: #fff; color: var(--red-solid); }
.topbar-badge i { color: var(--red-solid); }

.about-visual { background: var(--red-solid); color: #fff; border: 0; box-shadow: none; }
.about-visual .kicker { color: #fff; opacity: .9; }
.about-visual p { color: #fff; }
.about-visual .text-secondary { color: #fff !important; opacity: .9; }
.stat-grid div { background: transparent; border: 1.5px solid rgba(255,255,255,.55); }
.stat-grid b { color: #fff; }
.stat-grid span { color: #fff; opacity: .9; }

.cta-band { background: var(--red-solid); color: #fff; border: 0; box-shadow: none; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #fff; opacity: .92; }
.cta-band .btn-brand, .cta-band .btn-brand:hover, .cta-band .btn-brand:focus { background: #fff; border-color: #fff; color: var(--red-solid); }
.cta-band .btn-brand:hover { color: var(--brand-700); }

/* ---------- Üst çubuk: antrasit ---------- */
.topbar { background: #3A3D40; color: rgba(255,255,255,.88); }
.topbar a, .topbar i { color: #fff; }
.topbar-badge { background: rgba(255,255,255,.14); color: #fff; }
.topbar-badge i { color: #fff; }

/* ---------- Footer: eski sitedeki açık gri ---------- */
.site-footer { background: #F7F7F7; color: var(--text); border-top: 1px solid var(--line); }
.site-footer h3 { color: var(--ink); }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--brand-text); text-decoration: none; }
.site-footer ul a::before { content: "\F285"; font-family: "bootstrap-icons"; color: var(--brand); font-size: .72rem; margin-right: .45rem; vertical-align: .05rem; }
.footer-contact i { color: var(--brand); opacity: 1; }
.footer-social a { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-bottom { border-top: 1px solid #E6E6E6; color: var(--muted); background: #F1F1F1; }
.site-footer .brand-light, .site-footer .brand-light:hover { color: var(--ink); }
.site-footer .brand-light .brand-sub { color: var(--brand); opacity: 1; }
.site-footer .brand-light small { color: var(--muted); }

/* =====================================================================
   TEMA: LACİVERT + KEHRİBAR (yeni tasarım — bu blok öncekileri geçersiz kılar)
   ===================================================================== */
:root {
  --navy: #1F3A5F; --navy-600: #172C48; --navy-800: #0F1F33; --navy-50: #F3F6FA; --navy-100: #E6ECF4;
  --amber: #F2A93B; --amber-600: #E0951F; --amber-text: #9A5B00; --amber-50: #FFF6E6;
  --brand: var(--navy); --brand-600: var(--navy-600); --brand-700: var(--navy-800); --brand-text: var(--navy);
  --brand-50: var(--navy-50); --brand-100: var(--navy-100); --red-solid: var(--navy);
  --ink: #1B2638; --ink-2: #0F1F33; --text: #46536A; --muted: #6B778A; --line: #E2E8F0; --bg-soft: #F5F7FB;
  --shadow: 0 10px 30px rgba(15, 31, 51, .08); --shadow-lg: 0 24px 60px rgba(15, 31, 51, .16);
  --math-pattern-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%231F3A5F' stroke-opacity='.05' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M20 18v16M12 26h16'/%3E%3Cpath d='M98 22h18M98 30h18'/%3E%3Ccircle cx='136' cy='86' r='9'/%3E%3Cpath d='M18 92l12 12M30 92l-12 12'/%3E%3Cpath d='M70 120c8-14 16-14 24 0'/%3E%3Cpath d='M126 132l10-14 10 14z'/%3E%3C/g%3E%3C/svg%3E");
  --math-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M20 18v16M12 26h16'/%3E%3Cpath d='M98 22h18M98 30h18'/%3E%3Ccircle cx='136' cy='86' r='9'/%3E%3Cpath d='M18 92l12 12M30 92l-12 12'/%3E%3Cpath d='M70 120c8-14 16-14 24 0'/%3E%3Cpath d='M58 62h20M68 52v4M68 68v4'/%3E%3Cpath d='M126 132l10-14 10 14z'/%3E%3C/g%3E%3Ctext x='84' y='88' font-family='Georgia,serif' font-size='22' fill='%23ffffff' fill-opacity='.07'%3E%CF%80%3C/text%3E%3Ctext x='18' y='148' font-family='Georgia,serif' font-size='20' fill='%23ffffff' fill-opacity='.07'%3E%E2%88%91%3C/text%3E%3C/svg%3E");
}
body { color: var(--text); }
::selection { background: var(--amber); color: var(--navy-800); }

/* Düğmeler: ana eylem kehribar, ikincil lacivert çerçeve */
.btn-brand { background: var(--amber); border-color: var(--amber); color: var(--navy-800); }
.btn-brand:hover, .btn-brand:focus { background: var(--amber-600); border-color: var(--amber-600); color: var(--navy-800); }
.btn-outline-brand { border-color: var(--navy); color: var(--navy); }
.btn-outline-brand:hover, .btn-outline-brand:focus { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Üst çubuk + header */
.topbar { background: var(--navy-800); color: rgba(255,255,255,.85); }
.topbar a, .topbar i { color: #fff; }
.topbar i { color: var(--amber); }
.topbar-badge { background: var(--amber); color: var(--navy-800); }
.topbar-badge i { color: var(--navy-800); }
.navbar .nav-link.active { background: var(--navy) !important; color: #fff !important; }
.brand .brand-sub { color: var(--amber-text); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--navy); color: #fff; }
.dd-ico { background: var(--navy-50); color: var(--navy); }
.mobile-links a.active, .mobile-links a:hover { background: var(--navy); color: #fff; }

/* Hero: koyu lacivert */
.hero { background: var(--math-pattern), linear-gradient(160deg, #22406A 0%, var(--navy-800) 100%); color: rgba(255,255,255,.85); border-bottom: 0; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--amber); }
.hero h1 span::after { content: none; }
.hero .lead { color: rgba(255,255,255,.82); }
.hero .eyebrow { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; box-shadow: none; }
.hero-facts { color: #fff; }
.hero-facts i { color: var(--amber); }
.hero .btn-outline-brand { border-color: rgba(255,255,255,.7); color: #fff; }
.hero .btn-outline-brand:hover, .hero .btn-outline-brand:focus { background: #fff; border-color: #fff; color: var(--navy-800); }
.countdown-card { border: 0; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.countdown-card .label { color: var(--amber-text); }
.countdown div { background: var(--navy-50); }
.countdown b { color: var(--navy); }

/* İç sayfa başlığı */
.page-hero { background: var(--math-pattern), linear-gradient(160deg, #22406A 0%, var(--navy-800) 100%); border-bottom: 0; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.8); }
.page-hero .breadcrumb a { color: rgba(255,255,255,.7); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb-item.active { color: var(--amber); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.hero-ico { background: var(--amber); color: var(--navy-800); }

/* Bölümler */
.section-soft { background: var(--bg-soft); border-top: 0; border-bottom: 0; }
.kicker, .section-head .kicker { color: var(--amber-text); }
.feature-tile .ico, .ws-card .ico { background: var(--amber-50); color: var(--amber-text); }
.ws-card:hover .ico { background: var(--amber); color: var(--navy-800); }
.ws-card::after { background: var(--amber); }
.ws-card .more { color: var(--navy); }
.check-list li::before { color: var(--amber-600); }
.step::before { background: var(--amber); color: var(--navy-800); }
.timeline .date { color: var(--navy); }
.news-card .thumb .bi { background: var(--navy); color: var(--amber); }
.news-card time { color: var(--amber-text); }
.faq .accordion-button:not(.collapsed) { background: var(--navy-50); color: var(--navy); }
.side-card, .contact-tile, .result-grid div { background: var(--bg-soft); border: 0; }
.side-list i { color: var(--amber-600); }
.info-pill { background: var(--navy-50); }
.form-label .req { color: #C0392B; }

/* "Neden katılmalıyım?" kutusu: lacivert */
.about-visual { background: var(--math-pattern), linear-gradient(160deg, #22406A 0%, var(--navy-800) 100%); border: 0; box-shadow: var(--shadow-lg); }
.about-visual .kicker { color: var(--amber); opacity: 1; }
.stat-grid div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.stat-grid b { color: var(--amber); }

/* Çağrı bandı: kehribar */
.cta-band { background: var(--amber); color: var(--navy-800); box-shadow: 0 18px 40px rgba(224,149,31,.28); }
.cta-band h2 { color: var(--navy-800); }
.cta-band p { color: var(--navy-800); opacity: .85; }
.cta-band .btn-brand, .cta-band .btn-brand:focus { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.cta-band .btn-brand:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Footer: gece mavisi */
.site-footer { background: var(--navy-800); color: rgba(255,255,255,.72); border-top: 0; }
.site-footer h3 { color: #fff; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--amber); }
.site-footer ul a::before { color: var(--amber); }
.footer-contact i { color: var(--amber); }
.footer-social a { background: rgba(255,255,255,.08); border: 0; color: #fff; }
.footer-social a:hover { background: var(--amber); color: var(--navy-800); }
.footer-bottom { background: #0A1626; border-top: 0; color: rgba(255,255,255,.55); }
.site-footer .brand-light, .site-footer .brand-light:hover { color: #fff; }
.site-footer .brand-light .brand-sub { color: var(--amber); }
.site-footer .brand-light small { color: rgba(255,255,255,.55); }
.footer-cta-inner h2::before { color: var(--amber-600); }
.back-to-top { background: var(--amber); color: var(--navy-800); }
.back-to-top:hover { background: var(--amber-600); color: var(--navy-800); }
.swal2-confirm { background: var(--navy) !important; }
.site-footer .brand img { box-shadow: 0 0 0 1px rgba(255,255,255,.18); border-radius: 12px; }

/* Arka plan deseni: matematik + bilim + şenlik */
:root {
  --math-pattern: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27280%27 height=%27280%27 viewBox=%270 0 280 280%27%3E%3Cg fill=%27none%27 stroke=%27%23ffffff%27 stroke-opacity=%27.07%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cg transform=%27translate%28105 38%29%27%3E%3Cellipse rx=%2716%27 ry=%276%27/%3E%3Cellipse rx=%2716%27 ry=%276%27 transform=%27rotate%2860%29%27/%3E%3Cellipse rx=%2716%27 ry=%276%27 transform=%27rotate%28-60%29%27/%3E%3C/g%3E%3Cpath d=%27M234 22h12M236 22v12l-9 17c-1 2 0 3 2 3h22c2 0 3-1 2-3l-9-17V22M231 46h18%27/%3E%3Cpath d=%27M22 100c16 8 16 32 0 40M38 100c-16 8-16 32 0 40M24 108h12M24 132h12M27 120h6%27/%3E%3Cpath d=%27M170 128c0-4-6-6-6-13a11 11 0 0 1 22 0c0 7-6 9-6 13zM170 132h10M171 136h8M175 104v-4M188 115h4M158 115h4%27/%3E%3Ccircle cx=%2792%27 cy=%27118%27 r=%2710%27/%3E%3Cpath d=%27M99 125l9 9%27/%3E%3Cpath d=%27M228 140l17-30 17 30zM235 140a10 10 0 0 0-3-6%27/%3E%3Ccircle cx=%2735%27 cy=%27205%27 r=%2713%27/%3E%3Cellipse cx=%2735%27 cy=%27205%27 rx=%275.5%27 ry=%2713%27/%3E%3Cpath d=%27M22 205h26M24 198h22M24 212h22%27/%3E%3Cpath d=%27M115 188v4M115 192l-9 25M115 192l9 25M108 208h14%27/%3E%3Ccircle cx=%27115%27 cy=%27190%27 r=%272%27/%3E%3Cpath d=%27M176 222v-26M176 222h30M178 218c8-2 10-16 17-16s8 6 11 4%27/%3E%3Cpath d=%27M252 214v-20l10-3v20%27/%3E%3Ccircle cx=%27249%27 cy=%27214%27 r=%273%27/%3E%3Ccircle cx=%27259%27 cy=%27211%27 r=%273%27/%3E%3Ccircle cx=%2740%27 cy=%2740%27 r=%276%27/%3E%3Cpath d=%27M40 27v5M40 48v5M27 40h5M48 40h5M31 31l3.5 3.5M45.5 45.5L49 49M31 49l3.5-3.5M45.5 34.5L49 31%27/%3E%3Cpath d=%27M175 28l3 7.5 7.5 3-7.5 3-3 7.5-3-7.5-7.5-3 7.5-3z%27/%3E%3Cpath d=%27M104 255c6-3 11-3 16 0v18c-5-3-10-3-16 0zM120 255c5-3 10-3 16 0v18c-6-3-11-3-16 0z%27/%3E%3C/g%3E%3Cg fill=%27%23ffffff%27 fill-opacity=%27.07%27 font-family=%27Georgia%2Cserif%27%3E%3Ctext x=%2760%27 y=%2788%27 font-size=%2724%27%3E%CF%80%3C/text%3E%3Ctext x=%27205%27 y=%2790%27 font-size=%2720%27%3E%CE%A3%3C/text%3E%3Ctext x=%27140%27 y=%27160%27 font-size=%2718%27%3E%E2%88%9Ax%3C/text%3E%3Ctext x=%2760%27 y=%27262%27 font-size=%2718%27%3Ex%C2%B2%3C/text%3E%3Ctext x=%27190%27 y=%27265%27 font-size=%2722%27%3E%E2%88%9E%3C/text%3E%3Ctext x=%27245%27 y=%27265%27 font-size=%2716%27%3E%25%3C/text%3E%3C/g%3E%3C/svg%3E");
  --math-pattern-ink: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27280%27 height=%27280%27 viewBox=%270 0 280 280%27%3E%3Cg fill=%27none%27 stroke=%27%231F3A5F%27 stroke-opacity=%27.06%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cg transform=%27translate%28105 38%29%27%3E%3Cellipse rx=%2716%27 ry=%276%27/%3E%3Cellipse rx=%2716%27 ry=%276%27 transform=%27rotate%2860%29%27/%3E%3Cellipse rx=%2716%27 ry=%276%27 transform=%27rotate%28-60%29%27/%3E%3C/g%3E%3Cpath d=%27M234 22h12M236 22v12l-9 17c-1 2 0 3 2 3h22c2 0 3-1 2-3l-9-17V22M231 46h18%27/%3E%3Cpath d=%27M22 100c16 8 16 32 0 40M38 100c-16 8-16 32 0 40M24 108h12M24 132h12M27 120h6%27/%3E%3Cpath d=%27M170 128c0-4-6-6-6-13a11 11 0 0 1 22 0c0 7-6 9-6 13zM170 132h10M171 136h8M175 104v-4M188 115h4M158 115h4%27/%3E%3Ccircle cx=%2792%27 cy=%27118%27 r=%2710%27/%3E%3Cpath d=%27M99 125l9 9%27/%3E%3Cpath d=%27M228 140l17-30 17 30zM235 140a10 10 0 0 0-3-6%27/%3E%3Ccircle cx=%2735%27 cy=%27205%27 r=%2713%27/%3E%3Cellipse cx=%2735%27 cy=%27205%27 rx=%275.5%27 ry=%2713%27/%3E%3Cpath d=%27M22 205h26M24 198h22M24 212h22%27/%3E%3Cpath d=%27M115 188v4M115 192l-9 25M115 192l9 25M108 208h14%27/%3E%3Ccircle cx=%27115%27 cy=%27190%27 r=%272%27/%3E%3Cpath d=%27M176 222v-26M176 222h30M178 218c8-2 10-16 17-16s8 6 11 4%27/%3E%3Cpath d=%27M252 214v-20l10-3v20%27/%3E%3Ccircle cx=%27249%27 cy=%27214%27 r=%273%27/%3E%3Ccircle cx=%27259%27 cy=%27211%27 r=%273%27/%3E%3Ccircle cx=%2740%27 cy=%2740%27 r=%276%27/%3E%3Cpath d=%27M40 27v5M40 48v5M27 40h5M48 40h5M31 31l3.5 3.5M45.5 45.5L49 49M31 49l3.5-3.5M45.5 34.5L49 31%27/%3E%3Cpath d=%27M175 28l3 7.5 7.5 3-7.5 3-3 7.5-3-7.5-7.5-3 7.5-3z%27/%3E%3Cpath d=%27M104 255c6-3 11-3 16 0v18c-5-3-10-3-16 0zM120 255c5-3 10-3 16 0v18c-6-3-11-3-16 0z%27/%3E%3C/g%3E%3Cg fill=%27%231F3A5F%27 fill-opacity=%27.06%27 font-family=%27Georgia%2Cserif%27%3E%3Ctext x=%2760%27 y=%2788%27 font-size=%2724%27%3E%CF%80%3C/text%3E%3Ctext x=%27205%27 y=%2790%27 font-size=%2720%27%3E%CE%A3%3C/text%3E%3Ctext x=%27140%27 y=%27160%27 font-size=%2718%27%3E%E2%88%9Ax%3C/text%3E%3Ctext x=%2760%27 y=%27262%27 font-size=%2718%27%3Ex%C2%B2%3C/text%3E%3Ctext x=%27190%27 y=%27265%27 font-size=%2722%27%3E%E2%88%9E%3C/text%3E%3Ctext x=%27245%27 y=%27265%27 font-size=%2716%27%3E%25%3C/text%3E%3C/g%3E%3C/svg%3E");
}
.hero, .page-hero, .about-visual { background-size: 280px 280px, auto; }

/* =====================================================================
   ANİMASYONLAR (hareketi azalt ayarı açık olanlarda kapalı)
   ===================================================================== */
/* 2) Anasayfa üst bölüm: kayan desen + süzülen simgeler */
.hero { background: linear-gradient(160deg, #22406A 0%, var(--navy-800) 100%); isolation: isolate; }
.hero::before { content: ""; position: absolute; top: -280px; left: -280px; right: 0; bottom: 0; background: var(--math-pattern); background-size: 280px 280px; z-index: -1; pointer-events: none; will-change: transform; }
.hero > .container { z-index: 1; }
.hero-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hf { position: absolute; display: block; line-height: 1; font-family: Georgia, "Times New Roman", serif; }
.hf-atom { width: 110px; height: 110px; top: 7%; right: 4%; color: rgba(255,255,255,.16); }
.hf-flask { width: 80px; height: 80px; bottom: 14%; right: 3%; color: rgba(242,169,59,.30); }
.hf-pi { font-size: 96px; top: 52%; left: 1.5%; color: rgba(242,169,59,.28); }
.hf-sigma { font-size: 64px; top: 9%; left: 47%; color: rgba(255,255,255,.14); }
.hf-star { width: 30px; height: 30px; top: 8%; left: 58%; color: rgba(242,169,59,.55); }
@media (max-width: 991.98px) { .hf-flask, .hf-sigma, .hf-star { display: none; } .hf-atom { width: 80px; height: 80px; top: 2%; right: 2%; } .hf-pi { font-size: 64px; top: auto; bottom: 4%; left: auto; right: 4%; } }

@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: kfl-drift 70s linear infinite; }
  .hf-atom { animation: kfl-spin 40s linear infinite; }
  .hf-flask { animation: kfl-float 9s ease-in-out infinite; }
  .hf-pi { animation: kfl-float 11s ease-in-out infinite -3s; }
  .hf-sigma { animation: kfl-float 13s ease-in-out infinite -6s; }
  .hf-star { animation: kfl-twinkle 3.2s ease-in-out infinite; }

  /* 4) Geri sayım: değişen rakam */
  .countdown b.tick { animation: kfl-tick .45s ease; }

  /* 5) Atölye kartları: simgeye göre hareket */
  .ws-card:hover .ico i { display: inline-block; animation: kfl-wiggle .7s ease; }
  .ws-card:hover .ico .bi-lightning-charge { animation: kfl-shake .5s ease 2; }
  .ws-card:hover .ico .bi-flower1, .ws-card:hover .ico .bi-cpu { animation: kfl-spin 2.4s linear infinite; }
  .ws-card:hover .ico .bi-globe-europe-africa { animation: kfl-globe 1.6s ease-in-out infinite; }
  .ws-card:hover .ico .bi-hourglass-split { animation: kfl-flip 1.2s ease-in-out; }
  .ws-card:hover .ico .bi-music-note-beamed, .ws-card:hover .ico .bi-droplet-half { animation: kfl-bounce .8s ease infinite; }
  .ws-card:hover .ico .bi-feather { animation: kfl-sway 1.4s ease-in-out infinite; transform-origin: bottom left; }
  .ws-card:hover .ico .bi-palette, .ws-card:hover .ico .bi-translate { animation: kfl-wiggle .9s ease infinite; }
  .feature-tile:hover .ico i { display: inline-block; animation: kfl-bounce .8s ease; }
}
@keyframes kfl-drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(280px,280px,0); } }
@keyframes kfl-spin { to { transform: rotate(360deg); } }
@keyframes kfl-float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(6deg); } }
@keyframes kfl-twinkle { 0%,100% { opacity: 1; transform: scale(1) rotate(0); } 50% { opacity: .35; transform: scale(.65) rotate(45deg); } }
@keyframes kfl-tick { 0% { transform: translateY(-35%); opacity: .2; } 100% { transform: none; opacity: 1; } }
@keyframes kfl-wiggle { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
@keyframes kfl-shake { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-3px) rotate(-6deg); } 40%,80% { transform: translateX(3px) rotate(6deg); } }
@keyframes kfl-globe { 0%,100% { transform: rotateY(0); } 50% { transform: rotateY(180deg); } }
@keyframes kfl-flip { 0% { transform: rotate(0); } 100% { transform: rotate(180deg); } }
@keyframes kfl-bounce { 0%,100% { transform: translateY(0); } 40% { transform: translateY(-6px); } 60% { transform: translateY(-2px); } }
@keyframes kfl-sway { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-14deg) translateY(-2px); } }
.countdown b { overflow: hidden; }


/* Özel simgeler: ücretsiz (üzeri çizili ₺) ve öğle yemeği (çatal-bıçak) */
.ki { display: inline-block; width: 1em; height: 1em; vertical-align: -.14em; background-color: currentColor; -webkit-mask: var(--ki) center / contain no-repeat; mask: var(--ki) center / contain no-repeat; font-style: normal; }
.ki-ucretsiz { --ki: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229.5%22/%3E%3Cpath d=%22M10.4 6.5v11c3.2 0 5.4-2.2 5.8-5%22/%3E%3Cpath d=%22M7.8 11.2l6-2.4M7.8 14.3l6-2.4%22/%3E%3Cpath d=%22M5.3 5.3l13.4 13.4%22/%3E%3C/svg%3E"); }
.ki-yemek { --ki: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 2.5v5.5a2.5 2.5 0 0 0 5 0V2.5M7.5 2.5v19%22/%3E%3Cpath d=%22M18.5 15V2.5c-2.4 1.3-3.8 4.6-3.8 8.6V15h3.8zM18.5 15v6.5%22/%3E%3C/svg%3E"); }

/* Takvim bölümü: yapışkan sol sütun + etkinlik günü kartı */
@media (min-width: 992px) { .takvim-side { position: sticky; top: 110px; } }
.event-date-card { display: flex; gap: 1.1rem; align-items: center; margin-top: 2rem; padding: 1.2rem; border-radius: var(--radius); background: var(--math-pattern), linear-gradient(160deg, #22406A 0%, var(--navy-800) 100%); background-size: 280px 280px, auto; color: #fff; box-shadow: var(--shadow-lg); }
.edc-cal { flex: none; width: 86px; border-radius: 16px; overflow: hidden; background: #fff; text-align: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.edc-cal span { display: block; background: var(--amber); color: var(--navy-800); font: 700 .78rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; padding: .3rem 0; }
.edc-cal b { display: block; font: 800 2.4rem/1 var(--font-head); color: var(--navy); padding: .45rem 0 .55rem; }
.edc-info { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.edc-info small { color: var(--amber); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.edc-info strong { font: 700 1.25rem var(--font-head); }
.edc-info span { color: rgba(255,255,255,.75); font-size: .9rem; }
.edc-info a { color: #fff; font-weight: 600; font-size: .88rem; margin-top: .35rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(242,169,59,.7); }
.edc-info a:hover { color: var(--amber); }

/* Arka arkaya gelen beyaz bölümlerde fazla boşluğu kapat (Ödüller → SSS) */
.section:not(.section-soft) + .section:not(.section-soft) { padding-top: 1.5rem; }

/* KVKK sayfası */
.kvkk-ozet { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.kvkk-ozet .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--amber); font-size: 1.35rem; margin-bottom: .9rem; }
.kvkk-ozet h2 { font-size: 1.05rem; margin: 0 0 .3rem; color: var(--ink); }
.kvkk-ozet p { margin: 0; font-size: .9rem; color: var(--muted); }
.kvkk-text { counter-reset: kv; }
.kvkk-text h2 { counter-increment: kv; display: flex; align-items: center; gap: .75rem; font-size: 1.25rem; margin: 2rem 0 .8rem; color: var(--ink); }
.kvkk-text h2:first-child { margin-top: 0; }
.kvkk-text h2::before { content: counter(kv); flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--amber); color: var(--navy-800); font-size: 1rem; font-weight: 800; }
.kvkk-text h2 ~ p, .kvkk-text h2 ~ ul { margin-left: calc(34px + .75rem); }
.kvkk-text ul { list-style: none; padding: 0; }
.kvkk-text ul li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
.kvkk-text ul li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .05rem; color: var(--amber-600); }
@media (max-width: 575.98px) { .kvkk-text h2 ~ p, .kvkk-text h2 ~ ul { margin-left: 0; } }
@media (min-width: 992px) { .kvkk-side { position: sticky; top: 110px; } }
.kvkk-contact { border-radius: var(--radius); padding: 1.6rem; color: #fff; background: var(--math-pattern), linear-gradient(160deg, #22406A 0%, var(--navy-800) 100%); background-size: 280px 280px, auto; box-shadow: var(--shadow-lg); }
.kvkk-contact .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--amber); color: var(--navy-800); font-size: 1.35rem; margin-bottom: 1rem; }
.kvkk-contact h2 { color: #fff; font-size: 1.2rem; margin-bottom: .4rem; }
.kvkk-contact p { color: rgba(255,255,255,.78); font-size: .93rem; }
.kvkk-contact ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.kvkk-contact li { margin-bottom: .4rem; font-size: .93rem; word-break: break-word; }
.kvkk-contact li i { color: var(--amber); margin-right: .35rem; }
.kvkk-contact a:not(.btn) { color: #fff; }
.kvkk-contact a:not(.btn):hover { color: var(--amber); }
.kvkk-law { margin: 1rem .3rem 0; font-size: .85rem; color: var(--muted); }
.kvkk-law i { color: var(--amber-600); margin-right: .3rem; }

/* Boş bırakılan isteğe bağlı alanlar: doğrulamadan sonra yeşil/onaylı görünmesin */
.was-validated .form-control.bos:valid, .was-validated .form-select.bos:valid,
.was-validated .form-control:not([required]):placeholder-shown:valid {
  border-color: var(--bs-border-color); background-image: none; padding-right: .75rem;
}
.was-validated .form-control.bos:valid:focus, .was-validated .form-select.bos:valid:focus,
.was-validated .form-control:not([required]):placeholder-shown:valid:focus {
  border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(31, 58, 95, .15);
}
.was-validated .form-select.bos:valid { padding-right: 2.25rem; background-image: var(--bs-form-select-bg-img); }

/* Okul öneri listesi: telefonda klavyenin üstünde kalacak yükseklik ve parmakla seçilebilir satırlar */
.okul-ac-list { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
@media (max-width: 767.98px) {
  .okul-ac-list { max-height: min(42vh, 300px); }
  .okul-ac-item { flex-direction: column; align-items: flex-start; gap: .1rem; padding: .7rem .75rem; }
  .okul-ac-item small { white-space: normal; }
}

/* Ad soyad alanları büyük harfle görünür (yer tutucu hariç) */
input[data-buyuk] { text-transform: uppercase; }
input[data-buyuk]::placeholder { text-transform: none; }

/* ---------- Veli izin dilekçesi: ekranda imza ---------- */
.dilekce-secim { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1rem; }
.dsec { display: flex; align-items: center; gap: .8rem; text-align: left; padding: .9rem 1rem; border-radius: 14px; border: 2px solid var(--line); background: #fff; color: var(--ink); transition: all .2s; }
.dsec i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); font-size: 1.2rem; }
.dsec b { display: block; font-family: var(--font-head); font-size: 1rem; }
.dsec small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.3; }
.dsec:hover { border-color: var(--navy-100); }
.dsec.active { border-color: var(--navy); background: var(--navy-50); }
.dsec.active i { background: var(--navy); color: var(--amber); }
@media (max-width: 575.98px) { .dilekce-secim { grid-template-columns: 1fr; } }
.eimza-eksik [data-dilekce-panel="imza"] .btn-outline-brand { border-color: #C0392B; color: #C0392B; box-shadow: 0 0 0 .2rem rgba(192,57,43,.15); }
.eimza-durum { display: flex; gap: 1rem; align-items: center; padding: .9rem; border-radius: 14px; background: #e8f6ee; border: 1px solid #bfe5cd; }
.eimza-durum[hidden] { display: none; }
.eimza-durum img { width: 84px; height: auto; border-radius: 6px; border: 1px solid #cfd8d2; box-shadow: 0 4px 12px rgba(0,0,0,.08); background: #fff; }
.eimza-durum strong { display: block; color: #1f7a45; }
.eimza-durum span { display: block; font-size: .88rem; color: var(--text); }

.eimza-doc { font-family: "Times New Roman", Times, serif; color: #111; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1.5rem; font-size: 1.02rem; line-height: 1.6; margin-bottom: 1.2rem; }
.eimza-doc h3 { font: bold 1.02rem "Times New Roman", Times, serif; text-align: center; margin: .3rem 0 1rem; letter-spacing: .02em; color: #111; }
.eimza-doc p { text-align: justify; text-indent: 2rem; margin-bottom: .6rem; }
.eimza-doc .eimza-tarih { text-align: right; font-size: .95rem; }
.eimza-doc dl { display: grid; grid-template-columns: minmax(140px, 38%) 1fr; gap: .25rem 1rem; margin: 1rem 0 0; }
.eimza-doc dt { font-weight: normal; }
.eimza-doc dd { margin: 0; font-weight: bold; border-bottom: 1px dotted #888; word-break: break-word; }
@media (max-width: 575.98px) { .eimza-doc { padding: 1rem; font-size: .95rem; } .eimza-doc p { text-align: left; text-indent: 1.2rem; } .eimza-doc dl { grid-template-columns: 1fr; } .eimza-doc dt { color: #555; font-size: .85rem; } }
.eimza-pad-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem; color: var(--ink); }
.eimza-pad { position: relative; height: 210px; border-radius: 14px; border: 2px dashed #9fb3cf; background: #fbfcfe; overflow: hidden; }
.eimza-pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; z-index: 2; }
.eimza-hint { position: absolute; inset: 0; display: grid; place-items: center; color: #8a99ad; font-size: .95rem; pointer-events: none; z-index: 1; text-align: center; padding: 1rem; }
.eimza-hint[hidden] { display: none; }
.eimza-line { position: absolute; left: 8%; right: 8%; bottom: 46px; border-bottom: 1.5px solid #c9d4e3; pointer-events: none; z-index: 1; }
@media (max-width: 575.98px) { .eimza-pad { height: 190px; } }

/* Galeri: soldan sağa, satır satır (paneldeki sırayla aynı) */
.gallery-grid { columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 2.2rem; }
.gallery-grid a { margin-bottom: 0; aspect-ratio: 4 / 3; }
.gallery-grid img { height: 100%; object-fit: cover; }
@media (max-width: 575.98px) { .gallery-grid { columns: auto; grid-template-columns: 1fr 1fr; gap: .6rem; } }
.gallery-year { display: flex; align-items: baseline; gap: .6rem; font-size: 1.4rem; margin: 0 0 1rem; }
.gallery-year span { font: 600 .85rem var(--font-body); color: var(--muted); }

/* 992–1199 px: menü tek satıra sığsın */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .nav-link { padding: .4rem .45rem !important; font-size: .88rem; }
  .brand { gap: .5rem; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 1rem; }
  .brand .brand-sub { font-size: .88rem; }
  .nav-cta { gap: .35rem !important; margin-left: .6rem; }
  .navbar-nav { gap: .15rem; }
  .brand strong { font-size: .95rem; }
  .brand .brand-sub { font-size: .84rem; }
  .nav-cta .btn { padding-left: .7rem; padding-right: .7rem; }
}

/* ---------- Atölye sayfası (zengin görünüm) ---------- */
.page-hero.has-watermark { position: relative; overflow: hidden; }
.page-hero.has-watermark .container { position: relative; z-index: 1; }
.hero-watermark { position: absolute; right: max(4vw, calc((100vw - 1320px) / 2)); top: 50%; transform: translateY(-50%) rotate(-12deg); font-size: clamp(7rem, 16vw, 13rem); line-height: 1; color: var(--amber); opacity: .13; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .hero-watermark { animation: kfl-wm-float 7s ease-in-out infinite; } }
@keyframes kfl-wm-float { 0%, 100% { transform: translateY(-50%) rotate(-12deg); } 50% { transform: translateY(-56%) rotate(-8deg); } }
@media (max-width: 575.98px) { .hero-watermark { font-size: 6.5rem; right: -1rem; opacity: .1; } }

.ws-strip { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.6rem; }
.ws-strip > div { display: flex; align-items: center; gap: .65rem; flex: 1 1 140px; padding: .75rem 1rem; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.ws-strip i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--navy); color: var(--amber); font-size: 1.05rem; }
.ws-strip span { display: flex; flex-direction: column; font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.25; }
.ws-strip small { font-weight: 500; color: var(--muted); font-size: .78rem; }
.ws-lead { font-size: 1.12rem; line-height: 1.8; color: var(--text); margin-bottom: 2rem; padding-left: 1.1rem; border-left: 4px solid var(--amber); }
.ws-h { display: flex; align-items: center; gap: .6rem; font-size: 1.35rem; font-weight: 800; color: var(--ink); margin: 2.2rem 0 1rem; }
.ws-h i { color: var(--amber-text); }
.act-card { position: relative; height: 100%; padding: 1.3rem 1.3rem 1.2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s, opacity .7s ease; }
.act-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.act-card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--amber-50); color: var(--amber-text); font-size: 1.35rem; margin-bottom: .8rem; transition: background .25s, color .25s, transform .25s; }
.act-card:hover .ico { background: var(--amber); color: var(--navy-800); transform: rotate(-8deg) scale(1.05); }
.act-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .35rem; color: var(--ink); }
.act-card p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.6; }
.ws-check { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: .6rem 1rem; }
@media (min-width: 576px) { .ws-check { grid-template-columns: 1fr 1fr; } }
.ws-check li { display: flex; gap: .6rem; align-items: flex-start; padding: .7rem .9rem; border-radius: 12px; background: var(--navy-50); color: var(--ink); font-weight: 500; }
.ws-check i { color: #1E9E5A; margin-top: .1rem; }
.ws-fact { position: relative; display: flex; gap: 1rem; align-items: flex-start; margin-top: 2.2rem; padding: 1.4rem 1.5rem; border-radius: 20px; background: linear-gradient(135deg, var(--amber-50), #FFE9C2); border: 1px solid #F6D8A0; overflow: hidden; }
.ws-fact::after { content: "?"; position: absolute; right: 1rem; bottom: -2.2rem; font: 800 8rem/1 var(--font-head); color: var(--amber); opacity: .18; pointer-events: none; }
.ws-fact-ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--amber); color: var(--navy-800); font-size: 1.3rem; box-shadow: 0 0 0 6px rgba(242,169,59,.2); }
@media (prefers-reduced-motion: no-preference) { .ws-fact-ico { animation: kfl-glow 2.6s ease-in-out infinite; } }
@keyframes kfl-glow { 0%, 100% { box-shadow: 0 0 0 6px rgba(242,169,59,.2); } 50% { box-shadow: 0 0 0 12px rgba(242,169,59,.08); } }
.ws-fact strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--navy-800); margin-bottom: .25rem; }
.ws-fact p { margin: 0; color: #5A4A2E; line-height: 1.65; position: relative; z-index: 1; }
.ws-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.ws-photos a { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; }
.ws-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ws-photos a:hover img { transform: scale(1.06); }

/* Uzun e-posta adresleri dar ekranda taşmasın */
a[href^="mailto:"] { overflow-wrap: anywhere; }
.contact-tile > div { min-width: 0; }
