/* ============================================
   THEME: CRIMSON VELVET (Kırmızı Kadife)
   Derin bordo + krem + altın - lüks, kadife, sıcak
   Yüksek kontrast, kristal netlikte okunabilir metin
   ============================================ */

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

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
    --bg: #1a0508;
    --bg-card: #260a0f;
    --bg-soft: #300d14;
    --bg-warm: #2b0a11;
    --border: #4a1520;
    --border-light: #5c1a28;
    --border-soft: #3a1018;
    --primary: #e63950;
    --primary-dark: #c41f3a;
    --primary-light: #ff5c72;
    --accent: #d4af6a;
    --accent2: #f0a5b5;
    --gold: #d4af6a;
    --text: #fdf0ec;
    --text-light: #e5cec9;
    --text-muted: #b08a88;
    --serif: 'Cormorant Garamond', 'Georgia', serif;
    --sans: 'Jost', -apple-system, sans-serif;
    --mono: 'Jost', monospace;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 30px rgba(230, 57, 80, 0.3);
}

body {
    font-family: var(--sans);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    background-image:
        radial-gradient(ellipse at top, rgba(139, 26, 43, 0.28), transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(212, 175, 106, 0.08), transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: all .18s; }
a:hover { color: var(--primary-light); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
    background: rgba(26, 5, 8, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--primary);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(230, 57, 80, 0.15);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.site-logo {
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 700;
    font-style: italic;
    color: var(--text);
    letter-spacing: 1px;
    transition: all .2s;
}
.site-logo::before { content: '♥ '; color: var(--primary); font-style: normal; font-size: 24px; }
.site-logo:has(img)::before { display: none; }
.site-logo:hover { color: var(--primary-light); }
.site-logo img { max-height: 44px; width: auto; }

.main-nav { display: flex; gap: 4px; align-items: center; }
.main-nav a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 13px;
    padding: 10px 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all .2s;
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    width: 0; height: 2px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width .25s;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { width: 60%; }
.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 14px;
    cursor: pointer;
    border-radius: var(--radius);
}

/* Section title */
.section-title {
    font-family: var(--serif);
    font-size: 46px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: -0.5px;
    margin-bottom: 32px;
    color: var(--text);
    text-align: center;
    position: relative;
    padding-bottom: 18px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 70px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.section { padding: 60px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(230, 57, 80, 0.04)); }

/* Featured items */
.featured-items { margin: 30px 0; }
.items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.item-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .25s;
}
.item-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}
.item-card-image { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); }
.item-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.item-card:hover .item-card-image img { transform: scale(1.05); }
.item-card-body { padding: 16px 20px; }
.item-card h3 { font-family: var(--serif); color: var(--text); font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.item-card p { color: var(--text-muted); font-size: 13px; line-height: 1.5; }

/* Posts grid */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.posts-grid--featured .post-card:first-child { grid-column: span 2; }
.posts-grid--featured .post-card:first-child .post-card-image { aspect-ratio: 16/9; }
.posts-grid--featured .post-card:first-child h3 { font-size: 34px; }
.posts-grid--featured .post-card:first-child .post-summary { font-size: 16px; }

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .3s;
    box-shadow: var(--shadow-soft);
}
.post-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}
.post-card:hover h3 a { color: var(--primary); }
.post-card-image { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card-image img { transform: scale(1.05); }
.post-card-body { padding: 22px 24px; }
.post-category {
    display: inline-block;
    color: var(--gold);
    border: 1px solid rgba(212, 175, 106, 0.35);
    background: rgba(212, 175, 106, 0.1);
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.post-card h3 {
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.post-card h3 a { color: var(--text); transition: color .2s; }
.post-summary { color: var(--text-light); font-size: 14px; line-height: 1.65; }
.post-meta { color: var(--text-muted); font-size: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-soft); }
.post-meta span { margin-right: 14px; }

/* Article */
.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin: 22px 0;
}
.breadcrumb a { color: var(--primary); }

.article {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px;
    margin: 20px 0 40px;
    box-shadow: var(--shadow-soft);
}
.article-header { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--border-soft); }
.article h1 {
    font-family: var(--serif);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.08;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.article-meta { color: var(--text-muted); font-size: 14px; }
.article-image { margin: 24px 0; border-radius: var(--radius); overflow: hidden; }
.article-content { font-size: 19px; line-height: 1.8; color: var(--text-light); font-family: var(--serif); }
.article-content h2, .article-content h3 { font-family: var(--serif); color: var(--text); margin: 32px 0 14px; font-weight: 600; }
.article-content h2 { font-size: 34px; color: var(--primary-light); }
.article-content h3 { font-size: 26px; color: var(--gold); }
.article-content p { margin-bottom: 18px; }
.article-content p:first-of-type::first-letter {
    font-family: var(--serif);
    font-size: 76px;
    font-weight: 700;
    font-style: italic;
    float: left;
    line-height: 0.85;
    margin: 8px 12px 0 0;
    color: var(--primary);
}
.article-content a { color: var(--primary); border-bottom: 1px solid var(--primary); }
.article-content a:hover { color: var(--primary-light); }
.article-content img { border-radius: var(--radius); margin: 20px 0; }
.article-content blockquote {
    border-left: 3px solid var(--primary);
    background: var(--bg-soft);
    padding: 24px 32px;
    margin: 28px 0;
    color: var(--text);
    font-style: italic;
    font-size: 26px;
    border-radius: 0 var(--radius) var(--radius) 0;
}
.article-content code {
    background: var(--bg-soft);
    color: var(--gold);
    padding: 2px 8px;
    font-family: monospace;
    font-size: 15px;
    border-radius: 4px;
}

/* Categories */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 20px;
    text-align: center;
    transition: all .25s;
    color: var(--text);
}
.category-card:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: var(--shadow-glow); }
.category-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 6px; color: var(--primary-light); }
.category-card .count { color: var(--text-muted); font-size: 13px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all .25s;
}
.gallery-item:hover { transform: scale(1.03); border-color: var(--primary); box-shadow: var(--shadow-glow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.08); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 40px 0; }
.pagination a, .pagination span {
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-light);
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--radius);
    transition: all .2s;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary-light); }
.pagination .active, .pagination [aria-current="page"] {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Buttons */
.btn, button.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 30px;
    transition: all .2s;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.btn-primary, button.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 16px rgba(230, 57, 80, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230, 57, 80, 0.5); }
.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}
.btn-secondary:hover { background: var(--gold); color: var(--bg); }

/* Footer */
.site-footer {
    background: #120305;
    border-top: 1px solid var(--primary);
    margin-top: 60px;
    padding: 48px 0 24px;
    color: var(--text-muted);
}
.footer-inner, .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-inner h4, .footer-col h4 {
    color: var(--primary-light);
    font-family: var(--serif);
    font-size: 20px;
    margin-bottom: 14px;
    font-weight: 600;
}
.footer-inner a, .footer-col a { display: block; color: var(--text-light); padding: 4px 0; font-size: 14px; }
.footer-inner a:hover, .footer-col a:hover { color: var(--primary); }
.footer-col ul { list-style: none; padding: 0; }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-top: 18px; text-align: center; font-size: 13px; color: var(--text-muted); }

/* Promo banner */
.promo-banner {
    background: var(--bg-card) !important;
    color: var(--gold) !important;
    padding: 14px 22px !important;
    border: 1px solid var(--primary) !important;
    border-radius: var(--radius) !important;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-glow);
}
.promo-banner .promo-text { font-weight: 600; font-size: 15px; letter-spacing: 0.5px; }
.promo-banner .promo-btn {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 9px 20px !important;
    border-radius: 30px !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Forms */
input[type="text"], input[type="email"], input[type="password"],
input[type="search"], textarea, select {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 12px 15px;
    font-size: 14px;
    font-family: var(--sans);
    border-radius: var(--radius);
    transition: all .2s;
    width: 100%;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 80, 0.2);
}
::placeholder { color: var(--text-muted); }

/* Ad vitrin */
.ad-vitrin-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
}
.ad-vitrin-card:hover { border-color: var(--primary); box-shadow: var(--shadow-soft), var(--shadow-glow); }

/* Mobile */
@media (max-width: 768px) {
    .container { padding: 0 14px; }
    .site-logo { font-size: 26px; }
    .main-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--bg-card); flex-direction: column; padding: 12px;
        border-top: 1px solid var(--primary); gap: 2px;
    }
    .main-nav.show { display: flex; }
    .main-nav a { width: 100%; padding: 12px 16px; }
    .menu-toggle { display: inline-flex; }
    .section { padding: 36px 0; }
    .section-title { font-size: 32px; }
    .article { padding: 24px; }
    .article h1 { font-size: 32px; }
    .posts-grid--featured .post-card:first-child { grid-column: span 1; }
    .posts-grid--featured .post-card:first-child h3 { font-size: 24px; }
    .footer-inner, .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .promo-banner { flex-direction: column; gap: 10px; text-align: center; }
}

::selection { background: var(--primary); color: #fff; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-card); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
