/* TŁO I GŁÓWNE USTAWIENIA */
body {
    background-color: #050505;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center; /* Środkuje wszystko w pionie */
    margin: 0;
    padding: 50px 0;
}

/* NAGŁÓWEK - WYŚRODKOWANY */
header {
    width: 100%;
    text-align: center; /* To wyśrodkuje napisy */
    margin-bottom: 60px;
}

.neon-title {
    font-size: 3rem;
    letter-spacing: 5px;
    margin-bottom: 10px;
    display: block;
    background: linear-gradient(90deg, #00ffff, #ff00ff, #ffff00, #00ff00, #ff4500, #00ffff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 10px #00ffff);
    animation: wave-colors 4s linear infinite;
}

@keyframes wave-colors {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* SENTENCJA - TERAZ IDEALNIE NA ŚRODKU */
.subtitle {
    font-family: 'Pacifico', cursive;
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
    font-size: 1.8rem;
    margin: 0 auto; /* Magiczny sposób na środkowanie */
    display: inline-block;
    text-transform: none;
}

/* GALERIA I TWOJA LINIA DEKORACYJNA */
.gallery-container {
    position: relative;
    margin-top: 20px;
}

.gallery {
    position: relative;
    z-index: 2;
}

.gallery-row {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 20px;
}

.box {
    width: 250px;
    height: 375px;
    border: 2px solid #ff00ff;
    box-shadow: 0 0 10px #ff00ff;
    overflow: hidden;
    background: #000;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.box:hover {
    border-color: rgba(255, 0, 0, 0.9);
    box-shadow: 0 0 20px 6px rgba(255, 0, 0, 0.75);
}

.box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* STOPKA - CAŁKOWICIE BEZ LINII */
footer {
    margin-top: 100px;
    text-align: center;
    border: none; /* Całkowity zakaz rysowania linii tutaj */
}

.image-modal .close-btn,
.image-modal .nav-btn {
    color: #00ffff;
    background: transparent;
    border: 2px solid rgba(0, 255, 255, 0.45);
    text-shadow: 0 0 8px #00ffff, 0 0 20px #ff00ff, 0 0 30px #ffff00;
}

.image-modal .close-btn:hover,
.image-modal .nav-btn:hover {
    color: #ff00ff;
    border-color: rgba(255, 0, 255, 0.8);
    text-shadow: 0 0 12px #ff00ff, 0 0 25px #00ffff, 0 0 35px #ffff00;
}

footer a {
    color: #00ffff;
    text-decoration: none;
    border: 1px solid #00ffff;
    padding: 10px 20px;
    text-shadow: 0 0 5px #00ffff;
}