/* Resetowanie stylów domyślnych */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ustawienia ogólne */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin-top: 10px;
    gap: 10px;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 999px;
    line-height: 1;
    transition: background-color 160ms ease, color 160ms ease;
}

/* Sekcja o firmie */
section {
    padding: 40px 0;
}

.container1 {
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px 16px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Oferta */
.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-left: 0;
}

.product {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 400px;
    width: 100%;
    max-width: 350px;
}

#zdj1, #zdj2, #zdj3{
    width: 100%;
    margin-bottom: 15px;
    height: 288px;
    width: 230px;
}

#zdj4, #zdj5{
    width: 230px;
    height: 57px;
}

.product h3 {
    margin-bottom: 10px;
    font-family: segoe 'Segoe UI';
    color: #1f2d3d;
    
}


/* Kontakt */
address {
    font-style: normal;
    text-align: center;
}

address a {
    color: blue;
    text-decoration: none;
}

/* Stopka */
footer {
    background-color: #00a29f;
    color: #fff;
    padding: 7px 0;
    text-align: center;
    clear: both;
}



/* Keyframe for fade-in animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Applying the animation to the 'fade-in' class */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

/* You can adjust the duration and the effect */
.product {
    opacity: 0;  /* Start with invisible products */
    animation: fadeIn 1.5s forwards; /* Adjust for timing */
}


a{
    text-decoration: none; 
    color: black;
}

#offer{
    clear: both
}

.container {
    width: 100%;
    background-color: #00a29f;
    float: right;
}

header{
position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #009999; /* kolor tła taki sam jak masz w headerze */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.container1 {
    margin-bottom: 40px;
}

.linkinawigacja {
    float: right;
    font-family: "Helvetica Now Text", "Helvetica W02 Roman", Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.navbar {
    background-color: #00a29f;
    display: flex;
    align-items:flex-end;   
    justify-content: space-between;
    gap: 5px;
    padding: 8px 16px;
}

.products button{
    background-color: #00a29f;
    font-family: 'segoe UI';
    color: white;
    display: inline-block;
    border-radius: 4px;
    font-weight: bold;
    padding: 2px 6px;
    text-decoration: none;
    border: #fff 1px solid;
}

#mapa{
    margin: 40px auto;
    padding: 0 16px;
    text-align: center;
}

#mapa h3{
    margin-left: 0;
    margin-bottom: 16px;
}

#mapa .map-wrap{
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    height: min(520px, 62vh);
    min-height: 360px;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
    border: 1px solid rgba(0,0,0,0.06);
}

#mapa iframe{
    display: block;
    width: 100%;
    flex: 1 1 auto;
    height: auto;
    border: 0;
}

#mapa .route-link{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 12px auto 16px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #00a29f;
    color: #fff;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow: 0 8px 18px rgba(0,0,0,0.10);
    transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

#mapa .route-link::before{
    content: "📍";
    font-size: 1.05em;
    line-height: 1;
}

#mapa .route-link:hover{
    background-color: cadetblue;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.14);
}

#mapa .route-link:active{
    transform: translateY(0);
}

.map-decor{
    width: min(520px, 92vw);
    height: 10px;
    margin: 14px auto 0;
    border-radius: 999px;
    background:
      radial-gradient(circle at 12px 50%, rgba(0,162,159,0.95) 0 4px, transparent 5px),
      linear-gradient(90deg, rgba(0,162,159,0.0), rgba(0,162,159,0.55), rgba(0,162,159,0.0));
    opacity: 0.95;
}

#gazetkaprzycisk{
    background-color: #00a29f;
    font-family: 'segoe UI';
    color: white;
    display: inline-block;
    border-radius: 4px;
    font-weight: bold;
    padding: 2px 6px;
    text-decoration: none;
    border: #fff 1px solid;
}


#playcanal {
    display: flex;
    flex-direction: column;
    padding: 10px;
    justify-content: space-between;
    gap: 20px;
    margin-top: -10px;
}

#blokplay, #blokcanal{
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 190px;
    width: 100%;
    max-width: 350px;
}

.products button:hover{
    background-color: cadetblue;
}

#gazetkaprzycisk:hover{
    background-color: cadetblue;
}

.linkinawigacja a:hover{
    color: #fff;
    background-color: rgba(255,255,255,0.18);
}

address a {
    color: blue;
    text-decoration: none;
}

#ocena {
    float: left;
}

@media (max-width: 768px) {
    header {
        position: static !important;
        top: auto;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 16px;
    }

    .linkinawigacja {
        float: none;
        width: 100%;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 10px;
        gap: 6px;
    }

    nav ul li {
        margin: 5px 0;
    }

    nav ul li a {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 12px;
    }

    .products {
        flex-direction: column;
        align-items: center;
    }

    .product {
        max-width: 100%;
    }

    #playcanal {
        align-items: center;
    }

    #blokplay, #blokcanal {
        max-width: 100%;
    }

    #mapa {
        margin: 30px auto;
        padding: 0 12px;
    }

    #mapa .map-wrap{
        height: 300px;
        min-height: 0;
        border-radius: 14px;
    }
}