/* Import czcionki z Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Resetowanie stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins;
}

body {
    background-color: #f9f4f9; /* Jasny różowy */
    color: #444; /* Ciemniejszy szary tekst */
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Nawigacja --- */
header {
    background-color: #fff;
    padding: 10px 0px;
    border-bottom: 1px solid #ddd;
    position: relative;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: center; /* Wyśrodkowanie w poziomie */
    align-items: center; /* Wyśrodkowanie w pionie */
    width: 100%;
    flex-wrap: wrap; /* Dla responsywności */
}

/* Logo */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 25px;
}

.logo img {
    max-height: 60px;
    width: 250px;
    object-fit: contain;
    transition: transform 0.3s ease; /* Płynny efekt hover */
}

.logo img:hover {
    transform: scale(1.1); /* Powiększenie logo przy najechaniu */
}

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

.nav-links a {
    text-decoration: none;
    color: #444; /* Szary kolor na linki */
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff5722; /* Pomarańczowy podczas hover */
}

/* Menu hamburgerowe */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #444; /* Ciemniejszy szary */
    margin: 3px 0;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    border-top: 1px solid #ddd;
    padding: 20px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: #444; /* Szary kolor na linki */
    font-weight: 600;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: #ff5722; /* Pomarańczowy podczas hover */
}

/* Sekcja realizacji */
#realizacje {
    padding: 40px 20px;
    text-align: center;
}

#realizacje h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #444; /* Ciemniejszy szary */
}

#realizacje p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #666; /* Jaśniejszy szary */
}

/* Galeria */
.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.galeria-item img {
    width: 150px; /* Szerokość miniatury */
    height: 100px; /* Wysokość miniatury */
    object-fit: cover; /* Dopasowanie zdjęcia */
    border-radius: 5px; /* Zaokrąglone rogi */
    transition: transform 0.3s ease; /* Efekt hover */
}

.galeria-item img:hover {
    transform: scale(1.05);
}

/* Modal (lightbox) */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-modal img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-modal .close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox-modal .close:hover {
    color: #ccc; /* Jasny szary przy hover */
}

.nav-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.nav-buttons button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
}

.nav-buttons button:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Blokowanie przewijania strony */
.no-scroll {
    overflow: hidden;
}

/* Responsywność */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hamburger {
        display: flex; /* Pokaż hamburgera */
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .mobile-menu.active {
        display: flex; /* Menu mobilne pokazane, gdy aktywne */
    }
}

