.site-content {
    background-color: #141414;
    color: white;
}

.ast-desktop .ast-primary-header-bar.main-header-bar, .ast-header-break-point #masthead .ast-primary-header-bar.main-header-bar {
    border-bottom-width: 0px;
    border-bottom-style: solid;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    background-color: #0c0c0c;
    position: fixed;
    background-size: cover;
    width: 100%;    
    top: 0px;
}

.ast-builder-menu-1 .menu-item > .menu-link {
    color: white;
}

.container{
    padding-top: 90px;
    padding-bottom: 90px;
    max-width: 1300px;
    padding-left: 50px;
    padding-right: 50px;
    margin-left: auto;
    margin-right: auto;
}

.naglowek{
    background-image: url(https://kmonoline.pl/wp-content/uploads/2024/12/monoline-tlo-1-scaled.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.naglowek::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.64);
    pointer-events: none; /* Nakładka nie blokuje interakcji z elementami poniżej */
}

.sekcja-napis{
    padding-top: 220px;
    padding-bottom: 120px;
    position: relative;
    top: 5px;
}

.sekcja-napis h2{
    text-align: center;
    font-size: 72px;
    font-size: 4.5rem;
    font-family: 'Marcellus', serif;
    font-weight: 100;
    line-height: 1.4em;
    color: #ffffff;
}

@media (max-width: 768px) {
    .sekcja-napis h2 {
        font-size: 48px;
    }
}

.kadence-breadcrumb-container{
    text-align: center;
    position: relative;
    top: -10px;
}

.projekty {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Trzy kolumny o równej szerokości */
    gap: 20px; /* Odstępy między projektami */
    padding: 20px 0;
}

.projekt {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.projekt img {
    width: 100%;
    border-radius: 5px;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center center;
    border-radius: 3px 3px 3px 3px;
}

.project-title{
    font-size: 2.2em;
    font-weight: 100;
    color: #FFFFFF;
    text-align: center;

}

@media (max-width: 1024px) {
    .projekty {
        grid-template-columns: repeat(2, 1fr); /* Dwa projekty w rzędzie na tabletach */
    }
}

@media (max-width: 768px) {
    .projekty {
        grid-template-columns: 1fr; /* Jeden projekt w rzędzie na telefonach */
    }
}


/* Stylizacja galerii w detail.php */
.detail-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;    
    gap: 20px;              
    padding: 120px 0px 20px 0px;
}

.detail-gallery img {
    width: 100%;             
    max-width: 1000px;       
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.baner-stopka{
    background-image: url(https://kmonoline.pl/wp-content/uploads/2024/12/pexels-heyho-5998138-scaled.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.baner-stopka::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.65);
    pointer-events: none; /* Nakładka nie blokuje interakcji z elementami poniżej */
}

.baner-sekcja-napis{
    padding-top: 104px;
    position: relative;
}

.baner-sekcja-napis h2{
    text-align: center;
    color: white;
    font-size: 55px;
    font-weight: 100;
}

@media (max-width: 767px) {
    .baner-sekcja-napis h2 {
        font-size: 35px;
    }
}

.baner-sekcja-napis p{
    text-align: center;
    color: white;
    margin-bottom: 1em;
    margin-top: 20px;
}

.elementor-button-wrapper{
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: center;
    margin-top: 45px;
    position: relative;
    top: 25px;
}

.elementor-button-text {
    font-weight: 600;
}

.przycisk {
    font-size: 1rem;
    text-transform: none;
    fill: #2B2B2B;
    color: #2B2B2B;
    border-radius: 10px 10px 10px 10px;
    padding-top: 12px;
    padding-right: 34px;
    padding-bottom: 11px;
    padding-left: 34px;
    background-color: #d0be80;
}

.przycisk:hover {
    background-color: #f9ea9e;
}

.ikona{
    font-size: 1rem;
    text-transform: none;
    fill: #2B2B2B;
    color: #2B2B2B;
    position: relative;
    top: 3px;
    margin-left: 9px;
}

.ikona svg {
    height: auto;
    width: 1em;
}

a:hover, a:focus {
    color: #2B2B2B!important;
}

.pasek{
    width: 64px;
    height: 4px;
    margin: 0 auto;
    background-color: #d0be80;
    margin-bottom: 20px;
}

.back-link:hover{
    color: #d0be80!important;
}

.menu-link:hover{
    color: white!important;
}

.kadence-breadcrumb-container a:hover{
	color: #d0be80!important;
}