@charset "utf-8";
/* CSS Document */

/* ---------- daily.css ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0f0f1a;
    color: #e0e0e0;
    min-height: 100vh;
    padding: 30px 20px;
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

/* ---------- HEADER ---------- */
header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #2a2a3e;
    position: relative;
}

header .back-link {
    position: absolute;
    left: 0;
    top: 10px;
    color: #6c5ce7;
    text-decoration: none;
    font-size: 0.95rem;
}

header .back-link:hover {
    color: #a29bfe;
}

header h1 {
    font-size: 2.8rem;
    font-weight: 300;
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

header p {
    color: #8888aa;
    font-size: 1.1rem;
    margin-top: 8px;
}

/* ---------- FİLTRE ---------- */
.filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.filters button {
    padding: 8px 24px;
    border: 1px solid #2a2a3e;
    border-radius: 30px;
    background: transparent;
    color: #8888aa;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-family: inherit;
}

.filters button:hover {
    border-color: #fdcb6e;
    color: #fff;
}

.filters button.active {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    border-color: transparent;
    color: #2d3436;
}

/* ---------- BLOG KARTLARI ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.blog-card {
    background: #1a1a2e;
    border-radius: 20px;
    border: 1px solid #2a2a3e;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: #fdcb6e;
    box-shadow: 0 15px 35px rgba(253, 203, 110, 0.08);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #0f0f1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-image.no-image {
    background: #0f0f1a;
    font-size: 3rem;
    color: #555577;
}

.blog-content {
    padding: 20px 22px 25px;
}

.blog-header {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    align-items: center;
}

.blog-tarih {
    font-size: 0.75rem;
    color: #8888aa;
    margin-right: 6px;
}

.blog-card .tag {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag.fikir { background: #fdcb6e; color: #2d3436; }
.tag.teknoloji { background: #6c5ce7; color: #fff; }
.tag.hayat { background: #00b894; color: #fff; }
.tag.not { background: #74b9ff; color: #2d3436; }

.blog-card h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 8px;
}

.blog-excerpt {
    color: #8888aa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.devam-btn {
    background: transparent;
    border: 1px solid #2a2a3e;
    color: #fdcb6e;
    padding: 6px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
    font-family: inherit;
}

.devam-btn:hover {
    background: #fdcb6e;
    color: #2d3436;
    border-color: #fdcb6e;
}

/* ---------- MODAL ---------- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 30px 20px;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: #1a1a2e;
    border-radius: 28px;
    border: 1px solid #2a2a3e;
    max-width: 750px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 35px;
    position: relative;
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: #0f0f1a;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #fdcb6e;
    border-radius: 10px;
}

.modal-close {
    position: sticky;
    top: 0;
    float: right;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #2a2a3e;
    color: #e0e0e0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    margin-bottom: 10px;
}

.modal-close:hover {
    background: #c0392b;
    border-color: #e74c3c;
}

.modal-content .modal-icon {
    font-size: 3rem;
    margin-bottom: 6px;
}

.modal-content .modal-baslik {
    font-size: 1.8rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 8px;
}

.modal-content .modal-kategori {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.modal-content .modal-kategori .tag {
    padding: 3px 14px;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.modal-tarih {
    color: #8888aa;
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.modal-resim {
    margin: 15px 0;
    border-radius: 16px;
    overflow: hidden;
}

.modal-resim img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 16px;
}

.modal-desc {
    color: #b0b0c8;
    font-size: 1rem;
    line-height: 1.8;
}

/* ---------- FOOTER ---------- */
footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #2a2a3e;
    text-align: center;
    color: #555577;
    font-size: 0.9rem;
}

footer a {
    color: #6c5ce7;
    text-decoration: none;
}

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 700px) {
    header h1 { font-size: 2rem; }
    header .back-link { position: static; display: block; margin-bottom: 10px; }
    .blog-grid { grid-template-columns: 1fr; }
    .modal-content { padding: 20px; }
}

@media screen and (max-width: 450px) {
    .modal-content .modal-baslik { font-size: 1.3rem; }
    .blog-card h3 { font-size: 1.1rem; }
}