/* Reset */
body, h1, h2, p, ul, li, img, form, input, textarea, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #2e7d32;
    color: #fff;
    padding: 20px 0;
}

header h1 {
    text-align: center;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 10px;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    transition: background-color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    background-color: #1b5e20;
    border-radius: 5px;
}

section {
    margin: 20px 0;
    text-align: center;
}

section h2 {
    margin-bottom: 10px;
    color: #2e7d32;
}

.gallery img, .gallery div img {
    width: 100%;
    margin: 10px 0;
}

form input, form textarea {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
}

form button {
    background-color: #2e7d32;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #1b5e20;
}

footer {
    background-color: #2e7d32;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}
/* Stylizacja sekcji zdjęć "O nas" */
.about-images {
    display: flex;
    flex-direction: column; /* Układ kolumnowy dla całej sekcji */
    align-items: center; /* Wyśrodkowanie sekcji zdjęć */
    gap: 20px;
    margin-top: 20px;
}

/* Stylizacja dla dwóch pierwszych zdjęć, aby były obok siebie */
.about-images .top-images {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%; /* Zapewnia, że zdjęcia będą miały odpowiednią szerokość */
}

/* Stylizacja dla zdjęć */
.about-images img {
    width: 45%; /* Ustawiamy szerokość dla dwóch pierwszych zdjęć */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Stylizacja dla zdjęcia na dole */
.about-images .bottom-image {
    max-width: 60%; /* Większe zdjęcie na dole */
    margin-top: 20px;
}


/* Stylizacja sekcji "Usługi" */
.services-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 20px;
}

.services-list {
    flex: 1;
    list-style-type: disc;
    margin-left: 20px;
}

.services-list li {
    margin-bottom: 10px;
}

.services-image {
    flex: 1;
}

.services-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
/* Stylizacja sekcji "Kontakt" */
.contact-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 20px;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form button {
    background-color: #2e7d32;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #1b5e20;
}

.contact-image {
    flex: 1;
}

.contact-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
}
/* Stylizacja sekcji "Kontakt" */
.contact-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 20px;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form h3 {
    margin-bottom: 10px;
    color: #2e7d32;
}

.contact-form label {
    font-weight: bold;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form button {
    background-color: #2e7d32;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #1b5e20;
}

.contact-info {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    margin-bottom: 10px;
    color: #2e7d32;
}
/* Slider */
.slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

/* Przyciski nawigacji */
.prev, .next {
    position: absolute;
    top: 80%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
}

.prev {
    left: 100px;
}

.next {
    right: 100px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
/* Wyśrodkowanie elementów tylko na podstronie Referencje */
.references-page .container h2,
.references-page .container p {
    text-align: center; /* Wyśrodkowanie w poziomie */
    margin: 0 auto;
}

/* Opcjonalne wyśrodkowanie sekcji w pionie */
.references-page .container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Wyśrodkowanie w poziomie */
    justify-content: center; /* Wyśrodkowanie w pionie */
}


/* Responsywność */
@media (max-width: 768px) {
    .contact-layout {
        flex-direction: column;
    }

    .contact-info {
        margin-top: 20px;
    }
    .about-images img {
        max-width: 100%;
    }
}

