/*
Theme Name: Sparkhes Premium Theme
Theme URI: https://sparkhes.com
Author: Sparkhes AI Team
Author URI: https://sparkhes.com
Description: Custom theme with black header, white body background, matching Sparkhes Outfit typography.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: sparkhes-theme
*/

:root {
    --bg-color: #ffffff;
    --header-bg: #000000;
    --text-color: #0f172a;
    --text-muted: #64748b;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --card-border-hover: #cbd5e1;
    --font-main: 'Outfit', sans-serif;
    --container-width: 1200px;
    --transition-speed: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    letter-spacing: -0.3px;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-speed);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: calc(100% - 32px);
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
}

/* Header - Siyah Background */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
    color: #ffffff;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    color: #ffffff;
}

.logo-mark {
    width: 28px;
    height: 28px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #94a3b8;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    transition: var(--transition-speed);
}

.btn-cta:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}

/* Hero Section - Beyaz Zemin */
.hero-section {
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
    background: #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 0.85rem;
    color: #0f172a;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: #0f172a;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #475569;
    max-width: 640px;
    margin: 0 auto 32px;
}

/* Posts / Assets Grid */
.posts-section {
    padding: 40px 0 80px;
    flex: 1;
    background: #f8fafc;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.post-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-speed);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.post-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
    color: #0f172a;
}

.post-title a {
    color: #0f172a;
}

.post-title a:hover {
    color: #3b82f6;
}

.post-excerpt {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.6;
}

.post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.read-more-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #000000;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more-link:hover {
    color: #3b82f6;
}

/* Single Post Page */
.single-post-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 16px;
}

.single-post-header {
    margin-bottom: 40px;
    text-align: center;
}

.single-post-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #0f172a;
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}

.entry-content h2, .entry-content h3 {
    color: #0f172a;
    margin: 32px 0 16px;
}

.entry-content p {
    margin-bottom: 20px;
    color: #334155;
}

.entry-content blockquote {
    border-left: 4px solid #0f172a;
    padding-left: 20px;
    margin: 24px 0;
    font-style: italic;
    color: #475569;
    background: #f8fafc;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
}

/* Lead Magnet CTA Box inside posts */
.lead-magnet-box {
    background: #000000;
    color: #ffffff;
    border-radius: 16px;
    padding: 32px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.lead-magnet-box h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.lead-magnet-box p {
    color: #94a3b8;
    margin-bottom: 20px;
}

/* Footer - Siyah Arka Plan */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    background: #000000;
    color: #94a3b8;
    margin-top: auto;
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .header-inner {
        justify-content: space-between;
    }
}
