/* Ustawienie czcionki na Times New Roman */
body {
    font-family: "Times New Roman", Times, serif;
    background-color: #f8f8f8; /* Jasne tło */
    margin: 0;
    padding-top: 120px; /* Aby nagłówek nie nachodził na treść */
}

/* Pasek z danymi kontaktowymi */
.top-bar {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    font-size: 25px;
    font-family: 'Times New Roman', Times, serif;
}

/* Nagłówek z logo i menu */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.9);
    padding: 10px 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Zmniejszone logo */
.logo {
    max-width: 100px;
    height: auto;
}

/* Stylizacja menu */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Główna treść */
h1 {
    background-image: url('images/background.jpg'); /* Ścieżka do obrazu */
    background-size: cover; /* Dopasowanie do ekranu */
    background-attachment: fixed; /* Stałe tło */
    background-position: center;
    font-family: 'Times New Roman', Times, serif;
    padding: 20px;
    color: lightgoldenrodyellow;
}

main {
    max-width: 1150px;
    margin: 60px auto;
    padding: 20px;
    background: lightgoldenrodyellow;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

section {
    padding: 50px;
    text-align: center;
}

.home p1 {
    text-align: left;
}

.about p1 {
    text-align: center;
    align-items: flex-start;
}

/* Stylizacja produktów */
.product {
    text-align: center;
    margin: 50px;
}

.product img {
    max-width: 300px;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Stylizacja galerii */
.gallery {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.gallery img {
    width: 250px;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.1);
}

button {
    background: #333;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}

/* Stopka */
footer {
    background-color: #222;
    color: white;
    padding: 5px 0;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-section {
    margin: 5px;
}

.footer-section h4 {
    border-bottom: 2px solid #fff;
    display: inline-block;
    padding-bottom: 5px;
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 3px 0;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: auto;
}

form input, form textarea {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
}

button {
    background: #333;
    color: gold;
    padding: 10px;
    border: none;
    cursor: pointer;
}

footer {
    background: #222;
    color: gold;
    text-align: center;
    padding: 10px;
}

h1 {
    font-size: 46px; /* Duży nagłówek */
    font-weight: bold;
}

h2 {
    font-size: 33px; /* Średni nagłówek */
    font-weight: bold;
}

h3 {
    font-size: 20px; /* Mniejszy nagłówek */
    font-weight: bold;
}

html {
    scroll-behavior: smooth;
}
