/* --- Variables --- */
:root {
    --color-bg: #faf9f6;        /* Kirli Beyaz / Kağıt */
    --color-text: #2c3e50;      /* Mürekkep Mavisi */
    --color-teal: #008080;      /* Zümrüt Yeşili */
    --color-teal-dark: #004d4d;
    --color-orange: #e67e22;    /* Gün Batımı */
    --color-white: #ffffff;
    --color-border: #e0e0e0;
    
    --font-heading: 'Poppins', sans-serif;
    --font-serif: 'Merriweather', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-serif);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 90%; max-width: 1100px; margin: 0 auto; }

/* --- Header --- */
.journal-header {
    padding: 30px 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky; top: 0; z-index: 1000;
}

.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--color-text); line-height: 1; }
.highlight { color: var(--color-teal); }
.sub { display: block; font-size: 0.7rem; letter-spacing: 3px; font-weight: 400; margin-top: 2px; color: var(--color-orange); }

.journal-nav ul { display: flex; gap: 30px; align-items: center; }
.journal-nav a { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; color: var(--color-text); }
.journal-nav a:hover, .journal-nav a.active { color: var(--color-teal); }

.btn-write { border: 2px solid var(--color-teal); padding: 8px 20px; border-radius: 30px; color: var(--color-teal) !important; transition: 0.3s; }
.btn-write:hover { background-color: var(--color-teal); color: var(--color-white) !important; }

.menu-icon { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--color-text); }

/* --- Mobile Menu --- */
.mobile-drawer {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--color-bg); z-index: 2000;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transform: translateX(-100%); transition: 0.4s ease;
}
.mobile-drawer.active { transform: translateX(0); }
.close-btn { position: absolute; top: 30px; right: 30px; font-size: 2rem; background: none; border: none; cursor: pointer; }
.mobile-drawer a { font-family: var(--font-heading); font-size: 1.5rem; margin: 15px 0; color: var(--color-text); font-weight: 600; }

/* --- Hero --- */
.hero-post {
    position: relative; height: 500px;
    background-size: cover; background-position: center;
    display: flex; align-items: flex-end;
    margin-bottom: 60px;
}
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); }

.hero-content { position: relative; z-index: 1; padding-bottom: 50px; color: var(--color-white); }
.cat-tag { font-family: var(--font-heading); background-color: var(--color-orange); padding: 5px 10px; font-size: 0.8rem; font-weight: bold; border-radius: 4px; display: inline-block; margin-bottom: 15px; }
.hero-content h1 { font-family: var(--font-heading); font-size: 3.5rem; line-height: 1.2; margin-bottom: 10px; }
.meta { font-style: italic; opacity: 0.9; margin-bottom: 20px; font-size: 0.9rem; }
.read-link { font-family: var(--font-heading); font-weight: bold; border-bottom: 2px solid var(--color-white); padding-bottom: 2px; }

/* --- Layout Grid --- */
.section-padding { padding-bottom: 80px; }
.layout-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }

/* Articles */
.section-label { font-family: var(--font-heading); font-size: 0.9rem; letter-spacing: 2px; color: var(--color-teal); border-bottom: 1px solid var(--color-border); padding-bottom: 10px; margin-bottom: 30px; font-weight: bold; }

.post-card { display: flex; gap: 30px; margin-bottom: 40px; border-bottom: 1px solid #eee; padding-bottom: 40px; }
.post-card:last-child { border-bottom: none; }
.post-card img { width: 250px; height: 180px; object-fit: cover; border-radius: 4px; }
.post-body { flex: 1; }
.post-body .cat { font-family: var(--font-heading); font-size: 0.8rem; color: var(--color-orange); font-weight: bold; text-transform: uppercase; display: block; margin-bottom: 5px; }
.post-body h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 10px; line-height: 1.3; }
.post-body p { font-size: 1rem; color: #666; margin-bottom: 15px; }
.more { font-family: var(--font-heading); font-size: 0.9rem; font-weight: bold; color: var(--color-teal); }

/* Sidebar */
.widget { margin-bottom: 50px; padding: 30px; background-color: var(--color-white); border: 1px solid var(--color-border); }
.widget h3 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 20px; border-left: 4px solid var(--color-teal); padding-left: 10px; }

.newsletter input { width: 100%; padding: 10px; border: 1px solid #ccc; font-family: var(--font-heading); margin-bottom: 10px; }
.newsletter button { width: 100%; background-color: var(--color-text); color: var(--color-white); border: none; padding: 10px; font-weight: bold; cursor: pointer; }

.trending ul { list-style: none; }
.trending li { margin-bottom: 15px; border-bottom: 1px dashed #eee; padding-bottom: 10px; }
.trending a { font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; }
.trending a:hover { color: var(--color-teal); }

/* --- About --- */
.page-header { text-align: center; margin-bottom: 60px; padding-top: 40px; }
.page-header h1 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--color-teal); }

.layout-single { max-width: 800px; margin: 0 auto; }
.dropcap { float: left; font-family: var(--font-heading); font-size: 4rem; line-height: 0.8; margin-right: 10px; color: var(--color-teal); }
.story-content p { margin-bottom: 20px; font-size: 1.1rem; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.team-card { text-align: center; }
.avatar-circle { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.team-card h3 { font-family: var(--font-heading); font-size: 1.2rem; }
.team-card span { font-size: 0.8rem; color: var(--color-orange); font-weight: bold; display: block; margin-bottom: 10px; font-family: var(--font-heading); }
.team-card p { font-size: 0.9rem; font-style: italic; }

/* --- Testimonials --- */
.masonry-wall { column-count: 2; column-gap: 30px; }
.wall-item { break-inside: avoid; background-color: var(--color-white); padding: 30px; border: 1px solid var(--color-border); margin-bottom: 30px; position: relative; }
.wall-item.highlight { border-color: var(--color-orange); border-width: 2px; }
.quote-mark { font-size: 3rem; color: var(--color-border); position: absolute; top: 10px; left: 20px; font-family: serif; }
.wall-item p { position: relative; z-index: 1; font-style: italic; margin-bottom: 20px; padding-top: 20px; }
.sender strong { display: block; font-family: var(--font-heading); color: var(--color-teal); }

/* --- Contact --- */
.contact-paper { background-color: var(--color-white); border: 1px solid var(--color-border); padding: 50px; max-width: 700px; margin: 0 auto; box-shadow: 10px 10px 0 var(--color-border); }
.paper-content { text-align: center; }
.contact-meta { margin: 30px 0; font-family: var(--font-heading); font-weight: bold; color: var(--color-teal); }
.contact-meta span { margin: 0 10px; }

.journal-form { text-align: left; margin-top: 30px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-family: var(--font-heading); font-size: 0.9rem; margin-bottom: 5px; font-weight: 600; }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 12px; border: 1px solid #ccc; font-family: var(--font-serif); background-color: var(--color-bg); }
.btn-submit { width: 100%; background-color: var(--color-teal); color: var(--color-white); border: none; padding: 15px; font-family: var(--font-heading); font-weight: bold; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { background-color: var(--color-teal-dark); }

/* --- Legal --- */
.text-content { max-width: 800px; margin: 0 auto; background: var(--color-white); padding: 50px; border: 1px solid var(--color-border); }
.text-content h1 { font-family: var(--font-heading); text-align: center; }
.divider-small { width: 50px; height: 3px; background-color: var(--color-orange); margin: 20px auto 40px; }
.text-content h3 { font-family: var(--font-heading); color: var(--color-teal); margin-top: 30px; margin-bottom: 10px; }

/* --- Footer --- */
.journal-footer { padding: 40px 0; border-top: 1px solid var(--color-border); margin-top: auto; font-family: var(--font-heading); font-size: 0.9rem; }
.footer-content { display: flex; justify-content: space-between; }
.f-right a { margin-left: 20px; color: var(--color-text); }

@media (max-width: 992px) {
    .journal-nav { display: none; }
    .menu-icon { display: block; }
    .layout-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
    .post-card { flex-direction: column; }
    .post-card img { width: 100%; height: 250px; }
    .team-grid { grid-template-columns: 1fr; }
    .masonry-wall { column-count: 1; }
}