/* =====================================================================
   KKSG 2027 — Kars Kış Teması (theme-soft.css üzerine)
   Lacivert menü · altın vurgu · kar beyazı zemin · alacakaranlık lavanta gökyüzü
   Kurum + amblem bandı, karlı manzaralı hero, özellik şeridi, etkinlik takvimi.
   ===================================================================== */
body:not(.no-soft) {
  --navy: #1E2B4A; --navy-2: #2A3A60; --gold: #B8935A; --gold-d: #8C6A33; --gold-l: #E6CB94; --snow: #FBFAF7;
  --kh-band: 150px;
  background: var(--snow);
}

/* ---------- Butonlar: altın degrade, lacivert yazı ---------- */
body:not(.no-soft) :is(.btn-primary, .cta-btn-light) {
  background: linear-gradient(135deg, #F0DCB0 0%, #D8B677 55%, #C59D58 100%); color: #1E2B4A; border: 1px solid rgba(140, 106, 51, .35);
  box-shadow: 0 12px 26px -14px rgba(140, 106, 51, .75); font-weight: 700;
}
body:not(.no-soft) :is(.btn-primary, .cta-btn-light):hover { background: linear-gradient(135deg, #E9CF98 0%, #CDA761 55%, #B88E48 100%); color: #1E2B4A; }

/* ---------- Başlık: kurum + amblem bandı ---------- */
.kh { position: sticky; top: calc(-1 * var(--kh-band)); z-index: 50; }
.kh-band { position: relative; height: var(--kh-band); overflow: hidden; background: linear-gradient(180deg, #FFFFFF 0%, #F6F7FB 100%); border-bottom: 1px solid #E3E6EF; }
.kh-band-snow { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 80%; pointer-events: none; }
.kh-band-in { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; }
.kh-host { display: flex; align-items: center; gap: 16px; min-width: 0; }
.kh-host-logo { height: 92px; width: auto; flex-shrink: 0; }
.kh-host-lines { display: flex; flex-direction: column; border-left: 1.5px solid #1E2B4A; padding-left: 14px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 16px; font-weight: 500; line-height: 1.28; color: #1E2B4A; }
.kh-brand { display: flex; align-items: center; gap: 16px; color: #1E2B4A; }
.kh-emblem { height: 118px; width: auto; flex-shrink: 0; }
img.kh-emblem { height: 104px; }
.kh-title { display: flex; flex-direction: column; line-height: .98; }
.kh-t1, .kh-t2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 34px; color: #1E2B4A; letter-spacing: -.005em; }
.kh-year { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 32px; color: var(--gold); margin-top: 2px; padding-left: 1.6em; }
.kh-tagline { display: flex; align-items: center; gap: 10px; margin-top: 7px; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500; font-size: 16px; color: #1E2B4A; white-space: nowrap; }
.kh-tagline i { display: block; width: 36px; height: 1.5px; background: var(--gold); }
.kh-tools { justify-self: end; display: flex; align-items: center; gap: 12px; }
.kh-lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: #EEF0F6; }
.kh-lang a { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; color: #6B6483; padding: 5px 9px; border-radius: 999px; }
.kh-lang a.is-active { background: #1E2B4A; color: #fff; }
.kh-login { font-size: 14px; font-weight: 600; color: #1E2B4A; }
.kh-login:hover { color: var(--gold-d); }

/* ---------- Lacivert menü ---------- */
.kh-nav { background: linear-gradient(180deg, #22305A 0%, #1B2747 100%); border-bottom: 2px solid rgba(184, 147, 90, .6); box-shadow: 0 12px 30px -18px rgba(14, 22, 44, .7); }
.kh-mini { display: none; align-items: center; gap: 8px; color: #E9D9B8; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 19px; white-space: nowrap; }
.kh.is-scrolled .kh-mini { display: flex; }
.kh-link { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 58px; padding: 0 14px; color: #E9ECF4; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 18px; font-weight: 600; white-space: nowrap; transition: color .2s; }
.kh-link:hover, .kh-link.is-active { color: #F3E3C2; }
.kh-link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, #F0DCB0, var(--gold)); transform: scaleX(0); transition: transform .25s; }
.kh-link:hover::after, .kh-link.is-active::after { transform: scaleX(1); }
.kh-sep { width: 1px; height: 18px; background: rgba(233, 217, 184, .35); }
.kh-drop { position: absolute; top: 100%; left: 0; min-width: 230px; padding: 8px; background: #fff; border-radius: 16px; border-top: 3px solid var(--gold); box-shadow: 0 24px 48px -16px rgba(14, 22, 44, .45); z-index: 60; }
.kh-drop a { display: block; padding: 9px 14px; border-radius: 10px; color: #1E2B4A; font-size: 14.5px; font-weight: 500; }
.kh-drop a:hover { background: #F6F1E8; color: var(--gold-d); }
@media (max-width: 1439px) { .kh-link { padding: 0 9px; font-size: 16.5px; } .kh-home-label { display: none; } }
.kh-menu-btn { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid rgba(233, 217, 184, .45); border-radius: 999px; color: #F3E3C2; }
.kh-menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #E6CB94; box-shadow: 0 -6px 0 #E6CB94, 0 6px 0 #E6CB94; }
.kh-menu-btn span + span { display: none; }
.kh-menu-btn em { font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kh-mobile { position: fixed; inset: 0; z-index: 70; overflow-y: auto; color: #fff; background: linear-gradient(170deg, #1E2B4A 0%, #2E3D68 100%); }
.kh-mobile-title { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 22px; color: #E6CB94; }
.kh-mobile-link { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 23px; font-weight: 600; color: #fff; }
.kh-mobile-sub { display: block; padding: 7px 0 7px 18px; font-size: 15px; color: #C9CEDB; }
body:not(.no-soft) .kh-mobile .btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .4); background: transparent; }

@media (max-width: 1279px) { .kh-mini { display: flex; } .kh-host-lines { font-size: 14px; } .kh-t1, .kh-t2 { font-size: 28px; } .kh-year { font-size: 26px; } .kh-emblem { height: 96px; } }
@media (max-width: 1023px) {
  body:not(.no-soft) { --kh-band: 104px; }
  .kh-band-in { grid-template-columns: 1fr; justify-items: center; }
  .kh-host, .kh-tools { display: none; }
  .kh-emblem, img.kh-emblem { height: 74px; }
  .kh-t1, .kh-t2 { font-size: 22px; } .kh-year { font-size: 20px; } .kh-tagline { display: none; }
}

/* ---------- Hero: karlı Kars manzarası ---------- */
.kh-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: clamp(580px, 74vh, 780px);
  background: linear-gradient(180deg, #25335E 0%, #36416F 18%, #5C5D8F 40%, #9A88AB 58%, #D7B2A7 74%, #EFD5C6 86%, #FFFFFF 100%); }
.kh-hero .snow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.kh-hero-art { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(300px, 44vw, 560px); z-index: 1; }
.kh-hero-art svg { width: 100%; height: 100%; display: block; }
.kh-hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(20, 28, 58, .55) 0%, rgba(20, 28, 58, .28) 46%, rgba(20, 28, 58, 0) 72%);
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 82%); mask-image: linear-gradient(180deg, #000 50%, transparent 82%); }
.kh-hero-body { padding-top: clamp(44px, 6vw, 88px); padding-bottom: clamp(230px, 27vw, 340px); }
.kh-hero-grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .kh-hero-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 52px; align-items: start; } }
.kh-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 1024px) { .kh-facts { margin-top: 26px; padding: 6px 32px 6px 0; border-right: 1.5px solid rgba(255, 255, 255, .5); } }
.kh-facts li { display: flex; align-items: center; gap: 14px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; font-weight: 600; line-height: 1.2; color: #fff; text-shadow: 0 1px 10px rgba(16, 22, 48, .4); }
.kh-facts svg { flex-shrink: 0; color: #F3E3C2; }
.kh-hero-title { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: clamp(2.6rem, 5.6vw, 5.1rem); line-height: 1.0; color: #fff; letter-spacing: -.005em; text-shadow: 0 2px 22px rgba(16, 22, 48, .45); }
.kh-hero-title span { color: #F3E3C2; }
.kh-hero-intro { margin-top: 20px; max-width: 40rem; font-size: 1.08rem; line-height: 1.7; color: rgba(255, 255, 255, .94); text-shadow: 0 1px 12px rgba(16, 22, 48, .5); }
body:not(.no-soft) .kh-btn-glass { color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
body:not(.no-soft) .kh-btn-glass:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.kh-count { display: inline-flex; align-items: center; gap: 4px; padding: .55rem 1rem; border-radius: 999px; font-size: .85rem; color: #fff; background: rgba(20, 28, 58, .38); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.kh-count b { font-weight: 800; color: #F3E3C2; font-variant-numeric: tabular-nums; }

/* ---------- Özellik şeridi ---------- */
.kh-feat-wrap { position: relative; z-index: 5; margin-top: -92px; }
.kh-feat { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px clamp(16px, 4vw, 56px); background: rgba(255, 255, 255, .97); border: 1px solid #ECE7DC; border-radius: 30px; box-shadow: 0 26px 60px -30px rgba(30, 43, 74, .5); }
@media (min-width: 768px) { .kh-feat { grid-template-columns: repeat(4, minmax(0, 1fr)); } .kh-feat-item + .kh-feat-item { border-left: 1px solid #E5E0D4; } }
.kh-feat-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px 12px; text-align: center; color: #1E2B4A; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.15; }
.kh-feat-item svg { color: #1E2B4A; transition: transform .3s, color .3s; }
.kh-feat-item:hover svg { color: var(--gold); transform: translateY(-3px); }
.kh-flake { position: absolute; top: 50%; transform: translateY(-50%); color: #D9BE8C; display: none; }
.kh-flake.is-l { left: 10px; } .kh-flake.is-r { right: 10px; }
@media (min-width: 1280px) { .kh-flake { display: block; } }

/* ---------- Etkinlik takvimi ---------- */
.kh-cal { padding: 56px 0 72px; }
.kh-cal-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .kh-cal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kh-cal-title { grid-column: 1 / -1; } }
@media (min-width: 1280px) { .kh-cal-grid { grid-template-columns: 240px repeat(3, minmax(0, 1fr)); } .kh-cal-title { grid-column: auto; } }
.kh-cal-title { display: flex; align-items: center; gap: 14px; align-self: start; margin-top: 18px; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 2rem; line-height: 1.1; color: #1E2B4A; }
.kh-cal-title svg { color: var(--gold); flex-shrink: 0; }
.kh-day { position: relative; overflow: hidden; min-height: 156px; padding: 22px 128px 22px 24px; border-radius: 22px; border: 1px solid #E6E2D8;
  background: linear-gradient(115deg, #FFFFFF 0%, #FFFFFF 48%, #EEF1F8 100%); box-shadow: 0 18px 40px -28px rgba(30, 43, 74, .45); transition: transform .3s, box-shadow .3s; }
.kh-day:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -26px rgba(30, 43, 74, .5); }
.kh-day-ic { color: var(--gold); display: inline-flex; }
.kh-day-date { margin-top: 10px; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 1.3rem; color: #1E2B4A; }
.kh-day-title { margin-top: 4px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.18rem; font-weight: 500; line-height: 1.3; color: #26304F; }
.kh-day-desc { margin-top: 8px; font-size: .84rem; line-height: 1.55; color: #6B6483; }
.kh-day-art { position: absolute; right: -16px; bottom: -18px; width: 150px; height: 150px; color: #E3E2F0; }
.kh-day.is-stethoscope .kh-day-art { color: #EFE6D6; }
.kh-day.is-plane .kh-day-art { color: #DCE3EF; }

/* ---------- Footer: lacivert ---------- */
body:not(.no-soft) .site-footer { background: linear-gradient(180deg, #1E2B4A 0%, #17213B 100%); color: #C9CEDB; border-radius: 40px 40px 0 0; margin-top: 4rem; }
body:not(.no-soft) .site-footer :is(.text-white, .text-snow) { color: #FFFFFF; }
body:not(.no-soft) .site-footer :is(.text-ink-200, .text-ink-300) { color: #D3D8E4; }
body:not(.no-soft) .site-footer :is(.text-ink-400, .eyebrow) { color: #AEB4C8; }
body:not(.no-soft) .site-footer :is(.text-pudra, .text-bordo) { color: #E6CB94; }
body:not(.no-soft) .site-footer .text-pudra-200 { color: #EBDDC3; }
body:not(.no-soft) .site-footer .border-ink-600 { border-color: rgba(255, 255, 255, .14); }
body:not(.no-soft) .footer-links a { color: #C9CEDB; }
body:not(.no-soft) .footer-links a:hover { color: #E6CB94; }
body:not(.no-soft) .footer-wordmark { background: linear-gradient(90deg, #8C6A33, #E6CB94 50%, #8C6A33); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .55; }
body:not(.no-soft) .footer-social a { border-color: rgba(233, 217, 184, .35); color: #E6CB94; background: transparent; }
body:not(.no-soft) .footer-social a:hover { background: #E6CB94; color: #1E2B4A; border-color: #E6CB94; }
body:not(.no-soft) .footer-verify { color: #C9CEDB; }
body:not(.no-soft) .site-footer address a:hover { color: #E6CB94; }

/* Dalga çizgileri (CTA / 404) */
.flow-waves .fw-lines path { stroke: #B8935A; }
.flow-waves .fw-lines .fw-soft { stroke: #9C97C2; }
.flow-waves .fw-f2 ellipse { fill: #E7E3F2; stroke: #9C97C2; }

/* Sayfa başlıkları (alt sayfalar): kış alacakaranlığı tonu */
body:not(.no-soft) .page-hero { background:
    radial-gradient(48rem 30rem at 92% -10%, #E7E1F2 0%, rgba(231, 225, 242, 0) 62%),
    radial-gradient(36rem 26rem at 0% 110%, #F3E9DA 0%, rgba(243, 233, 218, 0) 62%), #F8F7FB; }

/* ---------- 3D Secure ödeme modalı (odeme.php) ---------- */
.pos-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(20, 28, 58, .55); backdrop-filter: blur(4px); }
.pos-modal-box { width: min(560px, 100%); height: min(760px, calc(100vh - 32px)); display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 24px; border: 1px solid #E6DFCF; box-shadow: 0 40px 90px -30px rgba(14, 22, 44, .6); }
.pos-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: linear-gradient(180deg, #22305A, #1B2747); color: #F3E3C2; font-size: 14px; border-bottom: 2px solid rgba(184, 147, 90, .6); }
.pos-modal-head em { font-style: normal; color: #E6CB94; }
.pos-modal-x { width: 34px; height: 34px; border-radius: 50%; font-size: 24px; line-height: 1; color: #fff; background: rgba(255, 255, 255, .1); }
.pos-modal-x:hover { background: rgba(255, 255, 255, .2); }
.pos-modal-frame { flex: 1; width: 100%; border: 0; background: #FBFAF7; }
.pos-modal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 18px; font-size: 12px; color: #6B6483; background: #FBF8F3; border-top: 1px solid #EFE6D6; }
.pos-modal-foot button { color: #8C6A33; font-weight: 600; }
/* Uzun kongre adı (örn. I. Kafkas Üniversitesi Kadın Doğum Tıp Günleri) */
.kh-hero-title.is-long { font-size: clamp(2.2rem, 4.4vw, 4.1rem); line-height: 1.04; }
.kh-hero-title.is-long br:first-of-type + em { display: inline-block; margin-top: .08em; }
