/**
 * Darpon News Child Theme - Custom CSS
 * Add your custom styles here
 */

/* ============================================ */
/* CUSTOM COLOR SCHEME */
/* ============================================ */

/* Primary Color Override */
.bgRed,
.mobileHeader,
.navbar,
.go-to-top,
.tab-btn.active,
.pagination .page-numbers.current,
.widget-title {
    background-color: #114f83 !important;
}

.desktopSectionTitle,
.desktopSectionTitle a,
.section-title a,
a:hover,
.sidebarCatTitle:hover,
.news-content h4 a:hover {
    color: #114f83 !important;
}

.desktopSectionTitle,
.section-title,
.widget-title {
    border-left-color: #114f83 !important;
    border-bottom-color: #114f83 !important;
}

/* ============================================ */
/* CUSTOM TYPOGRAPHY */
/* ============================================ */

body {
    font-family: 'Noto Serif Bengali', 'Kalpurush', 'SolaimanLipi', Arial, sans-serif;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* ============================================ */
/* CUSTOM HEADER STYLES */
/* ============================================ */

.desktopHeaderDiv {
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.headerMenu ul li a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

/* ============================================ */
/* CUSTOM HOMEPAGE STYLES */
/* ============================================ */

.featured-news {
    margin-bottom: 30px;
}

.featured-title {
    font-size: 32px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .featured-title {
        font-size: 24px;
    }
}

/* ============================================ */
/* CUSTOM CARD STYLES */
/* ============================================ */

.news-card,
.category-item {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover,
.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* ============================================ */
/* CUSTOM BUTTON STYLES */
/* ============================================ */

.btn,
.read-more,
.view-all-btn {
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn:hover,
.read-more:hover,
.view-all-btn:hover {
    transform: translateY(-2px);
}

/* ============================================ */
/* CUSTOM FOOTER STYLES */
/* ============================================ */

.np-footer {
    padding: 60px 0 30px;
}

.np-footer h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.np-social a {
    transition: transform 0.3s;
}

.np-social a:hover {
    transform: translateY(-3px);
}

/* ============================================ */
/* CUSTOM SIDEBAR STYLES */
/* ============================================ */

.sidebar-tabs-widget {
    border-radius: 8px;
}

.tab-btn {
    padding: 12px;
    font-weight: 600;
}

/* ============================================ */
/* CUSTOM LOADING SPINNER */
/* ============================================ */

.loading-spinner i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================ */
/* CUSTOM ANIMATIONS */
/* ============================================ */

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================ */
/* PRINT STYLES */
/* ============================================ */

@media print {
    .headerMenu,
    .topSocialIcon,
    .sidebar,
    .footer,
    .go-to-top {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ============================================ */
/* ACCESSIBILITY */
/* ============================================ */

:focus {
    outline: 2px solid #114f83;
    outline-offset: 2px;
}

.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
}

.skip-to-content:focus {
    left: 50%;
    transform: translateX(-50%);
    background: #114f83;
    color: white;
    padding: 10px;
}