/* ===== NE ZAMAN? — Dark Mode Site CSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500&display=swap');

:root {
    --bg:         #0D0F14;
    --bg2:        #13161E;
    --bg3:        #1A1D27;
    --bg4:        #21253200;
    --border:     rgba(255,255,255,0.07);
    --border2:    rgba(255,255,255,0.12);
    --text:       #E8E6DF;
    --text2:      #8A8880;
    --text3:      #5A5855;
    --accent:     #F5A623;
    --accent2:    #E8500A;
    --blue:       #3B82F6;
    --teal:       #2DD4BF;
    --purple:     #A78BFA;
    --green:      #34D399;

    --cat-sinav:  #3B82F6;
    --cat-tatil:  #2DD4BF;
    --cat-cekilis:#F97316;
    --cat-duyuru: #A78BFA;

    --font-head:  'Syne', sans-serif;
    --font-body:  'Inter', sans-serif;
    --radius:     12px;
    --radius-sm:  8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---- NAVBAR ---- */
.navbar {
    background: rgba(13,15,20,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
    height: 60px;
}
.nav-inner {
    max-width: 1100px; margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 36px; height: 36px; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-head); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: 0.5px; }
.logo-sub { font-size: 9px; color: var(--text3); letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a {
    color: var(--text2); text-decoration: none; font-size: 13px; font-weight: 400;
    padding: 6px 12px; border-radius: 6px;
    transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg3); }
.nav-search input {
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: 8px; padding: 7px 14px; color: var(--text);
    font-family: var(--font-body); font-size: 13px; outline: none; width: 180px;
    transition: border .15s, width .2s;
}
.nav-search input:focus { border-color: var(--border2); width: 220px; }
.nav-search input::placeholder { color: var(--text3); }

/* ---- HERO ---- */
.hero {
    background: linear-gradient(180deg, #0D0F14 0%, #111420 100%);
    padding: 64px 24px 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 800px 400px at 50% 0%, rgba(59,130,246,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner { max-width: 700px; margin: 0 auto; position: relative; }
.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800; color: #fff;
    line-height: 1.1; letter-spacing: -1px;
    margin-bottom: 14px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { color: var(--text2); font-size: 15px; max-width: 480px; margin: 0 auto 28px; line-height: 1.65; }
.hero-search {
    background: var(--bg3); border: 1px solid var(--border2);
    border-radius: 12px; display: flex; align-items: center;
    max-width: 500px; margin: 0 auto; padding: 12px 16px; gap: 10px;
    transition: border-color .2s;
}
.hero-search:focus-within { border-color: rgba(59,130,246,0.4); }
.hero-search input {
    background: none; border: none; outline: none;
    color: var(--text); font-family: var(--font-body); font-size: 14px; flex: 1;
}
.hero-search input::placeholder { color: var(--text3); }
.hero-search-icon { color: var(--text3); font-size: 16px; }

/* ---- STATS ---- */
.stats-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    max-width: 1100px; margin: 28px auto 0; padding: 0 24px;
}
.stat-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px 18px;
}
.stat-num { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: #fff; line-height: 1; }
.stat-lbl { font-size: 12px; color: var(--text2); margin-top: 4px; }

/* ---- FILTER TABS ---- */
.filter-row {
    display: flex; gap: 8px; flex-wrap: wrap;
    max-width: 1100px; margin: 24px auto 0; padding: 0 24px;
}
.tab-btn {
    padding: 7px 16px; border-radius: 20px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text2); font-size: 13px; font-family: var(--font-body);
    cursor: pointer; transition: all .15s;
    display: flex; align-items: center; gap: 6px;
}
.tab-btn:hover { background: var(--bg3); color: var(--text); border-color: var(--border2); }
.tab-btn.active { background: var(--bg3); color: var(--text); border-color: var(--border2); }
.tab-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* ---- SECTION ---- */
.section { max-width: 1100px; margin: 32px auto 0; padding: 0 24px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: #fff; }
.see-all { font-size: 12px; color: var(--text2); text-decoration: none; transition: color .15s; }
.see-all:hover { color: var(--accent); }

/* ---- EVENT CARDS GRID ---- */
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.event-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px;
    display: flex; gap: 14px;
    cursor: pointer; text-decoration: none; color: inherit;
    transition: border-color .2s, transform .15s, background .15s;
    position: relative; overflow: hidden;
}
.event-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
}
.event-card:hover { background: var(--bg3); border-color: var(--border2); transform: translateY(-1px); }

.event-card.cat-sinav::before  { background: var(--cat-sinav); }
.event-card.cat-tatil::before  { background: var(--cat-tatil); }
.event-card.cat-cekilis::before{ background: var(--cat-cekilis); }
.event-card.cat-duyuru::before { background: var(--cat-duyuru); }

.card-date-box {
    min-width: 52px; height: 60px;
    border-radius: 10px; background: var(--bg3); border: 1px solid var(--border);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.card-date-box.unknown { background: transparent; }
.date-day { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: #fff; line-height: 1; }
.date-mon { font-size: 10px; color: var(--text2); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.date-unknown { font-size: 11px; color: var(--text3); text-align: center; line-height: 1.3; padding: 4px; }

.card-info { flex: 1; min-width: 0; }
.card-cat {
    font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 5px;
}
.cat-sinav  .card-cat { color: var(--cat-sinav); }
.cat-tatil  .card-cat { color: var(--cat-tatil); }
.cat-cekilis .card-cat { color: var(--cat-cekilis); }
.cat-duyuru .card-cat { color: var(--cat-duyuru); }

.card-title { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.4; margin-bottom: 6px; }
.card-meta { font-size: 12px; color: var(--text3); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.badge-urgent { background: rgba(220,38,38,0.15); color: #F87171; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 20px; }
.badge-soon   { background: rgba(249,115,22,0.15); color: #FB923C; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 20px; }
.badge-unconfirmed { background: rgba(100,100,100,0.15); color: var(--text2); font-size: 10px; padding: 2px 7px; border-radius: 20px; }
.countdown { font-size: 12px; font-weight: 500; color: var(--accent); }

/* ---- UPCOMING LIST ---- */
.upcoming-list { display: flex; flex-direction: column; gap: 8px; }
.upcoming-item {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 10px; padding: 12px 16px;
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: inherit;
    transition: background .15s, border-color .15s;
}
.upcoming-item:hover { background: var(--bg3); border-color: var(--border2); }
.upcoming-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.cat-sinav  .upcoming-dot { background: var(--cat-sinav); }
.cat-tatil  .upcoming-dot { background: var(--cat-tatil); }
.cat-cekilis .upcoming-dot { background: var(--cat-cekilis); }
.cat-duyuru .upcoming-dot { background: var(--cat-duyuru); }
.upcoming-name { flex: 1; font-size: 13px; font-weight: 500; }
.upcoming-date { font-size: 12px; color: var(--text3); white-space: nowrap; }

/* ---- AD BLOCKS ---- */
.ad-block {
    max-width: 1100px; margin: 24px auto; padding: 0 24px;
}
.ad-placeholder {
    border: 1.5px dashed rgba(255,255,255,0.08);
    border-radius: var(--radius); padding: 20px;
    text-align: center; color: var(--text3); font-size: 12px;
    background: var(--bg2);
}
.ad-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 16px 24px; text-align: center; }

/* ---- DETAIL PAGE ---- */
.detail-hero {
    background: var(--bg2); border-bottom: 1px solid var(--border);
    padding: 48px 24px 40px;
}
.detail-inner { max-width: 800px; margin: 0 auto; }
.detail-breadcrumb { font-size: 12px; color: var(--text3); margin-bottom: 20px; }
.detail-breadcrumb a { color: var(--text2); text-decoration: none; }
.detail-breadcrumb a:hover { color: var(--accent); }
.detail-cat { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.detail-title { font-family: var(--font-head); font-size: 36px; font-weight: 800; color: #fff; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 16px; }
.detail-date-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.detail-date { font-size: 14px; color: var(--text2); }
.detail-date strong { color: var(--text); font-weight: 500; }
.detail-body { max-width: 800px; margin: 32px auto 0; padding: 0 24px; }
.detail-description { font-size: 15px; line-height: 1.75; color: var(--text2); margin-bottom: 32px; }
.detail-meta-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px; margin-bottom: 32px;
}
.detail-meta-card h3 { font-size: 13px; color: var(--text3); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.detail-meta-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.detail-meta-row:last-child { border-bottom: none; }
.detail-meta-row span:first-child { color: var(--text3); }
.detail-meta-row a { color: var(--accent); text-decoration: none; }

/* ---- FOOTER ---- */
.site-footer {
    background: var(--bg2); border-top: 1px solid var(--border);
    padding: 40px 24px 28px; margin-top: 48px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-brand { margin-bottom: 20px; }
.footer-logo { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: #fff; }
.footer-brand p { font-size: 13px; color: var(--text3); margin-top: 6px; max-width: 400px; line-height: 1.6; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-links a { font-size: 13px; color: var(--text2); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 12px; color: var(--text3); }

/* ---- RESPONSIVE ---- */
@media (max-width: 700px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .cards-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero h1 { font-size: 28px; }
}
