/* ====================================
   DİYANET HABER - MODERN CSS
   ==================================== */

/* ====================================
   ROOT VARIABLES - ENHANCED
   ==================================== */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --dark-color: #1a1a1a;
    --light-bg: #f8f9fa;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.16);
}

/* ====================================
   GLOBAL STYLES
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background-color: #f4f6f9;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--danger-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* ====================================
   TOP BAR
   ==================================== */
.top-bar {
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: var(--transition);
}

.top-bar .social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ====================================
   HEADER & NAVIGATION
   ==================================== */
.main-header {
    z-index: 999;
}

.main-header .logo h1 {
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -1px;
}

.search-form .form-control {
    border-radius: 25px 0 0 25px;
    border: 2px solid var(--primary-color);
    padding: 0.6rem 1.2rem;
    min-width: 300px;
}

.search-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 0.6rem 1.5rem;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: white;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* ====================================
   SPOT NEWS AREA (TOP 3)
   ==================================== */
.spot-news-area {
    margin-bottom: 20px;
}

.spot-news-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.spot-news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
    pointer-events: none;
}

.spot-news-card:hover::before {
    opacity: 1;
}

.spot-news-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.spot-news-card a {
    text-decoration: none;
}

.spot-news-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.spot-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.spot-news-card:hover .spot-news-image img {
    transform: scale(1.15) rotate(1deg);
    filter: brightness(0.95);
}

.spot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 70%, transparent 100%);
    padding: 25px 15px 15px;
    z-index: 2;
}

.spot-overlay h5 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.spot-news-card:hover .spot-overlay h5 {
    color: #ffc107;
    transform: translateY(-3px);
}

/* ====================================
   HERO SLIDER - MANŞET
   ==================================== */
.hero-section {
    margin: 20px 0;
}

.heroSwiper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-slide-manset {
    position: relative;
}

.hero-image-manset {
    height: 450px;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
}

.hero-overlay-manset {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 80px 0 40px;
}

.hero-content-manset {
    position: relative;
    z-index: 2;
}

.hero-title-manset {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-title-manset a {
    color: white;
}

.hero-title-manset a:hover {
    color: #ffc107;
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(13, 110, 253, 0.9);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    transition: var(--transition);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 22px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--danger-color);
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.6;
    width: 12px;
    height: 12px;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--danger-color);
    width: 35px;
    border-radius: 6px;
}

/* Hero Numbered Pagination */
.hero-numbered-pagination {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 15px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.hero-page-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.hero-page-number:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-page-number.active {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.5);
    transform: scale(1.15);
}

/* ====================================
   BOX NEWS SECTION (NUMBERED CARDS)
   ==================================== */
.box-news-section {
    margin: 30px 0;
}

.box-news-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.box-news-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.box-news-card:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translate(-50%, -50%) scale(0); }
    100% { transform: translate(0, 0) scale(1); }
}

.box-news-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.box-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
    min-width: 80px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.box-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.box-date {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
}

.box-content h6 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.box-content h6 a {
    color: white;
    text-decoration: none;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.box-content h6 a:hover {
    color: #ffc107;
    text-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
}

/* ====================================
   HERO SLIDER
   ==================================== */
.hero-section {
    margin-bottom: 2rem;
}

.heroSwiper {
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    position: relative;
}

.hero-slide {
    position: relative;
}

.hero-image {
    position: relative;
    overflow: hidden;
    height: 480px;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 60px 0 30px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-title a {
    color: white;
}

.hero-title a:hover {
    color: #0d6efd;
}

/* Hero Pagination Numbers */
.hero-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 5px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    border-radius: 20px;
}

.hero-page-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #333;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.hero-page-number:hover {
    background: #0d6efd;
    color: white;
}

.hero-page-number.active {
    background: #1a1a1a;
    color: white;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: white;
    width: 10px;
}

/* Numbered News Section */
.numbered-news-section {
    margin: 30px 0;
}

.numbered-news-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 15px;
    transition: var(--transition);
    height: 100%;
}

.numbered-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0d6efd;
    line-height: 1;
    min-width: 60px;
}

.numbered-content h6 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 10px;
}

.numbered-content h6 a {
    color: #1a1a1a;
    text-decoration: none;
}

.numbered-content h6 a:hover {
    color: #0d6efd;
}

.numbered-content .badge {
    font-size: 0.7rem;
    padding: 4px 8px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* ====================================
   CATEGORY TABS - MODERN
   ==================================== */
.category-tabs-modern {
    margin: 30px 0 25px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.category-nav-pills {
    border: none;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-nav-pills .nav-link {
    color: #555;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: none;
    border-radius: 25px;
    font-weight: 700;
    padding: 12px 28px;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.category-nav-pills .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: var(--transition);
}

.category-nav-pills .nav-link:hover::before {
    left: 100%;
}

.category-nav-pills .nav-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.category-nav-pills .nav-link.active {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

/* ====================================
   CATEGORY NEWS CARDS
   ==================================== */
.category-news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.category-news-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: var(--transition);
    pointer-events: none;
}

.category-news-card:hover::after {
    border-color: var(--primary-color);
}

.category-news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.category-news-image {
    height: 240px;
    overflow: hidden;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.category-news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.category-news-card:hover .category-news-image::before {
    opacity: 1;
}

.category-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.category-news-card:hover .category-news-image img {
    transform: scale(1.18) rotate(2deg);
}

.category-news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta-small {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #999;
}

.news-meta-small span {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.news-meta-small span:hover {
    color: var(--primary-color);
}

.category-news-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 12px;
    flex-grow: 1;
}

.category-news-content h5 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: var(--transition);
    background: linear-gradient(to right, var(--primary-color) 0%, var(--primary-color) 100%);
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
}

.category-news-content h5 a:hover {
    color: var(--primary-color);
    background-size: 100% 2px;
}

.news-excerpt-small {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 0;
}

/* ====================================
   NEWS CARDS
   ==================================== */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--danger-color));
    border-radius: 2px;
}

.news-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.news-card .news-image {
    position: relative;
    overflow: hidden;
    height: 240px;
    border-radius: 12px 12px 0 0;
}

.news-card .news-image img {
    transition: var(--transition);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

.news-card .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.8rem;
    font-weight: 600;
}

.news-card .news-content {
    background: white;
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card .news-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    transition: var(--transition);
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .news-title a {
    color: var(--dark-color);
}

.news-card .news-title a:hover {
    color: var(--primary-color);
}

.news-card .news-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.news-card .news-meta {
    font-size: 0.85rem;
    color: #999;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 0.8rem;
    margin-top: auto;
}

/* ====================================
   NEWS DETAIL PAGE
   ==================================== */
.breadcrumb {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.news-detail-article {
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.article-title {
    color: var(--dark-color);
    line-height: 1.3;
    font-weight: 800;
}

.article-meta .meta-item {
    font-size: 0.95rem;
}

.social-share .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: var(--transition);
}

.social-share .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #333;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content img {
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.article-image figcaption {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.author-info {
    border-left: 4px solid var(--primary-color);
}

/* ====================================
   SIDEBAR
   ==================================== */
.card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.card-header {
    border: none;
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.list-group-item {
    border-left: none;
    border-right: none;
    transition: var(--transition);
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background-color: var(--light-bg);
    padding-left: 1.5rem;
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-top: 3px solid var(--primary-color);
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer .social-links .btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer .social-links .btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* ====================================
   BACK TO TOP BUTTON
   ==================================== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    padding: 0;
}

#backToTop.show {
    display: flex;
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* ====================================
   PAGINATION
   ==================================== */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 3px;
    color: var(--primary-color);
    font-weight: 600;
    border: 2px solid var(--light-bg);
    transition: var(--transition);
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 992px) {
    .search-form .form-control {
        min-width: 200px;
    }
    
    .spot-news-image {
        height: 180px;
    }
    
    .hero-image-manset {
        height: 400px !important;
    }
    
    .hero-title-manset {
        font-size: 2rem;
    }
    
    .box-number {
        font-size: 3rem;
        min-width: 60px;
    }
    
    .box-content h6 {
        font-size: 1rem;
    }
    
    .category-nav-pills .nav-link {
        font-size: 0.85rem;
        padding: 10px 20px;
    }
    
    .category-news-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 0.75rem;
    }
    
    .search-form .form-control {
        min-width: 150px;
    }
    
    .spot-news-image {
        height: 160px;
    }
    
    .spot-overlay h5 {
        font-size: 0.95rem;
    }
    
    .hero-image-manset {
        height: 300px !important;
    }
    
    .hero-title-manset {
        font-size: 1.5rem;
    }
    
    .box-news-card {
        padding: 20px;
    }
    
    .box-number {
        font-size: 2.5rem;
        min-width: 50px;
    }
    
    .box-content h6 {
        font-size: 0.9rem;
    }
    
    .category-nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .category-nav-pills::-webkit-scrollbar {
        display: none;
    }
    
    .category-nav-pills .nav-link {
        white-space: nowrap;
        padding: 10px 18px;
        font-size: 0.8rem;
    }
    
    .category-news-image {
        height: 180px;
    }
    
    .category-news-content h5 {
        font-size: 1rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ====================================
   UTILITIES & ANIMATIONS
   ==================================== */
.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.btn-floating {
    border: none;
    cursor: pointer;
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

/* Slide In Animation */
@keyframes slideIn {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Hover Glow Effect */
.hover-glow:hover {
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.6);
    transform: translateY(-3px);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
    transition: color 0.3s ease;
}

a:hover {
    color: darken(var(--primary-color), 10%);
}

/* Card Hover Efekti */
.hover-card {
    transition: all 0.3s ease;
    border: none;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Featured News Slider */
.featured-news {
    margin-bottom: 3rem;
}

.featured-news .carousel-item {
    height: 400px;
}

.featured-news .carousel-inner {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.featured-news a {
    text-decoration: none;
}

/* News Grid */
.news-grid {
    padding: 2rem 0;
}

.news-grid .card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.news-grid .card-img-top {
    height: 200px;
    object-fit: cover;
}

.news-grid .card-title {
    font-size: 1.1rem;
    line-height: 1.3;
    min-height: 2.6em;
}

/* Article Content */
.article-content {
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 2rem 0;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2,
.article-content h3 {
    margin: 2rem 0 1rem;
    font-weight: 600;
    color: #1f2937;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6c757d;
}

/* Liste Stili */
.list-group-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem;
    transition: all 0.3s ease;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background-color: #f0f6ff;
    padding-left: 1.25rem;
}

.list-group-item.active {
    background-color: var(--primary-color);
}

/* Kategoriler Badge */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Footer */
footer {
    margin-top: auto;
    border-top: 1px solid #dee2e6;
}

footer a {
    color: inherit;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .featured-news .carousel-item {
        height: 250px;
    }

    .news-grid .row {
        gap: 1.5rem !important;
    }

    .article-content {
        font-size: 1rem;
    }

    .navbar-collapse {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 1rem;
        padding-top: 1rem;
    }
}

/* Lazy Load Placeholder */
.lazyload {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Buton Stiller */
.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Başlık Stiller */
h1, h2, h3, h4, h5, h6 {
    color: #1f2937;
    font-weight: 600;
}

/* Separator */
hr {
    opacity: 0.2;
}

/* Alert Stiller */
.alert {
    border: none;
    border-radius: 8px;
    padding: 1.5rem;
}

.alert-danger {
    background-color: #fee;
    color: #842029;
}

.alert-warning {
    background-color: #fff3cd;
    color: #664d03;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

/* Input Stiller */
.form-control,
.form-select {
    border-radius: 6px;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Meta Bilgileri */
.meta-info {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
    flex-wrap: wrap;
}

.meta-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 1rem 0;
}

.breadcrumb-item {
    color: #6c757d;
}

.breadcrumb-item.active {
    color: #495057;
}

/* Pagination */
.pagination {
    gap: 0.5rem;
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 3px;
    color: var(--primary-color);
    font-weight: 600;
    border: 2px solid #e9ecef;
    background-color: white;
    transition: var(--transition);
    padding: 0.5rem 0.9rem;
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Print Stili */
@media print {
    .navbar,
    footer,
    .sidebar {
        display: none;
    }

    .article-content {
        color: #000;
    }
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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

/* Utility Stiller */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
}

.shadow-sm-hover {
    transition: box-shadow 0.3s ease;
}

/* ====================================
   BREAKING NEWS BANNER
   ==================================== */
.breaking-news-banner {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    display: flex;
    align-items: center;
}

.breaking-label {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 15px 25px;
    font-weight: 800;
    font-size: 0.95rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breaking-label i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.breaking-content {
    flex: 1;
    padding: 0 20px;
    color: white;
}

.breaking-content marquee {
    font-size: 0.95rem;
    font-weight: 600;
}

.breaking-item a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.breaking-item a:hover {
    color: #ffc107;
}

/* ====================================
   SIDEBAR WIDGETS
   ==================================== */
.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.sidebar-widget:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Popular News List */
.popular-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-news-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.popular-news-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.popular-number {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.popular-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.popular-news-item:hover .popular-thumb img {
    transform: scale(1.1);
}

.popular-content {
    flex: 1;
}

.popular-content h6 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
}

.popular-content h6 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: var(--transition);
}

.popular-content h6 a:hover {
    color: #0d6efd;
}

.popular-date {
    font-size: 0.75rem;
    color: #999;
}

/* Video Widget */
.video-widget {
    border-radius: 8px;
    overflow: hidden;
}

.video-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.video-placeholder p {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

/* Social Widget */
.social-widget {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-widget-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.social-widget-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-widget-item i {
    font-size: 1.3rem;
}

.social-widget-item.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d6efd 100%);
}

.social-widget-item.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0c8ce5 100%);
}

.social-widget-item.instagram {
    background: linear-gradient(135deg, #e1306c 0%, #c13584 100%);
}

.social-widget-item.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

/* Prayer Times Widget */
.prayer-times-widget {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prayer-time-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: var(--transition);
}

.prayer-time-item:hover {
    background: #e9ecef;
}

.prayer-time-item.active {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.3);
}

.prayer-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.prayer-time {
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
}

/* ====================================
   RESPONSIVE IMPROVEMENTS
   ==================================== */
@media (max-width: 991px) {
    .sidebar-widget {
        margin-top: 30px;
    }
    
    .breaking-news-banner {
        flex-direction: column;
    }
    
    .breaking-label {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title-manset {
        font-size: 1.8rem;
    }
    
    .spot-overlay h5 {
        font-size: 0.95rem;
    }
    
    .box-number {
        font-size: 2.5rem;
        min-width: 60px;
    }
    
    .category-nav-pills .nav-link {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

.shadow-sm-hover:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
