/* Globalne style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-image: url('/assets/background.jpg'); /* Ścieżka do Twojego zdjęcia */
    background-size: cover;  /* Dopasowuje zdjęcie do całego tła */
    background-position: center center; /* Ustawienie zdjęcia na środku */
    background-attachment: fixed; /* Tło nie przesuwa się przy przewijaniu */
    color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Nagłówek */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#header.scrolled {
    background-color: rgba(51, 51, 51, 0.473); /* Inne tło po przewinięciu */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

/* Stylowanie logo */
.logo {
    height: 150px; /* Wysokość logo (możesz dostosować) */
    width: auto;  /* Zachowanie proporcji logo */
    transition: all 0.3s ease;
}

/* Nawigacja */
.nav-list {
    display: flex;
    gap: 25px;
    list-style-type: none;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 12px 20px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover {
    color: #0a192f;
    background-color: #f4b400; /* Złoty */
    border-radius: 5px;
}

/* Hamburger Menu */
#hamburger {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: #fff;
    position: relative;
    z-index: 2000; /* Zapewnienie, że hamburger będzie widoczny na wierzchu */
}

#hamburger div {
    width: 30px;
    height: 4px;
    margin: 6px 0;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Efekt zamiany hamburgera na krzyżyk */
#hamburger.active div:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 7px;
}

#hamburger.active div:nth-child(2) {
    opacity: 0;
}

#hamburger.active div:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -7px;
}

/* Sekcja Hero */
.hero-section {
    background: url('assets/background.jpg') no-repeat center center/cover;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.4rem;
    margin-top: 10px;
    color: #f4b400; /* Złoty */
}

/* Sekcja Usługi */
.services-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #1e2633;
}

.services-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-item {
    background-color: #22304c;
    border-radius: 15px;
    padding: 20px;
    width: 300px;
    transition: transform 0.3s ease;
}

.service-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #f4b400; /* Złoty */
}

.service-item p {
    font-size: 1rem;
    color: #ccc;
}

.service-item:hover {
    transform: scale(1.05);
}

/* Galeria */
.gallery-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #1e2633;
}

.gallery-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-item {
    background-color: #22304c;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Stopka */
.footer {
    background-color: #111d2f;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left {
    flex: 1;
    text-align: left;
}

.footer-logo {
    font-size: 1.8rem;
    color: #f4b400;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-description {
    font-size: 1rem;
    color: #ccc;
}

.footer-right {
    flex: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

.footer-links {
    list-style-type: none;
    display: flex;
    gap: 30px;
    margin-right: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #ccc;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f4b400;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-icon {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social-icon:hover {
    color: #f4b400;
}

/* Sekcja kontakt */
#contact {
    background-color: #1e2633;  /* Ciemny kolor tła pasujący do reszty designu */
    color: #fff;  /* Kolor tekstu - biały, aby był dobrze widoczny */
    padding: 60px 20px;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#contact p {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #ccc;  /* Jasny szary kolor tekstu, aby był dobrze widoczny */
}

/* Responsywność */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .nav-list {
        flex-direction: column;
        display: none;
        gap: 15px;
        margin-top: 20px;
    }

    .nav-link {
        padding: 10px;
        font-size: 1rem;
    }

    #hamburger {
        display: block;
        z-index: 2000;  /* Upewniamy się, że hamburger ma wyższy z-index */
    }

    .nav-list.active {
        display: flex;
        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;  /* Z-index dla menu */
        gap: 30px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        flex: 1;
        margin-bottom: 20px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }
}
