/* ================= GENEL AYARLAR & RENK PALETİ ================= */
:root {
    --primary: #800020; /* Bordo */
    --primary-light: #a91b40;
    --primary-dark: #520012;
    --secondary: #9c4c5c;
    --accent: #e11d48;
    --bg-main: #faf7f8;
    --text-dark: #2d1b20;
    --text-gray: #5c4d51;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html { 
    scroll-behavior: smooth; 
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.7;
}

a { 
    text-decoration: none; 
}

section { 
    scroll-margin-top: 80px; 
}

/* ================= ÜST MENÜ (NAVBAR) ================= */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    border-bottom: 1px solid rgba(128, 0, 32, 0.1);
}

.logo {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.logo span { 
    color: var(--accent); 
    font-size: 16px; 
    font-weight: 500; 
    display: block; 
    letter-spacing: 3px; 
    line-height: 0.5;
}

.nav-menu {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li { 
    margin: 0 15px; 
    position: relative; 
}

.nav-links > li > a {
    color: var(--text-gray);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.nav-links > li > a:hover { 
    color: var(--primary); 
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links > li > a:hover::after { 
    width: 100%; 
}

.nav-actions { 
    margin-left: auto; 
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-login:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(128, 0, 32, 0.2);
}

.menu-checkbox { 
    display: none; 
}

.hamburger { 
    display: none; 
    font-size: 26px; 
    color: var(--text-dark); 
    cursor: pointer; 
}

/* ================= SAĞ ALT DESTEK BUTONU (FAB) ================= */
.floating-support-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-shadow 2s infinite;
    border: 2px solid rgba(255,255,255,0.2);
}

.floating-support-btn i { 
    font-size: 22px; 
    animation: heartbeat 1.5s infinite; 
}

.floating-support-btn:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(225, 29, 72, 0.6);
    background: linear-gradient(135deg, #f43f5e, var(--primary-light));
    animation: none;
    color: white;
}

@keyframes pulse-shadow {
    0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(225, 29, 72, 0); }
    100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.2); }
    30% { transform: scale(1); }
    45% { transform: scale(1.2); }
}

/* ================= KAHRAMAN ALANI (HERO) ================= */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at top right, #ffe4e8 0%, var(--bg-main) 100%);
    padding: 100px 20px 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: #ffccd5;
    border-radius: 50%;
    top: -150px;
    left: -150px;
    filter: blur(100px);
    opacity: 0.6;
    z-index: 0;
}

.hero-content { 
    position: relative; 
    z-index: 1; 
    max-width: 900px; 
}

.hero h1 { 
    font-size: 4rem; 
    color: var(--text-dark); 
    margin-bottom: 25px; 
    line-height: 1.15; 
    font-weight: 800; 
}

.hero h1 span { 
    color: var(--primary); 
}

.hero p { 
    font-size: 1.25rem; 
    color: var(--text-gray); 
    margin-bottom: 40px; 
    font-weight: 400; 
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(128, 0, 32, 0.3);
}

.btn-primary:hover { 
    background-color: var(--primary-light); 
    transform: translateY(-4px); 
    box-shadow: 0 15px 30px rgba(128, 0, 32, 0.4); 
    color: white; 
}

/* ================= SPONSORLAR ================= */
.sponsor-section { 
    background-color: white; 
    padding: 30px 0; 
    overflow: hidden; 
    position: relative; 
    display: flex; 
    align-items: center; 
    border-top: 2px solid #f1f5f9; 
    border-bottom: 2px solid #f1f5f9; 
}

.sponsor-title { 
    position: absolute; 
    left: 0; 
    background: var(--primary); 
    color: #fff; 
    padding: 25px 40px; 
    font-weight: 700; 
    font-size: 1.1rem; 
    z-index: 10; 
    box-shadow: 10px 0 20px rgba(0,0,0,0.1); 
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%); 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.marquee-container { 
    width: 100%; 
    display: flex; 
    overflow: hidden; 
    padding-left: 220px; 
}

.marquee-content { 
    display: flex; 
    animation: scroll-left 40s linear infinite; 
    white-space: nowrap; 
    align-items: center; 
}

.marquee-content:hover { 
    animation-play-state: paused; 
}

.sponsor-item { 
    font-size: 1.4rem; 
    font-weight: 800; 
    color: #cbd5e1; 
    margin: 0 50px; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    transition: all 0.3s; 
    cursor: default; 
    letter-spacing: 1px;
}

.sponsor-item i { 
    font-size: 1.6rem; 
    color: #cbd5e1; 
    transition: color 0.3s; 
}

.sponsor-item:hover { 
    color: var(--primary); 
}

.sponsor-item:hover i { 
    color: var(--accent); 
}

@keyframes scroll-left { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

/* ================= GENEL İÇERİK BÖLÜMLERİ ================= */
.content-section { 
    padding: 100px 5%; 
    background: var(--bg-main); 
}

.content-section.bg-white { 
    background: #ffffff; 
}

.section-header { 
    text-align: center; 
    margin-bottom: 60px; 
}

.section-header h2 { 
    font-size: 2.8rem; 
    color: var(--text-dark); 
    margin-bottom: 15px; 
    font-weight: 800;
}

.section-header h2 span { 
    color: var(--primary); 
}

.section-header p { 
    color: var(--text-gray); 
    font-size: 1.1rem; 
    max-width: 700px; 
    margin: 0 auto; 
}

/* Grid Yapıları */
.grid-2 { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 50px; 
    align-items: center; 
}

.grid-3 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 40px; 
}

/* Hakkımızda Bölümü */
.about-text h3 { 
    font-size: 2rem; 
    margin-bottom: 20px; 
    color: var(--text-dark); 
}

.about-text p { 
    margin-bottom: 20px; 
    color: var(--text-gray); 
    font-size: 1.1rem; 
    text-align: justify;
}

.about-text ul { 
    list-style: none; 
    margin-bottom: 30px; 
}

.about-text ul li { 
    margin-bottom: 12px; 
    display: flex; 
    align-items: flex-start; 
    gap: 12px; 
    color: var(--text-dark); 
    font-weight: 500; 
}

.about-text ul li i { 
    color: var(--primary); 
    font-size: 1.2rem; 
    margin-top: 4px;
}

/* Hatay Özel Bölüm */
.impact-banner { 
    background: linear-gradient(rgba(128, 0, 32, 0.9), rgba(128, 0, 32, 0.8)), center/cover; 
    color: white; 
    padding: 80px 5%; 
    border-radius: 30px; 
    margin: 40px 5%; 
    box-shadow: 0 20px 40px rgba(128,0,32,0.3); 
    text-align: center; 
}

.impact-stats { 
    display: flex; 
    justify-content: center; 
    gap: 60px; 
    margin-top: 40px; 
    flex-wrap: wrap;
}

.stat-item { 
    text-align: center; 
}

.stat-number { 
    font-size: 3.5rem; 
    font-weight: 800; 
    color: #ffccd5; 
    margin-bottom: 5px; 
    line-height: 1;
}

.stat-label { 
    font-size: 1.1rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

/* Proje Kartları */
.project-card { 
    background: white; 
    border-radius: 25px; 
    overflow: hidden; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.06); 
    border: 1px solid rgba(128,0,32,0.05); 
    display: flex; 
    flex-direction: column; 
    transition: all 0.4s ease;
}

.project-card:hover { 
    transform: translateY(-15px); 
    box-shadow: 0 25px 45px rgba(128,0,32,0.15); 
}

.project-img { 
    width: 100%; 
    height: 240px; 
    object-fit: cover; 
    border-bottom: 4px solid var(--primary);
}

.project-content { 
    padding: 35px; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}

.project-category { 
    display: inline-block; 
    background: #fff0f3; 
    color: var(--primary); 
    padding: 6px 15px; 
    border-radius: 50px; 
    font-size: 0.85rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    margin-bottom: 15px; 
    letter-spacing: 1px; 
    width: max-content;
}

.project-content h3 { 
    font-size: 1.5rem; 
    color: var(--text-dark); 
    margin-bottom: 15px; 
    font-weight: 700;
}

.project-content p { 
    color: var(--text-gray); 
    margin-bottom: 25px; 
    flex-grow: 1; 
    line-height: 1.6;
}

/* ================= BÜLTEN KARTLARI (SABİT 3'LÜ IZGARA) ================= */
.bulten-section {
    background: linear-gradient(135deg, #2d1b20 0%, #1a0a0f 100%);
    color: #ffffff;
    padding: 90px 0;
    position: relative;
}

.bulten-section .section-header h2 {
    color: #ffffff;
}

.bulten-section .section-header h2 span {
    color: #ffccd5;
}

.bulten-section .section-header p {
    color: #cbd5e1;
}

.bulten-marquee-container {
    width: 80%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

/* Sabit yan yana 3'lü dizilim (Ekran küçüldüğünde alt alta geçer) */
.bulten-marquee-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Sabit 3 sütun */
    gap: 30px;
    width: 100%;
    animation: none !important;
}

@media (max-width: 992px) {
    .bulten-marquee-track {
        grid-template-columns: 1fr; /* Mobil ve tablette alt alta geçer */
    }
}

/* Kartlar için SABİT yükseklik ve boyutlar */
.bulten-card {
    width: 100%;
    height: 550px; /* Tüm kartların yüksekliği sabitlendi */
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.bulten-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(225, 29, 72, 0.3);
}

.bulten-card-img {
    width: 100%;
    height: 240px; /* Resim yüksekliği sabit */
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.bulten-card-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
    overflow: hidden; /* Taşmaları engeller */
}

/* Başlık metni sarma ve satır sınırlama */
.bulten-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
    line-height: 1.4;
    
    /* Uzun kelimeleri kır ve alt satıra geç */
    overflow-wrap: break-word;
    word-break: break-word;

    /* En fazla 2 satır göster, fazlasını '...' yap */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Açıklama metni sarma ve satır sınırlama */
.bulten-card-desc {
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.6;

    /* Uzun kelimeleri kır ve alt satıra geç */
    overflow-wrap: break-word;
    word-break: break-word;

    /* En fazla 3 satır göster, fazlasını '...' yap */
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* ================= İLETİŞİM ================= */
.contact-container { 
    display: grid; 
    grid-template-columns: 1fr 1.5fr; 
    gap: 50px; 
    background: white; 
    padding: 50px; 
    border-radius: 30px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.05); 
}

.contact-info-box { 
    display: flex; 
    align-items: flex-start; 
    gap: 20px; 
    margin-bottom: 35px; 
}

.contact-icon { 
    width: 60px; 
    height: 60px; 
    background: #fff0f3; 
    color: var(--primary); 
    border-radius: 15px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 24px; 
    flex-shrink: 0; 
    transition: all 0.3s;
}

.contact-info-box:hover .contact-icon { 
    background: var(--primary); 
    color: white; 
    transform: scale(1.1) rotate(5deg);
}

.contact-text h4 { 
    font-size: 1.2rem; 
    color: var(--text-dark); 
    margin-bottom: 5px; 
}

.contact-text p { 
    color: var(--text-gray); 
    font-size: 1.05rem;
}

.form-control { 
    width: 100%; 
    padding: 18px 25px; 
    border: 2px solid #f1f5f9; 
    border-radius: 15px; 
    background: #fafafa; 
    font-family: 'Poppins', sans-serif; 
    font-size: 1rem; 
    transition: all 0.3s; 
    outline: none; 
    margin-bottom: 20px;
}

.form-control:focus { 
    border-color: var(--primary-light); 
    background: white; 
    box-shadow: 0 0 0 5px rgba(128,0,32,0.05); 
}

textarea.form-control { 
    height: 160px; 
    resize: vertical; 
}

/* ================= FOOTER ================= */
footer { 
    background: var(--text-dark); 
    color: #e2e8f0; 
    padding: 80px 5% 30px; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1.5fr; 
    gap: 60px; 
    margin-bottom: 50px; 
}

.footer-about .logo { 
    color: white; 
    margin-bottom: 20px; 
    display: inline-block; 
}

.footer-about p { 
    margin-bottom: 25px; 
    line-height: 1.8; 
    color: #cbd5e1; 
    font-size: 1.05rem;
}

.footer-social { 
    display: flex; 
    gap: 15px; 
}

.footer-social a { 
    width: 45px; 
    height: 45px; 
    background: rgba(255,255,255,0.05); 
    color: white; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border-radius: 50%; 
    transition: all 0.3s; 
    font-size: 1.2rem;
}

.footer-social a:hover { 
    background: var(--primary); 
    transform: translateY(-5px); 
}

.footer-links h4 { 
    color: white; 
    font-size: 1.3rem; 
    margin-bottom: 25px; 
    font-weight: 700;
}

.footer-links ul { 
    list-style: none; 
}

.footer-links ul li { 
    margin-bottom: 15px; 
}

.footer-links ul li a { 
    color: #cbd5e1; 
    transition: all 0.3s; 
    display: inline-block;
}

.footer-links ul li a:hover { 
    transform: translateX(5px); 
    color: #ffccd5;
}

.footer-bottom { 
    text-align: center; 
    padding-top: 30px; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    font-size: 0.95rem; 
    color: #94a3b8;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    header {
        padding: 0 12px !important;
        height: 70px;
    }

    .logo {
        font-size: 18px;
        letter-spacing: 0.5px;
        flex-shrink: 0;
    }

    .logo span {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .nav-menu {
        justify-content: center;
        flex-grow: 1;
    }

    .nav-links {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        box-shadow: none !important;
        padding: 0 !important;
        width: auto !important;
        clip-path: none !important;
        gap: 8px;
    }

    .nav-links li {
        margin: 0 !important;
        border-bottom: none !important;
        width: auto !important;
    }

    .nav-links > li > a {
        font-size: 11px;
        padding: 5px 0;
        white-space: nowrap; /* Metinlerin alt satıra kırılmasını önler */
    }

    .nav-actions {
        display: block !important;
        margin-left: 5px;
        flex-shrink: 0;
    }

    .btn-login {
        padding: 6px 12px;
        font-size: 11px;
        white-space: nowrap;
        gap: 4px;
    }

    .hamburger {
        display: none !important;
    }

    .hero h1 { font-size: 2.5rem; }
    .sponsor-title { font-size: 0.9rem; padding: 20px 15px; }
    .marquee-container { padding-left: 150px; }
    
    .grid-2 { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; padding: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .impact-stats { gap: 30px; flex-direction: column; }
}

/* 480px ve altındaki dar mobil ekranlar için özel ölçeklendirme */
@media (max-width: 480px) {
    header {
        padding: 0 6px !important;
    }

    .logo {
        font-size: 15px;
    }

    .logo span {
        font-size: 8px;
        letter-spacing: 0.5px;
    }

    .nav-links {
        gap: 5px;
    }

    .nav-links > li > a {
        font-size: 10px;
    }

    .btn-login {
        padding: 5px 8px;
        font-size: 10px;
    }
}

/* ==========================================================================
   ADMIN LOGIN SECTION (Benzersiz ID Yapısı)
   ========================================================================== */

/* Yerel Renk Değişkenleri */
#adm-login-wrapper {
  --adm-bg: #0f172a;
  --adm-card-bg: #1e293b;
  --adm-text-main: #f8fafc;
  --adm-text-muted: #94a3b8;
  --adm-primary: #3b82f6;
  --adm-primary-hover: #2563eb;
  --adm-border: #334155;
  --adm-radius: 8px;

  box-sizing: border-box;
  margin: 0;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--adm-bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#adm-login-wrapper * {
  box-sizing: border-box;
}

#adm-login-card {
  width: 100%;
  max-width: 400px;
  background-color: var(--adm-card-bg);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius);
  padding: 32px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

#adm-login-header {
  text-align: center;
  margin-bottom: 24px;
}

#adm-login-title {
  color: var(--adm-text-main);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

#adm-login-subtitle {
  color: var(--adm-text-muted);
  font-size: 14px;
  margin: 0;
}

#adm-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adm-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#adm-login-wrapper label {
  color: var(--adm-text-muted);
  font-size: 13px;
  font-weight: 500;
}

#adm-input-email,
#adm-input-password {
  width: 100%;
  padding: 10px 14px;
  background-color: var(--adm-bg);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius);
  color: var(--adm-text-main);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#adm-input-email:focus,
#adm-input-password:focus {
  border-color: var(--adm-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

#adm-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

#adm-remember-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

#adm-checkbox-remember {
  accent-color: var(--adm-primary);
  cursor: pointer;
}

#adm-link-forgot {
  color: var(--adm-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

#adm-link-forgot:hover {
  color: var(--adm-primary-hover);
  text-decoration: underline;
}

#adm-btn-submit {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  background-color: var(--adm-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--adm-radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#adm-btn-submit:hover {
  background-color: var(--adm-primary-hover);
}

#adm-btn-submit:active {
  transform: translateY(1px);
}

#ana-web-kapsayici {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* PDF GÖRÜNTÜLEYİCİ */

/* Tam ekran ve sıfırlama ayarları - Kenar boşluklarını tamamen yok ediyoruz */
* {
    box-sizing: border-box;
}

/* Ana kapsayıcı ekranı tam kaplasın */
#ana-web-kapsayici {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Ana gövdede scroll çıkmasını engeller, scroll sadece listede olacak */
}

#pdf-baslik-kutusu {
    width: 100%;
    background-color: #2c3e50;
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
    flex-shrink: 0; /* Başlık alanının küçülmesini önler */
}

#ana-dokuman-basligi {
    margin: 0;
    font-size: 20px;
}

/* Sayfaların liste kutusu - Ekranı tam dolduracak ve dikey akış sağlayacak */
#pdf-sayfa-listesi {
    width: 100%; /* 100vw yerine 100% kullanmak, dikey scrollbar çıktığında yatay kaymayı önler */
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px !important;
    margin: 0;
    padding: 0;
    overflow-y: auto; /* Dikeyde kaydırmaya izin ver */
    overflow-x: hidden; /* Yatayda kaydırmayı kesinlikle engelle */
    background-color: #1a1a1a;

    /* Firefox için kaydırma çubuğunu gizle */
    scrollbar-width: none; 
    
    /* Internet Explorer ve eski Edge için gizle */
    -ms-overflow-style: none; 
}

/* Chrome, Safari ve yeni nesil Edge (Webkit) için kaydırma çubuğunu tamamen gizle */
#pdf-sayfa-listesi::-webkit-scrollbar {
    display: none;
}

/* JavaScript tarafından üretilen canvas elementleri */
#pdf-sayfa-listesi canvas {
    display: block;
    width: 100% !important; /* Ekranın sağını ve solunu tamamen kaplar */
    height: auto !important; /* Genişliğe göre orantılı uzar, max-height sınırını kaldırdık */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
