/*To jest kod css NWM KURWA JAK ALE DZIAŁA PIZDA JEBANA :D*/
/* Resetowanie domyślnych stylów */

html {
    scroll-behavior: smooth; /* Płynne przejście */
}
* {
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Góra strony */
.gora-strony {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.panel-nawigacji {
    display: flex; /* Umożliwia flexbox */
    justify-content: space-between; /* Ustawia elementy na końcach */
    align-items: center; /* Wyśrodkowuje w pionie */
    padding: 10px 20px; /* Ustawienia paddingu */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.5s ease, background-color 0.5s ease;
    transform: translateY(0);
}

.nav-hidden {
    transform: translateY(-100%);
}

.nav-black {
    background-color: rgba(78, 73, 73, 1);
}

.nav-transparent {
    background-color: rgba(78, 73, 73, 0.5);
}


.logo {
    width: 100px;
}

.menu {
    align-items: center;
    display: flex;
    position: static;
    height: auto;
    top: auto;
    margin: 0 auto;
    justify-content: center;
    text-emphasis: none;
    font-size: 24px;
}

.menu li {
    list-style-type: none;
    margin: 0 15px;
}

.menu a {
    color: white;
    font-weight: bold;
    transition: color 0.4s ease;
}

.li-a:hover{
    color:#ffaa22;
}

.menu-toggle, .menu-close {
    display: none;
    font-size: 24px;
    color: white;
    background: #444;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.menu-toggle:hover, .menu-close:hover {
    background: #555;
}

/* Styl dla logo2, nagłówka i przycisków */
.header-content .logo2 {
    width: 230px;
    margin-bottom: 20px;
    animation: fadeInUp 1.5s ease-out forwards;
}



.styl-mebli {
    font-size: 48px;
    color: white;
    margin: 20px 0;
    animation: fadeInUp 1.5s ease-out forwards;
}

.przyciski {
    margin-top: 20px;
}

.przycisk {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #ffaa22;
    border-radius: 14px;
    color: white;
    background-color: transparent;
    font-size: 19px;
    margin: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: fadeInUp 1.5s ease-out forwards;
}

.przycisk:hover {
    background-color: #ffaa22;
    transform: scale(1.05);
}

/* Główna sekcja */
.glowna-sekcja {
    background-color: rgb(78, 73, 73);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 50px 50px;
    text-align: center;
}

.obrazki-sekcja {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.obrazek {
    background-color: #f0f0f0;
    border-radius: 15px;
    padding: 20px;
    margin: 20px;
    max-width: 200px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.obrazek img {
    max-width: 100%;
    border-radius: 15px;
}

.zobacz-wiecej {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    border: 2px solid #ffaa22;
    border-radius: 14px;
    color: black;
    background-color: transparent;
    font-size: 19px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.zobacz-wiecej:hover {
    background-color: #ffaa22;
    transform: scale(1.05);
}


/* Wartosci definiujace firme*/
.wartosci {
    height: 1150px;
    margin: 0 auto;
    text-align: center;
    width: 60%;
    float:left;
}

.wartosci-img{
    width: 200px;
    height: auto;
    margin-bottom: 40px;
    margin-top: 40px;
    animation: fadeInUp 2s ease-out forwards;
}
.heading {
    font-size: 36px;
    margin-bottom: 20px;
    margin-top:150px;
}
.blocks {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;

}

.block-img{
    width: 100px;
    height: auto;
}


.block.animate {
    animation: slideUp 0.5s ease-out forwards;
}

.block1.animate {
    animation: slideUp 0.5s ease-out forwards;
}


.block {
    width: 24%;
    height: 250px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    margin-top:45px;
   
}

.block1 {
    width: 24%;
    height: 250px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    margin-top:45px;
}
.block:nth-child(1) {
    animation-delay: 0s;
}

.block:nth-child(2) {
    animation-delay: 0.1s;
}

.block:nth-child(3) {
    animation-delay: 0.15s;
}

.block1:nth-child(1) {
    animation-delay: 0.20s;
}

.block1:nth-child(2) {
    animation-delay: 0.25s;
}

.block1:nth-child(3) {
    animation-delay: 0.35s;
}

.number {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}
.text {
    font-size: 18px;
}

.margines{
    width: 20%;
    float:left;
}


/* Oferta */

.oferta{
    height: 650px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    color:white;
    background-size: cover;
    background-position: center;
    align-items: center;
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    padding: 20px; 
    display: flex;
    letter-spacing: 1px;
}
.oferta-h1{
    font-size: 50px;
}
.oferta-firma{
    color: #ffaa22;
    font-size: 35px;
}

.oferta-pila{
    width: 120px;
    height: auto;
    margin-bottom: 100px;
}
.oferta-p{
    width: 60%;
    text-align: center;
    align-items: center;
    margin: auto;
    font-size: 20px;
}

.oferta-kontakt{
    width: 60%;
    height: 100px;
    background-color: #ffaa22;
    background-position: center;
    text-align: center;
    margin: 0 auto;
    margin-top: -50px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    color:black;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    font-style: normal;
    box-shadow: 0 14px 18px rgba(0, 0, 0, 0.1);
}


.oferta-glowne {
    height: 800px;
}

.oferta-sekcja {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    margin-top: 100px;
}




.oferta-okrag {
    width: 50px;
    height: 50px;
    border: 3px solid #ffaa22;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.numer {
    color: #ffaa22;
    font-size: 18px;
    font-weight: bold;
}

.oferta-tekst {
    max-width: calc(100% - 70px);
}

.oferta-tekst h2 {
    color: #ffaa22;
    margin: 0 0 10px 0;
}
.oferta-item {
    display: flex;
    align-items: center;
    width: 48%;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px); /* Zmniejszenie wartości przesunięcia */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Skrócenie i wygładzenie przejścia */
}


.oferta-item.active {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp3 2.5s ease-out forwards;
}



@keyframes fadeInUp3 {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




.oferta-item:nth-child(2) {
    animation-delay: 0.2s;
}

.oferta-item:nth-child(3) {
    animation-delay: 0.4s;
}

.oferta-item:nth-child(4) {
    animation-delay: 0.6s;
}

.oferta-item:nth-child(5) {
    animation-delay: 0.8s;
}

.oferta-item:nth-child(6) {
    animation-delay: 1s;
}
/*
.oferta-kolo {
    width: 50px;
    height: 50px;
    background-color: #ffaa22;
    border-radius: 50%;
    margin-right: 20px;
}
*/

/* Realizacje */

.realizacje {
    height: 1150px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    color:white;
    background-size: cover;
    background-position: center;

}

.realizacje-head {
    font-size: 36px;
    margin-bottom: 20px;
    margin-top:150px;
}
.realizacje-bloki {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    color:black;
    flex-wrap: wrap;
}

.realizacje-tytul{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}


.realizacje-blok {
    width: 48%; /* Dwa bloki w wierszu na większych ekranach */
    margin-bottom: 10px;
}

@media (max-width: 768px) { /* Dla urządzeń mobilnych */
    .realizacje-blok {
        width: 100%; /* Jeden blok na wiersz na urządzeniach mobilnych */
    }

}

@media (max-width: 480px) { /* Dla bardzo małych urządzeń mobilnych */
    .realizacje-blok:nth-child(3n+1),
    .realizacje-blok:nth-child(3n+2) {
        width: 45%;
    }
    
    .realizacje-blok:nth-child(3n) {
        width: 45%;
        margin-left: auto;
        margin-right: auto;
    }

    
}

.realizacje-blok {
    width: 24%;
    height: 600px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    margin-top:45px;
    color:black;
    margin-top: 50px;  
    opacity: 0; /* Początkowa przezroczystość */
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.realizacje-text{
    font-size: 18px;
    padding: 7px;
}
.realizacje-img {
    padding: 10px;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    filter: brightness(100%);
    transition: filter 0.5s ease;
}

.realizacje-img:hover{
    filter: brightness(60%);
    cursor: pointer;
}

.realizacje-blok.visible {
    animation: fadeInUp 1.5s ease-out forwards;
}
.realizacje-przycisk {
    margin-top: 100px;

}
.realizacje-klik {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #ffaa22;
    border-radius: 14px;
    color: white;
    background-color: transparent;
    font-size: 19px;
    margin: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: fadeInUp 2.5s ease-out forwards;
}

.realizacje-klik:hover {
    background-color: #ffaa22;
    transform: scale(1.05);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 15px;
}
.lightbox.visible {
    display: flex;
}
.lightbox .close, .lightbox .prev, .lightbox .next {
    position: absolute;
    color: white;
    font-size: 30px;
    cursor: pointer;
    user-select: none;
}
.lightbox .close {
    top: 20px;
    right: 20px;
}
.lightbox .prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox .next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}


/* Kontakt */

.margin-kontakt{
    float:left;
    width: 10%;
}
.kontakt {
    margin-top:100px;
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 4px 14px 18px rgba(0, 0, 0, 0.1);
    width: 100%; 
    float:left;
}



.kontakt-head {
    font-size: 46px;
    margin-bottom: 20px;
}

.kontakt-text {
    font-size: 29px;
    margin-bottom: 30px;
    margin:4%
}

.kontakt-dane {
    margin-top:100px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
}

.kontakt-item {
    display: flex;
    flex-direction: column;
    align-items: center;


}

.kontakt-item h4 {
    font-size: 30px;
    margin-bottom: 5px;
    color: #ffaa22;
}

.kontakt-item p {
    font-size: 25px;
    margin: 0;

}

.fb, .ig{
    font-size: 65px;
}

.fb:hover
{
	color: #4668b3;
    transition: transform 0.5s ease,color 0.5s ease;
    transform: translateY(0);
}

.ig:hover{
    color:pink;
    transition: transform 0.5s ease,color 0.5s ease;
    transform: translateY(0);
}



/* Mapa */

.map-description {
    max-width: 800px;
    margin: 50px auto 10px auto;
    padding: 30px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva;
    font-size:40px;

}

.map-container {
    position: relative;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden; /* Ważne, aby zaokrąglone rogi były widoczne */
    height: 450px;
    margin-top:50px;
    margin-bottom: 50px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none; /* Usuwa ramkę iFrame */
}

.map-container::before,
.map-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    pointer-events: none; /* Umożliwia interakcję z mapą */
}

.map-container::before {
    filter: blur(10px);
    opacity: 0.6; /* Możliwość dostosowania przezroczystości */
}

.map-container::after {
    filter: blur(15px);
    opacity: 0.4; /* Możliwość dostosowania przezroczystości */
    top: -15px; /* Lekko przesunięte, aby wzmocnić efekt rozmycia */
    left: -15px; /* Lekko przesunięte, aby wzmocnić efekt rozmycia */
}

/* Stopka strony */
.stopka {
    background-color: rgb(78, 73, 73);
    color: aliceblue;
}
.stopka-informacje {
    padding: 50px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.stopka h2 {
    margin-bottom: 20px;
}

.kontaktt, .social-media {
    max-width: 300px;
    text-align: left;
}

.zastrzezone {
    width: 100%;
    background-color: rgb(54, 52, 52);
    color: white;
    padding: 10px;
    text-align: center;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
}

footer {
    margin-top: auto;
}
/* Galeria */

.galeria-h1 {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #ffaa22;
    border-radius: 14px;
    color: white;
    background-color: #ffaa22;
    font-size: 19px;
    margin: 10px;
}
.galeria-obrazki-sekcja {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.galeria-obrazek {
    background-color: #000000;
    border-radius: 15px;
    padding: 20px;
    margin: 20px;
    max-width: 200px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.galeria-obrazek img {
    max-width: 100%;
    border-radius: 15px;
}
/* Media Queries dla urządzeń mobilnych */
@media only screen and (max-width: 768px) {
    .header-content .logo2 {
        width: 200px;
    }

    .logo{
        width: 70px;
        height: auto;
    }

    .styl-mebli {
        font-size: 24px;
    }

    .wartosci{
        width: 100%;
    }


    /*
    .logo {
        visibility: hidden;
    }
    */

    .block{
         height: auto;
         width: 30%;
    }

    .block1{
        height: auto;
        width: 30%;
    }
    .block-img{
        width: 70px;
        height: auto;
    }
    .number {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .oferta-glowne {
        height: 900px;
    }

    .realizacje{
        height: 1250px;
    }
    .text {
        font-size: 15px;
        padding: 5px;
    }

    .realizacje-tytul{
        font-size: 18px;
    }

    .realizacje-text{
        font-size: 13px;
        padding: 10px;
    }

    .realizacje-przycisk{
        margin-top: 25px;
    }

    .realizacje-blok{
        width: 32%;
        height: auto;
    }

    .realizacje-head{
        margin-top: 90px;
    }

    .realizacje-img{
        height: 150px;
    }
    .przycisk {
        font-size: 16px;
        padding: 8px 16px;
    }

    .menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0px;
        left: 0;
        width: 100%;
        background-color: rgba(78, 73, 73, 0.95);
        padding: 0px;
        font-size: 15px;
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu-toggle, .menu-close {
        display: block;
        font-size: 24px;
        color: white;
        background: #444;
        border: none;
        cursor: pointer;
        padding: 10px 15px;
        border-radius: 5px;
        transition: background 0.3s ease;
        position: fixed;
        top: 15px;
        right: 20px;
    }

    .menu li {
        margin: 10px 0;
    }

    .kontakt-head {
        font-size: 26px;
    }
    
    .kontakt-text {
        font-size: 14px;
    }

    .kontakt-item h4 {
        font-size: 14px;
    }
    
    .kontakt-item p {
        font-size: 12px; 
    }
    
    .fb, .ig{
        font-size: 24px;
    }

    .oferta-item {
            width: 100%; 
            justify-content: flex-start;
            margin-bottom: 5px;
        }

    .numer{
        font-size:18px;
    }
    
    .oferta-h1{
        font-size:26px;
    }

    .oferta-p{
        font-size:18px;
        width: 80%;
        letter-spacing: 0px;
    }
    
    .oferta-tekst{
        font-size:12px;
    }

    .oferta-sekcja{
        margin-top: 0px;
        width: 97%;
    }

    .oferta-kontakt{
        width: 90%;
        font-size:18px;
    }

}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp2 { 
    to { 
        opacity: 1; 
        transform: translateY(0); 
    } 
}
