/* Resetowanie domyślnych stylów przeglądarki */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Globalne style */
body {
    font-family: 'Arial', sans-serif; /* Uniwersalna, czytelna czcionka */
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}
.hero-section{
    background-color: #f7f7f7;
}
/* Nagłówki */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 400 !important;
    color: #ffffff;
}

h1 {
    font-size: 2.1rem !important;
    padding: 20px 0px;
}
.header-text h1, h3{
    color: #333;
}
h2 {
    font-size: 2rem;

}

h3 {
    font-size: 1.4rem !important;
}
h4{
    font-size: 1.2rem;
    color: #333;
}
/* Linki */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}
p, li{
    font-size: 14px;
}

/* Główne kontenery */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

.container-header{
    display: flex;
    flex-wrap: wrap;
}



/* Przyciski */
button, .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover, .btn:hover {
    background-color: #0056b3;
}

/* Obrazy */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Stopka */
footer {
    text-align: center;
    background-color: #333;
    color: #fff;
}

footer a {
    color: #ffc107;
    text-decoration: none;
}

footer a:hover {
    text-decoration: none;
}

.navbar-expand-lg .navbar-collapse{
    display: flex;
    justify-content: center;
}

        /* Stylizacja menu */
.navbar {
    display: flex;
    flex-direction: column;
}
.navbar-brand {
    font-weight: bold;
    color: #141111 !important;
}
.navbar-nav{
    display: flex;
}
.navbar-nav .nav-link {
    color: #fff !important;
    font-size: 14px;
    transition: color 0.3s ease-in-out;
    font-weight: 600;
}
.navbar-nav .nav-link:hover {
    color: #d40000 !important;
    text-decoration: none;
}
.navbar-toggler {
    border: none;
    outline: none;
}
.container-nav{
   display: flex;
   justify-content: space-between;
   align-items: center;
}


.navbar-collapse {
    padding: 15px;
    transition: all 0.3s ease-in-out;
}

/* Styl hamburgera */
.navbar-toggler {
    border: none;
    outline: none;
}
.navbar-toggler:hover{
    background-color: lightblue;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 10px;
  }
  
  .nav-item a:hover {
    background: rgb(255, 255, 255);
    color: #d40000 !important;
  }

.collapse{
    background-color: #d40000 !important;
}
#navbarNav{
    padding: 0px;
}
.bg-box{
    background: url('/img/postman-1.webp') no-repeat bottom;
    background-size: cover;
    opacity: 0.7;
}
.bg-box-1{
    background: url('/img/courier.webp') no-repeat bottom;
    background-size: cover;
    opacity: 0.7;
}
.bg-box-2{
    background: url('/img/courier-2.webp') no-repeat bottom;
    background-size: cover;
    opacity: 0.7;
}
.bg-box-3{
    background: url('/img/courier-1.webp') no-repeat bottom;
    background-size: cover;
    opacity: 0.7;
}
.bg-box-4{
    background: url('/img/courier-3.webp') no-repeat bottom;
    background-size: cover;
    opacity: 0.7;
}
.bg-box-5{
    background: url('/img/hands-together.webp') no-repeat bottom;
    background-size: cover;
    opacity: 0.7;
}
.bg-box-6{
    background: url('/img/call-1.webp') no-repeat bottom;
    background-size: cover;
    opacity: 0.7;
}

.header-text {
    position: relative;

    background-size: cover;
    color: #fff; /* Jasny kolor tekstu dla kontrastu */
    padding: 82px; /* Margines wewnętrzny dla czytelności */
    filter: grayscale(100%);
}

/* Overlay (ciemniejsza warstwa nad obrazem) */
.header-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/worldmap.jpg');
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    opacity: 0.2; /* Ustaw przezroczystość tła (0.0 - całkowicie niewidoczne, 1 - pełna widoczność) */
    z-index: -1; /* Umieszcza tło za treścią */
}

/* Zapewnienie, że tekst jest nad overlayem */
.header-text * {
    position: relative;
    z-index: 2;
}
.card{
    border: none;
}
.card-body{
    padding: 0px;
}
.card-body h3{
    color: #444;
}
.card-title{
    color: #d40000;
    display: inline-block;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px !important;
    padding-right: 150px;
}

.info-section {
    display: flex;
    align-items: center;
    background: #e9f7ff; /* Delikatne niebieskie tło */
    border-radius: 8px;
    flex-direction: column;
}
.info-icon {
    font-size: 24px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
}
.info-section a {
    color: #007bff;
    font-weight: bold;
}
.info-section a:hover {
    text-decoration: underline;
}

.footer-links li{
    list-style-type: none !important;
    margin: 0px 10px;
}
.footer-links li a:hover{
   color: #fff ;
}

/* Responsywne ustawienia */
 @media (max-width: 768px) {
            .navbar-nav {
                text-align: center;
            }
            .navbar-nav .nav-item {
                margin-bottom: 10px;
            }
            .navbar-collapse{
                margin-top: 50px;;
            }
            .header-text{
                padding: 5px;
            }
            .card-title{
                padding-right: 10px;
            }
        }

/* Responsywność */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .container {
        padding: 10px;
    }
}
