/* Extreme Modern CSS Variables */
:root {
    --bg-color: #fafafa;
    --surface-color: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --heading-color: #0f172a;
    --border-color: #e2e8f0;
    
    --brand-color: #0f172a; /* Dark sleek */
    --wa-color: #25D366;
    --wa-dark: #128C7E;
    
    /* Neumorphic / Smooth Shadows */
    --shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 40px -5px rgba(0, 0, 0, 0.08);
    --shadow-wa: 0 8px 24px -4px rgba(37, 211, 102, 0.4);
    
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Ambient Background Glow (CSS Only) */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}
.glow-1 {
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(37,211,102,0.15) 0%, rgba(255,255,255,0) 70%);
}
.glow-2 {
    top: 300px;
    left: -300px;
    background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, rgba(255,255,255,0) 70%);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wa-dark), var(--wa-color));
    width: 0%;
    z-index: 100;
    transition: width 0.1s;
}

a {
    color: var(--brand-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 16px 0;
    background: rgba(250, 250, 250, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

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

.site-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--heading-color);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}
.site-logo {
    height: 48px; /* Slightly taller for a nice bold logo */
    width: auto;
    display: block;
}

.header-cta {
    background: var(--wa-color);
    border: none;
    padding: 8px 20px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 14px;
    color: white;
    box-shadow: var(--shadow-wa);
}
.header-cta:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Main Layout */
.main-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 80px;
    align-items: flex-start;
}

.site-main {
    flex: 1 1 65%;
    min-width: 0;
}

.site-sidebar {
    flex: 1 1 30%;
    min-width: 320px;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    margin-bottom: 32px;
    color: var(--text-secondary);
}
.breadcrumb ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.breadcrumb li {
    display: flex;
    align-items: center;
}
.breadcrumb a:hover {
    color: var(--heading-color);
}
.separator-icon {
    width: 16px;
    height: 16px;
    margin: 0 6px;
    color: #cbd5e1;
}

/* Article Design */
.entry-content {
    background: var(--surface-color);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* Modern Tags */
.tags-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.modern-tag {
    background: #f1f5f9;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.entry-title {
    font-family: 'Outfit', sans-serif;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 32px;
    line-height: 1.2;
    color: var(--heading-color);
    letter-spacing: -1px;
}

/* Featured Image Frame */
.featured-image {
    margin-bottom: 40px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.featured-image img {
    width: 100%;
    transition: transform 0.5s;
}
.featured-image:hover img {
    transform: scale(1.02);
}
.img-overlay {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.article-body p {
    margin-bottom: 24px;
    font-size: 17px;
    color: #475569;
}

.lead-text {
    font-size: 20px !important;
    color: var(--heading-color) !important;
    line-height: 1.6;
    font-weight: 500;
}

.article-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin: 50px 0 24px 0;
    color: var(--heading-color);
    letter-spacing: -0.5px;
}

/* Dynamic Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid var(--border-color);
    padding: 24px;
    margin: 32px 0;
    border-radius: var(--radius-lg);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.highlight-icon {
    font-size: 24px;
    background: white;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.highlight-content {
    font-size: 16px;
    color: var(--text-primary);
}

/* Modern Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 32px 0;
}
.bento-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}
.bento-card:hover {
    background: var(--surface-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: #cbd5e1;
}
.bento-image {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
}
.bento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.bento-card:hover .bento-image img {
    transform: scale(1.05);
}
.bento-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--heading-color);
}
.bento-card p {
    font-size: 14px !important;
    margin-bottom: 0 !important;
    color: var(--text-secondary) !important;
}

/* Sidebar Styling */
.widget {
    background: var(--surface-color);
    padding: 24px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}

/* Ultra Modern WhatsApp CTA Widget */
.widget-wa-cta {
    background: #ffffff; /* Explicitly white background to fix contrast */
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--wa-color); /* Green top accent instead of full gradient border */
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.15);
}

.wa-badge {
    align-self: flex-start;
    background: #dcfce7;
    color: #166534;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.wa-badge::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--wa-color);
    border-radius: 50%;
    animation: blink 2s infinite;
}

.wa-cta-box {
    display: flex;
    align-items: center;
    gap: 16px;
}
.wa-avatar {
    position: relative;
    width: 56px; height: 56px;
}
.wa-avatar img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: var(--shadow-soft);
}
.online-indicator {
    position: absolute;
    bottom: 2px; right: 2px;
    width: 12px; height: 12px;
    background: var(--wa-color);
    border: 2px solid white;
    border-radius: 50%;
}

.wa-cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--heading-color);
}
.wa-cta-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.wa-cta-btn-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--wa-color);
    color: white;
    padding: 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 14px 0 rgba(15, 23, 42, 0.3);
}
.wa-cta-btn-link:hover {
    background: var(--wa-dark);
    transform: translateY(-2px);
    color: white;
}
.wa-btn-icon {
    width: 20px; height: 20px;
    color: white;
}

/* Pulse Animation specific for Modern Design */
.pulse-attention {
    animation: waPulse 2s infinite;
}

@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Mobile CTA Button */
.mobile-cta-wrapper {
    display: none;
    margin-top: 32px;
    text-align: center;
}
.mobile-wa-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--wa-color);
    color: white;
    padding: 14px 28px;
    border-radius: 99px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}
.mobile-wa-btn:hover {
    background: var(--wa-dark);
    transform: translateY(-2px);
}

/* Search Box */
.search-form {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: var(--radius-md);
    padding: 4px 6px 4px 16px; /* Adjusted padding to accommodate button */
}
.search-icon {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    flex-shrink: 0;
}
.search-field {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 15px;
}
.search-btn {
    background: var(--brand-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.search-btn:hover {
    background: black;
}

/* Photo Card Widget */
.photo-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.photo-card img {
    width: 100%;
    aspect-ratio: 4/3;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.photo-card:hover img {
    transform: scale(1.05);
}

/* Footer */
.site-footer {
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--heading-color);
    letter-spacing: -0.5px;
}

.site-info {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .site-main, .site-sidebar {
        flex: 1 1 100%;
    }
    .entry-content {
        padding: 32px 24px;
    }
    .entry-title {
        font-size: 32px;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .widget-wa-cta {
        position: static;
    }
    .mobile-cta-wrapper {
        display: block;
    }
}
