* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    position: relative; /* Zmienione z fixed na relative */
    width: 100%;
    background-color: #3d2101;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
    color: white;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-links {
    display: flex; /* Wyświetlaj elementy w wierszu */
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end; /* Wyrównaj menu do prawej */
}

.nav-links li {
    margin-left: 20px; /* Odstęp między elementami menu */
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #D9CAAD;
}

.hero {
    position: relative;
    height: 100vh; /* Zmniejszona wysokość, aby lepiej pasowało jako kolejny blok */
    overflow: hidden;
    padding-top: 0; /* Usunięte odsunięcie od góry */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Przyciemnienie filmu dla lepszej czytelności tekstu */
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    animation: fadeIn 1.5s ease-in-out;
}


.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeIn 2s ease-in-out;
}

.hero-video-container {
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.fullwidth-video-wrapper {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.fullwidth-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-top: 20vh;
    text-align: center;
}

.hero-buttons {
    margin-top: 30px;
}

.hero .btn {
    position: relative;
    z-index: 2;
}

.banner {
    background-color: white;
    width: 100%;
    padding: 15px 0;
    text-align: center;
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.banner-text {
    color: #e72a2a;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;    
    line-height: 1.2;
}

.promocja {
    font-size: 1.3rem;
    font-weight: bold;
    color: #e72a2a;
}

.phone-banner {
    background-color: #e72a2a;
    width: 100%;
    padding: 15px 0;
    text-align: center;
}
  
.phone-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
  
.phone-banner-text {
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
  
.banner-text-top {
    font-size: 1.8rem;
}
  
.banner-text-bottom {
    font-size: 1.8rem;
}
  
.banner-phone {
    color: white;
    font-size: 4.5rem;  /* Zwiększono z 2.5rem na 3.5rem */
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}
  
.banner-phone:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    transform: scale(1.03);
}

.pricing {
    background-color: white; 
    color: black; 
    padding: 2rem 0;    
    text-align: center;    
}

.pricing-title {    
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: bold;
    color: #666
}

.pricing-item {
    max-width: 600px; /* Ustaw maksymalną szerokość */
    margin: 0 auto; /* Wycentruj element */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #666;
    color: #666;
}

.pricing-description {
    font-size: 1.1rem;
    line-height: 1.4;
    text-align: left;
}

.pricing-price {
    font-size: 1.5rem;
    font-weight: bold;
}
  
.btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 0 10px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}
  
  .btn:hover {
    background-color: #0055aa;
}
  
  .download-btn {
    background-color: #ff6600;
}
  
  .download-btn:hover {
    background-color: #e65c00;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #666;
    margin-bottom: 1rem;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

.how-it-works {
    padding: 5rem 0;
    background-color: white;
}

footer {
    background-color: #3d2101;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Zapewnia responsywność */
    gap: 1rem;
    text-align: left;
}

.footer-column {
    flex: 1 1 25%; /* Każda kolumna zajmuje 25% szerokości */
    min-width: 200px; /* Minimalna szerokość kolumny */
}

.footer-logo-image {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-column p, .footer-column a {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0.3rem 0;
    text-decoration: none;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 1rem;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 1rem; /* Zmniejszono odstęp między kolumnami */
    flex-wrap: nowrap; /* Zapobiega zawijaniu kolumn */
}

.footer-column {
    flex: 1; /* Każda kolumna zajmuje równą szerokość */
    min-width: 150px; /* Minimalna szerokość kolumny */
    max-width: 250px; /* Maksymalna szerokość kolumny */
}

.footer-column:first-child {
    flex: 2; /* Kolumna z mailem ma większą szerokość */
    max-width: 400px; /* Maksymalna szerokość dla kolumny z mailem */
}

.footer-column {
    text-align: left;
    max-width: 200px;
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-column p {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0.3rem 0;
}

.footer-column a {
    color: #ccc; /* Dopasowanie koloru do pozostałego tekstu */
    text-decoration: none; /* Usunięcie podkreślenia */
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #fff; /* Zmiana koloru na biały po najechaniu */
}

.footer-text {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

/* Dodatkowe animacje */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero h1 {
    animation: fadeIn 1.5s ease-in-out;
}

.hero p {
    animation: fadeIn 2s ease-in-out;
}

/* Dodatkowe efekty dla przycisków */
.btn {
    position: relative;
    overflow: hidden;
}

.btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 1;
    }
    20% {
        transform: scale(25, 25);
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

/* Style dla urządzeń mobilnych */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
      display: block;
    }
    
    .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background-color: #3d2101;
      flex-direction: column;
      box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
      display: flex;
    }
    
    .nav-links li {
      margin: 0;
    }
    
    .nav-links a {
      display: block;
      padding: 15px;
      border-bottom: 1px solid #444;
    }
    
    .hero-content h1 {
      font-size: 1.8rem;
    }
    
    .hero-content p {
      font-size: 1rem;
    }

    .phone-banner-content {
        flex-direction: column;
        gap: 10px;
    }
      
      .banner-text {
        font-size: 0.8rem;
    }
      
    .banner-phone {
        font-size: 2.4rem;
    }

    .hero {
        height: 29vh; /* Zmniejszenie wysokości sekcji na urządzeniach mobilnych */
    }

    #hero-video {
        object-fit: contain; /* Dopasowanie filmu bez obcinania */
    }

    .pricing-price {
        font-size: 1.2rem; /* Zmniejszenie rozmiaru czcionki ceny */
    }   
    
    .pricing-description {
        font-size: 0.9rem; /* Zmniejszenie rozmiaru czcionki opisu */
    }

    .footer-column {
        flex: 1 1 100%; /* Kolumny zajmują całą szerokość na mniejszych ekranach */
        text-align: center;
    }

    .footer-content {
        text-align: center;
    }

    #kontakt .footer-content {
        display: flex;
        flex-direction: column; /* Ustaw elementy w kolumnie */
        align-items: center; /* Wycentruj elementy poziomo */
        text-align: center; /* Wycentruj tekst */
    }

    #kontakt .footer-column {
        flex: 1 1 auto; /* Dostosuj szerokość kolumn */
        margin-bottom: 1rem; /* Dodaj odstęp między kolumnami */
    }

    #contact .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #contact .footer-column {
        flex: 1 1 auto;
        margin-bottom: 1rem;
        text-align: center;
    }
}

.regulations {
    background-color: white;
    text-align: center;
    padding: 2rem 0;
}

.regulations .section-title {
    margin-bottom: 1.5rem;
}

.regulations-link .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #D9CAAD;
    color: #3d2101;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.regulations-link .btn:hover {
    background-color: #C8B89A;
}

.leaflet {
    text-align: center;
    padding: 2rem 0;
    background-color: white;
}

.leaflet-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.schedule {
    background-color: white;
    padding: 2rem 0;
    text-align: center;
}

.schedule-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #666;
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.schedule-list li {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.schedule-list p {
    font-size: 1rem;
    margin: 0.5rem 0 1rem;
    color: #666;
}

.map-link {
    color: #666; /* Kolor linku */
    text-decoration: none; /* Usuń podkreślenie */
    font-weight: bold;
    transition: color 0.3s ease;
}

.map-link:hover {
    color: #777; /* Kolor linku po najechaniu */
    text-decoration: underline; /* Podkreślenie po najechaniu */
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #0066cc;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.scroll-to-top img {
    width: 24px;
    height: 24px;
}

.scroll-to-top:hover {
    background-color: #004999;
    transform: scale(1.1);
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.185);
    color: #777;
    font-size: 2rem;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.scroll-to-top:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Additional styles for language flags */
.language-selector {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.language-flag {
    width: 30px;
    height: 30px;
    margin-left: 8px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.language-flag:hover {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    font-size: 2rem;
    font-weight: bold;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0); /* Przyciemnienie tła za tekstem */
    border-radius: 8px;
}

.partners-logos {
    background: #fff;
    padding: 2rem 0;
    text-align: center;
}

.logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: nowrap;
}

.partner-logo {
    max-width: 120px;
    width: 100%;
    height: auto;
    display: block;
}

/* Utrzymaj poziome ułożenie na mobile */
@media (max-width: 768px) {
    .logos-row {
        gap: 1rem;
    }
    .partner-logo {
        max-width: 80px;
    }
}

@media (max-width: 768px) {
    .nav-right {
        display: flex;
        align-items: center;
    }
    
    .language-selector {
        margin-right: 10px;
    }
}

.section-divider {
    width: 100%;
    height: 2px;
    background-color: #666; /* Kolor tekstu */
    opacity: 0.15;
    margin: 0 auto 2rem auto;
}

.patronat-title {
    color: #666;
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    margin-top: 0;
    text-align: center;
}
