/* Resetowanie */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Podstawowe style */
body {
    font-family: Arial, Helvetica, sans-serif;
}

/* Navbar na dużych ekranach */
.navbar-pc {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(51, 51, 51, 0.9); /* Czarny z 50% przezroczystości */
    color: white;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    padding: 0 15px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: color 0.3s ease; /* Dodaj płynne przejście */
}

.nav-links li a:hover {
    color: #ffa500; /* Zmień kolor linku na hover */
}

/* Mobilny hamburger (przycisk) - wyświetla się na małych ekranach */
.mobile-header {
    display: none;
    justify-content: flex-start;
    align-items: center;
    padding: 0 15px;
    background-color: rgb(51, 51, 51, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 1000;
}

.hamburger {
    font-size: 24px;
    position: absolute;
    right: 20px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger.open {
    transform: rotate(90deg);
}

/* Mobilne menu z animacją */
.mobile-menu {
    position: fixed;
    top: 60px; /* Poniżej navbaru */
    right: -250px; /* Startuje poza ekranem z prawej */
    height: calc(100% - 60px); /* Cała wysokość strony minus navbar */
    width: 250px;
    background-color: rgb(51, 51, 51, 0.9);
    color: white;
    transition: right 0.3s ease; /* Płynne wysunięcie */
    z-index: 1000;
}

.mobile-menu.open {
    right: 0; /* Wysuwa się do widoczności */
}

.mobile-menu ul {
    list-style: none;
    padding: 20px;
}

.mobile-menu ul li {
    margin: 15px 0;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
    color: #ffa500;
}

/* Media Query dla małych ekranów */
@media (max-width: 768px) {
    .navbar-pc {
        display: none; /* Ukryj navbar na małych ekranach */
    }

    .mobile-header {
        display: flex; /* Pokaż hamburger na małych ekranach */
    }
}
