/* style.css */

/* Stili i gjithë ekranit */
body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background-color: #333; /* Sfond gri i errët për të theksuar kartën */
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Koka e aplikacionit */
header {
    background-color: #A0522D; /* Ngjyrë kafe-okër e rregullt */
    color: white;
    padding: 15px 10px;
    border-bottom: 2px solid #8B4513;
}

h1 {
    margin: 0;
    font-size: 24px;
}

/* Rrjeta kryesore e alfabetit (si më parë) */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.shkronja-buton {
    background-color: #2F4F4F; /* E gjelbër e errët */
    color: white;
    font-size: 28px;
    font-weight: bold;
    padding: 15px;
    border: 2px solid #228B22;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s;
}

.shkronja-buton:active {
    transform: translateY(3px);
}

/* Klasa për ta mbajtur dritaren fshehur */
.dritare-e-fshehur {
    display: none !important;
}

/* Sfondi i zi transparent rreth dritares (modal) */
#popup-figura {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* --- KARTË EDUKATIVE STANDARDE --- */
.popup-permbajtja {
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    width: 85%;
    max-width: 320px; /* Madhësi fikse standarde */
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Butoni X */
#mbyll-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #444;
    cursor: pointer;
}

/* Shkronja lart */
#shkronja-titull {
    font-size: 32px;
    color: #222;
    margin: 10px 0 15px 0;
}

/* --- KORRIGJIM PËR IMAZHIN --- */
#imazhi-shfaqur {
    width: 100%; /* Merr gjithë gjerësinë e kartës */
    max-height: 200px; /* Kufizon lartësinë për të standardizuar */
    object-fit: contain; /* Siguron përmasa korrekte, pa shtrembërim */
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Fjala poshtë */
#fjala-shfaqur {
    font-size: 24px;
    color: #222;
    font-weight: bold;
    margin: 0;
}
/* --- SHTESA PËR LOGON DHE TEKSTIN E AUTORIT --- */

/* Dizajni i Logos */
#logo-kryesore {
    width: 70px; /* Madhësia e logos */
    height: 70px;
    border-radius: 50%; /* E bën foton në formë rrethi */
    object-fit: cover; /* Siguron që mos të shtrembërohet */
    border: 3px solid white; /* Një kornizë e bardhë rreth saj */
    margin-bottom: 10px; /* Hapësirë poshtë logos */
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

/* Dizajni i tekstit në fund (Footer) */
footer {
    margin-top: 30px;
    padding-bottom: 20px;
    color: #aaaaaa; /* Ngjyrë gri e hapur, jo shumë e theksuar */
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
}
/* --- DIZAJNI PËR POPUP-IN E FACEBOOK --- */
#btn-facebook {
    display: inline-block;
    background-color: #1877F2;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 18px;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

#vazhdo-app {
    background-color: transparent;
    color: #555;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    text-decoration: underline;
}
/* --- Sfondi i zi dhe qendërzimi për popup-in e Facebook-ut --- */
#popup-facebook {
    display: flex; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Sfond i errët për të fshehur sfondin */
    justify-content: center;
    align-items: center;
    z-index: 2000; /* E mban dritaren mbi çdo gjë tjetër */
}