@charset "utf-8";
/* CSS Document */

@font-face {
    font-family: 'BebasRegular';
    src: url('font/BEBAS___-webfont.eot');
    src: url('font/BEBAS___-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/BEBAS___-webfont.woff') format('woff'),
         url('font/BEBAS___-webfont.ttf') format('truetype'),
         url('font/BEBAS___-webfont.svg#BebasRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}


/* RESET */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}


/* Clearfix */
.cf:before,
.cf:after { content:"";display:table; }
.cf:after { clear:both; }
.cf { zoom:1;}

/* Base Style */
body {
    font:14px/1.6 'BebasRegular', serif;
    font-weight: 400;
    color:#222;
    -webkit-font-smoothing: antialiased;
}

/*h1,h2,h3{font-family: 'PT Sans Narrow', sans-serif;font-weight:bold;text-transform: uppercase;}
h4,h5,h6{font-family: 'PT Sans', sans-serif;font-weight:bold;}
h4{ font-size:20px; margin:1em 0 0; }
p{min-height:1px;}
strong{font-weight:bold;}
hr{background: #333;border: 0;height: 2px;margin: 12px auto 8px;width: 60px;}

a{color:#1074ce;text-decoration:none;}
a:hover{color:#0a487f;}
*/
article{
    text-align:center;
    padding:150px 0;
    width:250px;
    margin:0 auto;
}

    article h4:first-child{ margin:0; }
    article p{ text-align:justify; }

.button{
    display:inline-block;
    line-height:1;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    border-radius: 3px;
    padding: 6px 8px;
    background:#000;
    color:#FFF;
    margin:2em 0;
}
    .button:hover{
        color:#FFF;
        background-color:#444;
    }
    .button+.button{margin-left:1em;}

.align-center{text-align: center;}



/* Sliding panels */
.curtains>li {
  /*  background:#FFF url(img/blizzard.png); */
    box-shadow:0 0 12px #666;
}
    .curtains>li:last-child{box-shadow:none}

/* MENU */
#menu{
    position:fixed;
    top:20px;
    left:20px;
    z-index:20;
    padding:10px;
    background-color:#000;
}
    #menu li{margin:0}
    #menu a{
        margin:0;
        color:#FFF;
    }



/* Section 1 */

#Fliesenleger{
    background:url('../img/slide1/1.jpg')  0 no-repeat;
    background-size:cover;
}
    #Fliesenleger section{
        color:#FFF;
        position:absolute;
        top:30%;
        left:50%;
        margin:0 0 0 -350px;
        width:700px;
        text-align:center;
        text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
        line-height:1.1;
        font-family: arial;
    font-size: 40px;
    }
/*

    #Fliesenleger h1{
        font-size:120px;
    }

    #Fliesenleger h2{
        text-transform:capitalize;
        opacity:.75;
        font-size:48px;
    }
*/
/* Section 2 */
#Trockenbau{
    background:url('../img/slide2/2.jpg')  0 no-repeat;
    background-size:cover;
}
 #Trockenbau section{
        color:#FFF;
        position:absolute;
        top:30%;
        left:50%;
        margin:0 0 0 -350px;
        width:700px;
        text-align:center;
        text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
        line-height:1.1;
        font-family: arial;
    font-size: 40px;
    }
/*
    #Trockenbau header{
        color:#FFF;
        position:absolute;
        top:30%;
        left:50%;
        margin:0 0 0 -350px;
        width:700px;
        text-align:center;
        text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
        line-height:1.1;
    }

    #Trockenbau h1{
        font-size:120px;
    }

    #Trockenbau h2{
        text-transform:capitalize;
        opacity:.75;
        font-size:48px;
}

*/

/* Section 3 */
#Pflasterbau{
    background:url('../img/slide3/3.jpg') 0 no-repeat;
    background-size:cover;
}
/*
    #Pflasterbau header{
        color:#FFF;
        position:absolute;
        top:30%;
        left:50%;
        margin:0 0 0 -350px;
        width:700px;
        text-align:center;
        text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
        line-height:1.1;
    }

    #Pflasterbau h1{
        font-size:120px;
    }

    #Pflasterbau h2{
        text-transform:capitalize;
        opacity:.75;
        font-size:48px;
} */
#Bildergalerie {
background-color: #e3e3df;

}
#Bildergalerie .photos{
        padding:50px 0;
        width:620px;
        margin-left:50px;
    }
        #Bildergalerie .photos > :last-child {margin-bottom: 140px;}

        #Bildergalerie .fixed{
            position: fixed;
            top: 50px;
            left: 50px;
            width: 200px;
        }

        #Bildergalerie .photos-inner{
            margin-left:120px;
            width:600px;
        }

        #Bildergalerie  .photos-inner img{
            display:block;
            margin:0 0 2em 0;
            max-width:100%;
            background: #fff; 
            border-radius: 1px; 
            padding: 14px 14px 63px 14px; 
            box-shadow: 0 1px 3px rgba(0,0,0,.2), 0 1px 0 rgba(0,0,0,.1); 
     
        }

#Kontakt{
    background:url('../img/slide4/4.jpg') 0 no-repeat;
    background-size:cover;
}
 #Kontakt section{
        color:#000;
        position:absolute;
        top:20%;
        left:50%;
        margin:0 0 0 -350px;
        width:700px;
        text-align:center;
        text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
        line-height:1.1;
        font-family: arial;
    font-size: 40px;
    }
/*    #kontakt header{
        color:#FFF;
        position:absolute;
        top:30%;
        left:50%;
        margin:0 0 0 -350px;
        width:700px;
        text-align:center;
        text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
        line-height:1.1;
    }

    #kontakt h1{
        font-size:120px;
    }

    #kontakt h2{
        text-transform:capitalize;
        opacity:.75;
        font-size:48px;
} */
.navigation
{
padding:0;
margin:0;
background:#655447;
position:fixed;
top:0;
z-index:999;
width:100%;
}

.navigation li
{
padding: 5px 10px;
display:inline-block;
}
.navigation li a
{
color:#000;
text-decoration:none;
}
.navigation li a:hover
{
color:#e1e1e1;
}
.navigation .active
{
background-color:#333;
color:#fff;
}

/* Podstawowy styl dla logo */
.logo {
    font-family: arial; 
    position: fixed;
    top: 10%;
    right: 2%; /* Zmiana z left: 98% na right: 2% dla lepszego pozycjonowania */
    margin-top: -10px;
    z-index: 2;
    width: 180px;
    text-shadow: 2px 2px 5px #8F8F8F;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 120px;
}

.logo span {
    margin-top: 10px;
    text-align: center;
    font-size: 16px;
}

/* Responsywne style dla logo */
@media screen and (max-width: 1024px) {
    .logo {
        right: 5%;
        width: 150px;
    }
    
    .logo span {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .logo {
        position: relative;
        top: auto;
        right: auto;
        margin: 10px auto;
        width: 120px;
    }
    
    .logo img {
        max-width: 120px;
    }
    
    .logo span {
        font-size: 12px;
        margin-top: 5px;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        width: 100px;
        margin: 5px auto;
    }
    
    .logo img {
        max-width: 100px;
    }
    
    .logo span {
        font-size: 11px;
    }
}

/* Orientacja pozioma na urządzeniach mobilnych */
@media screen and (max-height: 480px) and (orientation: landscape) {
    .logo {
        position: absolute;
        top: 10%;
        right: 2%;
        width: 80px;
    }
    
    .logo img {
        max-width: 80px;
    }
    
    .logo span {
        font-size: 10px;
        margin-top: 3px;
    }
}

.slide{
    background-attachment: fixed;
    width:100%;
    height:100%;
    position: relative;
    box-shadow:inset 0px 10px 10px rgba(0,0,0,0.3);
}
.wrapper{
    width:960px;
    height:200px;
    margin:0 auto;
    position:relative;
}
.slideno{
    position:absolute;
    bottom:0px;
    left:0px;
    font-size:80px;
    font-weight:bold;
    color:rgba(0,0,0,0.4);
}
.desc{
    font-family: arial;
    font-size: 40px;
    padding-left: 10px;
    padding-right: 130px;
 
    text-shadow: 2px 2px 5px #8F8F8F;
    top: 10%;
    margin:0 auto;
    position:relative;
}
.tagi {
    margin-top: 100px;
    font-size: large;
}
.button{
	display:block;
	width:35px;
	height:35px;
	margin-bottom:0px;
	position:absolute;
	bottom:0px;
	left:50%;
	background-color:#333333;
	background-image:url(../images/arrow.png);
}
.button:hover{
	background-color:#494949;
	cursor:pointer;
	}

.gallery-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    padding: 220px 20px 20px 20px;
}

.gallery-container img {
    flex: 1;
    object-fit: cover;
    height: 280px;
    margin: 0 5px;
    max-width: 19%;
}

/* Responsywne style dla urządzeń mobilnych */
@media screen and (max-width: 768px) {
    /* Nagłówek i nawigacja */
    header {
        padding: 10px;
    }
    
    .navigation {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    
    .navigation li {
        margin: 5px 0;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .logo img {
        max-width: 80%;
        height: auto;
    }
    
    /* Slajdy */
    .curtains > li {
        padding: 20px;
    }
    
    /* Tekst */
    h1 {
        font-size: calc(24px + 2vw);
        margin: 15px 0;
    }
    
    h2 {
        font-size: calc(18px + 1.5vw);
    }
    
    h3 {
        font-size: calc(16px + 1vw);
    }
    
    p, div {
        font-size: calc(14px + 0.8vw);
        line-height: 1.4;
    }
    
    /* Galeria */
    .gallery-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 10px;
        padding: 10px;
    }
    
    .gallery-container img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    /* Sekcja kontaktowa */
    #Kontakt {
        padding: 20px;
    }
    
    #Kontakt h1, #Kontakt h2 {
        text-align: center;
    }
    
    /* Przyciski nawigacyjne */
    .button {
        transform: scale(0.8);
    }
}

/* Bardzo małe ekrany */
@media screen and (max-width: 480px) {
    .navigation li {
        margin: 3px 0;
    }
    
    .navigation a {
        font-size: 16px;
        padding: 5px 10px;
    }
    
    h1 {
        font-size: calc(20px + 2vw);
    }
    
    h2 {
        font-size: calc(16px + 1.5vw);
    }
    
    h3 {
        font-size: calc(14px + 1vw);
    }
    
    p, div {
        font-size: calc(12px + 0.8vw);
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
}

/* Orientacja pozioma na urządzeniach mobilnych */
@media screen and (max-height: 480px) and (orientation: landscape) {
    .navigation {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navigation li {
        margin: 3px 10px;
    }
    
    .curtains > li {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Zapewnienie płynnego przewijania na iOS */
@supports (-webkit-overflow-scrolling: touch) {
    .curtains {
        -webkit-overflow-scrolling: touch;
    }
}

/* Podstawowy styl dla sekcji kontaktowej */
.kontakt {
    color: #000;
    text-align: center;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
    line-height: 1.4;
    font-family: arial;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    margin-bottom: 20px;
}

.kontakt h1 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
}

.kontakt h2 {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.kontakt a {
    color: #000;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s ease;
}

.kontakt a:hover {
    color: #655447;
}

/* Responsywne style dla sekcji kontaktowej */
@media screen and (max-width: 1024px) {
    #Kontakt section {
        width: 90%;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
        top: 15%;
    }

    .kontakt h1 {
        font-size: calc(24px + 1vw);
    }

    .kontakt h2 {
        font-size: calc(18px + 0.8vw);
    }

    .kontakt a {
        font-size: calc(18px + 0.8vw);
    }
}

@media screen and (max-width: 768px) {
    #Kontakt section {
        position: relative;
        width: 85%;
        margin: 60px auto 0;
        left: 0;
        transform: none;
    }

    .kontakt {
        padding: 15px;
    }

    .kontakt h1 {
        font-size: calc(20px + 1vw);
        margin-bottom: 15px;
    }

    .kontakt h2 {
        font-size: calc(16px + 0.8vw);
        line-height: 1.5;
    }

    .kontakt a {
        font-size: calc(16px + 0.8vw);
    }

    .tagi {
        margin-top: 30px;
    }

    .tagi h3 {
        font-size: calc(14px + 0.5vw);
    }
}

@media screen and (max-width: 480px) {
    #Kontakt section {
        width: 90%;
        margin: 50px auto 0;
    }

    .kontakt {
        padding: 10px;
    }

    .kontakt h1 {
        font-size: calc(18px + 1vw);
        margin-bottom: 10px;
    }

    .kontakt h2 {
        font-size: calc(14px + 0.8vw);
        line-height: 1.4;
    }

    .kontakt a {
        font-size: calc(14px + 0.8vw);
    }

    .tagi {
        margin-top: 20px;
    }

    .tagi h3 {
        font-size: calc(12px + 0.5vw);
    }
}

/* Orientacja pozioma na urządzeniach mobilnych */
@media screen and (max-height: 480px) and (orientation: landscape) {
    #Kontakt section {
        position: relative;
        width: 80%;
        margin: 40px auto 0;
    }

    .kontakt {
        padding: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .kontakt h1 {
        width: 100%;
        font-size: calc(16px + 1vw);
        margin-bottom: 10px;
    }

    .kontakt h2 {
        font-size: calc(12px + 0.8vw);
        line-height: 1.3;
    }

    .tagi {
        margin-top: 15px;
        width: 100%;
    }
}