body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
}

/* Nagłówek */
header {
    background-color: #333;
    width: 100%;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header .logo img {
    height: 50px;
}

header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin: 0 15px;
    position: relative;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
    position: relative;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #007bff;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

header nav ul li a:hover::after {
    width: 100%;
}

header nav ul li a:hover {
    color: #007bff;
}

/* Sekcja hero */
#hero {
    background-image: url('grafika/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

#hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

#hero .btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

#hero .btn:hover {
    background-color: #0056b3;
}

/* Sekcja o firmie */
#o-firmie {
    padding: 50px 20px;
    text-align: center;
}

#o-firmie h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333; /* Czarny kolor nagłówków */
}

#o-firmie p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Sekcja usługi i meble na wymiar */
#uslugi, #meble-na-wymiar {
    padding: 50px 20px;
    text-align: center;
}

#uslugi h1, #meble-na-wymiar h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333; /* Czarny kolor nagłówków */
}

#uslugi p, #meble-na-wymiar p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery img {
    width: 30%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Formularz mebli na wymiar */
#kuchenne-formularz .form-group {
    position: relative;
 
    margin-bottom: 20px;
    margin-left: 200px;
    margin-right: 200px;
}

#kuchenne-formularz label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#kuchenne-formularz input,
#kuchenne-formularz select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.front-options {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
}

.front-option {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    flex: 1;
}

.front-option img {
    width: 100px;
    height: auto;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.front-option p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #555;
}

.front-option:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.front-option.active {
    border-color: #007bff;
    background-color: #f0f8ff;
}

#kuchenne-formularz button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#kuchenne-formularz button:hover {
    background-color: #0056b3;
}

#cena-summary {
    font-size: 18px;
    font-weight: bold;
    color: red;
    text-align: center;
}

/* Stopka */
footer {
    background-color: #333;
    color: white;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Kolorystyka odnośników do miast */
.city-header a {
    color: #007bff; /* Niebieski kolor odnośników */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    position: relative;
}

.city-header a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #007bff;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.city-header a:hover::after {
    width: 100%;
}

.city-header a:hover {
    color: #0056b3; /* Ciemniejszy niebieski po najechaniu */
}

/* Delikatny odstęp od lewej strony */
.container {
    padding-left: 20px;
}

/* Nagłówki na środku i mniejsze */
h1, h2, h3 {
    text-align: center;
    color: #333;
    font-family: 'Arial', sans-serif;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

/* Mniejsze zdjęcia */
img {
    max-width: 50%; /* Zmniejszenie zdjęć o 50% */
    height: auto;
    display: block;
    margin: 10px auto;
}

/* Specyficzne style dla zdjęcia koperty */
#kontakt img {
    max-width: 30%; /* Zmniejszenie koperty o 50% */
    height: auto;
    display: block;
    margin: 10px auto;
}

/* Specyficzne style dla zdjęcia busy */
#main-content .right.inline img {
    max-width: 40%; /* Zmniejszenie busy o 50% */
    height: auto;
    display: block;
    margin: 10px auto;
}

/* Responsywność */
@media (max-width: 768px) {
    img {
        max-width: 80%; /* Na mniejszych ekranach zdjęcia mogą być większe */
    }

    #kontakt img,
    #main-content .right.inline img {
        max-width: 80%; /* Dostosowanie dla mniejszych ekranów */
    }
}

    /* Galeria zdjęć obok siebie */
.gallery {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Odstęp między zdjęciami */
    margin: 20px 0;
}

.gallery img {
    width: 48%; /* Każde zdjęcie zajmuje 48% szerokości kontenera */
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Responsywność dla galerii */
@media (max-width: 768px) {
    .gallery {
        flex-direction: column; /* Na mniejszych ekranach zdjęcia są pod sobą */
    }

    .gallery img {
        width: 100%; /* Pełna szerokość na mniejszych ekranach */
    }
}

    .container {
        padding-left: 10px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    img {
        max-width: 100%;
    }
    /* Dodaj tylko te style do istniejącego CSS */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}

/* Responsywność dla menu */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    header nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #333;
        z-index: 999;
    }

    header nav.active {
        display: block;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        margin: 10px 0;
    }
}
