
:root {
    --bs-primary: #8C2138;
    --bs-primary-rgb: 140, 33, 56;
    /* Dodatkowy kolor tła dla efektu hover */
    --bs-primary-dark: #701A2C; 
}

/* Dostosowanie przycisku primary, aby poprawnie reagował na hover */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover {
    background-color: var(--bs-primary-dark);
    border-color: var(--bs-primary-dark);
    /* Utrzymanie koloru tekstu białego */
    color: white; 
}

.btn-outline-primary {
    --bs-btn-color: #701A2C;
    --bs-btn-border-color: #701A2C;
    --bs-btn-hover-bg: #701A2C;
    --bs-btn-hover-border-color: #701A2C;
    --bs-btn-active-bg: #701A2C;
}

footer {
    font-size: 0.9em;
}

html {
    scroll-behavior: smooth;
}

h1 {
    color: #8C2138;
}

.text-columns {
    column-count: 2;
    column-gap: 40px;
    text-align: justify;
}

@media (max-width: 768px) {
    .text-columns {
        column-count: 1;
    }
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

.text-columns ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 1rem;
}

.text-columns li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    text-align: justify;
}

.text-columns li::before {
    content: "\25AA";
    font-weight: bold;
    display: inline-block;
    width: 1.5rem;
    margin-left: -1.5rem;
    font-size: 1.1rem;
    line-height: 1;
    vertical-align: baseline;
}

.smart-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
}

.nav-hidden {
    transform: translateY(-100%);
}

.nav-show {
    transform: translateY(0);
}

.transition-hover {
    transition: transform 0.3s ease;
}
.transition-hover:hover {
    transform: translateY(-5px);
}