@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #0d6efd;
    --primary-dark: #2d6b9c;
    --primary-light: #5ca3e0;
    --secondary-color: #6c757d;
    --light-bg: #f8f9fa;
    --24-name: #cc4242;
    --gradient-bg: linear-gradient(135deg, #f9f9fb 0%, #f3f6fb 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 400;
    background: var(--gradient-bg);
    color: #222;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.span-nazwa
{
    color: var(--24-name) !important;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

/* Dropdown menu */
.dropdown-menu {
    padding: 10px 15px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    background-color: white;
}

.dropdown-item {
    color: var(--secondary-color);
    font-weight: 500;
    border-radius: 8px;
    padding: 8px 12px;
    transition: background 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(61, 140, 201, 0.1);
    color: var(--primary-dark);
}

/* Modal */
.modal_tlo {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.modal_items {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(61, 140, 201, 0.15);
}

/* Hero Section */
.text-center.py-5 {
    background: transparent;
    color: #222;
    margin-top: -1px;
    padding: 5rem 1rem !important;
}

.przycisk1 {
    background: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(61, 140, 201, 0.15);
}

.przycisk1:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 6px 18px rgba(61, 140, 201, 0.25);
    transform: translateY(-1px);
}

.przycisk2 {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(61, 140, 201, 0.15);
}

.przycisk2:hover {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: 0 6px 18px rgba(61, 140, 201, 0.25);
    transform: translateY(-1px);
}
.przyciskZamknij {
    background: var(--secondary-color);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(61, 140, 201, 0.15);
}

.przyciskZamknij:hover {
    background: white;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    box-shadow: 0 6px 18px rgba(61, 140, 201, 0.25);
    transform: translateY(-1px);
}




.firmaNazwa {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Cards */
.card {
    border: none;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.5rem;

}

.card-ruchoma{
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}
.card-ruchoma:hover {
    transform: translateY(-6px);
}

/* Oferty */
.oferty-lista {
    list-style: none;
    padding-left: 0;
}

.oferty-obraz {
    opacity: 0.9;
    border-radius: 12px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.card-img-overlay {
    pointer-events: none;
}

/* Map */
.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background-color: #0f172b;
    color: #444;
    padding: 2rem 0;
    font-size: 0.95rem;
}

footer a {
    text-decoration: none;
    color: #afa2a2;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-dark);
}

footer svg {
    color: var(--primary-color);
    margin: 0 8px;
    transition: transform 0.3s ease, color 0.3s ease;
}

footer svg:hover {
    color: var(--primary-dark);
    transform: scale(1.15);
}

footer ul {
    text-align: center;
}
footer h6 {
    text-align: center;
    color: white;
}
footer span
{
    color: var(--primary-light);

}

/* Karty obramowanie */
card_border
{
    border: 1px solid var(--primary-color);

}
/* Text cololor */
.hero_text_color
{
    color: var(--primary-color);
}


/*OFERTY STYL*/
.highlight-box {
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.benefit-item {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.benefit-item:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}
.icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.clause-card {
    border-left: 4px solid green;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}
.clause-card h5{
    color: var(--primary-dark);
}
.scenario-item {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);

}

.feature-card {
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    background: white;
}

.feature-card:hover {
    transform: translateY(-5px);
}
.insurance-type-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: 0.5rem;
}
.dokumenty
{
    height: 80vh;

}
.dokumenty a
{
    text-decoration: none;
    color: var(--primary-color);
    padding-left: 20px;
}
.dokumenty h2
{
    text-decoration: none;
    color: var(--primary-color);
    padding-left: 20px;
}
.dokumenty ul
{
    list-style-type: none;

}

/* Whatsapp*/
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #25D366;
    color: white;
    padding: 14px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.wa-text {
    font-size: 14px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile – tylko ikonka */
@media (max-width: 500px) {
    .wa-text {
        display: none;
    }

    .whatsapp-float {
        padding: 16px;
        border-radius: 50%;
    }
}

/* Responsive MOBILE */
@media (max-width: 768px) {
    .navbar-collapse {
        text-align: center;
    }

    .card {
        margin-bottom: 1.5rem;
    }

    .text-center.py-5 {
        padding: 3rem 1rem !important;
    }
    .map-container{
        height: 50vh;
    }
    .przycisk1{
        margin-top: 10px;
    }
}


