/*
colors
main dark blue
rgb(0, 31, 63)

main yellow
rgb(255, 235, 0)

other blue
background-color: #011826;

*/

/* general */

body {
    overflow-x: hidden;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: black;
}

a {
    text-decoration: none;
    text-transform: none;
    line-height: inherit;
    transition: opacity 0.3s ease-out;
}

* {
    padding: 0;
    margin: 0;
}

/* loader */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    z-index: 99999;
}

#status {
    width: 110px;
    height: 110px;
    position: absolute;
    left: 50%; 
    top: 50%; 
    background-position: center;
    margin: -55px 0 0 -55px; 
    text-align: center;

    display: flex;
    justify-content: center;
}

.loader {
    height: 40px;
    aspect-ratio: 1;
    position: relative;
}

.loader:before, .loader:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    margin: -8px 0 0 -8px;
    width: 16px;
    aspect-ratio: 1;
    background: black;
    animation:
      l2-1 2s  infinite,
      l2-2 1s infinite ;
}

.loader:after {
    background:black;
    animation-delay: -1s,0s;
}

@keyframes l2-1 {
    0%   {top:0   ;left:0}
    25%  {top:100%;left:0}
    50%  {top:100%;left:100%}
    75%  {top:0   ;left:100%}
    100% {top:0   ;left:0}
}
  
@keyframes l2-2 {
     40%,50% {transform: rotate(0.25turn) scale(0.5)}
     100%    {transform: rotate(0.5turn) scale(1)}
}



/* navigation */

nav {
    background-color: white;
    color: black;

    height: 90px;
    width: 100vw;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    transition: height 0.5s ease;
}

.nav-left img {
    height: 70px;
}

nav a {
    text-decoration: none;
    font-weight: bold;
    margin: 0 15px;
    transition: color 0.3s ease;
    color: black;
}

nav a:hover {
    color: rgb(255, 235, 0);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
}

.nav-right, .nav-links{
    display: flex;
    align-items: center;
    max-width: 100%;

    gap: 15px;
    font-size: 16px;
}

.nav-right {
    margin-right: 30px;
}

.navBlock {
    color: black;
    padding: 8px;
    border-bottom-color: black;
    border-bottom-width: 1.5px;
    border-bottom-style: solid;
    transition: 0.6s ease;
}

.navBlock:hover {
    color: white;
    border-bottom-color: white;
    background-color: black;
}

#logo {
    transition: transform 0.5s ease;
}

nav.shrink {
    height: 65px;
    transition: all ease .5s;
}

nav.shrink .nav-right {
    gap: 10px;
    font-size: 14px;
}

nav.shrink #logo{
    transform: scale(0.7);
    transition: all ease .5s;
}


/* top background; under navigation */

.topBackground {
    width: 100%;
    height: 15vh;
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center; 
}


/* content */

body {
    background-image: url(../images/background.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.content {
    margin-top: 70px;
    width: 100%;
    height: auto;
    min-height: 100%;

    background-color: rgba(0, 0, 0, 0.1);    

    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}


/* startingBlock */

.startingBlockContainer {
    width: 100%;
    display: flex;
    align-items: flex-start;
}

.startingBlock {
    margin-left: 100px;
    padding: 30px;
    width: 40%;

    display: flex;
    flex-direction: column;
    background-color: white;
    gap: 20px;
}

.startingBlock h1 {
    font-size: 3em;
}

.startingBlock h2 {
    font-size: 1em;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.9);
}

.startingBlockButton {
    padding: 15px;
    text-align: center;
    transition: ease all 0.4s;
    border: 1px solid black;
    color: black;
    width: 30%;
}

.startingBlockButton:hover {
    background-color: black;
    color: white;
}

#galleryButton {
    margin-top: 20px;
}


/* info */

.info {
    width: 95%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.infoContact {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* shortInfo */

.shortInfo {
    max-width: 100%;
    height: auto;

    margin-top: 40px;
    margin-bottom: 40px;
    padding: 40px 0;

    display: flex;
    justify-content: center;
    gap: 30px;
}

.short-left, .short-right, .short-top{
    display: flex;
    justify-content: center;
    padding: 40px;
}

.short-bottom {
    padding-left: 40px;
}

.short-left {
    width: 35%;
    flex-direction: column;
    text-align: left;
    gap: 15px;
}

.short-left hr, .short-top hr {
    margin-left: 0;
    width: 60%;
    color: black;
    border-style: solid;
}

.overline {
    color: black;
}

.underline {
    font-size: 36px;
    font-weight: bolder;
}

.underline img {
    width: 26px;
    height: auto;
}

.short-right {
    width: 40%;
    padding: 30px;
    font-size: 14px;
    color: black;
    flex-direction: column;
}

.short-right p, .short-bottom p{
    line-height: 1.6;
}

.short-right ul, .short-bottom p{
    margin: 0;
}

.short-right li, .short-bottom li{
    line-height: 1.6;
}


.shortInfoColumn {
    width: 40vw;
    height: auto;

    margin-top: 40px;
    margin-bottom: 40px;
    padding: 40px 0;

    display: flex;
    justify-content: center;
    flex-direction: column;
}

.short-top {
    max-width: 100%;
    flex-direction: column;
    text-align: left;
    gap: 15px;
}

.short-bottom {
    max-width: 100%;
    font-size: 14px;
    color: black;
    flex-direction: column;
    font-size: 1.2em;
}

.short-bottom ul{
    list-style: none;
    padding-left: 0;
}

.short-bottom li{
    margin-bottom: 15px;
}

.short-bottom ul li::before{
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 8px;
    vertical-align: middle;
}

.emailbefore::before {
    background-image: url(../images/icons/email-icon.png);
}

.phonebefore::before {
    background-image: url(../images/icons/phone-icon.png);
}

/* imageBreak */

.imageBreak {
    width: 100%;
    height: 60vh;
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center; 
}

.imageBreak-one {
    background-image: url(../images/imageBreak.webp);
}

/* offerBrief */

.offerBrief {
    width: 100%;
    height: auto;

    margin-top: 100px;
    margin-bottom: 100px;

    display: flex;
    justify-content: center;
    flex-direction: column; 
    align-items: center;  
}

.offerBrief h1 {
    margin-bottom: 20px;
}

.offerBrief-blocks {
    width: 80%;
    height: auto;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
}

.offerBrief-block {
    width: 35%;
    
    overflow: hidden;

    text-align: center;
    transition: 0.3s ease-out;

}

.offerBrief-block:hover {
    transform: scale(1.05);
}

.offerBrief-block img {
    width: 100%;
    height: 200px;
    display: block;
    object-fit: cover;
}

.offerBrief-block hr {
    color: black;
    border-style: solid;
}

.offerBrief-block p {
    padding: 15px;
    font-size: 1em;
    font-weight: bold;
}

.offerBrief a {
    width: auto;
    height: auto;
    text-decoration: none;
    transform: none;
    color: black;
}


/* empty break */

.emptyContainer {
    width: 100%;
    height: 30vh;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.emptyContainer a {
    color: black;
}

.breakText {
    padding: 20px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
}

.breakText h3 {
    font-size: 28px;
}






/* offer section */

.offer {
    width: auto;
    height: 60vh;
    margin: 90px 50px 90px;

    display: flex;
    justify-content: center;
}

.offerPhoto {
    width: 55%;
    height: 60vh;
    margin: 0;
}

.offerPhoto img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.offerText {
    width: 45%;
    height: auto;
    margin: 30px;

    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
}

.offerText hr {
    margin-left: 0;
    width: 60%;
    color: black;
    border-style: solid;
}

.offerText p {
    margin-top: 20px;
    font-size: 15px;
}


/* contact section */

.contactIcon {
    margin-top: 5px;
    width: 20px;
    height: 20px;
}








/* other */

.margin-top {
    margin-top: 120px;
}

.no-dec ul{ 
    list-style-type: none !important; /* no decoration in ul */
}

.no-margin {
    margin-top: 10px !important; /* used in Contact */
}



















/* Hamburger styles */
.hamburger {
    display: none; /* Pokazywane tylko na małych ekranach */
    flex-direction: column;
    cursor: pointer;
}
.hamburger span {
    height: 3px;
    width: 25px;
    background: black;
    margin: 3px 0;
    display: block;
}



/* Dodana responsywność */

@media screen and (max-width: 1024px) {


    .nav-right .nav-links {
        display: none;
        position: fixed;
        top: 100px; /* poniżej nawigacji */
        right: 0;
        width: 110px;
        height: auto;
        flex-direction: column;
        padding: 20px;
        z-index: 1001;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        background-color: white;
        gap: 20px;
        align-items: baseline;
   }
   
   .hamburger {
        display: flex;
   }


    .startingBlock {
        width: 60%;
        margin-left: 50px;
    }
    
    .shortInfo {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .short-left, .short-right {
        width: 80%;
        padding: 20px;
    }
    
    .offerBrief-block {
        width: 80%;
    }

    .offer {
        width: 100%;
        height: 35vh;
        flex-direction: column;
        margin: 0;
        margin-bottom: 40px;
        align-items: center;
    }

    .offerText {
        min-width: 80%;
        max-width: 100%;
        margin: 0;
        padding: 20px;
    }

    .offerPhoto  {
        width: 100%;
        height: 20vh;
    }
}

@media screen and (max-width: 768px) {

    .startingBlock {
        width: 90%;
        padding: 20px;
        margin: 15px;
        align-items: center;
        text-align: center;
    }
    
    .startingBlock h1 {
        font-size: 2em;
    }
    
    .startingBlockButton {
        width: 40%;
    }
    
    .shortInfo {
        padding-left: 20px;
        padding-right: 20px;
    }

    .short-right {
        align-items: center;
    }

    .short-left, .short-right {
        width: 100%;
    }
    
    .offerBrief-blocks {
        flex-direction: column;
        align-items: center;
    }
    
    .offerBrief-block {
        width: 90%;
    }

    .imageBreak {
        height: 20vh;
    }

    .infoContact {
        flex-direction: column;
    }

    .shortInfoColumn {
        width: 100%;
    }

    .offer {
        height: 40vh;
    }

}

@media screen and (max-width: 480px) {
    .startingBlock {
        width: 90%;
        margin-left: 10px;
    }
    
    .startingBlock h1 {
        font-size: 1.8em;
    }
    
    .startingBlockButton {
        width: 70%;
    }
    
    .short-left, .short-right {
        padding: 10px;
        margin-left: 30px;
        margin-right: 30px;
    }
    
    .offerBrief-block {
        width: 100%;
    }

    .offer {
        height: 47vh;
    }
}
