/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --bg-paper: #f4f1ea;
    --bg-dark: #2c241b;
    --text-main: #3e3226;
    --primary-gold: #c5a059;
    --accent-red: #8b3a3a;
    --leather: #4a3b32;
    --border-color: #dcd6ce;
}

body {
    background-color: var(--bg-paper);
    background-image: url('https://www.transparenttextures.com/patterns/cream-paper.png');
    /* Kağıt dokusu */
    color: var(--text-main);
    font-family: 'Lora', serif;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
.brand {
    font-family: 'Cinzel', serif;
    color: var(--bg-dark);
}

a {
    text-decoration: none;
    color: var(--leather);
    transition: 0.3s;
}

a:hover {
    color: var(--primary-gold);
}

/* Header - Leather Style */
header {
    background-color: var(--bg-dark);
    color: var(--primary-gold);
    padding: 15px 0;
    border-bottom: 4px solid var(--primary-gold);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px black;
    letter-spacing: 1px;
    white-space: nowrap;
    /* Prevent wrapping */
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #e0d8cc;
    margin-left: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

/* Main Layout - 3 Columns */
.main-grid {
    display: grid;
    grid-template-columns: 250px 1fr 300px;
    /* Sol Menü | İçerik | Haberler */
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 50px;
}

/* Left Sidebar - Menu */
.sidebar-left {
    background: transparent;
}

.menu-card {
    background: white;
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
    background-image: url('https://www.transparenttextures.com/patterns/cardboard-flat.png');
}

.menu-link {
    display: block;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #ddd;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    color: var(--bg-dark);
    position: relative;
    transition: 0.2s;
}

.menu-link:hover {
    background: var(--bg-dark);
    color: var(--primary-gold);
    transform: translateX(5px);
}

.user-profile {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-gold);
}

/* Center - Feed */
.content-feed {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.post-card {
    background: white;
    padding: 30px;
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.post-card::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid var(--border-color);
    pointer-events: none;
}

.post-meta {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.post-title {
    font-size: 24px;
    margin: 5px 0 15px 0;
    color: var(--leather);
    border-bottom: 1px solid var(--primary-gold);
    display: inline-block;
    padding-bottom: 5px;
}

.post-body {
    line-height: 1.8;
    font-size: 16px;
    color: #444;
}

.btn-action {
    display: inline-block;
    background: var(--leather);
    color: white;
    padding: 10px 20px;
    border-radius: 2px;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    border: 1px solid var(--bg-dark);
}

.btn-action:hover {
    background: var(--bg-dark);
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

/* Right Sidebar - News */
.sidebar-right {
    background: transparent;
}

.news-widget {
    background: white;
    border: double 4px var(--bg-dark);
    padding: 15px;
    margin-bottom: 20px;
}

.news-header {
    text-align: center;
    border-bottom: 2px solid var(--bg-dark);
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.news-header h3 {
    margin: 0;
    font-size: 18px;
    background: var(--bg-dark);
    color: white;
    display: inline-block;
    padding: 5px 15px;
    transform: skew(-10deg);
}

.news-item {
    margin-bottom: 15px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
}

.news-item:last-child {
    border: none;
}

.news-title {
    font-weight: bold;
    font-size: 14px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 5px;
    display: block;
}

.news-date {
    font-size: 12px;
    color: #999;
}

/* Responsive */
@media (max-width: 900px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Section - Image Visible, Text Below */
.hero {
    background-image: url('/img/hero.png');
    height: 400px;
    background-position: center;
    background-size: cover;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-bottom: 5px solid var(--primary-gold);
}

.hero-content {
    background: var(--bg-dark);
    text-align: center;
    color: white;
    padding: 30px 50px;
    border-bottom: 3px solid var(--primary-gold);
}

.hero-content h1 {
    font-size: 2.5em;
    margin: 0 0 10px 0;
    color: var(--primary-gold);
    font-family: 'Cinzel', serif;
}

.hero-content p {
    font-size: 1.1em;
    margin: 0 0 20px 0;
    font-family: 'Playfair Display', serif;
    color: #dcd6ce;
}

.btn-hero {
    display: inline-block;
    padding: 12px 35px;
    background: var(--primary-gold);
    color: var(--bg-dark);
    font-weight: bold;
    border-radius: 4px;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    border: 2px solid var(--primary-gold);
    transition: 0.3s;
}

.btn-hero:hover {
    background: white;
    color: var(--bg-dark);
    transform: scale(1.05);
}