.container {
    max-width: 1320px !important;
}
.bg-hero {
    background-image: url('../imgs/hero-bg.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    height: 100vh;
}

.bg-footer {
    background-image: url('../imgs/hero-bg.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.bg-secondary {
    background-color: rgb(242, 245, 252) !important;
}

.btn-secondary {
    background-color: rgb(242, 245, 252) !important;
    color: #212529 !important;
    border: none !important;
}

.btn-secondary:hover {
    background-color: rgb(255, 255, 255) !important;
    color: rgb(75, 77, 78) !important;
}

.btn-secondary:active {
    background-color: rgb(255, 255, 255) !important;
    color: #5f6264 !important;
}

.btn-primary {
    background-color: hsl(230, 95%, 57%) !important;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: hsl(230, 100%, 65%) !important;
}

.btn-primary:active {
    background-color: hsl(230, 95%, 67%) !important;
}

.btn-light {
    background-color: hsla(0, 0%, 100%, 0) !important;
    transition: background-color 0.3s ease;
}

.btn-light:hover {
    background-color: rgb(242, 245, 252) !important;
    border-color: rgb(242, 245, 252);
}

.btn-light:active {
    background-color: rgb(242, 245, 252) !important;
    border-color: rgb(242, 245, 252) !important;
}


.title {
    border-radius: 50px;
    display: inline-flex;
    padding: 10px 20px;
    color: hsl(0, 0%, 100%) !important;
    background-color: #212529 !important;
    text-transform: uppercase;
} 

.shadow {
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.1) !important;
}

.card {
    border: none !important;
}

.count {
    opacity: 0.0;
    transition: opacity 2.0s ease-in-out;
}

.count[data-visible="true"] {
    opacity: 1;
}


.card-img-top {
    transition: transform 0.3s ease;
}

.card-img-top:hover {
    transform: scale(0.98);
}

.img-gallery {
    position: relative;
    transition: transform 0.3s ease, transform-origin 0.3s ease;
    overflow: hidden;
}

.img-gallery img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease; /* Płynne przejście dla powiększenia i szarości */
}

.img-gallery:hover img {
    transform: scale(1.02); /* Powiększenie obrazu */
    transform-origin: center center; /* Punkt powiększenia na środku */
    filter: grayscale(100%); /* Ustala obraz na szaro */
}


.img-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7); /* Cień tekstu */
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease;
}

.img-gallery:hover .img-overlay {
    visibility: visible; /* Tekst staje się widoczny po najechaniu */
    opacity: 1;
}

.nav-link {
    white-space: nowrap;
    font-size: 18px;
}

