/*
Theme Name: RoyalBet Emerald
Theme URI: https://expobet.com
Author: Expobet Team
Author URI: https://expobet.com
Description: Royal Emerald - Premium casino teması. Zümrüt yeşili ve altın renkleriyle lüks poker masası hissi.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: royalbet
Tags: casino, betting, gaming, poker, emerald, elegant, responsive

RoyalBet Emerald - Premium Gaming Theme
*/

/* ============================================
   CSS VARIABLES & ROOT - ROYAL EMERALD
============================================ */
:root {
    /* Primary Colors - Emerald Green */
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --primary-glow: rgba(16, 185, 129, 0.4);

    /* Secondary Colors - Gold */
    --secondary: #fbbf24;
    --secondary-dark: #f59e0b;
    --secondary-light: #fcd34d;
    --secondary-glow: rgba(251, 191, 36, 0.4);

    /* Accent Colors */
    --accent-red: #ef4444;
    --accent-diamond: #60a5fa;
    --accent-heart: #f87171;
    --accent-spade: #a78bfa;

    /* Background Colors - Deep Forest */
    --bg-dark: #0a1612;
    --bg-darker: #050d0a;
    --bg-card: #0f1f1a;
    --bg-card-hover: #142b24;
    --bg-gradient: linear-gradient(135deg, #0a1612 0%, #0f2318 50%, #0a1612 100%);
    --bg-felt: linear-gradient(180deg, #0d1e17 0%, #0a1612 100%);

    /* Text Colors */
    --text-primary: #f0fdf4;
    --text-secondary: #a7c4b8;
    --text-muted: #5c7c6f;

    /* Border & Shadow */
    --border-color: rgba(16, 185, 129, 0.15);
    --border-gold: rgba(251, 191, 36, 0.3);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.3);
    --shadow-gold: 0 0 40px rgba(251, 191, 36, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);

    /* Sizing */
    --container-max: 1400px;
    --header-height: 80px;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 0.5em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 600;
}

/* Gradient Headings */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-text {
    color: var(--secondary);
}

/* ============================================
   ANIMATED BACKGROUND - CASINO FELT
============================================ */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-gradient);
}

/* Felt texture overlay */
.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(251, 191, 36, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
    animation: feltGlow 15s ease-in-out infinite;
}

/* Subtle pattern */
.animated-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="felt" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="rgba(16,185,129,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23felt)"/></svg>');
    opacity: 0.8;
}

@keyframes feltGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ============================================
   POKER CHIP ANIMATIONS
============================================ */
.poker-chips {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.chip {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    opacity: 0;
    animation: chipFloat 20s infinite;
}

.chip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border-radius: 50%;
    border: 2px dashed currentColor;
    opacity: 0.5;
}

.chip::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border-radius: 50%;
    border: 3px solid currentColor;
}

/* Chip colors */
.chip-green {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--primary-light);
    box-shadow: 0 0 20px var(--primary-glow);
}

.chip-gold {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--secondary-light);
    box-shadow: 0 0 20px var(--secondary-glow);
}

.chip-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fca5a5;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.chip-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #93c5fd;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

/* Chip positions and delays */
.chip:nth-child(1) { left: 5%; animation-delay: 0s; }
.chip:nth-child(2) { left: 15%; animation-delay: 3s; }
.chip:nth-child(3) { left: 25%; animation-delay: 6s; }
.chip:nth-child(4) { left: 35%; animation-delay: 9s; }
.chip:nth-child(5) { left: 45%; animation-delay: 2s; }
.chip:nth-child(6) { left: 55%; animation-delay: 5s; }
.chip:nth-child(7) { left: 65%; animation-delay: 8s; }
.chip:nth-child(8) { left: 75%; animation-delay: 1s; }
.chip:nth-child(9) { left: 85%; animation-delay: 4s; }
.chip:nth-child(10) { left: 92%; animation-delay: 7s; }

@keyframes chipFloat {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    5% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(50vh) rotate(180deg) scale(0.8);
        opacity: 0.4;
    }
    95% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* ============================================
   CONTAINER & LAYOUT
============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.main-content {
    min-height: calc(100vh - var(--header-height));
    padding: 40px 0;
}

/* ============================================
   HEADER - RIGHT ALIGNED NAV (Layout A)
============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(10, 22, 18, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(10, 22, 18, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.site-logo .logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--bg-dark);
    font-weight: 900;
    box-shadow: 0 4px 20px var(--primary-glow);
    position: relative;
    animation: logoSpin 10s linear infinite;
}

.site-logo .logo-icon::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 50%;
}

@keyframes logoSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.site-logo .logo-text {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-logo .logo-suffix {
    color: var(--secondary);
    -webkit-text-fill-color: var(--secondary);
}

/* Header Right - Nav + CTA */
.header-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(16, 185, 129, 0.1);
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* CTA Button */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-dark);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 20px var(--primary-glow);
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--primary-glow);
}

.btn-cta-gold {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    box-shadow: 0 4px 20px var(--secondary-glow);
}

.btn-cta-gold:hover {
    box-shadow: 0 6px 30px var(--secondary-glow);
}

.btn-cta-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-cta-outline:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Mobile Toggle Active State */
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Panel */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-inner {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav .mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav .mobile-menu li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav .mobile-menu a {
    display: block;
    padding: 16px 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav .mobile-menu a:hover {
    color: var(--primary);
}

/* Body lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ============================================
   HERO SECTION - SPLIT LAYOUT (Layout A)
============================================ */
.hero-section {
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    animation: fadeInLeft 0.6s ease;
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInLeft 0.6s ease 0.1s backwards;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
    animation: fadeInLeft 0.6s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInLeft 0.6s ease 0.3s backwards;
}

/* Hero Visual - Right Side */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 0.8s ease 0.2s backwards;
}

.hero-card-display {
    position: relative;
    width: 300px;
    height: 400px;
}

/* Animated poker cards */
.poker-card {
    position: absolute;
    width: 120px;
    height: 170px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
    border: 2px solid var(--border-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: var(--transition-normal);
}

.poker-card:nth-child(1) {
    top: 0;
    left: 20%;
    transform: rotate(-15deg);
    animation: cardFloat1 4s ease-in-out infinite;
    z-index: 1;
}

.poker-card:nth-child(2) {
    top: 30px;
    left: 35%;
    transform: rotate(5deg);
    animation: cardFloat2 4s ease-in-out infinite 0.5s;
    z-index: 2;
}

.poker-card:nth-child(3) {
    top: 60px;
    left: 50%;
    transform: rotate(20deg);
    animation: cardFloat3 4s ease-in-out infinite 1s;
    z-index: 3;
}

@keyframes cardFloat1 {
    0%, 100% { transform: rotate(-15deg) translateY(0); }
    50% { transform: rotate(-12deg) translateY(-10px); }
}

@keyframes cardFloat2 {
    0%, 100% { transform: rotate(5deg) translateY(0); }
    50% { transform: rotate(8deg) translateY(-15px); }
}

@keyframes cardFloat3 {
    0%, 100% { transform: rotate(20deg) translateY(0); }
    50% { transform: rotate(17deg) translateY(-8px); }
}

/* Hero Stats Row */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    animation: fadeInLeft 0.6s ease 0.4s backwards;
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   FEATURES - HORIZONTAL CARDS (Layout A)
============================================ */
.features-section {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(251, 191, 36, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.feature-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   BLOG GRID - ASYMMETRIC (Layout A)
============================================ */
.posts-section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.section-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Asymmetric Grid: 2 big + 4 small */
.posts-grid-asymmetric {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 24px;
}

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-normal);
}

.post-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.25);
    cursor: pointer;
}

.post-card:hover .post-card-title a {
    color: var(--primary);
}

.post-card:hover .post-card-category {
    background: var(--secondary);
    transform: scale(1.05);
}

.post-card::after {
    content: 'Okumak icin tikla';
    position: absolute;
    bottom: 16px;
    right: 16px;
    padding: 6px 12px;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-card:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Tum kart tiklanabilir */
.post-card {
    position: relative;
}

.post-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.post-card-title a {
    position: relative;
    z-index: 10;
    transition: var(--transition-fast);
}

.post-card-title a:hover {
    color: var(--secondary) !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.post-card-category {
    position: relative;
    z-index: 10;
    transition: var(--transition-fast);
}

.post-card-category:hover {
    background: var(--secondary) !important;
    transform: scale(1.1);
}

/* Featured posts - larger */
.post-card.featured {
    grid-row: span 2;
}

.post-card-image {
    position: relative;
    height: 200px;
    background: var(--bg-felt);
    overflow: hidden;
}

.post-card.featured .post-card-image {
    height: 100%;
    min-height: 300px;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.post-card:hover .post-card-image img {
    transform: scale(1.1);
}

.post-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

/* Hover overlay with read button */
.post-card::before {
    content: 'Okumak icin tikla';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--secondary);
    color: var(--bg-dark);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 0;
    z-index: 6;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.post-card:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.post-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 18, 0.5);
    opacity: 0;
    z-index: 4;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.post-card:hover::after {
    opacity: 1;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.post-card-content {
    padding: 24px;
}

.post-card.featured .post-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 22, 18, 0.95));
    padding: 40px 24px 24px;
}

.post-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card.featured .post-card-title {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.post-card-title a:hover {
    color: var(--primary);
}

.post-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.post-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ============================================
   SEO CONTENT / ARTICLE SECTION
============================================ */
.homepage-article {
    padding: 60px 0;
    background: var(--bg-darker);
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    position: relative;
}

.seo-content::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    border-radius: 0 0 3px 3px;
}

.seo-content h2 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.seo-content h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.seo-content h3 {
    font-size: 1rem;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.seo-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.seo-content strong {
    color: var(--secondary);
}

.seo-content ul {
    margin: 16px 0;
    padding-left: 0;
}

.seo-content li {
    padding: 8px 0 8px 28px;
    color: var(--text-secondary);
    position: relative;
}

.seo-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* ============================================
   SIDEBAR
============================================ */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 24px;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Categories Widget */
.categories-list li {
    margin-bottom: 8px;
}

.categories-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.categories-list a:hover {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    transform: translateX(5px);
}

.categories-list .count {
    background: var(--bg-darker);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* ============================================
   SINGLE POST
============================================ */
.single-post {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 120px 20px 60px;
    box-sizing: border-box;
}

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

.post-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.post-category {
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
}

.post-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Post Content */
.post-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 48px;
}

.post-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--primary);
    position: relative;
    padding-left: 20px;
}

.post-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.post-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 32px 0 16px;
}

.post-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.post-content ul, .post-content ol {
    margin: 20px 0;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.post-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.post-content a {
    color: var(--primary);
    border-bottom: 1px solid transparent;
}

.post-content a:hover {
    border-bottom-color: var(--primary);
}

.post-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    margin-top: 80px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--primary), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .site-logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 1200px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .posts-grid-asymmetric {
        grid-template-columns: repeat(2, 1fr);
    }

    .post-card.featured {
        grid-row: span 1;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .header-right .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .hero-section {
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-item {
        flex: 0 0 calc(50% - 12px);
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .feature-card {
        padding: 16px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .feature-title {
        font-size: 0.9rem;
    }

    .feature-text {
        font-size: 0.75rem;
    }

    .posts-grid-asymmetric {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .post-card-content {
        padding: 12px;
    }

    .post-card-title {
        font-size: 0.9rem;
    }

    .post-card-excerpt {
        display: none;
    }

    .post-content {
        padding: 24px;
    }

    .seo-content {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 70px 0 30px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-title {
        font-size: 1.3rem;
    }
}

/* ============================================
   UTILITIES
============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-gold { color: var(--secondary); }
.text-muted { color: var(--text-muted); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.py-section { padding: 80px 0; }

/* Glow Effects */
.glow-primary {
    box-shadow: 0 0 40px var(--primary-glow);
}

.glow-gold {
    box-shadow: 0 0 40px var(--secondary-glow);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
