/* 
 * ARAME Premium UI Pack
 * Adds modern, high-end visual effects to the theme.
 */

:root {
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 40px -5px rgba(0,0,0,0.1);
}

/* 1. Custom Scrollbar (Premium Feel) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-brand);
}

/* 2. Selection Color */
::selection {
    background: var(--color-brand);
    color: #fff;
}

/* 3. Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* 4. Global Image Zoom Effect */
/* Apply this to any container with overflow-hidden to get the zoom */
.group:hover img.transition-transform {
    transform: scale(1.08);
}

/* 5. Card Lift Effect */
.post-card, 
article.bg-white,
.widget {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    will-change: transform;
}

.post-card:hover,
article.bg-white:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover) !important;
}

/* 6. Sticky Header Glassmorphism */
.header-sticky {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* 7. Button Hover Glow */
button.bg-brand:hover, 
a.bg-brand:hover {
    box-shadow: 0 10px 25px -5px var(--color-brand);
    opacity: 1 !important;
    filter: brightness(1.1);
}

/* 8. Modern Input Focus */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 4px rgba(var(--color-brand-rgb), 0.1) !important;
    border-color: var(--color-brand) !important;
}

/* 9. Typography Enhancements */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

p {
    line-height: 1.8;
    color: #475569; /* Slate 600 - better for reading */
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em; /* Tighter headings look more modern */
}

/* 10. Footer Gradient Line */
.site-footer {
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-brand), #f43f5e, var(--color-brand));
}
