
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    background-image: url('background.PNG');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    font-family: sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#site {
    flex: 1;
    display: flex;
    flex-direction: column;
}

@keyframes fadeInLogo {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideUpFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


header {
    width: 100%;
    height: 20vh;
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    animation: fadeInLogo 3s ease-in-out forwards;
    opacity: 0;
}

#logo {
    height: 120px;
    width: 420px;
    max-width: 90%;
    object-fit: contain;
    image-rendering: crisp-edges;
    animation: fadeInLogo 3s ease-in-out forwards;
    opacity: 0;
}


#s1 {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    margin: 10px 0;
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
    animation-delay: 0.1s;
}

#s2 {
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    margin: 10px 0;
    font-size: 1.1rem;
    line-height: 1.5;
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
    animation-delay: 0.3s;
}

#s4 {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    margin: 15px 0;
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
    animation-delay: 0.4s;
}

#s4 h1 {
    font-weight: normal;
    font-size: 1.5rem;
    margin: 0;
    display: inline-block;
    padding: 0 20px;
    position: relative;
}



#contact {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    margin: 15px 0;
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
    animation-delay: 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}


#s3 {
width: 80%; 
    min-width: 400px; 
    max-width: 600px; 
    margin: 30px auto; 
    padding: 0 25px; 
   
        animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
    animation-delay: 0.4s; 
}

.price {
   display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px; 
    border-bottom: 4px solid rgba(255,255,255,0.9); 
      animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
    
}

.price h2 {
font-size: 1.1rem; 
    margin: 0;
    padding: 0 20px; 
    white-space: nowrap;
}

.price:nth-child(1) { animation-delay: 0.5s; }
.price:nth-child(2) { animation-delay: 0.6s; }
.price:nth-child(3) { animation-delay: 0.7s; }
.price:nth-child(4) { animation-delay: 0.8s; }
.price:nth-child(5) { animation-delay: 0.9s; }
.price:nth-child(6) { animation-delay: 1.0s; }
.price:nth-child(7) { animation-delay: 1.1s; }
.price:nth-child(8) { animation-delay: 1.2s; }

#s5 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
    padding: 20px;
}

#s5 h1 {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

#s5 img {
    width: 80%;
    height: auto;
    max-height: 70vh;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    object-fit: contain;
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

#s5 img:nth-child(2) { animation-delay: 0.7s; } 
#s5 img:nth-child(3) { animation-delay: 0.9s; } 
#s5 img:nth-child(4) { animation-delay: 1.1s; }

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.przyklady {
    width: 85%;
    max-width: 500px;
    height: auto;
    max-height: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    object-fit: contain;
    animation: slideUpFadeIn 0.8s ease-out forwards;
    opacity: 0;
}
.przyklady2 {
    width: 80%;
    max-width: 300px;
    height: auto;
    max-height: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    object-fit: contain;
    animation: slideUpFadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.przyklady:nth-child(1) { animation-delay: 0.5s; }
.przyklady:nth-child(2) { animation-delay: 0.6s; }
.przyklady:nth-child(3) { animation-delay: 0.7s; }
.przyklady:nth-child(4) { animation-delay: 0.8s; }
.przyklady:nth-child(5) { animation-delay: 0.9s; }
.przyklady:nth-child(6) { animation-delay: 1s; }
.przyklady:nth-child(7) { animation-delay: 1.2s; }

main {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}

.button {
   width: 300px;
    max-width: 90%;
    height: 60px;
    border-radius: 40px;
    color: white;
    border: 2px white solid;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    text-decoration: none;
    animation: fadeInUp 1s ease-in-out forwards;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 5px 0; /* Dodajemy margines górny i dolny */
   
    border: 2px solid rgba(255, 255, 255, 0.8); /* Biała obwódka z lekką przeźroczystością */
    background-color: rgba(255, 255, 255, 0.15); /* Białe tło z 30% przeźroczystością */
    backdrop-filter: blur(5px); /* Lekkie rozmycie tła dla lepszego efektu */

}

.button h3 {
    margin: 0;
    font-weight: normal;
    font-size: 1rem;
}

.button:hover {
   background-color: rgba(255, 255, 255, 0.5); /* 50% przeźroczystości po najechaniu */
    transform: scale(1.05);
}

#strzalka {
    width: 25px;
    filter: invert(1) brightness(100%) contrast(100%);
}

.button { --delay: 0.3s; animation-delay: var(--delay); }
.button:nth-child(1) { --delay: 0.3s; }
.button:nth-child(2) { --delay: 0.6s; }
.button:nth-child(3) { --delay: 0.9s; }
.button:nth-child(4) { --delay: 1.2s; }
.button:nth-child(5) { --delay: 1.5s; }
.button:nth-child(6) { --delay: 1.8s; }
.button:nth-child(7) { --delay: 2.1s; }
.button:nth-child(8) { --delay: 2.3s; }

footer {
    width: 100%;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    #logo {
        height: auto;
        width: 80vw;
        max-height: 100px;
    }
    
    .button {
        height: 50px;
        width: 280px;
        padding: 0 20px;
    }
    
     #s3 {
        width: 90%;
        min-width: 350px;
        padding: 0 20px;
    }
    
    #s2 {
        font-size: 1rem;
        padding: 10px 15px;
    }
    
    #s4 h1 {
        font-size: 1.3rem;
    }
       
    .price h2 {
        font-size: 1.2rem;
    }


    .przyklady {
        width: 90%;
        max-width: 400px;
    }
}
@media (max-width: 480px) {
    header {
        height: 15vh;
    }
    
    .button {
        width: 250px;
        height: 45px;
    }
    
     #s3 {
        width: 95%;
        min-width: 300px;
    }
       .price h2 {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    #s2 {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    #s4 h1 {
        font-size: 1.1rem;
    }
    
    #s4 h1::after {
        width: 30px;
    }
    
    #contact {
        padding: 15px 10px;
    }
       .price {
        padding: 15px 8px;
    }

    .przyklady {
        width: 95%;
        max-width: 350px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    #s3, .price {
        animation: none !important;
        opacity: 1 !important;
    }
}
#tekst{
    width: 500px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  border-top: 2px white solid;
  border-bottom: 2px white solid;
}

body.special-page #content-section {
    width: 85%;
    max-width: 700px;
    margin: 30px auto;
    padding: 20px;
    color: white;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.special-page #tekst {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

body.special-page .content-block {
    margin-bottom: 40px;
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.special-page .content-block h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
    text-align: center;
    width: 100%;
}

body.special-page .centered-content {
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
}

body.special-page .content-block ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

body.special-page .content-block li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: center;
    padding: 0 10px;
}
.przyklady3 {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16 / 9;  /* Dodane */
    object-fit: contain;   /* Zapobiega rozciąganiu */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideUpFadeIn 0.8s ease-out forwards;
    opacity: 0;
}
/* Sekwencja animacji */
body.special-page .content-block:nth-child(1) { animation-delay: 0.3s; }
body.special-page .content-block:nth-child(2) { animation-delay: 0.5s; }
body.special-page .content-block:nth-child(3) { animation-delay: 0.7s; }
body.special-page .content-block:nth-child(4) { animation-delay: 0.9s; }
body.special-page .content-block:nth-child(5) { animation-delay: 1.1s; }
body.special-page .content-block:nth-child(6) { animation-delay: 1.3s; }

/* Responsywność */
@media (max-width: 768px) {
    body.special-page #content-section {
        width: 90%;
        padding: 15px;
    }
    
    body.special-page #tekst {
        font-size: 1.1rem;
    }
    
    body.special-page .content-block h1 {
        font-size: 1.3rem;
    }
    
    body.special-page .content-block li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body.special-page #content-section {
        width: 95%;
        padding: 10px;
    }
    
    body.special-page #tekst {
        font-size: 1rem;
    }
    
    body.special-page .content-block h1 {
        font-size: 1.2rem;
    }
    
    body.special-page .content-block li {
        font-size: 0.9rem;
    }
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.button.return-home {
    margin-top: 20px;
    position: relative;
}
@media (max-width: 768px) {
    .button {
        height: 50px;
        width: 280px;
        padding: 0 20px;
    }
}

.button.return-home::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: rgba(255,255,255,0.3);
}

@media (max-width: 480px) {
    .button {
        width: 250px;
        height: 45px;
    }
    
    .button.return-home {
        margin-top: 15px;
    }
}

#button7{
    margin-top: 200px; 
}
html {
    min-height: 100%;
    min-height: -webkit-fill-available;
    background-color: black;
}
body {
 
    background-color: black;
    
  
    @supports (-webkit-touch-callout: none) {
        height: -webkit-fill-available;
    }
    

    padding-bottom: env(safe-area-inset-bottom);
}
.centertext{
display: flex;
justify-content: center;
align-items: center;
 text-align: center; 
}

h2 .line1, h2 .line2 {
  display: inline;
}


@media (max-width: 480px) {
  h2 .line1, h2 .line2 {
    display: block;
  }
}
a{color:rgb(241, 180, 89);}