/* ===== RESET ===== */
body {
    margin: 0;
    padding-top: 90px; /* dopasuj do wysokości menu */
    font-family: 'Poppins', sans-serif;
    background: #f5f9fb;
    color: #1b262c;
}



/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0f4c75;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* Wymuszamy flex bez względu na strukturę */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;

    max-width: 1800;   /* ustaw dowolną szerokość */
    margin: 0 auto;      /* wycentrowanie */
}

header {
    padding: 15px 0;
}

.logo {
    color: red; /* albo #ff0000 */
}
.logo {
    margin-left: 50px; /* Zmień wartość, aby przesunąć bardziej lub mniej */
}

/* MENU NA PRAWO */
header nav {
    margin-left: auto;
}

header nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    margin-right: 55px;
    font-weight: 500;
}

body {
    margin: 0;
    padding-top: 80px;
}


/* ===== BUTTON ===== */
button {
    background: #3282b8;
    border: none;
    padding: 10px 15px;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background: #0f4c75;
}

/* ===================================================== */
/* ==================== SLIDER FINAL =================== */
/* ===================================================== */

.slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 650px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== STRZAŁKI ===== */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15,76,117,0.6);
    color: #fff;
    border: none;
    font-size: 28px;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 8px;
    z-index: 10;
    transition: 0.3s;
}

.prev:hover, .next:hover {
    background: rgba(15,76,117,0.9);
}

.prev { left: 20px; }
.next { right: 20px; }

/* ===== KROPKI ===== */
.dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    display: inline-block;
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background-color: #0f4c75;
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 768px) {
    .slider { height: 300px; }
}

@media (max-width: 480px) {
    .slider { height: 220px; }
}

/* ===== SLIDER WRAPPER Z FALAMI ===== */
.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* FALE */
.waves-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 650px;
    overflow: hidden;
    z-index: 0;
}

.wave {
    position: absolute;
    width: 200%;
    height: 100%;
    bottom: 0;
    animation: waveMove 12s infinite linear;
}

.wave2 {
    animation-duration: 18s;
}

@keyframes waveMove {
    0% { transform: translateX(0); }
    50% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* LICZNIK NA FALACH */
.countdown-overlay {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
    color: white;
    width: 90%;
    max-width: 900px;
}

.countdown-overlay h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

/* LICZNIK BOXY */
#countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

#countdown div {
    background: rgba(255,255,255,0.2);
    padding: 15px 25px;
    border-radius: 12px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

#countdown span {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}

/* ===== FOOTER ===== */
footer {
    background: #0f4c75;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    /* To sprawia, że stopka jest stała */
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1000; /* Gwarantuje, że stopka będzie nad innymi elementami */
}




/* ===== SEKCJA FEATURES 3 KOLUMN ===== */

.features {
    display: flex;
       justify-content: space-between;
    gap: 30px;
    padding: 80px 20px
}
.map-mini iframe {
    width:100%;
    height:250px;
    border:0;
    border-radius:8px;
}

/* ===== SEKCJA FEATURES 3 KOLUMN ===== */

.features {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 80px 20px;
}

/* Wyśrodkowanie nagłówków */
.features h2,
.features h3 {
    text-align: center;
}

/* Wyśrodkowanie obrazków */
.features img {
    display: block;
    margin: 0 auto;
}

/* Opcjonalnie: wyrównanie tekstu pod obrazkami */
.features p {
    text-align: center;
}

