/* ZÁKLADNÉ NASTAVENIE */
body {
    background-color: #000;
    color: #00FF41; /* Klasická matrix zelená */
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* HLAVIČKA A TEXTY */
h1 {
    font-size: 2.5rem;
    border-left: 8px solid #00FF41;
    padding-left: 15px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

h2 {
    color: #00FF41;
    border-bottom: 1px solid #004411;
    padding-bottom: 5px;
    margin-top: 40px;
}

.subtitle {
    color: #008F11;
    font-weight: bold;
    letter-spacing: 2px;
}

/* ZOZNAM SKÚSENOSTÍ */
.matrix-list {
    list-style: none;
    padding: 0;
}

.matrix-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.matrix-list li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #00FF41;
}

/* GALÉRIA CERTIFIKÁTOV */
.gallery {
    display: grid;
    /* Zabezpečí, že sa karty pekne vyskladajú pod seba podľa šírky displeja */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.cert-card {
    background: #050505;
    border: 1px solid #004411;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cert-card:hover {
    border-color: #00FF41;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
    transform: translateY(-5px);
}

.cert-card img {
    width: 100%;
    height: 180px;
    object-fit: cover; /* Oreže obrázky na rovnakú veľkosť, aby nelietali výšky kariet */
    border-bottom: 1px solid #004411;
    margin-bottom: 10px;
    filter: grayscale(30%); /* Trochu tlmenejšie farby pre matrix efekt */
}

.cert-card:hover img {
    filter: grayscale(0%);
}

.cert-label {
    font-size: 0.85rem;
    color: #00FF41;
    font-weight: bold;
}

/* TLAČIDLO SPÄŤ */
.btn-back {
    display: inline-block;
    margin-top: 50px;
    padding: 10px 20px;
    color: #00FF41;
    border: 1px solid #00FF41;
    text-decoration: none;
    transition: 0.3s;
}

.btn-back:hover {
    background: #00FF41;
    color: #000;
}