/* 1. GENEL AYARLAR VE FONT */
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@700&display=swap');

:root {
    /* MİZAH DERGİSİ PALETİ */
    --bg-color: #fceeb5;       /* Saman kağıdı Sarısı */
    --text-color: #1a1a1a;     /* Mürekkep Siyahı */
    --accent-color: #e74c3c;   /* Pastel Kırmızı */
    --secondary-color: #3498db; /* Pastel Mavi */
    --border-color: #1a1a1a;   /* Çerçeveler Siyah */
    --box-bg: #fffbf0;         /* Kutu içleri daha açık sarı */
}

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

body {
    font-family: 'Kalam', cursive; 
    font-weight: 700;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding: 10px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23dcb858' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* 2. HEADER VE LOGO */
.header {
    text-align: center; margin-bottom: 20px;
    border-bottom: 3px solid var(--text-color);
    padding-bottom: 15px;
}
.logo-link { display: inline-block; transition: transform 0.2s ease; }
.logo-link:hover { transform: rotate(-2deg) scale(1.02); }
.logo-img { max-width: 100%; max-height: 150px; } 
.slogan { 
    font-size: 1.2rem; margin-top: 10px; color: var(--text-color); 
    background: var(--accent-color); 
    color: #fff;
    display: inline-block;
    padding: 2px 10px;
    transform: rotate(-1deg);
}

/* 3. NAVİGASYON */
.navbar { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; flex-wrap: wrap; }
.nav-item {
    text-decoration: none; color: var(--text-color); padding: 8px 15px;
    border: 2px solid var(--text-color); background-color: #fff; 
    transition: all 0.2s; font-size: 1.1rem; box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
    transform: rotate(1deg);
}
.nav-item:hover, .nav-item.active { 
    background-color: var(--secondary-color); color: #fff; 
    transform: rotate(-2deg) translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--text-color);
}
.nav-item.legal { font-size: 0.9em; opacity: 0.8; }

/* 4. İÇERİK KUTUSU */
.content-container {
    max-width: 900px; margin: 0 auto; padding: 20px;
    background-color: #fff; 
    border: 3px solid var(--text-color);
    box-shadow: 8px 8px 0 var(--text-color); 
    color: var(--text-color);
}

/* 5. GÜNCEL CAPS & BAŞLIKLAR */
.daily-caps { text-align: center; }
.section-title {
    font-size: 2em; margin-bottom: 20px; color: var(--text-color);
    text-shadow: 2px 2px 0 var(--bg-color); background: var(--bg-color);
    display: inline-block; padding: 5px 15px; border: 2px solid var(--text-color);
    transform: rotate(-1deg);
}
.caps-frame {
    margin: 20px auto; max-width: 100%; border: 3px solid var(--text-color);
    padding: 10px; background-color: var(--bg-color);
    transform: rotate(1deg); box-shadow: 5px 5px 0 rgba(0,0,0,0.1);
}
.caps-image { width: 100%; height: auto; display: block; border: 2px solid var(--text-color); }
.caps-caption { font-size: 1.2rem; margin-top: 15px; padding: 5px; font-style: italic; }

/* 6. BUTONLAR */
.button, button {
    display: inline-block; padding: 12px 30px;
    background-color: var(--accent-color); color: #fff;
    text-decoration: none; border: 3px solid var(--text-color);
    box-shadow: 4px 4px 0 var(--text-color); 
    font-weight: bold; cursor: pointer; 
    font-family: 'Kalam', cursive; font-size: 1.2rem;
    max-width: 100%; 
    transition: all 0.2s;
}
.button:hover, button:hover {
    background-color: #c0392b; 
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--text-color);
}

/* 7. FOOTER */
.footer { 
    text-align: center; margin-top: 40px; padding-top: 20px; 
    font-size: 0.9em; opacity: 0.8; 
    border-top: 2px dashed var(--text-color); 
}

/* 8. FORM ELEMANLARI */
input, textarea, input[type="file"] {
    font-family: 'Kalam', cursive; font-weight: 700; font-size: 1.1rem;
    border: 2px solid var(--text-color); 
    background: #fff; color: var(--text-color);
    padding: 10px; width: 100%; margin-bottom: 15px; 
    box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
}

/* 9. KENAR SÜSLERİ */
.komur-cizim {
    position: fixed; z-index: -1; pointer-events: none;
    filter: grayscale(100%) contrast(150%) brightness(80%); 
    opacity: 0.85; mix-blend-mode: multiply; 
    width: 120px; height: auto; transition: all 0.3s ease;
}
.poz-sol-alt { bottom: 20px; left: 20px; transform: rotate(-5deg); }
.poz-sag-alt { bottom: 20px; right: 20px; transform: rotate(5deg); }
.poz-sag-ust { top: 180px; right: 10px; width: 100px; }
.poz-sol-kenar { top: 50%; left: -10px; transform: translateY(-50%) rotate(10deg); }

/* 10. GALERİ VE ADMİN EKLERİ */
.gallery-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.gallery-item img { border: 2px solid var(--text-color); }

/* 11. MOBİL UYUM */
@media (max-width: 900px) {
    .komur-cizim { display: none !important; }
    body { padding: 5px; }
    .content-container { padding: 10px; border-width: 2px; box-shadow: 5px 5px 0 var(--text-color); }
    .header { margin-bottom: 10px; }
    .nav-item { font-size: 1rem; padding: 8px; margin: 3px; }
    .caps-frame { transform: none; }
    .section-title { font-size: 1.5rem; }
    .logo-img { max-height: 100px; }
}