/* Globalny styl */
body {
    font-family: 'Ropa Sans', sans-serif;
    background-color: #f6f2e4;
    color: #000;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

.footer {
    background-color: #483f1b;
    padding: 20px;
    color: #ebe5c0;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100vw;
    position: relative;
    box-sizing: border-box;
}

/* Ustawienie minimalnej szerokości obrazków dla dużych ekranów */
.content-image-first img, .content-image img {
    min-width: 300px; /* Minimalna szerokość obrazków */
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}


.container, .contact-bar, .footer {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Pasek kontaktowy */
.contact-bar {
    background-color: #746418;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    flex-direction: row;
}

@media (min-width: 1236px) {
    .contact-bar {
        height: 60px !important;
        padding: 0 !important;
    }
}

@media (max-width: 1236px) {
    .contact-bar {
        flex-direction: column;
        height: auto;
    }

    .contact-bar span {
        width: 100%;
        justify-content: center;
        margin: 5px 0;
    }
}

/* Pasek nawigacyjny */
.navbar {
    background-color: #f6f2e4;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.navbar .navbar-brand img {
    height: 80px;
}

.navbar .navbar-brand {
    margin-left: 70px;
}

@media (max-width: 1200px) {
    .navbar-collapse.show {
        background-color: #746418 !important;
        padding: 15px !important;
    }

    .navbar-nav .nav-link {
        color: #ebe5c0 !important;
        font-size: 1.2rem;
        padding: 10px 0;
        display: block;
        text-align: center;
    }

    .navbar-nav .nav-link:hover {
        color: #deb422 !important;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }

    .navbar .navbar-brand img {
        height: 60px;
    }

    .navbar .navbar-brand {
        margin-left: 70px;
    }

    .navbar-toggler {
        margin: 0;
        padding: 0.25rem 0.75rem;
    }

    .navbar-toggler-icon {
        width: 1.5rem;
        height: 1.5rem;
    }
}

.navbar .navbar-nav {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.navbar .navbar-nav .nav-item {
    margin: 0 20px;
}

.navbar .nav-link {
    font-family: 'Ropa Sans', sans-serif;
    font-size: 1.25rem;
    color: #000000;
    text-transform: uppercase;
    text-align: center;
}

.navbar .nav-link:hover {
    color: #deb422;
}

/* Sekcja banera */
.banner-section {
    height: 100px;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(153, 132, 132, 0.7);
}

.banner-section .container {
    position: relative;
    z-index: 1;
}

.banner-section h1 {
    font-family: 'Ropa Sans', sans-serif;
    color: #ebe5c0;
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Efekt parallax */
.parallax {
    height: 300px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.parallax h1 {
    position: relative;
    z-index: 2;
    color: white;
    font-family: 'Ropa Sans', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    font-size: 4rem; /* Podstawowy rozmiar dla dużych ekranów */
    margin: 0;
}

/* Responsywne zmniejszanie tekstu paralaksy */
@media (max-width: 991px) {
    .parallax {
        height: 250px; /* Zmniejszenie wysokości sekcji na średnich ekranach */
    }

    .parallax h1 {
        font-size: 3rem; /* Mniejszy rozmiar tekstu dla ekranów do 991px */
    }
}

@media (max-width: 768px) {
    .parallax {
        height: 200px; /* Zmniejszenie wysokości sekcji na mniejszych ekranach */
    }

    .parallax h1 {
        font-size: 2.5rem; /* Mniejszy rozmiar tekstu dla ekranów do 768px */
    }
}

@media (max-width: 480px) {
    .parallax {
        height: 150px; /* Jeszcze mniejsza wysokość sekcji na bardzo małych ekranach */
    }

    .parallax h1 {
        font-size: 1.5rem; /* Jeszcze mniejszy rozmiar tekstu dla ekranów do 480px */
    }
}


/* Styl dla kontenera O nas */
.content-container-first {
    display: flex;
    align-items: center;
    padding: 100px 80px;
    background-color: #f6f2e4;
    max-width: 1600px;
    margin: 0 auto;
    justify-content: space-between;
}

.content-image-first {
    flex: 1;
    max-width: 40%;
    padding-right: 150px;
}

.content-image-first img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.content-text-first {
    flex: 2;
    text-align: justify;
}

.content-text-first h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Ropa Sans', sans-serif;
    color: #483f1b;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.content-text-first p {
    font-size: 1.25rem;
    line-height: 1.6;
}

.content-container {
    display: flex;
    align-items: center;
    padding: 100px 80px;
    background-color: #f6f2e4;
    max-width: 1600px;
    margin: 0 auto;
    justify-content: space-between;
}

.content-image {
    flex: 1;
    max-width: 40%;
    padding-left: 150px;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.content-text {
    flex: 2;
    text-align: justify;
}

.content-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Ropa Sans', sans-serif;
    color: #483f1b;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.content-text p {
    font-size: 1.25rem;
    line-height: 1.6;
}

.content-container.reverse {
    flex-direction: row-reverse;
}

/* Stopka */
.footer a {
    color: #ebe5c0;
}

.contact-bar span {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 10px;
    width: auto;
}

.contact-bar i {
    margin-right: 8px;
}

/* Stylowanie dla mniejszych ekranów */
@media (max-width: 991px) {
    /* Ustawienie układu kolumnowego, zdjęcia nad tekstem */
    .content-container-first, .content-container.reverse {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        text-align: center;
    }

    /* Ustawienia obrazów */
    .content-image-first, .content-image {
        width: 100%; /* Obrazy zajmują pełną szerokość */
        max-width: 300px; /* Maksymalna szerokość obrazów */
        margin-bottom: 20px; /* Odstęp między obrazem a tekstem */
        padding: 0; /* Usuń padding dla mniejszych ekranów */
    }

    .content-image-first img, .content-image img {
        width: 100%;
        height: auto;
    }

    /* Wyrównanie tekstu do środka na mniejszych ekranach */
    .content-text-first, .content-text {
        text-align: center;
    }
}

/* Ustawienia galerii dla różnych szerokości ekranu */
.gallery .col-lg-2 {
    flex: 0 0 20%; /* 5 zdjęć w rzędzie dla szerokości 992px i większej */
    max-width: 20%;
}

@media (max-width: 991px) {
    .gallery .col-md-3 {
        flex: 0 0 20%; /* 5 zdjęć w rzędzie dla szerokości do 991px */
        max-width: 20%;
    }
}

@media (max-width: 768px) {
    .gallery .col-sm-3 {
        flex: 0 0 25%; /* 4 zdjęcia w rzędzie dla szerokości do 768px */
        max-width: 25%;
    }
}

@media (max-width: 480px) {
    .gallery .col-4 {
        flex: 0 0 33.33%; /* 3 zdjęcia w rzędzie dla szerokości do 480px */
        max-width: 33.33%;
    }
}

