/* ==========================================================================
   1. USTAWIENIA GLOBALNE I RESET
   ========================================================================== */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body { 
    font-family: monospace; 
    background-color: #fff; 
    color: #000; 
    padding: 20px; 
}

/* ==========================================================================
   2. KONTENERY I UKŁAD STRONY
   ========================================================================== */
/* Główny kontener całej strony */
.container { 
    width: 100%; 
    max-width: 500px; 
    margin: 0 auto; 
    border: 2px solid #000; 
    padding: 20px; 
    background: #fff; 
}

/* Menu nawigacyjne na górze pulpitu */
.nav { 
    margin-bottom: 20px; 
    padding-bottom: 10px; 
    border-bottom: 1px dashed #000; 
    font-size: 0.9em; 
}

/* ==========================================================================
   3. ELEMENTY TYPOGRAFICZNE I LINKI
   ========================================================================== */
h2, h3 { 
    margin-bottom: 15px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

a { 
    color: #000; 
    text-decoration: underline; 
}

a:hover { 
    text-decoration: none; 
}

/* ==========================================================================
   4. FORMULARZE I ELEMENTY INTERAKTYWNE
   ========================================================================== */
.form-group { 
    margin-bottom: 15px; 
}

label { 
    display: block; 
    margin-bottom: 5px; 
    font-weight: bold; 
}

/* Wspólne style dla pól wprowadzania danych */
input[type="text"], 
input[type="password"], 
input[type="date"], 
textarea { 
    width: 100%; 
    padding: 8px; 
    border: 1px solid #000; 
    font-family: monospace; 
    background: #fff; 
}

/* Ascetyczne przyciski o wysokim kontraście */
button { 
    padding: 8px 15px; 
    border: 2px solid #000; 
    background: #000; 
    color: #fff; 
    font-family: monospace; 
    cursor: pointer; 
    font-weight: bold; 
    text-transform: uppercase; 
}

button:hover { 
    background: #fff; 
    color: #000; 
}

/* ==========================================================================
   5. GALERIA I MULTIMEDIA
   ========================================================================== */
/* Miniaturki zdjęć w galeriach */
.thumbnail { 
    width: 80px; 
    height: 80px; 
    object-fit: cover; 
    border: 1px solid #000; 
    cursor: pointer; 
}

.thumbnail:hover { 
    border-width: 2px; 
}

/* Pełnoekranowy podgląd zdjęcia (Lightbox) */
#lightbox { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.9); 
    z-index: 1000; 
    justify-content: center; 
    align-items: center; 
}

#lightbox img { 
    max-width: 90%; 
    max-height: 90%; 
    border: 3px solid #fff; 
}