/* Ogólny reset stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #f4f4f4; /* Bardzo jasnoszary tło */
    margin: 0;
    background-color: #2c3e50; /* Ciemnoniebieskie tło */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Zajmuje całą wysokość ekranu */
}

/* Nagłówek */
header {
    background: #1a2a3a; /* Ciemnoniebieski z lekkim grafitowym odcieniem */
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header h2 {
    font-size: 2rem;
}

/* Nawigacja */
ul {
    list-style: none;
    text-align: center;
    padding: 1rem;
}

.professional-link {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    margin: 0 1rem;
}

.professional-link:hover {
    color: #FFD700; /* Złoty kolor przy najechaniu */
}

/* Styl galerii */
.gallery {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.gallery-item {
    width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05); /* Efekt powiększenia po najechaniu */
}

/* Styl lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
}

.lightbox .close,
.lightbox .arrow {
    position: absolute;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox .close {
    top: 20px;
    right: 20px;
}

.lightbox .arrow {
    top: 50%;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
}

.lightbox .arrow.left {
    left: 20px;
}

.lightbox .arrow.right {
    right: 20px;
}

/* Efekt zmiany koloru na złoty przy najechaniu na przyciski w lightbox */
.lightbox .close:hover,
.lightbox .arrow:hover {
    color: #FFD700; /* Złoty kolor przy najechaniu */
}

/* Stopka */
footer {
    background: #1a2a3a;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: auto; /* Umożliwia "przyciągnięcie" stopki do dołu */
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #FFD700;
}

/* Styl responsywny */
@media (max-width: 768px) {
    .gallery {
        flex-direction: column;
        gap: 1rem;
    }
}
