/* LOTO Safety Style 2025 - FINALNE WYDANIE */

:root {
    --loto-yellow: #F5C518; /* Ostrzegawczy żółty */
    --loto-red: #D32F2F;    /* Ostrzegawczy czerwony */
    --loto-black: #1a1a1a;  /* Ciemny grafit/czarny */
    --loto-white: #ffffff;
    --loto-gray: #f4f4f4;
}

body {
    font-family: 'Barlow', sans-serif;
    color: var(--loto-black);
    background-color: var(--loto-white);
    line-height: 1.5;
}

/* --- TYPOGRAFIA --- */
.display-1 { font-family: 'Barlow', sans-serif; font-size: 3.8rem; font-weight: 700; line-height: 1.1; }
.display-2 { font-family: 'Barlow', sans-serif; font-size: 2.5rem; line-height: 1.2; font-weight: 600; }
.display-4 { font-family: 'Barlow', sans-serif; font-size: 1.0rem; line-height: 1.6; }
.display-5 { font-family: 'Barlow', sans-serif; font-size: 1.5rem; font-weight: 700; }
.display-7 { font-family: 'Barlow', sans-serif; font-size: 1.1rem; font-weight: 600; }

a { color: var(--loto-red); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--loto-yellow); }

/* --- NAWIGACJA (MENU) --- */
.cid-menu {
    background: #000000 !important; /* Czarne tło paska */
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.navbar {
    min-height: 70px;
    padding: 0.5rem 1rem;
}
/* Logo */
.navbar-caption {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.4rem;
}
/* Linki w menu - BIAŁE */
.navbar-dropdown .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
.navbar-dropdown .nav-link:hover {
    color: var(--loto-yellow) !important;
}

/* --- HAMBURGER MENU FIX (Dla telefonów) --- */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 20px;
    position: relative;
    outline: none !important;
    box-shadow: none !important;
}
/* Białe kreski hamburgera */
.hamburger span {
    position: absolute;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: #ffffff !important;
    border-radius: 2px;
    transition: all 0.2s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 8px; }
.hamburger span:nth-child(4) { top: 16px; }

/* --- PRZYCISKI (Safety High-Vis) --- */
.btn {
    font-weight: 800 !important;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 1rem 2rem; /* Duże przyciski */
    letter-spacing: 0.5px;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.3s;
    margin: 0.5rem;
    position: relative; 
    z-index: 10; /* Gwarantuje klikalność */
}

/* Przycisk 1: OBLICZ KOSZT (Czerwony, biały tekst) */
.btn-primary, .btn-primary:active {
    background-color: var(--loto-red) !important;
    color: #ffffff !important;
}
.btn-primary:hover {
    background-color: #b71c1c !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(211, 47, 47, 0.4);
}

/* Przycisk 2: POZNAJ OFERTĘ (Żółty, czarny tekst) */
.btn-white-outline, .btn-white-outline:active {
    background-color: var(--loto-yellow) !important;
    color: var(--loto-black) !important;
    border: 2px solid var(--loto-yellow) !important;
}
.btn-white-outline:hover {
    background-color: #e0b315 !important;
    color: var(--loto-black) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(245, 197, 24, 0.4);
}

/* Czerwony przycisk w ofertach (mniejszy) */
.btn-danger {
    background-color: var(--loto-red) !important;
    color: white !important;
    padding: 0.5rem 1.5rem;
}

/* --- HEADER (HERO) --- */
.header1 {
    padding-top: 8rem;
    padding-bottom: 8rem;
    background-size: cover;
    background-position: center;
    position: relative;
}
.mbr-overlay {
    background: #000;
    opacity: 0.65;
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}
/* Elementy nad overlayem */
.header1 .container {
    position: relative;
    z-index: 2; 
}
.header1 .mbr-section-title, 
.header1 .mbr-text {
    color: #ffffff;
}
.header1 .label-text-2 {
    color: var(--loto-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* --- SEKCJA IKON (Dlaczego LOTO) --- */
.features1 {
    padding: 5rem 0;
    background-color: #ffffff !important; /* Białe tło */
}
.features1 .card-wrapper {
    padding: 2rem 1rem;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 8px;
    height: 100%;
    transition: 0.3s;
}
.features1 .card-wrapper:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.features1 .mbr-iconfont {
    font-size: 3.5rem;
    color: var(--loto-red);
    margin-bottom: 1.5rem;
    display: block;
}
.features1 .card-title {
    color: var(--loto-black);
    margin-bottom: 1rem;
}
/* Ciemny tekst opisowy */
.features1 .card-text {
    color: #222222 !important; 
    font-weight: 500;
}
.features1 .mbr-section-title {
    color: var(--loto-black);
}

/* --- SEKCJA KART (Usługi) --- */
.features5 {
    background-color: var(--loto-gray);
    padding: 5rem 0;
}
.features5 .card-wrapper {
    background: #fff;
    padding: 2.5rem;
    height: 100%;
    border-bottom: 5px solid var(--loto-yellow); /* Akcent */
}
.card-title-1 {
    color: var(--loto-black);
    margin-bottom: 1rem;
}
.card-text-1 {
    color: #555;
    margin-bottom: 1.5rem;
}

/* --- SEKCJA INFO (Obrazek + Tekst) --- */
.article02 {
    padding: 5rem 0;
}
.text-wrapper {
    padding: 2rem;
    border-left: 5px solid var(--loto-red);
}
.article02 .mbr-section-title {
    color: var(--loto-black);
}

/* --- STOPKA --- */
.footer2 {
    background-color: #1a1a1a;
    color: #888;
    padding: 4rem 0 2rem;
}
.footer2 h5 {
    color: #fff;
    margin-bottom: 1.5rem;
}
.footer2 ul {
    list-style: none;
    padding: 0;
}
.footer2 li {
    margin-bottom: 0.5rem;
}
.footer2 a {
    color: #bbb;
}
.footer2 a:hover {
    color: var(--loto-yellow);
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #000000;
        padding: 1rem;
        text-align: center;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        z-index: 9999;
    }
    .display-1 { font-size: 2.8rem; }
    .text-wrapper { border-left: none; border-top: 5px solid var(--loto-red); padding-left: 0; margin-top: 2rem; }
    .header1 { padding-top: 6rem; padding-bottom: 6rem; }
}