/*ARTICLE BLOG VIEW*/

/* --- Kateqoriya Blog Səhifəsi üçün 3 Sütunlu Adaptiv Grid --- */

/* Məqalələri saxlayan əsas konteyner */
.com-content-category-blog__items.blog-items {
    display: grid !important;
    /* Ekranın eninə görə sütun sayını avtomatik tənzimləyir.
       Hər bir sütunun minimum eni 320px olacaq. */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px; /* Məqalələr arasında boşluq */
}

/* Şablonun məqalələrə tətbiq etdiyi bəzi stilləri ləğv etmək üçün */
.com-content-category-blog__items.blog-items .blog-item {
    width: auto !important;
    max-width: 100% !important;
    flex-basis: auto !important;
}

/*ENDOF ARTICLE BLOG VIEW*/


/*footer copyright*/
.footer-copyright {
    padding: 20px;
    border-top: 1px solid #ddd;
}
/*end of footer copyright*/


/*FOOTER UCUN*/
/* Footer-dəki copyright yazısının modulların altına girməsinin qarşısını almaq üçün (QƏTİ HƏLL) */
#t4-footer .t4-copyright {
    clear: both !important;
    width: 100% !important;
    padding-top: 30px !important; /* Yuxarıdakı modullarla arasında boşluq yaratmaq üçün */
    text-align: center !important; /* Mətni və ikonları səliqəli şəkildə mərkəzləşdirir */
}
/*END. OF FOOTER UCUN*/


/*DOVLET SAYTLARI LINK*/

/* DƏYİŞİKLİK: Keçidləri saxlayan konteyner (CSS Grid istifadə edirik) */
        #adra-state-sites-module .links-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adaptiv sütunlar yaradır */
            gap: 20px; /* Keçidlər arasında boşluq */
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Hər bir keçidin stili */
        #adra-state-sites-module .links-container a {
            text-align: center;
            padding: 15px 20px;
            background-color: #191d33;
            color: #ddd;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            /* Hover effekti üçün səlis keçid */
            transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
        }

        /* Keçidin üzərinə gələndə (hover) tətbiq olunacaq effekt */
        #adra-state-sites-module .links-container a:hover {
            background-color: #0d0e2c; /* Akademiyanın əsas tünd göy rəngi */
            color: #ffffff;
            transform: translateY(-3px); /* Yüngül yuxarı qalxma effekti */
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

/*END OF DOVLET SAYTLARI LINK*/


/*+=============AXTARISH=============+*/

    .col-md-1 {

        display: flex;
        align-items: center;
    }


/* Naviqasiyadakı Axtarış (Lupa) ikonunu düymənin mərkəzinə gətirmək üçün */
.header-right .mod-finder.js-finder-searchform .btn.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* Tərəflərdə olan və mərkəzləməyə mane ola biləcək daxili boşluqları sıfırlayır */
}

/*END OF AXTARIŞ*/


/*ABOUT US BLOKU*/

 #adra-custom-about-block {
            font-family: 'Montserrat', sans-serif;
            color: #333;
            box-sizing: border-box;
        }

        #adra-custom-about-block *, #adra-custom-about-block *::before, #adra-custom-about-block *::after {
            box-sizing: inherit;
        }
        
        #adra-custom-about-block .academy-about-section {
            /* Şablonun stillərini əzmək üçün !important istifadə edirik */
            display: flex !important; 
            align-items: stretch !important;
            gap: 50px !important;
            max-width: 1200px !important;
            margin: 40px auto !important;
            padding: 0 !important;
        }
        
        #adra-custom-about-block .academy-content-block {
            flex: 1 !important;
            min-width: 300px !important;
        }
        
        #adra-custom-about-block .title-container {
            position: relative; 
            z-index: 1;
        }

        #adra-custom-about-block .title-background-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #0d0e2c; /* Tünd göy/qara arxa fon */
            z-index: -1;
        }

        #adra-custom-about-block .title-container h1 {
            color: #fff !important; /* Ağ rəngli mətn */
            font-size: 3rem !important;
            font-weight: 700 !important;
            line-height: 1.2 !important;
            margin: 0 !important;
            padding: 25px !important; /* Arxa fonla mətn arasında boşluq yaradır */
        }
        
        #adra-custom-about-block .academy-text-content {
            padding-top: 25px !important;
        }

        #adra-custom-about-block .academy-text-content p {
            font-size: 1rem !important;
            line-height: 1.6 !important;
            margin-top: 0 !important;
            margin-bottom: 35px !important;
            max-width: 600px !important;
            color: #333 !important;
        }

        #adra-custom-about-block .academy-btn-details {
            display: inline-block !important;
            padding: 12px 30px !important;
            border: 1px solid #ccc !important;
            background-color: #fff !important;
            color: #333 !important;
            text-decoration: none !important;
            font-weight: bold !important;
            border-radius: 50px !important;
            cursor: pointer !important;
            transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
        }

        #adra-custom-about-block .academy-btn-details:hover {
            background-color: #00041c !important;
            color: #fff !important;
            border-color: #00041c !important;
        }

        #adra-custom-about-block .academy-image-block {
            flex: 1 !important;
            min-width: 300px !important;
            min-height: 400px !important;
            background-color: #e0e0e0 !important;
            border-radius: 8px !important;
            overflow: hidden !important;
        }

        #adra-custom-about-block .academy-image-block img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            transition: transform 0.5s ease;
        }
        
        #adra-custom-about-block .academy-image-block:hover img {
            transform: scale(1.1);
        }

        /* Kiçik ekranlar üçün (mobil) düzəliş */
        @media (max-width: 991px) {
            #adra-custom-about-block .academy-about-section {
                flex-direction: column !important; /* Blokları alt-alta düzür */
            }
        }


/*ENDOF ABOUT US BLOKU*/




.navbar-brand.logo-control img.logo-img {
    max-height: 150px;
    width: 200px;
}

.slider-blok {
    padding: 220px 10px;
}


/*<<<<<<<<<<<<<<<FON BLOKU>>>>>>>>>>>>>>>>>*/

.fon-blok {
    padding: 90px 10px;
    color: #fff;
}

.fon-blok h1 {color: #ddd;}
.fon-blok h3 {color: #eee;}


/*<<<<<<<<<<<<<<<END FON BLOKU>>>>>>>>>>>>>>>>>*/


/*HAQQIMIZDA BLOKU*/

/* --- Haqqımızda Modulu Ümumi Stili --- */
.custom-about-us-wrapper {
    display: flex;
    flex-wrap: wrap; /* Kiçik ekranlarda sütunların alt-alta düşməsi üçün */
    align-items: center; /* Sütunları şaquli olaraq mərkəzə gətirir */
    gap: 30px; /* Sütunlar arasında boşluq */
    padding: 20px;
    background-color: #f9f9f9; /* Modulun arxa fon rəngi (istəyə bağlı) */
    border-radius: 8px; /* Modul kənarlarını yumşaldır (istəyə bağlı) */
    overflow: hidden; /* Zoom effektinin modul xaricinə çıxmasının qarşısını alır */
}

/* --- Şəkil Sütunu --- */
.custom-image-column {
    flex: 1 1 300px; /* Responsivlik üçün: böyüyə bilər, kiçilə bilər, baza eni 300px */
    overflow: hidden; /* Zoom effektinin bu sütun xaricinə çıxmaması üçün */
    border-radius: 8px;
}

.custom-image-column img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease; /* Zoom animasiyası üçün yumşaq keçid */
}

.custom-image-column:hover img {
    transform: scale(1.1); /* Şəklin üzərinə gələndə 10% böyüməsi */
}

/* --- Mətn Sütunu --- */
.custom-text-column {
    flex: 1 1 350px; /* Responsivlik üçün: baza eni 350px */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Məzmunu sola hizalayır */
}

.custom-text-column h3 {
    margin-top: 0;
    font-size: 28px; /* Başlıq ölçüsü */
    color: #333;
}

.custom-text-column p {
    font-size: 16px;
    line-height: 1.6; /* Sətirlər arası məsafə */
    color: #555;
}

/* --- "Daha Ətraflı" Düyməsi --- */
.custom-cta-button {
    text-decoration: none;
    background-color: #e74c3c; /* Qırmızı rəng */
    color: #ffffff; /* Mətn rəngi - ağ */
    padding: 20px 30px; /* Daxili boşluq */
    border-radius: 5px; /* Kənarları yumşaltmaq */
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 15px; /* Yuxarıdakı mətndən aralı olması üçün */
    border: 2px solid transparent; /* Hover effekti üçün hazırlıq */
    transition: all 0.3s ease-in-out; /* Bütün animasiyalar üçün yumşaq keçid */
}

/* --- Düymənin Hover Effekti --- */
.custom-cta-button:hover {
    background-color: #000000; /* Qara rəng */
    color: #ffffff;
    transform: translateY(-3px); /* Yüngül yuxarı qalxma animasiyası */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Kölgə effekti */
}

/* --- Responsivlik (Kiçik Ekranlar üçün) --- */
@media (max-width: 768px) {
    .custom-about-us-wrapper {
        flex-direction: column; /* Sütunları alt-alta düzür */
    }
    .custom-text-column {
        align-items: center; /* Mətn hissəsini mərkəzə gətirir */
        text-align: center; /* Mətni mərkəzə hizalayır */
    }
}

/*END OF HAQQİMİZDA BLOKU*/





/* statistika bloku*/

.statblok {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 50px;
}

.stat-item {
    flex: 1 1 200px; /* Flex-grow, flex-shrink, flex-basis: Elementlərin böyüməsinə, kiçilməsinə və minimal genişliyinə icazə verir. */
                     /* 200px burada hər bir elementin minimal genişliyidir. Bu, responsivlik üçün vacibdir. */
    min-width: 180px; /* Elementin minimal genişliyini təmin edir, aşağıda media query ilə də tənzimlənə bilər */
    padding: 100px 50px;
    border-radius: 5px;
    margin-bottom: 15px; /* Sətirlər arasında boşluq (flex-wrap olanda) */
}

.stat-text {
    font-size: 1.5em; /* Başlıq mətninin ölçüsü (böyük) */
    color: #eee;
    font-weight: bold;
    margin-bottom: 5px; /* Rəqəmlə başlığın arasındakı boşluq */
}

.stat-number {
    font-size: 2.5em; /* Rəqəmlərin ölçüsü (daha böyük) */
    color: #fff; /* Nümunəvi rəng */
    font-weight: bolder;
    display: block; /* Rəqəmin öz sətrində olmasını təmin edir */
    margin-bottom: 10px; /* Rəqəmlə başlığın arasındakı boşluq */
}

.stat-item .suffix {
    font-size: 0.6em; /* Plus (+) və faiz (%) işarələrinin ölçüsü (kiçik) */
    vertical-align: super; /* Yuxarıya doğru hizalayır */
    margin-left: 2px; /* Rəqəmdən sonra kiçik boşluq */
    font-weight: bold;
}


/* Responsivlik üçün Media Queries */
@media (max-width: 768px) {
    .stat-item {
        flex: 1 1 45%; /* Orta ölçülü ekranlarda hər sətrə 2 element sığsın */
    }
}

@media (max-width: 480px) {
    .statblok {
        flex-direction: column; /* Kiçik ekranlarda elementləri şaquli düzür */
        align-items: center; /* Şaquli düzüldükdə elementləri ortalayır */
    }
    .stat-item {
        flex: 1 1 90%; /* Kiçik ekranlarda hər sətrə 1 element sığsın */
        max-width: 300px; /* Elementlərin həddindən artıq böyüməməsi üçün */
    }
}

/*end of statistika bloku*/


/*ZIBLOG 3 COLUMN BLOG LAYOUT*/

/* --- Ulduz Dam Örtükləri Məhsul Bloku Stili --- */
/* --- Ulduz Dam Örtükləri Məhsul Bloku Stili (MÖVCUD KODUNUZ) --- */
.product-grid-wrapper {
    background-color: #212529;
    padding: 60px 20px;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.product-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}
.product-card {
    background-color: #343a40;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.product-image-container {
    overflow: hidden;
    cursor: pointer;
}
.product-image-container img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease-in-out;
}
.product-card:hover .product-image-container img {
    transform: scale(1.1);
}
.product-content { padding: 25px; }
.product-content h1 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    color: #ffffff;
}
.product-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #ced4da;
    margin-bottom: 0;
}
@media (max-width: 992px) {
    .product-grid-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .product-grid-wrapper { padding: 40px 15px; }
    .product-grid-container { grid-template-columns: 1fr; gap: 25px; }
    .product-image-container img { height: 220px; }
    .product-content h1 { font-size: 22px; }
    .product-content p { font-size: 15px; }
}

/* --- YENİ LIGHTBOX STİLLƏRİ --- */
#lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0; /* Başlanğıcda görünməz */
    visibility: hidden; /* Başlanğıcda gizli */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#lightbox-overlay.visible {
    opacity: 1; /* Aktiv olduqda görünən */
    visibility: visible;
}
#lightbox-image {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
#lightbox-overlay.visible #lightbox-image {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    line-height: 1;
}
.lightbox-close:hover {
    color: #ccc;
}

/*END OF ZIBLOG 3 COLUMN BLOG LAYOUT*/

/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<ZIBLOG ARTICLE BLOG LAYOUT>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/* ==========================================================================
   ZIBLOG MODULU ÜÇÜN BÜTÖV VƏ YEKUN CSS KODU
   ========================================================================== */

/* 1. Ümumi Konteyner və Grid Sistemi
-------------------------------------------------------------------------- */
/* `--ziblog-columns` adlı CSS dəyişəni yaradırıq. Bu, sütun sayını idarə etməyə imkan verir. */
.ziblog-modul {
    --ziblog-columns: 3; /* Standart olaraq 3 sütun */
    display: grid;
    grid-template-columns: repeat(var(--ziblog-columns), 1fr);
    gap: 30px; /* Bloklar arasında məsafə */
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Şablonun əlavə etdiyi arzuolunmaz boşluğu ləğv etmək üçün */
.ziblog-modul > .ziblog-item {
    padding: 0 !important;
}


/* Joomla Module Class Suffix ilə sütun sayını dəyişmək üçün köməkçi siniflər */
.ziblog-modul.cols-2 { --ziblog-columns: 2; }
.ziblog-modul.cols-4 { --ziblog-columns: 4; }
.ziblog-modul.cols-5 { --ziblog-columns: 5; }


/* 2. Bootstrap Sinifləri ilə Yaranan En Probleminin Həlli
-------------------------------------------------------------------------- */
.ziblog-modul > .ziblog-item {
    width: auto !important; /* Bu, grid sisteminin eni tam idarə etməsinə imkan verir */
}


/* 3. Hər bir Məqalə Bloku (li.ziblog-item)
-------------------------------------------------------------------------- */
.ziblog-item {
    background-color: #343a40;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden; /* Bu, həm radius, həm də zoom üçün vacibdir */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
}


/* 4. Hover Effektləri
-------------------------------------------------------------------------- */
.ziblog-item:hover {
    background-color: #212529; /* Hover zamanı daha tünd fon */
    transform: translateY(-8px); /* Yüngül yuxarı sürüşmə */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); /* Kölgəni gücləndirmə */
}


/* 5. Şəkil və Zoom Effekti
-------------------------------------------------------------------------- */
.ziblog-item .item-image {
    display: block; /* Linkin blok kimi davranmasını təmin edir */
    line-height: 0; /* Şəklin altında yaranan arzuolunmaz boşluğu aradan qaldırır */
}

.ziblog-item .item-image img {
    width: 100%; /* Şəklin enini konteynerə tam yayır */
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

/* Blokun üzərinə gəldikdə şəkildə zoom effekti */
.ziblog-item:hover .item-image img {
    transform: scale(1.05); /* Şəkli 5% böyüdür */
}


/* 6. Məzmun (Başlıq, Mətn, Meta)
-------------------------------------------------------------------------- */
/* YALNIZ məzmun elementlərinə daxili boşluq veririk */
.ziblog-item .item-title,
.ziblog-item .item-meta,
.ziblog-item .item-introtext,
.ziblog-item .item-readmore {
    padding-left: 20px;
    padding-right: 20px;
}

/* Başlıq və "davamını oxu" üçün yuxarı-aşağı boşluqları ayrıca tənzimləyirik */
.ziblog-item .item-title {
    padding-top: 20px;
}

.ziblog-item .item-readmore {
    padding-bottom: 20px;
}

/* Başlıq (Title) stilləri */
.ziblog-item .item-title a {
    color: #ffffff;
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Giriş mətni (Introtext) stilləri */
.ziblog-item .item-introtext {
    color: #ced4da;
    margin: 15px 0;
    flex-grow: 1; /* Blokun hündürlüyünü eyniləşdirməyə kömək edir */
    transition: color 0.3s ease;
}

/* Meta məlumatlar (Tarix, müəllif və s.) */
.ziblog-item .item-meta {
    padding-top: 15px;
    font-size: 0.8rem;
    color: #adb5bd;
}

/* "Davamını oxu" linki */
.ziblog-item .item-readmore a {
    text-decoration: none;
}

/* Hover zamanı mətn rənglərinin dəyişməsi */
.ziblog-item:hover .item-title a {
    color: #1e90ff; /* Məsələn, effektli mavi rəng */
}

.ziblog-item:hover .item-introtext {
    color: #f8f9fa; /* Daha açıq və oxunaqlı rəng */
}


/* 7. Responsivlik (Adaptasiya)
-------------------------------------------------------------------------- */
/* Planşetlər üçün 2 sütun (992px-dən kiçik ekranlar) */
@media (max-width: 992px) {
    .ziblog-modul {
        --ziblog-columns: 2;
    }
}

/* Mobil telefonlar üçün 1 sütun (768px-dən kiçik ekranlar) */
@media (max-width: 768px) {
    .ziblog-modul {
        --ziblog-columns: 1;
    }
}

/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<END OF ZIBLOG ARTICLE BLOG LAYOUT>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/