/*
Theme Name: Pajcomp | 2025
Author: Jakub Mazur
Author URI: https://www.pajcomp.pl
Description: Szablon strony Pajcomp
Version: 1.0
*/

/*
	style-global.css
*/

*{
    font-family: Arial;
    font-size: 20px;
    margin: 0;
    padding: 0;    
    box-sizing: border-box;
}

a{
    text-decoration: none;
    color: black;
    width: 20%;
}

li{
    list-style: none;
}

img{
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

h2, h3{
    text-align: center;
}

h2{
    font-size: 60px;    
    padding: 50px;
    text-align: center;
    font-weight: 600;
}

h3{
    font-size: 30px;
    padding: 10px;
    text-align: center;
}

.szary{
    background-color: rgb(226, 225, 224);
}

/*Navbar*/
header{
    width: 100%;
    height: 70px;
    position: sticky;
    top: 0;
    background-color: white;
    display: flex;
    flex-wrap: wrap;
}

#logo{
    width: 40%;
}

#logo img{
    height: 70px;
    float: left;
}

menu{
    width: 60%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

menu a{
    width: 19%;
    transition: all 0.5s ease;
    padding: 10px;
    display: flex;
    justify-content: center;
    border: #006830 3px solid;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    color: #006830;
    font-weight: 600;
}

menu a:hover{
    width: 20%;
    background-color: #1baf60;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    color: white;
}

#oferta {
    width: 15%;
    transition: all 0.5s ease;
    padding: 10px;
    display: flex;
    justify-content: center;
    border: #006830 3px solid;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    color: #006830;
    font-weight: 600;
}

#oferta:hover{
    width: 20%;
    background-color: #1baf60;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    color: white;
}
  
#podstrona {
    width: 15%;
    margin-top: 37px;
    display: none;
    position: absolute;
}

#podstrona a {
    width: 80%;
    padding: 10px;
    margin: 5px auto 5px auto;
    display: block;
    display: flex;
    flex-direction: column;
    background-color: white;
}

#podstrona a:hover {
    background-color: #1baf60;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    color: white;
}

#podstrona p {
    font-size: 20px;
}

#oferta:hover #podstrona 
{
    display: block;
}

/*Footer*/
footer{
    width: 100%;
    display: flex;
    align-items: center;
    padding: 40px 0 40px 0;
    background-color: white;    
    text-align: center;

}

footer h3{
    color: #006830;
    font-size: 30px;
}

footer strong{
    color: #006830;

}

#dane{
    width: 30%;
}

#legal{
    width: 40%;
}

#social{
    width: 30%;
}

/*
	css-index.css
*/


#baner {
    width: 100%;
    display: flex;
    align-items: center;
}

#baner img{
    width: 100%;
    max-height: 800px;
    background-image: url("/Index/IMG/tlo-back.jpg");
    background-position: 100%;
    background-size: contain;
    background-repeat: no-repeat;
}

#tresc{
    width: 40%;
    position: absolute;
    color: white;
    padding-left: 50px;
}

#tresc h1{
    font-size: 100px;
}

#slogan{
    font-size: 40px;
}

#prezentacja{
    margin-top: 30px;
    font-size: 20px;
}

#akcja{
    width: 30%;
    height: 30px;
    padding: 10px;
    margin-top: 30px;
    text-align: center;
    background-color: white;
}

#akcja p{
    font-size: 30px;
}

/*Podstrony*/
#offer {
    height: 400px;    
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    background-repeat: no-repeat;
    background-size: 100%;
}

#offer a {
    height: 80%;
    background-color: white;
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
    color: #006830;
    display: flex;
    align-items: center;
    flex-direction: row;
}

#offer i {
    font-size: 120px;
}

/* Styl kafelków */
.kafelek {
    width: 20%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    border: #006830 10px solid;
    transition: all 1s ease;
}

.kafelek{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.kafelek:hover {
    width: 60%;
    display: flex;
    align-items: flex-start;
    padding-left: 40px;
}

#offer:hover .kafelek:not(:hover) {
    width: 10%;
}

.ikona {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lista {
    padding-right: 50px;
    padding: 0 20px 0 20px;
    display: none;
    color: black;
}

.kafelek:hover .lista {
    display: block;
}

.sprawdz{
    width: 30%;
    padding: 10px;
    color: #006830;
    text-align: center;
    border: #006830 3px solid;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

/*Własne roziązania*/
.integracja{
    height: 400px;
    display: flex;
    align-items: center;
}

.rozwiazanie{
    width: 50%;
    padding: 20px;
}

.obrazy{
    width: 40%;
    display: flex;
    justify-content: center;
}

.obrazy img{
    max-height: 350px;
}

/*Produkty*/

#devices{
    background: rgba(0, 3, 1, 0.781);
    background-image: url('/Index/IMG/produkty.jpg');
    background-blend-mode: overlay; /* Łączenie obrazu i koloru */
    background-size: cover;
    background-position: auto;
}

#devices h2{
    color: white;
}

#products{
    height: 500px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;

}

#products a{
    width: 17%;
    background-color: white;
    border: #006830 5px solid;
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
    text-align: center;
}

#products img{
    width: 100%;
}

#products p{
    padding: 10px 0 10px 0;
}

/*Aktualności*/
#nowinki{
    height: 500px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

#nowinki a{
    width: 25%;
    height: 420px;
    background-color: white;
}

#nowinki img{
    width: 100%;
    height: 300px;
}

.data{
    font-size: 15px;
    padding-bottom: 10px;
}


/*Prezentacja*/

#why{
    background: rgba(0, 3, 1, 0.863); /* Czarny kolor z 50% przezroczystością */
    background-image: url('/Index/IMG/Dlaczego.jpg');
    background-blend-mode: overlay; /* Łączenie obrazu i koloru */
    background-size: cover;
    background-position: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
}

#about{
    width: 80%;
    text-align: center;
    padding: 20px 0 20px 0;
    color: white;
}

#about h2{
    margin: 20px 0 20px 0;
}

#about p{
    font-size: 25px;
}

#powody{
    width: 80%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around
}

.reason{
    margin-top: 40px;
    padding: 30px;
    width: 43%;
    height: 200px;
    background-color: white;
    box-shadow:  -6px 6px 15px;
}

.reason strong{
    font-size: 25px;
}

/*Rekomendacje*/
#rekomendacje{
    height: 400px;
}

/*
	css-oferta.css
*/

#hero{
    height: 500px;
    padding: 0 150px;
    color: white;
    display: flex;
    flex-direction: column;    
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    text-align: center;

    background: rgba(0, 32, 2, 0.993);
    background-image: url('/Oferta/Biznes/hero.jpg');
    background-blend-mode: overlay; /* Łączenie obrazu i koloru */
    background-size: cover;
}

#hero h1{
    font-size: 60px;
    margin-bottom: 30px;
}

#hero p{
    font-size: 30px;
}


/*
Style dla postów
*/

/* Styl dla głównego kontenera */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* Styl dla artykułu */
article {
    margin-bottom: 40px;
}

/* Tytuł artykułu */
article h1 {
    font-size: 2rem;  
    margin-bottom: 1rem;
    line-height: 1.3;
    text-align: center;
}

/* Treść artykułu */
.post-content {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    word-wrap: break-word;
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

@media (max-width: 768px) {
    .content {
        padding: 10px;
    }

    article h1 {
        font-size: 1.5rem;
    }

    .post-content {
        font-size: 1rem;
    }
}


.wp-block-latest-posts__post-title {
    display: block;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.menu-container {
    background-color: #dcdcdc;
    padding: 10px 20px;
    border-radius: 16px;
    padding: 2rem;
}

.primary-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.primary-menu .page_item a {
    text-decoration: none;
    color: #6604b5;
    font-size: 1.2rem;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.primary-menu li a:hover {
    background-color: #6604b5;
    color: #ffffff;
}

@media (max-width: 768px) {
    .primary-menu {
        flex-direction: row;
        gap: 10px;
    }

    .primary-menu li a {
        text-align: center;
        font-size: 1rem;
    }
}
