/* style.css */
:root {
    --navy: #0a2342;
    --teal: #2ca58d;
    --light-teal: #7fcdbb;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --white: #ffffff;
    --black: #212529;
}

/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

.section-title {
    color: var(--navy);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--teal);
}

.section-subtitle {
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Przyciski */
.btn {
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-teal {
    background-color: var(--teal);
    color: var(--white);
    border: 2px solid var(--teal);
}

.btn-teal:hover {
    background-color: transparent;
    color: var(--teal);
    border-color: var(--teal);
}

/* Nawigacja */
.navbar {
    background-color: var(--navy);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 15px !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--teal);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Sekcja Hero */




.hero {
        position: relative;
        height: 100vh;
        min-height: 600px;
        overflow: hidden;
        color: white;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }
    
    .background-images {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }
    
    .bg-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        opacity: 0;
        transition: opacity 1s ease-in-out, transform 10s ease-in-out;
    }
    
    .bg-image-1 {
        background-image: url('/img/sono2.jpg');
        transform: scale(1.1);
    }
    
    .bg-image-2 {
         background-image: url('/img/sono1.jpg');
        transform: scale(1.1);
    }
    
    .bg-image-3 {
         background-image: url('/img/sono3.jpg');
        transform: scale(1.1);
    }
    
    .bg-image.active {
        opacity: 1;
        transform: scale(1);
    }
    
    /* Przycisk - dostosuj kolory do swoich potrzeb */
    .btn-teal {
        background-color: #20c997;
        color: white;
        border: none;
        transition: all 0.3s ease;
    }
    
    .btn-teal:hover {
        background-color: #1aa179;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }











.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Sekcja O nas */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--teal) 0%, var(--light-teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.parallax-section {
    height: 100px;
    /* width: 200px;; */
    /* background: url('https://via.placeholder.com/1920x600?text=Parallax') fixed center center/cover; */
    text-align: center;
    background-attachment: fixed;
    position: relative;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(182, 198, 218, 0.7);
}

parallax-section > img {
    width: 200px;
}


/* Sekcja Oferta */
.offer-section {
    padding: 100px 0;
    position: relative;
}

.offer-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--teal);
}

.offer-icon {
    font-size: 2rem;
    color: var(--teal);
    margin-bottom: 20px;
}

.offer-features {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.offer-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.offer-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--teal);
}

/* Sekcja Refundacje */
.refund-section {
    padding: 100px 0;
    background-color: var(--white);
}

.refund-card {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.refund-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.refund-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--navy);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
}

.refund-badge.bg-teal {
    background-color: var(--teal);
}

.refund-badge.bg-navy {
    background-color: var(--navy);
}

/* Sekcja Kontakt */
.contact-section {
    padding: 100px 0;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-info-wrapper {
    background: var(--navy);
    color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item .contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 1.2rem;
}

/* Stopka */
.footer {
    background-color: var(--navy);
    color: var(--white);
}

.footer h4, .footer h5 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
}

.footer h4::after, .footer h5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--teal);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--teal);
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--teal);
    transform: translateY(-3px);
}

/* Responsywność */
@media (max-width: 1199.98px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
}

@media (max-width: 991.98px) {
    .hero h1 { font-size: 2.8rem; }
    .section-title { font-size: 1.8rem; }
    .navbar { padding: 10px 0; }
}

@media (max-width: 767.98px) {
    .hero { padding-top: 70px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    h2 { font-size: 1.6rem; }
    .section-title::after { width: 60px; }
    .about-section, .offer-section, .refund-section, .contact-section {
        padding: 60px 0;
    }
}

@media (max-width: 575.98px) {
    .hero h1 { font-size: 1.8rem; }
    .btn { padding: 8px 20px; font-size: 0.8rem; }
    .footer .text-center.text-md-start, 
    .footer .text-center.text-md-end {
        text-align: center !important;
    }
    .container {
        width: 300px;
    }
}




/* Sekcja Oddziały */
.branches-section {
    padding: 100px 0;
}

.accordion-item {
    border-radius: 8px !important;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-button {
    font-weight: 600;
    padding: 15px 20px;
    background-color: var(--light-gray);
}

.accordion-button:not(.collapsed) {
    background-color: var(--teal);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--teal);
}

.accordion-body {
    padding: 20px;
}

.branch-hours {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.branch-hours li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.branch-hours li::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--teal);
}

address {
    font-style: normal;
}

address a {
    color: var(--teal);
    text-decoration: none;
}

address a:hover {
    text-decoration: underline;
}








/* Mapa oddziałów */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    height: 100%;
}

.leaflet-popup-content {
    min-width: 200px;
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
}

.leaflet-marker-icon {
    filter: hue-rotate(140deg) brightness(1.1);
}

.show-on-map {
    transition: all 0.3s ease;
}

.show-on-map:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}






/* Sekcja O nas - zaktualizowane style */
.about-content {
    position: relative;
    z-index: 1;
    background-color: white;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
}

.benefits-list li {
    padding: 8px 0;
    position: relative;
}

.feature-box {
    background-color: var(--light-gray);
    border-left: 4px solid var(--teal);
    height: 100%;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.text-navy {
    color: var(--navy);
}

.text-teal {
    color: var(--teal);
}














/* Sekcja Oferta - zaktualizowane style */
.brand-logo {
    max-height: 60px;
    margin-bottom: 15px;
    filter: grayscale(100%) brightness(0.5);
    transition: all 0.3s ease;
}

.offer-card:hover .brand-logo {
    filter: grayscale(0) brightness(1);
}

.offer-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.offer-types .badge {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    background-color: rgba(44, 165, 141, 0.2);
    color: var(--teal);
}

.offer-card:hover .offer-types .badge {
    background-color: var(--teal);
    color: white;
}




/* Sekcja Współpraca */
.cooperation-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cooperation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cooperation-header {
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.cooperation-body a {
    color: var(--navy);
    text-decoration: none;
    transition: all 0.3s ease;
}

.cooperation-body a:hover {
    color: var(--teal);
    text-decoration: underline;
}

.cooperation-info-card {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px dashed var(--teal);
    transition: all 0.3s ease;
}

.cooperation-info-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.bg-light-teal {
    background-color: rgba(44, 165, 141, 0.1);
}




/* Płynne przejścia akordeonu */
.accordion-button:not(.collapsed) {
    background-color: var(--teal);
    color: white;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-collapse {
    transition: all 0.3s ease;
}





/* Sekcja Oddziały - dodatkowe style */
.accordion-item {
    margin-bottom: 10px;
    border-radius: 8px !important;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-button:not(.collapsed) {
    background-color: var(--teal);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--teal);
}

.accordion-body {
    padding: 20px;
}

.branch-hours {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.branch-hours li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.branch-hours li::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--teal);
}

address {
    font-style: normal;
}

address a {
    color: var(--teal);
    text-decoration: none;
}

address a:hover {
    text-decoration: underline;
}

.show-on-map {
    transition: all 0.3s ease;
}

.show-on-map:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}





/* Sekcja Refundacje - Zasady */
.refund-card {
    transition: all 0.3s ease;
    border-top: 4px solid var(--teal);
}

.refund-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.refund-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.refund-steps {
    list-style: none;
    padding-left: 0;
    counter-reset: step-counter;
}

.refund-steps li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 25px;
    counter-increment: step-counter;
}

.refund-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background-color: var(--teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.refund-steps strong {
    color: var(--navy);
    display: block;
    margin-bottom: 5px;
}

.refund-steps p {
    margin-bottom: 0;
}

.refund-extra {
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(255,255,255,0.7);
    border-left: 3px solid var(--teal);
}

.nfz-locations {
    border: 1px solid rgba(0,0,0,0.1);
}

.nfz-location {
    padding: 15px;
    background-color: rgba(44, 165, 141, 0.05);
    border-radius: 8px;
    height: 100%;
    transition: all 0.3s ease;
}

.nfz-location:hover {
    background-color: rgba(44, 165, 141, 0.1);
    transform: translateY(-3px);
}

.nfz-location a {
    color: var(--navy);
    text-decoration: none;
}

.nfz-location a:hover {
    color: var(--teal);
    text-decoration: underline;
}

.bg-light-teal {
    background-color: rgba(44, 165, 141, 0.1);
}






