/* ===================================
   MNK MUJO HRNJICA - MODERN CUSTOM STYLES
   =================================== */

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: var(--secondary-white);
    padding: var(--spacing-xl) 0;
    margin-bottom: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='2'/%3E%3C/svg%3E") repeat;
    opacity: 0.1;
}

.page-header h1 {
    color: var(--secondary-white);
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.page-header .breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item a {
    color: var(--secondary-white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.page-header .breadcrumb-item a:hover {
    opacity: 0.8;
}

.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Section - Modern Design */
.hero-section {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.92) 0%, rgba(59, 130, 246, 0.88) 100%);
    z-index: 1;
}

/* Animated Football Background */
.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.football-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.15;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='white' d='M177.1 228.6L207.9 320h96.5l29.62-91.38L256 172.1L177.1 228.6zM255.1 0C114.6 0 .0001 114.6 .0001 256S114.6 512 256 512s255.1-114.6 255.1-255.1S397.4 0 255.1 0zM416.6 360.9l-85.4-1.297l-25.15 81.59C290.1 445.5 273.4 448 256 448s-34.09-2.523-50.09-6.859L180.8 359.6l-85.4 1.297c-18.12-27.66-29.15-60.27-30.88-95.31L134.3 216.4L106.6 135.6c21.16-26.21 49.09-46.61 81.06-58.84L256 128l68.29-51.22c31.98 12.23 59.9 32.64 81.06 58.84L377.7 216.4l69.78 49.1C445.8 300.6 434.8 333.2 416.6 360.9z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    animation: float-football 20s infinite ease-in-out;
}

.football-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.football-icon:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 22s;
    width: 80px;
    height: 80px;
}

.football-icon:nth-child(3) {
    top: 30%;
    right: 15%;
    animation-delay: 4s;
    animation-duration: 25s;
    width: 50px;
    height: 50px;
}

.football-icon:nth-child(4) {
    bottom: 20%;
    left: 20%;
    animation-delay: 6s;
    animation-duration: 20s;
    width: 70px;
    height: 70px;
}

.football-icon:nth-child(5) {
    top: 75%;
    right: 30%;
    animation-delay: 8s;
    animation-duration: 24s;
}

@keyframes float-football {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
    }
    50% {
        transform: translateY(0) rotate(180deg);
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--secondary-white);
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--secondary-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--secondary-white);
    font-weight: 300;
    opacity: 0.95;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border: none;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.4);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.5);
}

.hero-buttons .btn-outline-light {
    border: 2px solid white;
    background: transparent;
}

.hero-buttons .btn-outline-light:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* News Cards - Modern Glass Effect */
.news-card {
    background: var(--secondary-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.25);
    border-color: var(--primary-blue);
}

.news-image {
    overflow: hidden;
    height: 250px;
    position: relative;
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.news-content h3 a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.news-content h3 a:hover {
    color: var(--primary-blue);
}

.news-meta {
    color: var(--accent-gray);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.news-meta i {
    margin-right: 0.25rem;
}

/* Section Titles - Modern Style */
.section-title {
    position: relative;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #3b82f6);
    border-radius: 2px;
}

.section-title.text-start::after {
    left: 0;
    transform: translateX(0);
}

/* Player Cards - Premium Design */
.player-card {
    background: var(--secondary-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.player-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #3b82f6);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.player-card:hover::before {
    transform: scaleX(1);
}

.player-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.25);
}

.player-image {
    position: relative;
    overflow: hidden;
    height: 320px;
    background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.player-card:hover .player-image img {
    transform: scale(1.08);
}

.player-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
    color: var(--secondary-white);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
}

.player-info {
    padding: 1.5rem;
}

.player-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.player-position {
    color: var(--accent-gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.player-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.player-stats span {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Match Cards - Stadium Inspired */
.match-card {
    background: var(--secondary-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue), #3b82f6);
}

.match-card:hover {
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.15);
    transform: translateX(4px);
}

.match-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.match-team {
    flex: 1;
    text-align: center;
}

.match-team h4 {
    font-weight: 700;
    font-size: 1.1rem;
}

.match-score {
    flex: 0 0 auto;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    padding: 0 2rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 12px;
    min-width: 120px;
}

/* CTA Boxes - Glassmorphism */
.cta-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(249, 250, 251, 0.9));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cta-box i {
    color: var(--primary-blue);
    transition: all 0.4s;
    display: inline-block;
}

.cta-box:hover {
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
    color: var(--secondary-white);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.3);
}

.cta-box:hover h3,
.cta-box:hover p,
.cta-box:hover i {
    color: var(--secondary-white);
}

.cta-box:hover i {
    transform: scale(1.2);
}

/* Video Wrapper - Modern Frame */
.video-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: all 0.4s;
}

.video-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(30, 58, 138, 0.3);
}

/* Top Bar - Sleek Design */
.top-bar {
    font-size: 0.875rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 0.75rem 0;
}

.top-bar a {
    color: var(--secondary-white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

.top-bar .contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.top-bar .contact-info i {
    margin-right: 0.25rem;
}

.top-bar .contact-info a {
    white-space: nowrap;
}

.top-bar .social-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.top-bar .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s;
}

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

/* Mobile - center social links */
@media (max-width: 767px) {
    .top-bar .social-links {
        justify-content: center;
    }
}

/* Navbar - Modern & Clean */
.site-header {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    transition: all 0.3s;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

/* LOGO SIZE - CRITICAL FIX */
.navbar-brand img,
.navbar-brand .logo,
.navbar-brand .custom-logo,
.navbar-brand .custom-logo-link img,
.custom-logo-link img,
img.custom-logo {
    max-height: 60px !important;
    max-width: 60px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: inline-block !important;
}

.navbar-brand .club-name {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-blue);
    margin-left: 1rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.25rem !important;
    transition: all 0.3s;
    position: relative;
    color: #374151 !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), #3b82f6);
    transition: width 0.3s;
    border-radius: 2px;
}

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

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
}

/* Footer - Premium Dark - Simplified */
.site-footer {
    background: #0a0f1e;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    background: #0a0f1e;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Forms - Modern Input Design */
.benefit-card {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 16px;
    height: 100%;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
    transform: translateY(-3px);
}

.contact-form .form-label,
.membership-form .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

.contact-form .form-control,
.membership-form .form-control {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    transition: all 0.3s;
    font-size: 1rem;
}

.contact-form .form-control:focus,
.membership-form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
    outline: none;
}

/* Gallery - Masonry Effect */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: 250px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(59, 130, 246, 0.85));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay h4 {
    color: var(--secondary-white);
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s 0.1s;
}

.gallery-overlay i {
    color: var(--secondary-white);
    font-size: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s 0.2s;
}

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* Buttons - Enhanced Design */
.btn {
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

/* Sections - Spacing */
.section {
    padding: 1rem 0;
}

.bg-light {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%) !important;
}

/* Responsive Design - Mobile First */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section {
        padding: 3.5rem 0;
    }
    
    .navbar-brand .club-name {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-badge {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 1.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        padding: 0.875rem 1.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.875rem;
        margin-bottom: 2rem;
    }
    
    .match-score {
        font-size: 2rem;
        padding: 0 1rem;
        min-width: 80px;
    }
    
    .player-image {
        height: 280px;
    }
    
    /* Top Bar Mobile Fix */
    .top-bar .contact-info {
        font-size: 0.75rem;
        gap: 0.75rem;
    }
    
    .top-bar .social-links {
        margin-top: 0.5rem;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .navbar-brand .club-name {
        display: none;
    }
    
    .match-teams {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .match-score {
        order: -1;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
    }
}

/* Utility Classes */
.shadow-lg {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

.lead {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.7;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.5);
}

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Header Sticky Enhancement */
.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.site-header {
    transition: all 0.3s ease;
}

/* Image Lazy Load Effect */
img[data-src] {
    filter: blur(10px);
    transition: filter 0.3s;
}

img[data-src].loaded {
    filter: blur(0);
}

/* Stat Numbers */
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0.5rem;
}

/* Search Form Focus */
.search-form.focused {
    transform: scale(1.02);
    transition: transform 0.3s;
}

/* Card Hover Glow Effect */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(30, 58, 138, 0.2), 0 0 10px rgba(30, 58, 138, 0.1);
    }
    50% {
        box-shadow: 0 0 20px rgba(30, 58, 138, 0.4), 0 0 30px rgba(30, 58, 138, 0.2);
    }
}

.card-glow:hover {
    animation: glow 2s ease-in-out infinite;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

p {
    font-family: var(--font-body);
}

/* Smooth Page Transitions */
body {
    opacity: 1 !important;
    transition: opacity 0.3s;
}

body.loaded {
    opacity: 1 !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* Selection Color */
::selection {
    background: var(--primary-blue);
    color: white;
}

::-moz-selection {
    background: var(--primary-blue);
    color: white;
}

/* ===================================
   404 PAGE MODERN STYLES
   =================================== */

/* Error Page Wrapper */
.error-404-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    position: relative;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
}

.error-404-wrapper {
    position: relative;
    width: 100%;
    z-index: 1;
}

/* Animated Football Background for 404 */
.error-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.football-bounce {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%233b82f6' d='M177.1 228.6L207.9 320h96.5l29.62-91.38L256 172.1L177.1 228.6zM255.1 0C114.6 0 .0001 114.6 .0001 256S114.6 512 256 512s255.1-114.6 255.1-255.1S397.4 0 255.1 0zM416.6 360.9l-85.4-1.297l-25.15 81.59C290.1 445.5 273.4 448 256 448s-34.09-2.523-50.09-6.859L180.8 359.6l-85.4 1.297c-18.12-27.66-29.15-60.27-30.88-95.31L134.3 216.4L106.6 135.6c21.16-26.21 49.09-46.61 81.06-58.84L256 128l68.29-51.22c31.98 12.23 59.9 32.64 81.06 58.84L377.7 216.4l69.78 49.1C445.8 300.6 434.8 333.2 416.6 360.9z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.08;
    animation: bounce-float 3s ease-in-out infinite;
}

.football-bounce:nth-child(1) {
    top: 10%;
    left: 15%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
    animation-duration: 4s;
}

.football-bounce:nth-child(2) {
    top: 60%;
    right: 10%;
    width: 120px;
    height: 120px;
    animation-delay: 1s;
    animation-duration: 5s;
}

.football-bounce:nth-child(3) {
    bottom: 20%;
    left: 5%;
    width: 100px;
    height: 100px;
    animation-delay: 2s;
    animation-duration: 4.5s;
}

@keyframes bounce-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
    }
}

/* 404 Error Number */
.error-number-wrapper {
    position: relative;
    z-index: 3;
}

.error-number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.number-digit {
    font-size: 180px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-heading);
}

.football-icon-404 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    color: #3b82f6;
    animation: spin-ball 3s linear infinite;
    opacity: 0.3;
}

@keyframes spin-ball {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.animate-bounce-in {
    animation: bounce-in 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animate-bounce-in-delay {
    animation: bounce-in 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s backwards;
}

.animate-bounce-in-delay-2 {
    animation: bounce-in 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.4s backwards;
}

/* Error Page Content */
.error-404 {
    position: relative;
    z-index: 3;
    color: #1e293b;
}

.error-404 .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    text-shadow: 0 2px 4px rgba(30, 58, 138, 0.1);
}

.error-subtitle {
    font-size: 1.25rem;
    color: #1e3a8a;
    font-weight: 500;
}

.error-404 .lead {
    font-size: 1.15rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 500;
}

.error-404 p {
    color: #334155;
    font-weight: 500;
}

.error-404 h3 {
    color: #1e3a8a;
    font-weight: 600;
    font-family: var(--font-heading);
}

/* Modern Search Box */
.search-box-modern {
    max-width: 600px;
    margin: 0 auto;
}

.search-box-modern .search-form {
    position: relative;
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.search-box-modern input[type="search"] {
    flex: 1;
    max-width: 400px;
    padding: 18px 28px;
    border: 2px solid #3b82f6;
    background: white;
    color: #1e293b;
    border-radius: 50px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
    font-weight: 500;
}

.search-box-modern input[type="search"]:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 6px 30px rgba(30, 58, 138, 0.3);
    transform: translateY(-1px);
}

.search-box-modern input[type="search"]::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.search-box-modern button[type="submit"] {
    padding: 18px 40px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-box-modern button[type="submit"]:hover {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.5);
}

.search-box-modern button[type="submit"]:active {
    transform: translateY(0);
}

/* Link Cards */
.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background: white;
    border: 2px solid #bfdbfe;
    border-radius: 16px;
    color: #1e3a8a;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.link-card:hover {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25);
    color: #1e3a8a;
}

.link-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    font-size: 28px;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.link-card:hover .link-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 25px rgba(30, 58, 138, 0.5);
}

.link-card span {
    font-weight: 600;
    font-size: 1rem;
}

/* Recent Post Cards */
.recent-post-card {
    background: white;
    border: 2px solid #bfdbfe;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.recent-post-card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25);
}

.recent-post-card .post-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.recent-post-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recent-post-card:hover .post-thumbnail img {
    transform: scale(1.1);
}

.recent-post-card .post-content {
    padding: 20px;
}

.recent-post-card h5 {
    margin-bottom: 12px;
}

.recent-post-card h5 a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.recent-post-card h5 a:hover {
    color: #3b82f6;
}

.recent-post-card small {
    display: block;
    color: #64748b;
}

.recent-post-card .fa-calendar {
    margin-right: 6px;
    color: #3b82f6;
}

/* Responsive 404 Styles */
@media (max-width: 768px) {
    .number-digit {
        font-size: 120px;
    }
    
    .football-icon-404 {
        font-size: 50px;
    }
    
    .error-404 .page-title {
        font-size: 1.75rem;
    }
    
    .error-subtitle {
        font-size: 1rem;
    }
    
    .football-bounce {
        display: none;
    }
    
    .link-card {
        padding: 16px;
    }
    
    .link-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .search-box-modern .search-form {
        flex-direction: column;
        width: 100%;
    }
    
    .search-box-modern input[type="search"],
    .search-box-modern button[type="submit"] {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .number-digit {
        font-size: 80px;
    }
    
    .football-icon-404 {
        font-size: 35px;
    }
    
    .error-number {
        gap: 10px;
    }
    
    .error-404-page {
        padding: 40px 0;
    }
}

/* ===================================
   VIJESTI PAGES - MODERN DESIGN
   =================================== */

/* Page Header Vijesti */
.page-header-vijesti {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 80px 0 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header-vijesti::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.page-header-vijesti .page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.page-header-vijesti .page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Blog Section */
.blog-section {
    padding: 60px 0;
}

.blog-section .page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    padding-bottom: 16px;
    border-bottom: 3px solid #3b82f6;
    display: inline-block;
    min-width: 200px;
}

/* Blog Posts - Entry Styles */
.entry-header {
    margin-bottom: 20px;
}

.entry-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.entry-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: #3b82f6;
}

.entry-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #475569;
    font-weight: 500;
}

.entry-meta .byline {
    text-transform: capitalize;
}

.entry-meta i {
    color: #3b82f6;
    font-size: 0.9rem;
}

.entry-content {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
}

.entry-footer .btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.entry-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Single Post Section */
.single-post-section {
    padding: 60px 0;
}

.single-post-section .entry-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.single-post-section .entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}

.single-post-section .entry-content p {
    margin-bottom: 1.5rem;
}

.single-post-section .post-thumbnail {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Post Navigation */
.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.nav-link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
}

.nav-link-card:hover {
    border-color: #3b82f6;
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.nav-link-card.prev-post {
    justify-content: flex-start;
}

.nav-link-card.next-post {
    justify-content: flex-end;
}

.nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.nav-link-card:hover .nav-arrow {
    transform: scale(1.1);
}

.nav-link-card.prev-post:hover .nav-arrow {
    transform: translateX(-3px) scale(1.1);
}

.nav-link-card.next-post:hover .nav-arrow {
    transform: translateX(3px) scale(1.1);
}

.nav-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    font-weight: 600;
}

.nav-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.nav-link-card.next-post .nav-content {
    text-align: right;
}

/* Vijesti Filters */
.vijesti-filters {
    position: relative;
}

.filter-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    color: #475569;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border-color: #1e3a8a;
}

/* Vijest Card */
.vijest-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vijest-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
}

.vijest-thumbnail {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.vijest-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vijest-card:hover .vijest-thumbnail img {
    transform: scale(1.1);
}

.vijest-category {
    position: absolute;
    top: 16px;
    left: 16px;
}

.category-badge {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vijest-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vijest-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.vijest-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #64748b;
}

.vijest-meta i {
    color: #3b82f6;
}

.vijest-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.vijest-card.featured-post .vijest-title {
    font-size: 2rem;
}

.vijest-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.vijest-title a:hover {
    color: #3b82f6;
}

.vijest-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.vijest-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.vijest-read-more:hover {
    color: #1e3a8a;
    gap: 12px;
}

/* No Vijesti State */
.no-vijesti i {
    color: #cbd5e1;
}

/* Newsletter CTA */
.newsletter-cta {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.newsletter-box {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15);
}

.newsletter-icon {
    font-size: 3rem;
    color: #3b82f6;
}

.newsletter-box h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 12px;
}

.newsletter-box p {
    color: #64748b;
    font-size: 1.1rem;
}

.newsletter-form-inline .input-group {
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-form-inline .form-control {
    border: none;
    padding: 18px 28px;
    font-size: 1rem;
}

.newsletter-form-inline .form-control:focus {
    box-shadow: none;
    border-color: transparent;
}

.newsletter-form-inline .btn {
    padding: 18px 40px;
    border: none;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    font-weight: 700;
    white-space: nowrap;
}

.newsletter-form-inline .btn:hover {
    background: linear-gradient(135deg, #1e40af, #2563eb);
}

/* Pagination */
.vijesti-pagination {
    margin-top: 60px;
}

.vijesti-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.vijesti-pagination .page-numbers li {
    margin: 0;
}

.vijesti-pagination .page-numbers a,
.vijesti-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 8px 16px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    color: #475569;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.vijesti-pagination .page-numbers a:hover {
    background: #f1f5f9;
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
}

.vijesti-pagination .page-numbers .current {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border-color: #1e3a8a;
}

/* ===================================
   SINGLE VIJEST STYLES
   =================================== */

/* Single Vijest Header */
.vijest-header {
    padding: 60px 0 40px;
    background: linear-gradient(to bottom, #f8fafc 0%, white 100%);
}

.vijest-category-badge {
    display: flex;
    gap: 8px;
}

.badge-category {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vijest-single-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.vijest-meta-single {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.95rem;
}

.meta-item i {
    color: #3b82f6;
}

/* Featured Image */
.vijest-featured-image {
    margin: 40px 0;
}

.featured-img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.featured-img-wrapper img {
    width: 100%;
    height: auto;
}

/* Content */
.vijest-content-wrapper {
    padding: 40px 0;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

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

.entry-content h2,
.entry-content h3 {
    color: #1e3a8a;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.entry-content img {
    border-radius: 12px;
    margin: 2rem 0;
}

/* Tags */
.vijest-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
}

.tags-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #475569;
}

.tags-label i {
    color: #3b82f6;
}

.tag-badge {
    padding: 6px 16px;
    background: #f1f5f9;
    border-radius: 50px;
    color: #475569;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-badge:hover {
    background: #3b82f6;
    color: white;
}

/* Share Buttons */
.vijest-share {
    padding: 30px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 16px;
}

.share-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.email {
    background: #64748b;
}

/* Sidebar */
.vijesti-sidebar {
    position: relative;
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.vijesti-sidebar .sidebar-widget {
    background: white;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.vijesti-sidebar .widget-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid #3b82f6;
}

.sidebar-posts-list {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
}

.sidebar-posts-list::-webkit-scrollbar {
    width: 6px;
}

.sidebar-posts-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.sidebar-posts-list::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 10px;
}

.sidebar-posts-list::-webkit-scrollbar-thumb:hover {
    background: #1e3a8a;
}

.sidebar-widget {
    background: white;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

/* Latest Posts Widget */
.sidebar-post-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

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

.sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-post-thumb:hover img {
    transform: scale(1.1);
}

.sidebar-post-content h5 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.sidebar-post-content h5 a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-post-content h5 a:hover {
    color: #3b82f6;
}

.sidebar-post-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #64748b;
}

.sidebar-post-date i {
    color: #3b82f6;
}

/* Categories Widget */
.categories-widget {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-widget li {
    margin-bottom: 8px;
}

.categories-widget li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: #f8fafc;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s ease;
}

.categories-widget li a:hover {
    background: #3b82f6;
    color: white;
}

.cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Related Posts */
.related-vijesti {
    background: #f8fafc;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    position: relative;
    display: inline-block;
}

.related-post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
}

.related-post-thumb {
    height: 200px;
    overflow: hidden;
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-post-card:hover .related-post-thumb img {
    transform: scale(1.1);
}

.related-post-content {
    padding: 20px;
}

.related-post-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 12px;
}

.related-post-date i {
    color: #3b82f6;
}

.related-post-content h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.related-post-content h4 a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
    color: #3b82f6;
}

.related-post-content p {
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.6;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: #1e3a8a;
    gap: 12px;
}

/* Sponzori Widget */
.sponzori-widget {
    margin-top: 30px;
}

.sponzori-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.sponzor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-height: 100px;
}

.sponzor-item:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.sponzor-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.sponzor-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive Vijesti Styles */
@media (max-width: 992px) {
    .page-header-vijesti .page-title {
        font-size: 2.5rem;
    }
    
    .vijest-single-title {
        font-size: 2rem;
    }
    
    .vijest-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .sidebar-widget.mb-4 {
        margin-bottom: 30px !important;
    }
}

@media (max-width: 768px) {
    .page-header-vijesti {
        padding: 60px 0 40px;
    }
    
    .page-header-vijesti .page-title {
        font-size: 2rem;
    }
    
    .vijest-card.featured-post .vijest-thumbnail {
        height: 250px;
    }
    
    .vijest-single-title {
        font-size: 1.75rem;
    }
    
    .newsletter-box {
        padding: 30px 20px;
    }
    
    .newsletter-form-inline .input-group {
        flex-direction: column;
    }
    
    .newsletter-form-inline .btn {
        width: 100%;
        border-radius: 50px !important;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
    
    .sponzori-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SIDEBAR WIDGETS GLOBAL STYLES
======================================== */

/* Sidebar General Styling */
.widget-area.sidebar .widget {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.widget-area.sidebar .widget:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.widget-area.sidebar .widget-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #3b82f6;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Widget News Sidebar Styling */
.widget-news-sidebar .sidebar-posts-list {
    max-height: 500px;
    overflow-y: auto;
}

.widget-news-sidebar .sidebar-posts-list::-webkit-scrollbar {
    width: 5px;
}

.widget-news-sidebar .sidebar-posts-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.widget-news-sidebar .sidebar-posts-list::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 10px;
}

.widget-news-sidebar .sidebar-posts-list::-webkit-scrollbar-thumb:hover {
    background: #1e3a8a;
}

/* Sidebar Post Item (koristi postojeće stilove iz vijesti sekcije) */
.widget-news-sidebar .sidebar-post-item {
    /* Koristi stilove definirane ranije u custom.css */
}

/* Widget Sponzori Sidebar */
.widget-sponzori .sponzori-grid {
    /* Koristi stilove definirane ranije */
}

/* Responsive Sidebar */
@media (max-width: 992px) {
    .widget-area.sidebar {
        margin-top: 40px;
    }
}

/* Home Page - Standings Section */
.standings-section {
    padding: 60px 0;
}

.standings-section .section-title {
    margin-bottom: 40px;
}

/* Home Page - Sponsors Slider Section */
.sponsors-section {
    padding: 60px 0;
    overflow: hidden;
}

.sponsors-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.sponsors-track {
    display: flex;
    gap: 60px;
    animation: scroll-sponsors 30s linear infinite;
}

.sponsors-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-sponsors {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.sponsor-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-width: 200px;
    height: 120px;
}

.sponsor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.sponsor-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.sponsor-logo {
    max-width: 160px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.sponsor-item:hover .sponsor-logo {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .sponsors-track {
        gap: 30px;
    }
    
    .sponsor-item {
        min-width: 150px;
        height: 100px;
    }
    
    .sponsor-logo {
        max-width: 120px;
        max-height: 60px;
    }
}

