/*
Theme Name: KelilingMalang Blog Theme
Theme URI: https://kelilingmalang.com
Author: Antigravity / KelilingMalang Tech Team
Author URI: https://kelilingmalang.com
Description: Official Ultra-Fast and Responsive WordPress Theme for KelilingMalang.com Blog with Unified UI/UX, Glassmorphism Header, and Rich GEO Meta Optimization.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: kelilingmalang-blog
Tags: blog, clean, responsive-layout, grid-layout, custom-menu, featured-images, translation-ready
*/

:root {
    --color-primary: #00236f;
    --color-navy-deep: #1E3A8A;
    --color-cta-accent: #0EA5E9;
    --color-sage-muted: #94A3B8;
    --color-secondary: #516072;
    --color-surface: #f7f9fb;
    --color-surface-white: #F8FAFC;
    --color-background: #f7f9fb;
    --color-on-primary: #ffffff;
    --color-on-surface: #191c1e;
}

body {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
}

/* Background Pattern */
.futuristic-bg {
    background-color: #c5d4e3;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255,255,255,0.4) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(255,255,255,0.4) 0%, transparent 50%),
        linear-gradient(rgba(255,255,255,0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.2) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
}

/* Shimmer & Glow Effects */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    animation: shimmerEffect 3s infinite;
}

@keyframes shimmerEffect {
    0% { left: -100%; }
    100% { left: 200%; }
}

.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    box-shadow: 0px 14px 28px rgba(30, 58, 138, 0.12);
    transform: translateY(-4px);
}

.shimmer-btn {
    position: relative;
    overflow: hidden;
}

.shimmer-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    animation: shimmerBtn 3.5s infinite;
}

@keyframes shimmerBtn {
    0% { left: -100%; }
    25% { left: 200%; }
    100% { left: 200%; }
}

/* Elegant Logo Light Sweep (Looping) */
.logo-light-sweep {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 0.375rem;
}

.logo-light-sweep::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -130%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        105deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 25%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    animation: logoLightSweep 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes logoLightSweep {
    0% { left: -130%; }
    35% { left: 220%; }
    100% { left: 220%; }
}

/* Article Typography Styling */
.entry-content {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.85;
}

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

.entry-content h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-left: 0.85rem;
    border-left: 4px solid #0284c7;
    line-height: 1.35;
}

.entry-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.entry-content ul, .entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content a {
    color: #0284c7;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.entry-content a:hover {
    color: #1e3a8a;
}

.entry-content blockquote {
    border-left: 4px solid #38bdf8;
    background: #f0f9ff;
    padding: 1.25rem 1.5rem;
    border-radius: 0 1rem 1rem 0;
    margin: 2rem 0;
    font-style: italic;
    color: #0369a1;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1.25rem;
    margin: 1.75rem auto;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
}

.entry-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.entry-content th {
    background-color: #0f172a;
    color: #ffffff;
    font-weight: 700;
    padding: 0.85rem 1rem;
    text-align: left;
}

.entry-content td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.entry-content tr:last-child td {
    border-bottom: none;
}
