/* header-style.css */

/* STRUKTURA KRYESORE E HEADER-IT */
.headerh {
    background: linear-gradient(135deg, #1e3799 0%, #0a1a5c 100%);
    min-height: 220px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px; 
    position: relative;
    color: white;
    font-family: 'Montserrat', sans-serif;
    /* overflow: hidden;  E heqim nese duam qe elementet te mos priten ne menyre te vrazhde */
}

/* DHËMBËZORËT (SVG-ja e re si sfond) */
.headerh::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0; /* Ngjitur lart saktësisht */
    width: 450px; 
    height: 100%; 
    
    /* Pozicionimi 'top right' siguron qe vizatimi fillon nga skaji i larte */
    background: url('../image/dhembezori.svg') no-repeat top right;
    
    background-size: contain; 
    opacity: 0.8; 
    z-index: 1;
    pointer-events: none;
}

/* LOGOJA (E zmadhuar) */
.llogo {
    z-index: 2;
    flex: 0 0 auto; 
}

.llogo img {
    height: 170px; 
    width: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3)); 
    transition: transform 0.3s ease;
}

/* TEKSTI NË QENDËR */
.tekst_centrale {
    flex: 1; 
    text-align: center;
    z-index: 2;
    padding: 0 40px; 
}

.tekst_titull {
    display: block;
    font-size: 18px; 
    font-weight: 300;
    margin-bottom: 5px;
    letter-spacing: 1.2px;
    opacity: 0.9;
}

.tekst_titull_H1 {
    font-size: 28px; 
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

/* BANNERI DJATHTAS (Nese perdoret ende si imazh) */
.banner_djathtas {
    z-index: 2;
    margin-right: 20px;
}

.banner_djathtas img {
    height: 150px;
    width: auto;
    border-radius: 5px;
}

/* IKONAT E GJUHËVE */
.language_ico {
    display: flex;
    flex-direction: row; 
    gap: 20px; 
    z-index: 5;
    align-items: center;
    flex: 0 0 auto;
}

.language_ico a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.language_ico a img {
    width: 32px; 
    height: auto;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    border-radius: 2px;
}

.language_ico a:hover {
    transform: translateY(-3px);
    color: #ffd700; 
}

/* --- VERSIONI RESPONSIVE (NDRYSHIMET E FUNDIT) --- */

@media screen and (max-width: 1200px) {
    .headerh { padding: 0 40px; }
    .llogo img { height: 140px; }
    .tekst_titull_H1 { font-size: 24px; }
    .headerh::after { width: 350px; }
}

@media screen and (max-width: 768px) {
    .headerh {
        flex-direction: column; 
        min-height: 140px !important; /* Lartësia e zvogëluar për telefon */
        height: auto;
        padding: 20px 10px;
        gap: 15px;
        justify-content: center;
    }

    .llogo img {
        height: 100px !important; /* Logo më e vogël në mobile */
    }

    .tekst_centrale {
        padding: 0;
    }

    .tekst_titull {
        font-size: 14px;
    }

    .tekst_titull_H1 {
        font-size: 18px !important;
    }

    .banner_djathtas {
        display: none; /* Fshihet për të kursyer hapësirë në telefon */
    }

    .headerh::after {
        width: 180px; /* Dhëmbëzorë më të vegjël si dekor në sfond */
        opacity: 0.4; /* Më transparent që të mos pengojë leximin */
    }

    .language_ico {
        gap: 10px;
    }

    .language_ico a img {
        width: 24px;
    }
}