@media (max-width: 600px) {
    nav ul {
        display: flex;
        flex-direction: column;
    }
    
    nav ul li {
        float: none;
    }
}
/*<<<<<<<<<---END OF MOBILE--------->>>>>>>>>*/

body {
    font-family: 'Quicksand', sans-serif;
    margin:0;
    padding: 0;
}


body {

}

a, a:hover {
}

textarea, input, select, button {
    
}

::selection {
    
}



header {
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 999;
    width: 100%;
}
 

.yalanci-header {
    height: 80px;
}

nav {

}

nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content: right;
    margin-right: 70px !important;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}



nav ul li {
    float: left;
}

nav ul li a {
    color: white;
    padding: 20px;
    text-decoration: none;
    display: block;
    font-size: .8em;
}


.logo a {
    
}

.logo img {
    width: 150px;
    height: auto;
}


/*ABOUT HOME*/
.abhome {
    width: 900px;
    margin: 0 auto;
}

.abhome h2 {
    width: 200px;
    margin-bottom: 50px;
}

.abhome-text {
    display: flex;
}

.text-1, .text-2 {
    width: 44%;
    margin-right: 50px;
    color: #888;
    line-height: 27px;
}

.abhome a {
    display: block;
    color: #888;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid #888;
    width: 250px;
    text-align: center;
    padding: 15px;
    margin-top: 25px;
}

.home-about {
    background-image: url("/demo/images/SYSTEM/logo-bg-5.png");
    background-repeat: repeat-x;
    background-position: center;
    margin-top: 120px;
    margin-bottom: 120px;
}


h2 {display: none;}


/*ZIBLOG*/

.com-content-category-blog__items.blog-items.columns-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}


.com-content-category-blog__item.blog-item {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 20px;
    overflow: hidden;
}



.ziblog-title {
    
    
}

figure {
    margin: 0 !important;
}

.page-header h2 a {
    text-align: center !important;
    color: #555;
    text-decoration: none;
    font-size: 0.8em;
}




.com-content-category-blog__item.blog-item:hover .item-image img {
    transform: scale(1.2);
}



.moduletable h3 {
    text-align: center;
}


.logo img {
    width: 94px;
    height: auto;
    padding: 10px;
    margin: 0 !important;
}

p {margin: 0; padding: 0;}


.item-image img {
    width: 100% !important;
    margin: 0 auto 20px auto;
}




.ziblog-image {
    width: 100%;

    overflow: hidden;
}

.ziblog-image .item-image img {
    transition: transform 0.5s ease; /* Smooth transition for scaling */
    object-fit: cover !important;
    width: 100% !important;
    height: auto !important;
}


.emekdash {
    margin: 50px auto;
    width: 90%;
}


main {
    margin-bottom: 50px;
}


.partnyor .ziko-flashnews-hor-li {
    width: 10%;
}

.partnyor .ziko-flashnews-title h3 a {

    font-size: 0.6em;
}



/*ZIKO FLASH MODULE*/

/* Wrapper üçün əsas tərz */
.ziko-flashnews-hor-wrapper {
    display: flex; /* Flexbox istifadə edilir */
    flex-wrap: wrap; /* Sıra dolduqda avtomatik növbəti sıraya keçir */
    gap: 20px; /* Məqalələr arasında məsafə */
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

/* Hər bir məqalənin dizaynı */
.ziko-flashnews-hor-li {
    width: calc(25% - 20px); /* Bir sırada 4 article yerləşir */
    position: relative;
    overflow: hidden; /* Şəkil böyüdükdə kənara çıxmasın */
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

/* Hover tərzləri */
.ziko-flashnews-hor-li:hover {

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}





/* Şəkil tərzi */
.ziko-flashnews-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease; /* Smooth keçid */
}


.ziko-flashnews-image {
    overflow: hidden;
}

/* Hover zamanı şəkil böyüməsi */
.ziko-flashnews-hor-li:hover .ziko-flashnews-image img {
    transform: scale(1.1); /* 10% böyümə */
}


/* Başlıq tərzləri */
.ziko-flashnews-title h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
    text-align: center;
    padding: 20px;
}

.ziko-flashnews-title h3 a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
    padding: 15px;
    display: block;
}


.ziko-flashnews-title h3 a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.ziko-flashnews-introtext {
    width: 94%;
    margin: -6px auto 20px auto;
    color: #999;
}


/* Responsiv tərzlər */
@media (max-width: 1024px) {
    .ziko-flashnews-hor-li {
        flex: 1 1 calc(33.333% - 15px); /* Tablet: 3 sütun */
    }
}

@media (max-width: 768px) {
    .ziko-flashnews-hor-li {
        flex: 1 1 calc(50% - 15px); /* Kiçik ekran: 2 sütun */
    }
}

@media (max-width: 480px) {
    .ziko-flashnews-hor-li {
        flex: 1 1 100%; /* Mobil: 1 sütun */
    }
}

/*ZİKO CANVAS MODULU*/
/* Modul Wrapper */
.ziko-flashnews-canvas-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Hər sətirdə 3 element */
    grid-template-rows: repeat(2, 1fr); /* 2 sətir */
    gap: 0; /* Arada məsafə yoxdur */
    width: 100%;
}

/* Hər bir məqalə üçün stil */
.ziko-flashnews-canvas-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    /*aspect-ratio: 1; /* Kvadrat şəkil üçün */
}

/* Şəkil tərzləri */
.ziko-flashnews-canvas-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Şəklin rəngini tündləşdir */
    transition: transform 0.3s ease, filter 0.3s ease; /* Smooth effektlər */
}

/* Hover zamanı şəkil */
.ziko-flashnews-canvas-item:hover img {
    filter: brightness(1); /* Rəngi aç */
    transform: scale(1.1); /* Smooth böyütmə */
}

/* Məqalə başlığı */
.ziko-flashnews-canvas-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    z-index: 2;
}

/* Link tərzi */
.ziko-flashnews-canvas-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}


/*KANVAS MODULUN SONU*/



/* .abhome class ilə Button əsas stili */

.btn {
    
    font-size: 13px;
    background: transparent;
    color: #999;
    border: 1px solid #DAA520;
    font-size: 14px;
    border-radius: 4px;
    width: 240px;
    height: 60px;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.4s all ease-in-out 0s;
    position: relative;
    z-index: 1;
    
}

.btn:hover {
color: #fff;
}

.btn::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #DAA520;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms ease-in-out;
    color: #fff;
    
}

.btn:hover::before {
    transform: scaleX(1);
    color: #fff;
}






.card-header {
    text-align: center;
    padding: 20px;
    text-transform: uppercase;
    margin-top: 100px;
    border-bottom: 1px solid red;
    width: 40%;
    margin-right: auto;
    margin-left: auto;
}




/*H1, H2, H3, H4 ANİMASİYA*/

/*H2, H3, H4 ANIMASIYA*/
/* Base styles for headings */
h1, h2, h3, h4 {
    display: block;
    overflow: hidden;
}

/* Style for each letter span */
.animate-letter {
    display: inline-block;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

/* Hover animation for letters */
h1:hover .animate-letter,
h2:hover .animate-letter,
h3:hover .animate-letter,
h4:hover .animate-letter {
    transform: translateY(-10px);
    transition-delay: calc(0.03s * var(--letter-index));
    
}

/* Return animation */
h1 .animate-letter,
h2 .animate-letter,
h3 .animate-letter,
h4 .animate-letter {
    transform: translateY(0);
    transition-delay: calc(0.02s * var(--letter-index));
}




/* Initial state for scroll animation */
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
}

/* Animation for scroll reveal */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Class applied when element comes into view */
.scroll-animate.visible {
    animation: slideUp 0.6s forwards;
}

/* Animate each letter on scroll */
.scroll-animate.visible .animate-letter {
    opacity: 0;
    animation: letterSlideUp 0.5s forwards;
    animation-delay: calc(0.04s * var(--letter-index));
}

@keyframes letterSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Optional: Add different colors for better visualization */
h1 .animate-letter { color: #999; }
h2 .animate-letter { color: #999; }
h3 .animate-letter { color: #999; }
h4 .animate-letter { color: #999; }

/* Optional: Add transition for color change on hover */
.animate-letter {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                            color 0.3s ease;
}

/* Optional: Change color on hover */
h1:hover .animate-letter { color: #222; }
h2:hover .animate-letter { color: #222; }
h3:hover .animate-letter { color: #222; }
h4:hover .animate-letter { color: #222; }


/*SOSİAL  SEBEKELER FOOTERDE*/

.social-container {
    display: flex;
    gap: 20px;
}

.social-container {
    display: flex;
    gap: 20px;
    background: #555;
    justify-content: center;
    padding-top: 50px;
}


.social-link {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 30px;
    border-radius: 50%;
    transition: transform 0.3s, background 0.3s;
}

.social-link.instagram:hover {
    background: radial-gradient(circle, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    transform: scale(1.2);
}

.social-link.youtube:hover {
    background: radial-gradient(circle, #ff0000, #cc0000, #990000);
    transform: scale(1.2);
}

.social-link.tiktok:hover {
    background: radial-gradient(circle, #69c9d0, #ee1d52, #fffc00);
    transform: scale(1.2);
}

.social-link.whatsapp:hover {
    background: radial-gradient(circle, #25d366, #128c7e);
    transform: scale(1.2);
}

/*FOOTER COPYRIGHT*/

.copyfoot {
    background: #111;
    color: #eee;
    padding: 20px;
    font-size: 10px;
    text-align: center;
}

/*CONTENT*/
.com-content-article {
    width: 80%;
    margin: 0 auto;
}

/*PRELOADER*/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff; /* Arxa fon rəngi */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.letter {
    
    font-family: "Lexend", sans-serif;
    font-weight: 600;
    position: absolute; /* Bütün hərflər eyni mövqedə */
    font-size: 100px;
    opacity: 0;
    animation: fadeInOut 0.5s ease-in-out forwards;
    
}

.letter:nth-child(1) {
    animation-delay: 0s;
}
.letter:nth-child(2) {
    animation-delay: 0.5s;
}
.letter:nth-child(3) {
    animation-delay: 1s;
}
.letter:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}


/*FOOTER*/
.zi-footer-wrapper {
    background: #000;
    color: #fff;
    padding: 25px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.footer-1 a {
    color: #fff;
    text-decoration: none;
    padding: 5px;
    display: block;
    font-size: 14px;
}


.footer-2 img {
    width: 138px;
    height: auto;
    border: 2px solid #fff;
    border-radius: 80px;
}

/*ARCITLE ITEM IMAGE*/

.com-content-article .item-image img {
    height: auto;
}


/*ZITAG TAG*/
.zitag {display: flex; flex-direction: row; justify-content: center;}



.zitag li, .zitag li a, .zitag .active {
    list-style: none;
    display: block;
    padding: 0px 15px;
    text-decoration: none;
    background: #555;
    margin: 15px;
    border-radius: 7px;
    color: #fff;
}

.zitag .active {padding-top: 15px !important;}