/* style.css - Custom Styles for blog.spnigam.in */
 
/* Font Import - Outfit (Headings) and Lora (Body) */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400&family=Outfit:wght@400;500;700;800&display=swap');

:root {
    --primary-color: #0d6efd;
    --text-dark: #212529;
    --text-muted: #6c757d;
}

body {
    font-family: 'Lora', serif;
    line-height: 1.8;
    background-color: #fcfcfc;
    color: var(--text-dark);
}

/* Heading Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

h1.display-4 { font-size: 2.5rem; }
h2.display-5 { font-size: 1.85rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

/* BRAND LOGO - Fixed Size & Weight */
.blog-header-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem !important; 
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    color: #1a1a1a;
    transition: all 0.3s ease;
    display: inline-block;
}

.blog-header-logo:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Navigation Links */
.nav-underline .nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.nav-underline .nav-link:hover, 
.nav-underline .nav-link.active {
    color: var(--primary-color) !important;
}

/* Blog Content */
.blog-post-meta {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.blog-post img {
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

/* Sidebar & Cards */
.h-100.p-4.bg-white {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.h-100.p-4.bg-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Footer Styling */
footer h5, footer h6 {
    letter-spacing: 0.1em;
    color: white;
}

.social-icon {
    font-size: 1.2rem;
    margin-right: 15px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: white;
}
 
svg {
    border: 1px solid #eee;
    border-radius: 2px;
}

blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: #444;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: #555;
}


/* Scroll to Top Button */
#btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none; /* Hidden by default */
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

#btn-back-to-top:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}