/* Premium Blog Template Styles */

:root {
    --primary-color: #0f172a;
    --secondary-color: #1e293b;
    --accent-color: #f97316;
    --text-color: #334155;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color) !important;
    margin: 0 10px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.6)), url('/assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: var(--white);
}

.btn-premium {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.4);
    color: var(--white);
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: var(--white);
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-category {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-text {
    color: #64748b;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.read-more:hover i {
    margin-left: 10px;
}

/* Sidebar */
.sidebar-widget {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.list-group-item {
    border: none;
    padding: 10px 0;
    color: var(--text-color);
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge-premium {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #94a3b8;
    padding: 60px 0 20px;
}

.footer-title {
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-color);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Scroll to Top Button */
#scrollToTopBtn {
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}