/* ============================================
   Bilimler Işığında Yaratılış Dergisi
   Design: Light / Clean — Font: Nunito
   ============================================ */

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

:root {
    /* Renkler */
    --navy:        #1A237E;
    --navy-dark:   #0D1559;
    --blue:        #1565C0;
    --blue-light:  #1E88E5;
    --blue-50:     #E3F2FD;
    --blue-100:    #BBDEFB;
    --white:       #FFFFFF;
    --bg:          #F5F7FA;
    --card:        #FFFFFF;
    --border:      #CBD5E1; /* Koyu yapıldı */
    --border-light:#EDF0F5;
    --text:        #1A1A2E;
    --text-sub:    #1565C0;
    --text-muted:  #5A6A7E;
    --text-light:  #8E99A4;
    --gold:        #D4A843;

    /* Shape */
    --radius-sm:  6px;
    --radius:     10px;
    --radius-lg:  16px;
    --radius-full:9999px;
    --shadow-sm:  0 1px 4px rgba(0,0,0,.05);
    --shadow:     0 4px 20px rgba(0,0,0,.06);
    --shadow-md:  0 8px 36px rgba(0,0,0,.08);
    --transition: all .22s ease;

    /* Layout */
    --header-h: 70px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER — beyaz, logo sol / nav sağ
   ============================================ */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    height: var(--header-h);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-h);
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
    flex-shrink: 0;
}
.site-logo:hover { opacity: .85; }

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.logo-main {
    font-size: .85rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: .3px;
}
.logo-sub {
    font-size: .65rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 2px;
}

/* ============================================
   NAVİGASYON — pill stil, header sağda
   ============================================ */
.main-nav {
    background: none;
    border: none;
    box-shadow: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: .85rem;
    font-weight: 700;
    transition: var(--transition);
    white-space: nowrap;
    border: 1.5px solid transparent;
}

/* Hover */
.nav-item:hover .nav-link {
    background: var(--bg);
    color: var(--navy);
}

/* Aktif */
.nav-item.active .nav-link {
    background: var(--blue-50);
    color: var(--blue);
    border-color: rgba(21,101,192,.18);
}

/* Açılır menü (alt öğeli üst menü) */
.nav-caret { font-size: .6rem; margin-left: 6px; opacity: .7; }
.nav-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 230px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: var(--transition);
    z-index: 1000;
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
    opacity: 1; visibility: visible; transform: translateY(2px);
}
.nav-dropdown a {
    display: block;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: .84rem;
    font-weight: 600;
    white-space: nowrap;
}
.nav-dropdown a:hover,
.nav-dropdown li.active a { background: var(--blue-50); color: var(--blue); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px 10px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content { min-height: 70vh; }

/* ============================================
   HERO — Full Page (viewport - header)
   ============================================ */
.hero {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    background: linear-gradient(155deg, #EBF0FA 0%, #F0F4FF 35%, #F5F7FA 70%, #FAFBFD 100%);
    position: relative;
    overflow: hidden;
}

/* Dekoratif daireler */
.hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 450px; height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(21,101,192,.07) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -60px;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26,35,126,.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--blue-50);
    border: 1px solid rgba(21,101,192,.2);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    font-size: .72rem;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: .8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Nunito', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.18;
    color: var(--navy);
    margin-bottom: 20px;
    letter-spacing: -.3px;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 36px;
    line-height: 1.85;
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    font-size: .9rem;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 3px 12px rgba(21,101,192,.25);
}
.btn-primary:hover {
    background: #0D47A1;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(21,101,192,.35);
}

.btn-outline {
    background: white;
    border: 2px solid var(--border);
    color: var(--navy);
}
.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
}

.btn-navy {
    background: var(--navy);
    color: white;
    box-shadow: 0 3px 12px rgba(26,35,126,.2);
}
.btn-navy:hover {
    background: var(--navy-dark);
    transform: translateY(-1px);
}

.btn-gray {
    background: var(--bg);
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.btn-gray:hover { background: var(--border-light); }

/* Hero Kapak Alanı */
.hero-cover-area {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-cover-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.hero-cover-link:hover {
    transform: translateY(-8px) scale(1.02);
}

.hero-cover-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 340px;
    background: radial-gradient(ellipse, rgba(21,101,192,.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(30px);
}

.hero-cover-img {
    position: relative;
    z-index: 1;
    width: 280px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18), 0 4px 16px rgba(21,101,192,.15);
    border: 3px solid white;
    transition: box-shadow .3s ease;
}
.hero-cover-link:hover .hero-cover-img {
    box-shadow: 0 28px 70px rgba(0,0,0,.22), 0 8px 24px rgba(21,101,192,.2);
}

.hero-cover-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    z-index: 2;
    background: var(--blue);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 14px rgba(21,101,192,.35);
}

.hero-cover-info {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 16px;
}
.hero-cover-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}
.hero-cover-year {
    display: block;
    font-size: .85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

.hero-cover-placeholder {
    width: 280px;
    height: 380px;
    background: white;
    border: 2px dashed var(--border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hero İstatistik Satırı */
.hero-stats-row {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.hero-stat-box {
    display: flex;
    flex-direction: column;
}
.hero-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
}
.hero-stat-label {
    font-size: .72rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-top: 4px;
}

/* ============================================
   SECTION
   ============================================ */
.section-header { text-align: center; margin-bottom: 48px; }

.section-badge {
    display: inline-block;
    background: var(--blue-50);
    color: var(--blue);
    border: 1px solid rgba(21,101,192,.15);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
}
.section-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.9rem;
    color: var(--navy);
    font-weight: 700;
}
.section-divider {
    width: 48px; height: 3px;
    background: var(--blue);
    margin: 12px auto 0;
    border-radius: 2px;
    opacity: .5;
}

/* ============================================
   CARDS
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
    display: block;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(21,101,192,.2);
}

.card-header {
    background: linear-gradient(135deg, var(--navy) 0%, #283593 100%);
    padding: 28px 24px;
    color: white;
    text-align: center;
}
.card-icon {
    font-size: 2rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 10px;
}
.card-title { font-size: 1rem; font-weight: 700; color: white; }
.card-subtitle { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: 4px; }
.card-body { padding: 20px; }
.card-body p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }

/* ============================================
   ARTICLE CARDS
   ============================================ */
.article-list { display: flex; flex-direction: column; gap: 14px; }

.article-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    border-left: 4px solid var(--blue);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.article-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
    border-left-color: var(--navy);
}

.article-meta {
    display: flex;
    gap: 14px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.article-meta span {
    font-size: .75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}
.article-meta i { color: var(--blue); }
.article-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.45;
}
.article-authors {
    font-size: .88rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
}
.article-abstract {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--blue-50);
    border: 1px solid rgba(21,101,192,.15);
    color: var(--blue);
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-right: 5px;
    margin-top: 6px;
}

/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
    background: linear-gradient(160deg, #E8EDF8 0%, #EDF1FB 60%, #F5F7FA 100%);
    border-bottom: 1px solid var(--border-light);
    padding: 40px 0;
    margin-bottom: 40px;
}
.page-banner h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
}
.page-banner h1 i { color: var(--blue); font-size: 1.4rem; }

.breadcrumb {
    display: flex;
    gap: 7px;
    align-items: center;
    font-size: .82rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 600;
}
.breadcrumb a { color: var(--blue); font-weight: 700; }
.breadcrumb i { font-size: .6rem; color: var(--text-light); }

/* ============================================
   CONTENT LAYOUT
   ============================================ */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}

.content-box {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 36px;
    border: 1px solid var(--border);
}
.content-box h2 {
    font-family: 'Nunito', sans-serif;
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--blue-100);
}
.content-box h3 {
    font-family: 'Nunito', sans-serif;
    color: var(--navy);
    font-size: 1.1rem;
    margin: 22px 0 8px;
}
.content-box p {
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.85;
    font-size: .95rem;
    font-weight: 500;
}
.content-box ul { margin-bottom: 12px; }
.content-box ul li {
    padding: 5px 0 5px 20px;
    position: relative;
    color: var(--text-muted);
    font-size: .93rem;
    font-weight: 500;
}
.content-box ul li::before {
    content: '▸';
    position: absolute; left: 0;
    color: var(--blue);
    font-weight: 700;
}

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-widget {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}
.widget-header {
    background: var(--navy);
    padding: 12px 18px;
    color: white;
    font-size: .84rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget-header i { color: rgba(255,255,255,.7); font-size: .8rem; }
.widget-body { padding: 14px 18px; }

.widget-link-list li { border-bottom: 1px solid var(--border-light); }
.widget-link-list li:last-child { border-bottom: none; }
.widget-link-list a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 0;
    color: var(--text-muted);
    font-size: .88rem;
    font-weight: 600;
    transition: var(--transition);
}
.widget-link-list a:hover { color: var(--blue); padding-left: 4px; }
.widget-link-list i { color: var(--blue); width: 16px; font-size: .78rem; }

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    padding: 56px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(var(--footer-cols, 2), 1fr) 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo-img {
    width: 48px; height: 48px;
    margin-bottom: 14px;
}
.footer-brand p {
    font-size: .9rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-heading {
    font-size: .76rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: var(--text-muted);
    font-size: .9rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-links a::before {
    content: '›';
    color: var(--blue);
    font-weight: 700;
}
.footer-links a:hover { color: var(--blue); padding-left: 3px; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-light);
    flex-wrap: wrap;
    gap: 8px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp .5s ease forwards; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-card { display: none; }
    .hero { min-height: auto; padding: 60px 0; }
    .content-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

    /* Mobile Menu Activated at 1024px */
    .hamburger { display: flex; }

    .main-nav {
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        background: white;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        display: none;
        z-index: 999;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .main-nav.open { display: block; }
    
    .nav-list {
        flex-direction: column;
        padding: 12px 16px;
        gap: 4px;
        align-items: stretch;
    }
    .nav-link {
        height: 44px;
        padding: 0 16px;
        border-radius: var(--radius);
    }
    .nav-dropdown {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none;
        padding: 0 0 4px 16px; min-width: 0;
    }
    .nav-caret { display: none; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-desc { font-size: .95rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 44px; height: 44px;
    background: var(--blue);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    box-shadow: 0 4px 16px rgba(21,101,192,.4);
    cursor: pointer;
    transition: var(--transition);
    opacity: 0; pointer-events: none;
    border: none;
    z-index: 500;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: #0D47A1; transform: translateY(-3px); }

/* ============================================
   FORMS — iletişim sayfası vs
   ============================================ */
.form-label {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text);
    display: block;
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: .9rem;
    font-family: inherit;
    font-weight: 500;
    color: var(--text);
    outline: none;
    transition: var(--transition);
    background: white;
}
.form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(21,101,192,.1);
}
.form-control::placeholder {
    color: var(--text-light);
    font-weight: 500;
}
textarea.form-control { resize: vertical; }

.form-group { margin-bottom: 16px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
