* {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: white;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: transparent;
    /* border-bottom: 2px solid white; */
    z-index: 999;
    height: 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.navbar::before {
    content: "";
    position: absolute;
    bottom: 0;
    height: 2px;
    background-color: white;
    left: 80px;
    right: 80px;
}

.navbar_logo img {
    height: 100px;
    width: auto;
    border-radius: 50%;
    padding: 20px;
}

.navbar_menu {
    display: flex;
    list-style-type: none;
    gap: 20px;
    padding: 0;
    margin-right: 100px;
}

.navbar_menu li {
    position: relative;
}

.navbar_menu li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 10px 5px;
    transition: color 0.3s ease;
}

.navbar_menu li a::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -26px;
    height: 3px;
    background-color: #0066cc;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.navbar_menu li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;    
}

.navbar_menu li a:hover {
    color: #0066cc;
}

.navbar_item {
    margin-left: 100px;
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
}

.test {
    height: 500px;
    background-color: black;
}


.footer {
    background-color: black;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.footer_content {
    margin-bottom: 20px;
}

.footer_content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.footer_content p {
    margin: 5px 0;
    font-size: 1rem;
    color: #bfbfbf;
}

.footer_content a {
    text-decoration: none;
}

.footer_content a:hover {
    color: white;
}

.footer_bottom {
    border-top: 1px solid white;
    padding-top: 10px;
    font-size: 0.9rem;
    color: white;
}

.about-us {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .about-video video {
    max-width: 800px;   /* lub np. 70% */
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  
  
  .about-content {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .about-content h2 {
    margin-top: 20px;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
  }
  
  .about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
  }
  
  .about-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .about-gallery img {
    width: 300px;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  }
  
  @media (max-width: 768px) {
    .about-gallery img {
      width: 100%;
      height: auto;
    }
  
    .about-content h2 {
      font-size: 2rem;
    }
  }
  

/* 🔹 Header z obrazami obok siebie */
.header {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #000; /* Czarny background na wypadek załadowania */
}

.header-images {
    display: flex;
    width: 100%;
    height: 100%;
}

.header-images img {
    width: 33.33%; /* Każde zdjęcie zajmuje równą część */
    height: 100%;
    object-fit: cover; /* Dopasowanie */
}

@media (max-width: 1024px) {
    .navbar_menu {
        margin-right: 50px;
        gap: 15px;
    }
    
    .navbar_menu li a {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: 100px;
        padding: 15px 10px;
    }

    .navbar_menu {
        flex-direction: column;
        gap: 10px;
        margin-right: 0;
    }

    .navbar_menu li {
        text-align: center;
    }

    .navbar_logo img {
        height: 80px;
        padding: 10px;
    }   

    .footer {
        padding: 20px 10px;
    }

    .footer_content h3 {
        font-size: 1.3rem;
    }

    .footer_content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px;
    }

    .navbar_menu {
        gap: 8px;
    }

    .navbar_menu li a {
        font-size: 16px;
    }
    
    .footer {
        padding: 15px 5px;
    }

    .footer_content h3 {
        font-size: 1.1rem;
    }

    .footer_content p {
        font-size: 0.8rem;
    }
}


.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1001;
    transition: opacity 0.3s ease-in-out;
}

.hamburger div {
    width: 35px;
    height: 4px;
    background-color: white;
    margin: 5px 0;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    transform-origin: left;
}


.hamburger.active div:nth-child(1) {
    transform: translateY(-10px) rotate(45deg);
    width: 37px;
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
    width: 37px;
}


@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 20px;
        background-color: rgba(0, 0, 0, 0.8); /* lekka przezroczystość */
        backdrop-filter: blur(10px);
        border-bottom: none;
    }

    .navbar_logo {
        margin-left: 10px;
        z-index: 1002;
    }

    .navbar_logo img {
        height: 60px;
        padding: 5px;
    }

    /* Pokazujemy hamburger menu */
    .hamburger {
        display: flex;
    }

    /* Styl hamburgerowego menu */
    .navbar_menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        text-align: center;
        padding-top: 120px;
        z-index: 1000;
        transition: transform 0.4s ease-in-out;
        transform: translateX(-150%);
    }

    .navbar_menu.open {
        transform: translateX(0);
    }

    .navbar_menu li {
        padding: 20px 0;
    }

    .navbar_menu li a {
        color: white;
        font-size: 22px;
        font-weight: bold;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .navbar_menu li a:hover {
        color: #0066cc;
    }

    /* Styl wewnętrznego menu z maksymalną szerokością (dodatkowe dopasowanie do mniejszych menu w środku) */
    .navbar_menu_inner {
        max-width: 400px;
        max-height: 600px;
        background-color: rgba(30, 30, 30, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        margin: 0 auto;
        padding: 0;
        box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
    }

    .navbar_menu.active {
        display: flex;
    }

    .navbar_item {
        margin: 10px 0;
    }

    .navbar_links:active {
        background-color: rgba(255, 255, 255, 0.1);
        transform: scale(0.95);
    }

    .navbar_links {
        display: block;
        padding: 12px 20px;
        background-color: transparent;
        color: white;
        font-size: 18px;
        border-radius: 8px;
        text-align: center;
        text-decoration: none;
        transition: background-color 0.3s, transform 0.2s;
    }

    .navbar_links:hover {
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
    }

    .header {
        height: 400px;
    }

    .header_content h1 {
        font-size: 1.8rem;
    }

    .info {
        padding: 20px;
        max-width: 500px;
        margin: 0 auto;
    }

    .info h2 {
        font-size: 1.8rem;
    }

    .info p {
        font-size: 1rem;
    }

    .options {
        flex-direction: column;
        align-items: center;
    }

    .option {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .contact_section {
        padding: 30px 10px;
    }

    .info_container {
        padding: 0;
    }

    .map iframe {
        height: 250px;
    }

    .footer {
        padding: 20px 10px;
    }

    .footer_content h3 {
        font-size: 1.3rem;
    }

    .footer_content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .header {
      height: 400px;
      overflow: hidden;
      position: relative;
    }
  
    .header-images {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }
  
    .header-images img {
      width: 33.33%;
      height: 100%;
      object-fit: cover;
      scroll-snap-align: center;
    }
  
    /* Ukryj resztę zdjęć – zostaw tylko 3 */
    .header-images img:nth-child(n+4) {
      display: none;
    }
  }