/* Globalny styl */
body {
    height: 100%;
    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; /* Sprawia, że sekcja główna wypełnia przestrzeń */
}

.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;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center; /* Wyśrodkowanie poziome */
    align-items: center; /* Wyśrodkowanie pionowe */
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(153, 132, 132, 0.7); /* Przezroczystość 70% */
}

/* Wyśrodkowanie tekstu i z-index, aby napis był widoczny nad obrazem */
.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);
}

/* Główna treść */
.links {
    margin: 40px auto;
    padding: 20px;
    max-width: 800px;
    background: linear-gradient(145deg, #83741b, #deb422);
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1), -4px -4px 10px rgba(255, 255, 255, 0.7);
}

.links h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links ul li {
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1.8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.links ul li a {
    text-decoration: none;
    color: #746418;
    display: block;
    padding: 10px 20px;
    background: #f6f2e4;
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.links ul li a:hover {
    background: #746418;
    color: white;
    transform: translateY(-2px);
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.2);
}

.links ul li:hover {
    transform: scale(1.02);
    box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.1);
}

/* Stopka */
.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;
}

.footer a {
    color: #ebe5c0;
}
