/* Styl dla podstron */
.hero-section {
    background: url('https://primakrasnystaw.pl/wp-content/uploads/2025/01/media-dachy.webp') no-repeat center center/cover;
    height: 150px;
    position:relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(10px); /* Efekt rozmycia */
    z-index: 1; /* Ustaw warstwę pod zawartością */
}

.hero-section h1 {
    font-size: 30px;
    font-weight: bold;
}

.hero-section p {
    font-size: 1.2rem;
}

.details-section {
    padding: 2rem 1rem;
    background: #f4f4f4;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.details-section .container {
    max-width: 800px;
    width: 80%;
    margin: 0 auto;
}

.details-section h2 {
    color: #2A306F;
    margin-bottom: 1rem;
}

.details-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.details-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-section {
    background: #2A306F;
    color: #fff;
    padding: 1rem 2rem 2rem;
    text-align: center;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-section .cta-button {
    background-color: #FF5733;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.contact-section .cta-button:hover {
    background-color: #E04E2B;
}


.hero-podstrona {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Bold */
    font-size: 1.8rem; /* Dopasuj rozmiar */
    padding: 0 2rem;
    margin: 0 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
}



/* Stylizacja sekcji szczegółów */
.gallery-section {
    padding: 0 20px 20px;
    background-color: #f4f4f4;
}

/* Kontener kolumn */
.gcontainer {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: flex-start;
}

/* Kolumna logotypów */
.logos-column {
    flex-wrap: wrap;
    width: 50%;
    display: flex;
    justify-content: center;
    text-align: center;
    justify-items: center;
}

.logos-column h2 {
    font-size: 1.8rem;
    color: #2A306F;
    width: 100%;
    margin-bottom: 20px;
}

.logos-grid {
    display: flex;
    max-width: 400px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.logos-grid img {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    width: 190px;
    transition: filter 0.3s ease, transform 0.3s ease;
}

#logo-logo4-post-65 {
    height: 24px;
}

#logo-logo6-post-65 {
    height: 28px;
}

#logo-logo1-post-65 {
    height: 53px;
}

#logo-logo1-post-453 {
    padding: 10px;
}

#logo-logo3-post-65 {
    height: 79px;
}

#logo-logo2-post-93 {
	padding: 0 15px;
    	background: #fff;
}

.logos-grid img:hover {
    transform: scale(1.1);
}

/* Kolumna galerii */
.gallery-column {
    width: 50%;
    text-align: center;
}

.gallery-column h2 {
    font-size: 1.8rem;
    color: #2A306F;
    margin-bottom: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gallery img {
    width: 100%;
    object-fit: cover;
    height: 250px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}


.pricing-section {
    padding: 2rem 1rem;
    background-color: #f9f9f9;
}

.pricing-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #333;
}

.pricing-section .container {
    overflow-x: auto;
}

.pricing-section .container h2::after {
content: '(przesuń palcem w prawo, aby odczytać tabelę)';
    width: 100%;
    display: none;
    justify-content: center;
    color: red;
    font-size: 1rem;
}

.pricing-table {
    border-collapse: collapse;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    text-align: left;
}

.pricing-table thead {
    background-color: #2A306F;
    color: #fff;
}

.pricing-table th, 
.pricing-table td {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
}

.pricing-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.pricing-table tbody tr:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

.pricing-table th {
    text-align: center;
}

.pricing-table strong {
    color:red;
}

.pricing-table td {
    text-align: center;
}



.details-section .container-tiles {
    max-width: 1200px;
    margin-top: 30px;
    text-align: center;
}


.tiles-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.tile {
    background: white;
    border-radius: 10px;
    width: 200px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.tile img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 50%;
}

.tile h2 {
    font-size: 1.2rem;
    color: #333;
}



/* Responsywność */
@media (max-width: 768px) {
    .gcontainer {
        flex-direction: column;
        align-items: center;
    }

    .gallery-column {
        width: auto
    }

    .hero-section h1 {
        font-size: 25px;
    }

    .logos-column {
        width: auto;
    }


    .gallery {
        grid-template-columns: 1fr;
    }
}


/* Kiedy ekran jest za wąski na 2 loga */
@media (max-width: 480px) {
    .logos-grid {
        grid-template-columns: 1fr; /* 1 logo w wierszu */
    }

	.hero-podstrona {
	padding: 0 10px;
}

.hero-section h1 {
	font-size: 20px;
}

.pricing-section .container h2::after {
	display:flex
}

}

@media (max-width: 325px) {
    .contact-section .cta-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}