/*
Theme Name: Ajans Kurdu
Theme URI: https://ajanskurdu.com
Author: Antigravity
Author URI: https://ajanskurdu.com
Description: Premium, dark-mode friendly, dynamic and sleek theme for Ajans Kurdu.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ajanskurdu
*/

/* --- CSS VARIABLES & TOKENS --- */
:root {
    /* Colors */
    --ak-bg-main: #0a0a0c;
    --ak-bg-secondary: #141418;
    --ak-bg-card: rgba(30, 30, 35, 0.7);
    --ak-border: rgba(255, 255, 255, 0.08);
    --ak-primary: #FF3366; /* Vibrant Red/Pink for accents like Instagram */
    --ak-primary-hover: #ff1a53;
    --ak-secondary: #8A2BE2; /* Deep purple gradient end */
    
    /* Text */
    --ak-text-main: #f0f0f0;
    --ak-text-muted: #a0a0a5;
    
    /* Typography */
    --ak-font-sans: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Shadows & Effects */
    --ak-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --ak-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
    --ak-glass-blur: blur(12px);
    
    /* Transitions */
    --ak-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & BASICS --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--ak-bg-main);
    color: var(--ak-text-main);
    font-family: var(--ak-font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--ak-primary);
    text-decoration: none;
    transition: var(--ak-transition);
}

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

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

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--ak-primary), var(--ak-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- LAYOUT & GRID --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* --- COMPONENTS --- */
/* Header */
.site-header {
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: var(--ak-glass-blur);
    border-bottom: 1px solid var(--ak-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

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

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.main-navigation a {
    color: var(--ak-text-main);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ak-primary);
    transition: var(--ak-transition);
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Cards (Post Items) */
.ak-card {
    background: var(--ak-bg-card);
    border: 1px solid var(--ak-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--ak-transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.ak-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ak-shadow-lg);
    border-color: rgba(255, 51, 102, 0.3);
}

.ak-card-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ak-card:hover .ak-card-image {
    transform: scale(1.05);
}

.ak-card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.ak-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--ak-primary), var(--ak-secondary));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.ak-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ak-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.ak-card-title a {
    color: var(--ak-text-main);
}

.ak-card-excerpt {
    color: var(--ak-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.ak-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--ak-text-muted);
    border-top: 1px solid var(--ak-border);
    padding-top: 1rem;
}

/* Button */
.ak-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    background: var(--ak-bg-secondary);
    color: var(--ak-text-main);
    font-weight: 600;
    border: 1px solid var(--ak-border);
    cursor: pointer;
    transition: var(--ak-transition);
}

.ak-btn-primary {
    background: linear-gradient(135deg, var(--ak-primary), var(--ak-secondary));
    border: none;
    color: white;
}

.ak-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.4);
    color: white;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,51,102,0.15) 0%, rgba(10,10,12,0) 70%);
    z-index: -1;
    pointer-events: none;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--ak-text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Single Post */
.single-header {
    padding: 4rem 0 2rem;
    text-align: center;
}

.single-title {
    font-size: 3rem;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.single-featured-image {
    max-width: 1000px;
    margin: 0 auto 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--ak-shadow-lg);
}

.single-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.single-content p {
    margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--ak-border);
    padding: 3rem 0;
    margin-top: 4rem;
    text-align: center;
    color: var(--ak-text-muted);
}
