/*
Theme Name: Ucuntu Tez WP
Theme URI: https://tez3.com
Author: Kodenta
Author URI: https://kodenta.com
Description: Custom WordPress theme based on 3unzutez HTML draft.
Version: 1.0.0
Text Domain: ucuntu-tez
*/

/* Custom CSS from HTML template */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 174, 255, 0.2);
}

.gradient-text {
    background: linear-gradient(135deg, rgb(0, 174, 255), rgb(220, 38, 38));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.overlay-gradient {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.news-card-overlay {
    position: relative;
    overflow: hidden;
}

.news-card-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    transition: all 0.3s ease;
}

.news-card-overlay:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
}

.news-card-overlay img {
    transition: transform 0.5s ease;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Baloo 2', cursive;
    letter-spacing: 0.02em;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.animate-marquee {
    animation: marquee 20s linear infinite;
}

/* Swiper Customizations */
.swiper-button-next,
.swiper-button-prev {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.swiper-pagination-bullet-active {
    background-color: #fff !important;
}
