/* 
    Extended Studios - Premium Tasarım Sistemi
    Modern, Karanlık Tema, Glassmorphism
*/



:root {
    --bg-dark: #050510; /* Daha derin, hafif lacivert tonlu siyah */
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --accent-primary: #a855f7; /* Canlı Mor */
    --accent-secondary: #3b82f6; /* Canlı Mavi */
    --accent-glow: rgba(168, 85, 247, 0.4);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-bright: rgba(255, 255, 255, 0.15);
    --gradient-hero: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.bg-effects-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #0a0a1a 0%, #050510 100%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    mix-blend-mode: screen;
    pointer-events: none;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -200px;
    right: -100px;
    animation: floatOrb 25s infinite alternate ease-in-out;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    bottom: -100px;
    left: -100px;
    animation: floatOrb 30s infinite alternate-reverse ease-in-out;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: #6366f1;
    top: 40%;
    left: 20%;
    animation: floatOrb 20s infinite alternate ease-in-out;
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    mix-blend-mode: overlay;
    pointer-events: none;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, 50px) scale(1.1); }
    66% { transform: translate(-50px, 120px) scale(0.9); }
    100% { transform: translate(20px, -40px) scale(1); }
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

/* Glassmorphism Utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent, rgba(255,255,255,0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.glass:hover {
    background: var(--bg-card-hover);
    border-color: var(--glass-border-bright);
    transform: translateY(-5px);
    box-shadow: 0 15px 45px -10px rgba(0, 0, 0, 0.5);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.4s ease;
    background: transparent;
}

header.scrolled {
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('assets/img/hero.png') no-repeat center center/cover;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,12,0.4), rgba(10,10,12,1));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Post Detail Styles */
.detail-hero {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(20px) brightness(0.4);
    transform: scale(1.1);
    z-index: 1;
}

.detail-hero .hero-content {
    max-width: 900px;
}

.detail-hero h1 {
    font-size: 3.5rem;
    margin: 15px 0;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.detail-container {
    max-width: 900px;
    margin: -100px auto 100px;
    position: relative;
    z-index: 3;
    padding: 0 20px;
}

.main-card {
    padding: 50px;
    border-radius: 30px;
}

.post-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #d1d5db;
}

.post-body h2, .post-body h3 {
    color: #fff;
    margin: 40px 0 20px;
}

.post-body p {
    margin-bottom: 25px;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 40px;
    object-fit: cover;
}

.back-nav {
    position: absolute;
    top: 120px;
    left: 50px;
    z-index: 10;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}


.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.logo span {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav ul li a {
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: white;
}


nav ul li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

nav ul li a:hover {
    color: var(--text-main);
}

.btn-admin {
    padding: 10px 20px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    font-size: 0.9rem;
}

.btn-admin:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(to right, #fff 20%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    padding: 16px 36px;
    background: var(--gradient-hero);
    border-radius: 16px;
    font-weight: 600;
    color: white;
    box-shadow: 0 10px 30px -5px rgba(168, 85, 247, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(168, 85, 247, 0.6);
}

.btn-secondary {
    padding: 16px 36px;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--glass-border-bright);
    transform: translateY(-3px);
}

/* Global Section Layouts */
.split-layout {
    display: flex;
    gap: 100px;
    align-items: center; /* Kartlara göre dikeyde tam ortalar */
    padding: 40px 0;
    width: 100%;
}

.info-side {
    flex: 1;
}

.grid-side {
    flex: 1.8;
}

/* Specific Section Adjustments */
.services, .posts {
    padding: 80px 0; /* Bölümler arası nefes alma alanı daraltıldı */
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

/* Services Redesign (Inheriting from split-layout) */
.services-wrapper {
    display: flex;
    gap: 100px;
    align-items: center;
}

.services-info {
    flex: 1;
}



.services-info h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.1;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-info p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.services-grid {
    flex: 1.5;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px;
    border-radius: 28px;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.1), transparent 70%);
    opacity: 0;
    transition: 0.4s opacity;
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--accent-primary);
    transition: 0.4s all cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    background: var(--accent-primary);
    color: white;
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 10px 25px -5px rgba(168, 85, 247, 0.5);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #fff;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.5;
}

/* Posts Section Redesign */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-card {
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.post-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s all;
}

.post-card:hover .post-image img {
    transform: scale(1.1) rotate(2deg);
}

.post-content {
    padding: 30px;
}

.post-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.post-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s all;
}

.post-link:hover {
    gap: 15px;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

@media (max-width: 1200px) {
    .services-wrapper { flex-direction: column; gap: 50px; }
    .services-info { position: static; text-align: center; }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
/* --- RESPONSIVE DESIGN --- */

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
    }

    header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 12, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        border-left: 1px solid var(--glass-border);
    }

    header nav.active {
        right: 0;
    }

    header nav ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    header nav ul li a {
        font-size: 1.8rem;
        font-weight: 700;
    }

    /* Layout Stacking */
    .split-layout, .services-wrapper {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .info-side, .services-info {
        position: static;
        width: 100%;
    }

    .grid-side {
        width: 100%;
    }

    .services-grid, .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .services-info h2, .info-side h2 {
        font-size: 2.5rem;
    }

    .services-grid, .posts-grid {
        grid-template-columns: 1fr;
    }

    .main-card {
        padding: 30px 20px;
    }

    .detail-hero {
        height: 400px;
    }

    .detail-hero h1 {
        font-size: 2.2rem;
    }

    .btn-admin {
        display: none; /* Mobilde header'ı sade tutalım */
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .logo {
        font-size: 1.2rem;
    }
}


.featured-image {
    width: 100%;
    max-height: 300px; /* Çok daha kompakt ve zarif bir görünüm */
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--glass-border);
}

.admin-card img {
    max-height: 150px; /* Admin panelinde minimal önizleme */
    width: auto;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 20px;
}




.post-card {
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.post-image {
    height: 220px;
    width: 100%;
    background: #1a1a1e;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

.post-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
}

.post-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.post-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.post-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-primary);
}

/* Admin Styles (Basit) */
.admin-container {
    max-width: 800px;
    margin: 150px auto;
    padding: 40px;
}

.admin-form input, .admin-form textarea, .admin-form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    outline: none;
    appearance: none; /* Bazı tarayıcıların varsayılan stilini kaldırır */
}

/* Dropdown (Option) stilleri */
.admin-form select option {
    background: #1a1a1e;
    color: white;
    padding: 10px;
}


/* Admin Panel Layout */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: rgba(10, 10, 12, 0.95);
    border-right: 1px solid var(--glass-border);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar-logo {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.sidebar-menu {
    list-style: none;
    flex: 1;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background: var(--bg-card-hover);
    color: white;
}

.sidebar-menu a.active {
    background: var(--accent-primary);
}

.admin-main {
    flex: 1;
    margin-left: 250px;
    padding: 60px;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.05), transparent);
    min-height: 100vh;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.stat-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 24px;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    color: var(--accent-primary);
}

.stat-card h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card p {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Button Styles */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--gradient-hero);
    border: none;
    border-radius: 14px;
    color: white;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px -5px rgba(168, 85, 247, 0.4);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px -5px rgba(168, 85, 247, 0.6);
    filter: brightness(1.1);
}

.btn-premium:active {
    transform: translateY(0) scale(0.98);
}

.btn-premium i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-premium:hover i {
    transform: translateX(3px);
}

/* Custom File Upload */
.custom-file-upload {
    display: block;
    width: 100%;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: var(--bg-card);
    border: 2px dashed var(--glass-border);
    border-radius: 16px;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.3s all;
}

.file-label:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    color: white;
}

.file-label i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.file-input-hidden {
    display: none;
}

.admin-form button {
    width: 100%;
    margin-top: 10px;
}

.btn-sm {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.btn-sm:hover {
    transform: scale(1.1);
    background: var(--bg-card-hover);
    color: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.btn-sm i {
    font-size: 0.9rem;
}

/* Action Specific Colors */
.btn-sm[title*="Gör"], .btn-sm[title*="Edit"] { color: #60a5fa; }
.btn-sm[title*="Gör"]:hover, .btn-sm[title*="Edit"]:hover { background: rgba(96, 165, 250, 0.1); border-color: #60a5fa; box-shadow: 0 0 10px rgba(96, 165, 250, 0.3); }

.btn-sm[title*="Sil"] { color: #f87171; }
.btn-sm[title*="Sil"]:hover { background: rgba(248, 113, 113, 0.1); border-color: #f87171; box-shadow: 0 0 10px rgba(248, 113, 113, 0.3); }

.btn-sm[title*="Okundu"], .btn-sm[title*="Onay"] { color: #4ade80; }
.btn-sm[title*="Okundu"]:hover, .btn-sm[title*="Onay"]:hover { background: rgba(74, 222, 128, 0.1); border-color: #4ade80; box-shadow: 0 0 10px rgba(74, 222, 128, 0.3); }

/* Premium Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.premium-modal {
    background: rgba(15, 15, 20, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px;
    max-width: 550px;
    width: 90%;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.1);
}

.modal-overlay.active .premium-modal {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
}

.modal-header h3 {
    font-size: 1.5rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-close {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: 0.3s all;
}

.modal-close:hover {
    color: #f87171;
    transform: rotate(90deg);
}

.modal-body {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.1rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}

/* Responsive Admin */
@media (max-width: 992px) {
    .sidebar { width: 70px; padding: 20px 10px; }
    .sidebar-logo, .sidebar-menu span { display: none; }
    .admin-main { margin-left: 70px; }
    .sidebar-menu i { font-size: 1.2rem; margin: 0 auto; }
}

/* --- Chic Post Detail Overhaul --- */
.chic-layout {
    position: relative;
    padding-bottom: 120px;
    background: radial-gradient(circle at 50% 0%, #101025 0%, #050510 60%);
}

.chic-bg-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.breadcrumb-nav {
    padding: 120px 0 30px;
}

.breadcrumbs-chic {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.breadcrumbs-chic a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.breadcrumbs-chic a:hover {
    color: var(--accent-primary);
}

.breadcrumbs-chic .curr {
    color: var(--text-main);
    font-weight: 600;
}

.breadcrumbs-chic .sep {
    opacity: 0.3;
}

/* Chic Hero */
.chic-hero {
    position: relative;
    padding: 40px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero-bg-bloom {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(100px) brightness(0.5);
    opacity: 0.3;
    z-index: -1;
    transform: scale(1.2);
}

.chic-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-primary);
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.chic-title {
    font-size: 4.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    background: linear-gradient(to bottom, #fff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Chic Grid */
.chic-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    align-items: start;
}

.chic-card {
    border-radius: 40px;
    overflow: hidden;
    padding: 0;
}

.chic-featured-frame {
    width: 100%;
    height: 550px;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.chic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chic-body {
    padding: 60px 80px;
    font-size: 1.2rem;
    line-height: 2;
    color: #cbd5e1;
    font-family: var(--font-body);
}

.chic-body h2 {
    font-size: 2.2rem;
    margin: 60px 0 30px;
    color: #fff;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.chic-footer {
    padding: 0 80px 60px;
}

.chic-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s;
}

.chic-back-btn:hover {
    background: var(--accent-primary);
    transform: translateX(-10px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

/* Sidebar Styling */
.chic-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-card {
    padding: 35px;
    border-radius: 30px;
    margin-bottom: 30px;
}

.sidebar-card h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #fff;
    border-left: 3px solid var(--accent-primary);
    padding-left: 15px;
}

.meta-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.meta-item i {
    font-size: 1.2rem;
    color: var(--accent-primary);
    margin-top: 5px;
}

.meta-item .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.meta-item .val {
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

.share-box {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--glass-border);
}

.share-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.share-links {
    display: flex;
    gap: 15px;
}

.share-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.share-link:hover {
    transform: translateY(-5px);
    color: #fff;
}

.share-link.x:hover { background: #000; border-color: #333; }
.share-link.wa:hover { background: #25d366; border-color: #25d366; }
.share-link.ig:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); border-color: transparent; }
.share-link.cp:hover { background: #fff; color: #000; border-color: #fff; }
.share-link.cp { cursor: pointer; border: 1px solid var(--glass-border); padding: 0; }

.share-link.fb:hover { background: #1877f2; border-color: #1877f2; }
.share-link.ln:hover { background: #0077b5; border-color: #0077b5; }

.share-links button.share-link {
    cursor: pointer;
    font-family: inherit;
}

/* Latest Posts Widget */
.lp-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.lp-item:last-child { margin-bottom: 0; }

.lp-item img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--glass-border);
}

.lp-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lp-item:hover {
    transform: translateX(10px);
}

.lp-item:hover span {
    color: var(--accent-primary);
}

/* --- Deep Mobile Optimization for Chic Layout --- */
.chic-title {
    font-size: clamp(2.2rem, 8vw, 4.5rem);
    margin: 0 auto;
    max-width: 90%;
    word-break: break-word;
}

.chic-body h2 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
}

.chic-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    align-items: start;
}

/* Mobile & Tablet Refinements */
@media (max-width: 1200px) {
    .chic-grid { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    }
    
    /* Layout Reordering: Sidebar (Meta) to top on mobile */
    .chic-sidebar { 
        position: static; 
        order: -1; 
    }
    
    .sticky-wrapper { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 20px; 
    }
    
    .latest-posts-chic { 
        margin-bottom: 0; 
    }

    .chic-body, .chic-footer { 
        padding: 50px 60px; 
    }
}

@media (max-width: 768px) {
    .chic-layout {
        padding-bottom: 60px;
    }
    
    .breadcrumb-nav {
        padding: 100px 0 20px;
    }

    .chic-hero {
        padding: 20px 0 40px;
    }

    .sticky-wrapper { 
        grid-template-columns: 1fr; 
    }
    
    .chic-meta-card {
        padding: 25px;
        border-radius: 25px;
    }
    
    /* Hide 'Latest Posts' in the middle of mobile, it will be at the bottom */
    .latest-posts-chic {
        order: 10;
        margin-top: 30px;
    }

    .chic-body { 
        padding: 35px 20px; 
        font-size: 1.1rem;
    }
    
    .chic-footer {
        padding: 0 20px 40px;
        text-align: center;
    }
    
    .chic-featured-frame { 
        height: auto;
        aspect-ratio: 16 / 10;
    }
    
    .chic-back-btn {
        width: 100%;
        justify-content: center;
    }

    .share-links {
        justify-content: center;
        gap: 15px;
    }
}

/* Extra focus on smallest devices (320px) */
@media (max-width: 400px) {
    .chic-title { font-size: 1.8rem; }
    .chic-body { padding: 30px 15px; }
    .chic-meta-card { padding: 20px; }
}


/* --- Elite Studio Interactions --- */
.progress-bar-chic {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-hero);
    width: 0%;
    z-index: 2000;
    box-shadow: 0 0 10px var(--accent-glow);
    transition: width 0.1s ease-out;
}

.back-to-top-chic {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top-chic.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-chic:hover {
    background: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Reveal on Scroll Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-bg-bloom {
    will-change: transform;
    transition: transform 0.1s linear; /* Smooth parallax */
}

@media (max-width: 768px) {
    .progress-bar-chic { height: 3px; }
    .back-to-top-chic { bottom: 20px; right: 20px; width: 45px; height: 45px; }
}
