/* Reset */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; margin: 0; padding: 0; }
body {
    /* Tło z obrazem */
    background-image: url('tlo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff;
}

/* Proste menu na górze */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    z-index: 10;
}
.nav .logo { font-weight: 700; letter-spacing: 0.5px; }
.nav nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 16px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color .2s ease, color .2s ease;
}
.nav nav a:hover { background-color: rgba(255,255,255,0.15); }
.nav nav a.active { background-color: rgba(255, 152, 0, 0.25); }

/* Sekcja hero pełnoekranowa */
.hero {
    min-height: 65vh;
    display: grid;
    place-items: center;
    padding-top: 15px; /* miejsce na menu */
    padding-left: 16px;
    padding-right: 16px;
}

/* Półprzezroczysty kontener z rozmyciem tła */
.content {
    max-width: 460px;
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

h1 { font-size: 2.5rem; margin: 0 0 12px; text-align: center; }
p { font-size: 1.1rem; line-height: 1.6; margin: 0 0 16px; text-align: center; }

/* Przycisk */
.btn {
    background-color: #ff9800;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform .1s ease, background-color .25s ease;
    display: block;       /* zmienia przycisk na blokowy */
    margin: 0 auto;       /* automatyczne marginesy wyśrodkowują */
    text-align: center;

}
.btn:hover { background-color: #e68900; }
.btn:active { transform: scale(0.98); }

/* Dalsze sekcje */
.section {
    padding: 60px 16px;
    display: flex;
    justify-content: center;
}

/* Stopka */
.footer {
    text-align: center;
    padding: 24px;
    color: rgba(255,255,255,0.85);
}

/* Responsywność */
@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    p { font-size: 1rem; }
    .nav { height: 56px; }
    .hero { padding-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}
