/* 🔹 Ogólne ustawienia strony */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
}

/* 🔹 Nagłówek */
header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}
header h1 {
    font-size: 24px;
    font-weight: bold;
}
.nav .nav-link {
    color: #333;
    font-weight: bold;
    transition: 0.3s;
}
.nav .nav-link:hover {
    color: #007bff;
}

/* 🔹 Sekcja bloga */
#blog {
    background-color: #ffffff;
    padding: 40px 0;
}
#blog h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: bold;
}
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
.card:hover {
    transform: translateY(-5px);
}
.card img {
    height: 200px;
    object-fit: cover;
}

/* 🔹 Stopka */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px;
}

/* 🔹 Kafelki bloga w 2 kolumnach z równą wysokością */
#blog-container .col {
    display: flex;
}

#blog-container .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#blog-container .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#blog-container .card-text {
    flex-grow: 1;
}

#blog-container .card img {
    height: 200px;
    object-fit: cover;
}

/* EDYCJA PRZYCISKU BTN-PRIMARY*/
.btn-primary {
    background: linear-gradient(135deg, #2a4d75, #1e3a5f); /* Jaśniejszy, głębszy gradient */
    border: none;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3b5e8a, #2a4d75); /* Jeszcze jaśniejszy efekt hover */
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary:focus, .btn-primary:active {
    outline: none !important;
    box-shadow: none !important;
	border: none !important;
}

/* 🔹 Dostosowanie przycisku rozwijania menu */
.custom-toggler {
    display: flex;
    align-items: center;
    border: none;
    background: none;
    font-size: 18px;
    font-weight: bold;
}

.custom-toggler .navbar-toggler-icon {
    margin-right: 5px;
}

/* 🔹 Styl menu */
.navbar {
    padding: 10px 0;
}

.navbar-nav .nav-link {
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* 🔹 Poprawiona animacja rozwijania menu */
.navbar-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.4s ease-in-out;
}

/* 🔹 Po otwarciu menu */
.navbar-menu.show {
    max-height: 500px; /* Ustalona maksymalna wysokość */
    opacity: 1;
}

/* 🔹 Styl dla nawigacji na dużych ekranach */
@media (min-width: 768px) {
    .navbar-menu {
        max-height: none;
        opacity: 1;
        display: flex;
        justify-content: flex-end;
    }
}

/* 🔹 SLIDER */

/* 🔹 Domyślna wysokość slidera */
#hero-slider {
    width: 100%;
    height: 650px;
    overflow: hidden;
    position: relative;
}

/* 🔹 Powiększenie slidera na większych ekranach */
@media (min-width: 1400px) {
    #hero-slider {
        height: 700px; /* Zwiększamy wysokość */
    }
    .slider-img {
        height: 700px; /* Dopasowanie obrazka */
    }
}

/* 🔹 Dostosowanie obrazków */
.slider-img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

/* 🔹 Responsywność dla mniejszych ekranów */
@media (max-width: 768px) {
    #hero-slider {
        height: 300px;
    }
    .slider-img {
        height: 300px;
    }
}

.list-group {
    max-width: 700px; /* Ograniczenie szerokości listy */
    margin: 0 auto; /* Automatyczne wyśrodkowanie */
}

.list-group-item {
    font-size: 1.1rem;
    padding: 15px;
    border: none;
}

.list-group-item i {
    color: #1e3a5f; /* Kolor ikon */
    font-size: 1.3rem;
}

@media (min-width: 1200px) {
    .modal-custom-size {
        max-width: 70%;
    }
}


#gallery-container .col {
    margin-bottom: 30px; /* Większa przerwa między wierszami */
}








