* {
    margin: 0;
    padding: 0; font-family: Arial, sans-serif;
}

.navbar_logo {
    display: flex;
    align-items: center;
    font-size: 3em;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.navbar_logo::before {
    content: "";
    background-image: url('../images/husqlogo.jpeg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    margin-right: 10px;
    display: inline-block;
    border-radius: 10%;
}

.navbar_logo_content {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.navbar_logo .navbar_subtitle {
    font-size: 0.5em;
    font-weight: normal;
    color: white;
    margin-top: -5px;
    flex-grow: 1;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0; /* zmiana z 50px na 0 */
    right: 0; /* zmiana z 50px na 0 */
    display: flex;
    align-items: center;
    justify-content: space-between; /* DODAĆ to */
    padding: 10px 50px; /* wewnętrzny padding zamiast marginesu */
    background-color: transparent;
    border-bottom: 3px solid white;
    z-index: 999;
    transition: background-color 0.3s ease, padding 0.3s ease;
}


.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.7); /* Czarne tło 70% przezroczystości */
    backdrop-filter: blur(5px); /* Opcjonalnie: lekkie rozmycie dla efektu szkła */
    transition: background-color 0.3s ease;
}

.navbar_menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
    margin-left: auto;
    margin-right: 50px;
}

.navbar_item {
    margin-left: 20px;
}

.navbar_links {
    color: white;
    text-decoration: none;
    font-size: 21px;
    font-weight: bold;
    position: relative;
    background-color: transparent;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.navbar_menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    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;
}

.gps_icon {
    height: 24px;
    width: auto;
}

.gps_box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 25%;
    background-color: transparent;
    transition: background-color 0.3s;
}

.gps_box:hover {
    background-color: rgba(0, 119, 255, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-left: auto;
    margin-right: 50px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

.footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
    font-family: Arial, sans-serif;
}

.footer p {
    margin: 0;
    color: #ccc;
}


@media (max-width: 1050px) {

    .navbar {
        padding: 10px 20px;
        background-color: rgba(0, 0, 0, 0.7); /* lekka przezroczystość */
        border-bottom: none;
    }

    .navbar_menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px; /* niżej, żeby nie nachodziło */
        left: 0;
        right: 0;
        width: calc(100% - 40px);
        max-width: 400px;
        background-color: rgba(30, 30, 30, 0.9); /* ciemne tło */
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        margin: 0 auto;
        padding: 20px;
        box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
        z-index: 999;
        transition: all 0.3s ease;
    }

    .navbar_menu.active {
        display: flex;
    }

    .navbar_item {
        margin: 10px 0;
    }

    .navbar_links:active {
        background-color: rgba(255, 255, 255, 0.1); /* lekko jaśniejsze kliknięcie */
        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); /* lekko jaśniejszy efekt na ciemnym tle */
        color: white; /* napis pozostaje biały */
    }
    

    .gps_box {
        display: inline-flex;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 18px;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: white;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

@media (max-width: 600px) {
    .navbar_logo {
        font-size: 2em; /* Mniejsze logo */
    }

    .navbar_logo::before {
        width: 60px;
        height: 60px;
    }

    .hamburger {
        width: 20px;
        height: 15px;
    }

    .hamburger span {
        height: 2px;
    }
}


.image_header {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 300px;
}

.image_header img {
    width: auto;
    height: 100%;
    object-fit: cover;
    margin-right: 5px;
}

.image_header img:last-child {
    margin-right: 0;
}



.about-us {
    padding: 60px 20px;
    background-color: #f8f8f8;
    text-align: center;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 🔹 Galeria zdjęć */
.about-gallery {
    margin-top: 50px;
}

.gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.gallery-slide {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
    background: white;
}

.gallery-slide img {
    width: 100%;
    height: 300px; /* ustalamy stałą wysokość */
    object-fit: cover; /* przytnie zdjęcia, ale bez rozciągania */
    object-position: center; /* kadruje zdjęcia na środku */
    border-radius: 10px;
    transition: transform 0.3s ease;
}


.gallery-slide img:hover {
    transform: scale(1.05);
}

/* Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

/* Zdjęcie w modalu */
.image-modal img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

/* Przycisk zamykania */
.image-modal .close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}


@media (max-width: 768px) {
    .about-gallery {
      margin-top: 30px;
      padding: 0 10px;
    }
  
    .gallery-wrapper {
      display: grid;
      grid-template-columns: 1fr; /* jedna kolumna */
      gap: 15px;
      justify-items: center;
    }
  
    .gallery-slide {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0px 4px 8px rgba(0,0,0,0.15);
    }
  
    .gallery-slide img {
      width: 100%;
      height: 200px; /* niższe zdjęcia na telefonach */
      object-fit: cover;
      object-position: center;
      border-radius: 8px;
      transition: transform 0.3s ease;
    }
  
    .gallery-slide img:hover {
      transform: scale(1.03); /* delikatniejsze powiększenie na dotyk */
    }
  
    /* Modal też dostosujmy */
    .image-modal img {
        transform: rotate(90deg);
        max-width: 80vh; /* ustawiamy max na wysokość ekranu */
        max-height: 90vw; /* i szerokość na ekranie */
    }
  
    .image-modal .close {
      top: 10px;
      right: 20px;
      font-size: 30px;
    }
  }
  



  