/* --- OGÓLNE USTAWIENIA --- */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: #0b0d17;
    background-image: url('img/stars-bg.jpg'); /* Upewnij się, że masz ten plik */
    background-attachment: fixed;
    background-size: cover;
    color: #e0e0e0;
    font-family: 'Exo 2', sans-serif;
    font-weight: 300;
    line-height: 1.6;
}

/* --- NAGŁÓWEK --- */
header {
    background: linear-gradient(rgba(11, 13, 23, 0.8), rgba(11, 13, 23, 0.8)), 
                url('img/nebula-header.jpg');
    background-size: cover;
    background-position: center;
    padding: 4rem 0;
    text-align: center;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 5px;
    color: #fff;
    border: 2px solid #00d4ff;
    padding: 10px 20px;
    display: inline-block;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.logo-text span { color: #00d4ff; margin-left: 10px; }

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #fff 30%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 20px 0;
}

/* --- TREŚĆ GŁÓWNA --- */
main {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

section {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    margin-bottom: 50px;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(5px);
}

h2 {
    font-family: 'Orbitron', sans-serif;
    color: #00d4ff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    padding-bottom: 15px;
}

img { max-width: 100%; height: auto; border-radius: 8px; }

/* Inicjał w tekście */
.main-photo-section p::first-letter {
    font-size: 3rem;
    font-family: 'Orbitron';
    color: #00d4ff;
    float: left;
    margin-right: 12px;
    line-height: 1;
}

/* --- PARALAKSA I SZKŁO --- */
.parallax-window {
    height: 450px;
    background-image: url('img/para2.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px 0;
    border-top: 1px solid #00d4ff;
    border-bottom: 1px solid #00d4ff;
}

.glass-panel {
    max-width: 500px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    text-align: center;
}

/* --- GALERIA --- */
.gallery-container {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.gallery-item {
    flex: 1;
    text-align: center;
    transition: transform 0.4s ease;
}

.gallery-item img {
    border: 1px solid #333;
    transition: 0.4s;
}

.gallery-item:hover { transform: scale(1.1) translateY(-10px); z-index: 5; }
.gallery-item:hover img { border-color: #00d4ff; box-shadow: 0 0 15px #00d4ff; }

.photo-caption { color: #00d4ff; font-family: 'Orbitron'; font-size: 0.8rem; margin-top: 10px; }

/* --- STOPKA --- */
.image-footer {
    width: 100%;
    height: 350px;
    background-image: url('img/footer-landscape.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    border-top: 2px solid #00d4ff;
}

.footer-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(11, 13, 23, 0.95), rgba(11, 13, 23, 0.3));
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-logo { font-family: 'Orbitron'; font-size: 1.5rem; letter-spacing: 3px; }
.footer-logo span { color: #00d4ff; }
.copyright { font-size: 0.8rem; color: #666; margin-top: 10px; }

/* --- RESPORSYWNOŚĆ --- */
@media (max-width: 850px) {
    .gallery-container { flex-wrap: wrap; }
    .gallery-item { flex: 0 0 45%; }
    h1 { font-size: 2.5rem; }
}