/* Zapobieganie przesunięciu w poziomie */
body {
    overflow-x: hidden; /* Usuwa białą przestrzeń po prawej stronie */
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.container, .contact-bar, .footer, .hero-content, .logo-header, .hero-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px; /* Dodanie odstępu wewnętrznego po bokach */
    box-sizing: border-box;
}

.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; /* Ustawienie w wierszu dla desktopowej wersji */
}

/* Zapewnienie, że hero-section nie przekracza szerokości ekranu */
.hero-section {
    width: 100%;
    background-size: cover;
    background-position: center;
    min-height: 89.5vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer {
    background-color: #483f1b;
    padding: 20px;
    color: #ebe5c0;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100vw; /* Ustawienie na pełną szerokość okna przeglądarki */
    position: relative;
    box-sizing: border-box;
}

/* Domyślny rozmiar logo */
.logo-header img {
    height: 200px; /* Domyślna wysokość dla większych ekranów */
}

/* Mniejszy rozmiar logo na małych ekranach */
@media (max-width: 480px) {
    .logo-header img {
        height: 80px !important; /* Zmniejszenie logo na małych ekranach */
    }
}

/* Usuń wszelkie ustawienia wysokości z logo-header */
.logo-header {
    height: auto !important;
    margin-top: 0 !important;
}

@media (min-width: 1236px) {
    .contact-bar {
        height: 60px !important; /* Zwiększenie wysokości paska z wymuszeniem */
        padding: 0 !important; /* Usuń dodatkowy padding */
    }
    .logo-header img {
        margin-top: -100px !important; /* Zmniejszenie logo na małych ekranach */
    }
}

@media (max-width: 1236px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.5rem;
    }

    .contact-bar {
        flex-direction: column;
        height: auto;
    }

    .contact-bar span {
        width: 100%;
        justify-content: center;
        margin: 5px 0;
    }
    .contact-bar {
        flex-direction: column; /* W wersji mobilnej elementy są ustawione w kolumnie */
    }

    .contact-bar span {
        margin: 5px 0; /* Odstęp między elementami w wersji mobilnej */
    }
}


body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.hero-section {
    background-size: cover;
    background-position: center;
    min-height: 89.5vh;
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 40, 40, 0.7); /* Transparentność z czarnym kolorem */
}
.logo-header {
    z-index: 2;
    height: 250px;  
    margin-top: -100px;
}
.logo-nav-container {
    position: relative;
    z-index: 2;
}

.nav-link {
    font-size: 1.5rem; /* Zwiększony rozmiar czcionki */
    font-weight: bold;
    font-family: 'Ropa Sans', sans-serif; /* Ustawienie czcionki Ropa Sans */
    color: white;
    margin: 0 20px; /* Większy odstęp między przyciskami */
    text-transform: uppercase;
    padding: 10px 15px; /* Większy padding dla bardziej wyraźnych przycisków */
}

.nav-link:hover {
    color: #deb422;
    text-decoration: none;
}

.hero-content {
    z-index: 2;
    position: relative;
    margin-top: 300px; /* Przesunięcie tekstu w dół */
    font-family: 'Ropa Sans', sans-serif; /* Ustawienie czcionki Ropa Sans */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.hero-content h1 {
    font-family: 'Ropa Sans', sans-serif;
    font-size: 5rem; /* Dostosuj rozmiar tekstu */
    margin-top: 40px;
    margin-bottom: 20px; /* Dodaj odstęp poniżej nagłówka */
}

/* Styl dla opisu */
.hero-content p {
    font-family: 'Ropa Sans', sans-serif;
    font-size: 2.5rem; /* Dostosuj rozmiar opisu */
}

.arrow-container {
    position: absolute;
    bottom: 20px;
}

/* Stopka */
.footer {
    background-color: #483f1b;
    padding: 20px 20px;
    color: #ebe5c0;
    height:60px;
    justify-content: center; /* Wyśrodkowanie poziome */
    align-items: center;
}

.footer a {
    color: #ebe5c0;
}

.contact-bar span {
    display: flex;
    align-items: center;
    justify-content: center; /* Wyśrodkowanie ikony i tekstu razem */
    margin: 5px 10px;
    width: auto;
}

/* Ikony obok tekstu */
.contact-bar i {
    margin-right: 8px; /* Odstęp między ikoną a tekstem */
}
/* Stylizacja dla dodatkowej informacji w treści głównej */
.hero-content p.h4 {
    font-size: 1.5rem;
    font-weight: normal;
}



