/* Import beautiful premium Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --color-primary: #1C2D42;    /* Deep Blue/Slate - Trust and Depth */
    --color-secondary: #D4AF37;  /* Gold/Brass sutil - Sacred and Accent */
    --color-bg: #F8F6F2;         /* Soft Beige/Warm White - Peace and Comfort */
    --color-text: #2D3748;       /* Slate Dark - Perfect readability */
}

/* Custom base typography reset */
body {
    font-family: 'Inter', 'Outfit', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .font-serif-elegant {
    font-family: 'Playfair Display', serif;
}

/* Custom premium scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #EAE5DB;
}
::-webkit-scrollbar-thumb {
    background: #C4BDAC;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A09885;
}

/* Styled Blockquotes for Bible Verses */
article blockquote, .scripture-quote {
    position: relative;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.75;
    background-color: #FFFDF9;
    border-left: 4px solid var(--color-secondary);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.05);
    color: #4A5568;
}

article blockquote::before, .scripture-quote::before {
    content: "“";
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.15);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

/* Hover Micro-animations */
.card-hover-effect {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover-effect:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(28, 45, 66, 0.08);
}

.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-premium::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}
.btn-premium:hover::after {
    width: 300%;
    height: 300%;
}

/* Glassmorphism Classes for Dashboard and Overlays */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-navbar {
    background: rgba(248, 246, 242, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(28, 45, 66, 0.05);
}

/* Custom CSS formatting for dynamic rich text rendering in single post views */
.rich-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #374151;
}

.rich-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.rich-content h3 {
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.rich-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.rich-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.rich-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.rich-content a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.rich-content img {
    border-radius: 8px;
    margin: 2rem auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    max-width: 100%;
}
