body {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
}

header {
    background-color: #2a2a2a; 
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

header .logo {
    width: 200px;
}

header .nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

header .nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.catalog-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Trzy kolumny o równej szerokości */
    gap: 20px;
    margin: 0 auto; /* Wycentrowanie katalogu na stronie */
    padding: 0;
    max-width: 1650px; /* Opcjonalne ograniczenie szerokości kontenera */
    box-sizing: border-box; /* Zapobiega rozszerzaniu się marginesów */
    width: calc(100% - 40px); /* Dodanie wewnętrznego odsunięcia */
}
.catalog-box {
    position: relative;
    height: 550px;
    overflow: hidden;
    border: 2px solid #000;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 20px;
}

.catalog-box:hover {
    transform: scale(1.05);
}

.catalog-box img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    .catalog-container {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .catalog-container {
        grid-template-columns: 1fr;
    }

    header .logo {
        width: 150px;
    }

    header .nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

header .nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

header .nav a:hover {
    text-decoration: underline;
}

.slider {
    position: relative;
    max-width: 1200px;
    height: 800px;
    margin: 30px auto 0; 
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 1s ease-in-out;
    height: 100%; 
}

.slide {
    flex: 0 0 100%;
    height: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

.slide img {
    width: 1200px; 
    height: 800px; 
    object-fit: cover; 
}

button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

.catalog-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    margin-top: 0;
    padding: 0;
    width: 100%;
}

.catalog-box {
    position: relative;
    height: 550px;
    overflow: hidden;
    border: 2px solid #000;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 20px; 
}

.catalog-box:hover {
    transform: scale(1.05); 
}

.catalog-box img {
    width: 100%;
    height: 70%;
    object-fit: cover;
    border-radius: 10px;
}

.catalog-text {
    position: absolute;
    bottom: 80px; 
    left: 50%;
    transform: translateX(-50%);
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: 25px;
    background: rgba(102, 102, 102, 0.6);
    padding: 15px 10px;
    border-radius: 10px;
    text-align: center;
    width: 75%;
}

.price {
    font-size: 18px; 
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    padding: 5px;
    text-align: center;
    border: 2px solid #000; 
    border-radius: 5px;
    width: 80%; 
    margin-left: auto;
    margin-right: auto;
    display: block; 
}

.catalog-box .price {
    margin-top: 15px; 
}

.center-section {
    text-align: center;
    padding: 40px 20px;
}

.footer {
    background-color: #2a2a2a; 
    color: #ffffff; 
    padding: 40px 20px;
    font-weight: normal;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    header .nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .catalog-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .slider {
        height: 400px;
    }

    .slide img {
        width: 100%;
        height: auto;
    }

    .catalog-box {
        height: auto;
        padding: 10px;
    }

    .catalog-box img {
        height: auto;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    header {
        flex-direction: column;
        align-items: center;
    }

    .footer {
        font-size: 12px;
    }
}
.footer .footer-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.footer .contact {
    text-align: center;
}

.footer .contact a {
    color: #ffffff;
    text-decoration: none;
}

.footer .contact a:hover {
    text-decoration: underline;
}

.footer .back-to-top {
    margin-top: 20px;
}

.footer .back-to-top a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.footer .back-to-top a:hover {
    text-decoration: underline;
}


.map-container {
    margin-right: 0; 
    padding-right: 0; 
}

.nav ul {
    list-style: none;
    display: flex;
    align-items: center; 
    gap: 20px; 
    margin: 0; 
    padding: 0; 
}

header {
    background-color: #2a2a2a; 
    color: #fff;              
    display: flex;              
    justify-content: space-between;
    align-items: center;       
    padding: 20px 40px;        
    margin-bottom: 0;           
    position: relative;        
}

.opening-hours {
    color: rgb(160, 35, 35);
}


.contact-section {
    background: linear-gradient(to right, #fdfbfb, #ebedee); 
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    margin: 20px auto;
    max-width: 1200px;
}

.section-title {
    font-size: 32px;
    color: #000000; 
    font-family: 'Copperplate Gothic Light', sans-serif;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); 
    text-align: center;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-info {
    font-size: 18px;
    color: #333;
    text-align: center;
}

.contact-info i {
    color: #a00c0c; 
    margin-right: 10px;
}

.contact-icons {
    display: flex;
    justify-content: center; 
    align-items: center; 
    gap: 20px; 
}

.icon {
    width: 60px; 
    height: 60px; 
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2)); 
    object-fit: contain; 
}


.contact-decoration {
    margin-top: 30px;
    text-align: center;
}

.contact-decoration .line {
    width: 50%;
    height: 2px;
    background: #d62828; 
    margin: 10px auto;
    border-radius: 1px;
}

.contact-decoration .quote {
    font-style: italic;
    color: #333;
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding: 0;
    background-color:#2a2a2a;
    margin: 0;
}

.nav li {
    margin: 0;
}

.nav a {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav a:hover {
    background-color: #ff6600;
    color: white;
}

.nav a.active {
    background-color: #ff6600;
}
.price {
    font-weight: bold;
    color: #000000;
}

.back-to-top a {
    display: inline-block;
    padding: 10px 20px;
    background: #ff6600;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.back-to-top a:hover {
    background-color: #e55d00;
}

@media (max-width: 768px) {
    .catalog-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .nav ul {
        flex-direction: column;
        text-align: center;
    }

    .catalog-box {
        margin: 10px 0;
    }
}

body {
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

form {
    display:grid;
    flex-direction: column;
    gap: 60px;
}

form input, form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    max-width: 400px;
}

form button {
    padding: 15px 20px;
    background: #ff6600;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #e55d00;
}
h1 {
    font-size: clamp(1.5rem, 2.5vw, 3rem);
}
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
}
.catalog-box {
    animation: fadeIn 0.8s ease-in-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.catalog-box {
    animation: fadeIn 0.5s ease-in-out;
}


@media (max-width: 480px) {
    .catalog-container {
        grid-template-columns: 1fr; 
        gap: 15px;
    }
}
form button {
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

form button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

form button:hover {
    color: #000;
}

form button:hover:before {
    left: 0;
}
html {
    scroll-behavior: smooth;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa; /* Tło nagłówka */
}

.logo img {
    max-height: 60px;
    display: block;
}

.nav-bar {
    display: flex;
    align-items: center;
}

.catalog-title {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #2a2a2a;
    margin-left: 20px;
}

.nav-bar a {
    margin: 0;
    padding: 0;
}

.nav-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #2a2a2a; 
    padding: 0; 
    margin: 0; 
    border: none; 
}

.nav-bar a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 16px;
    background-color: transparent; 
    margin: 0; 
}

.nav-bar a.active {
    background-color: orange; 
}


#kontakty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px auto;
    padding: 30px;
    max-width: 600px;
    border: 1px solid #ddd;
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    background-color: #f9f9f9; 
}

#kontakty h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333; 
}

#kontakty input[type="text"],
#kontakty input[type="email"],
#kontakty textarea {
    width: 100%;
    margin-bottom: 15px; 
    padding: 10px 15px; 
    font-size: 1rem; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); 
    transition: border-color 0.3s ease, box-shadow 0.3s ease; 
}

#kontakty input[type="text"]:focus,
#kontakty input[type="email"]:focus,
#kontakty textarea:focus {
    border-color: #007BFF; 
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3); 
    outline: none; 
}

#kontakty button {
    cursor: pointer;
    font-size: 1rem;
    padding: 10px 20px;
    background-color: #007BFF; 
    color: #fff; 
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#kontakty button:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#kontakty form {
    width: 100%; 
}

#kontakty img {
    max-width: 50px; 
    height: auto; 
    margin: 10px auto; 
    display: block; 
    border-radius: 10%; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.black-friday-banner {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #000000, #ff6600);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: pulseBg 4s infinite alternate;
}

.bf-content {
    color: white;
    font-family: Arial, sans-serif;
    animation: fadeIn 1.5s ease-in-out;
}

.bf-content h1 {
    font-size: 60px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
}

.bf-content h2 {
    font-size: 42px;
    color: #ffd700;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

.bf-content p {
    font-size: 20px;
    margin-bottom: 25px;
}

.bf-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: black;
    color: white;
    font-size: 20px;
    text-decoration: none;
    border-radius: 50px;
    border: 3px solid white;
    transition: 0.3s;
    font-weight: bold;
}

.bf-button:hover {
    background: white;
    color: black;
    transform: scale(1.1);
}

/* Animacje */
@keyframes pulseBg {
    from {
        filter: brightness(1);
    }
    to {
        filter: brightness(1.2);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .bf-content h1 {
        font-size: 38px;
    }

    .bf-content h2 {
        font-size: 28px;
    }

    .bf-content p {
        font-size: 16px;
    }
}