body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
}

.btn .icon {
    filter: grayscale(50%); /* Converts the icon to grayscale */
}

h1{
    font-size: 3.5rem;
    text-align: center;
    color: #b1973e;
}

p{
    font-size: 1.2rem;
}

.container {
    width: 100%;
    margin: 0 auto;
    max-width: 1000px;
}

 
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.main-header {
    position: relative;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.main-header img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center 90%;
}

.cta-buttons {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 10px;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 5px;
    background: linear-gradient(145deg, #b1973e, #f9d884);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, box-shadow 0.3s;
    font-size: 1rem;
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid #8c6e2f;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-buttons .btn:hover, .cta-buttons .btn:focus {
    background: linear-gradient(145deg, #d1a24a, #fce7b1);
    box-shadow: 4px 8px 15px rgba(0, 0, 0, 0.4);
}

.cta-buttons .btn img.icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

.section-inner {
    max-width: 800px;
    margin: 0 auto;
}

.cta-buttons .btn img,
.cta-buttons .btn .icon {
    height: 20px; /* Adjust to ensure all icons have the same size */
    width: 20px;
    display: inline-block;
}

.cta-buttons .btn i {
    font-size: 20px; /* Adjust the icon font size */
}




.section {
    padding: 50px 0;
    border-bottom: 1px solid #c1c1c1;
}


form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

.form-control.full-width-2 {
    display: flex; /* Ustawia kontener na flex, co pozwoli elementom być w linii */
    align-items: center; /* Wyśrodkowanie elementów w pionie */
    flex-wrap: nowrap; /* Zapobiega przechodzeniu elementów do nowej linii */
}

.radio-option {
    display: flex; /* Zmienia display na flex, aby elementy były w linii */
    align-items: baseline; /* Wyśrodkowanie elementów w pionie */
}

.radio-option label {
    margin-left: 5px; /* Minimalny odstęp między przyciskiem a etykietą */
}

.delivery-option-label {
    margin-right: 10px; /* Odstęp od głównej etykiety do opcji */
}

@media (max-width: 768px) {
    .form-control.full-width-2 {
        align-items: flex-start;
        flex-direction: column; /* Stack the children vertically */
    }

    .delivery-option-label {
        margin-bottom: 10px; /* Add space below the label on small screens */
    }

    .radio-option {
        margin-bottom: 10px; /* Space between radio options */
    }
}

input:not([type="radio"]), textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 5px;
    font-size: 1rem;
}

input:not([type="radio"]):focus, textarea:focus {
    outline: none;
    border-color: #9c0200;
}

button.btn {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

button.btn:hover {
    background-color: #2980b9;
}

footer {
    text-align: center;
    padding: 20px 0;
    background-color: #2f2f2f;
    color: #e0e0e0;
}

.product-image {
    text-align: center;
    margin-top: 20px;
}

.tin-content {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Odstęp między wierszami */
}


.tin-row {
    display: flex;
    align-items: flex-start; /* Elementy wewnątrz rozciągają się na całą wysokość */
    gap: 20px;
}

.tin-text p {
    margin: 0; /* Remove any default margin */
    padding: 0; /* Remove any padding, if needed */
}

.tin-row.left-align {
    justify-content: flex-start; /* Obrazek i tekst wyrównane do lewej */
}

.tin-row.right-align {
    flex-direction: row-reverse; /* Obrazek po prawej, tekst po lewej */
    justify-content: flex-start; /* Wyrównanie elementów od lewej */
}

.tin-item, .tin-text {
    flex: 1;
}


.tin-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px; /* Ograniczenie szerokości kontenera obrazka *//
}


.tin-item img {
    width: 100%; /* Obrazek zajmuje pełną szerokość kontenera */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.img-caption {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
    max-width: 100%; /* Upewnij się, że podpis jest ograniczony do szerokości kontenera */
    word-wrap: break-word; /* Złamie długie słowa, jeśli są za szerokie */
}


.tin-text {
    flex: 1;
    display: flex;
    align-items: center; /* Wyśrodkowanie tekstu pionowo */
    justify-content: flex-start; /* Wyrównanie tekstu po lewej stronie */
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0 10px; /* Dodanie odstępu wewnętrznego, jeśli jest potrzebne */
    max-width: 300px; /* Ograniczenie szerokości tekstu, aby był blisko obrazka */
    word-break: break-word; /* Złamuje długie słowa, aby nie rozszerzały kontenera */
    white-space: normal; /* Zapewnia łamanie linii w tekście */
}

.section {
    padding: 80px 20px;
    margin: 0 auto;
}

.section-white {
    background-color: #f8f9fa; /* Białe tło */
}

.section-blue {
    background-color: #ececec; /* Niebieskie tło */
    color: #333;
}



.no-border-bottom {
    border-bottom: none; /* Usunięcie dolnej krawędzi */
}



.header-content {
    text-align: center;
}

.contact-section {
    display: flex;
    justify-content: center;
    background-color: #2f2f2f; /* Ciemniejsze tło */
    color: #ffffff; /* Jasny kolor tekstu */
}

.contact-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}

.contact-info {
    flex: 1;
    font-size: 1rem;
    line-height: 1.5;
    color: #ffffff;
}

.contact-info h1 {
    /* font-size: 2rem; */
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.social-icons i {
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
}

.contact-form-container {
    flex: 2;
    background-color: #ffffff; /* Białe tło formularza */
    color: #333; /* Ciemnoniebieski kolor tekstu */
    padding: 20px 40px;
    border-radius: 15px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-control {
    flex: 1 1 calc(50% - 20px); /* Każda kontrolka zajmuje 50% szerokości z odstępem */
    box-sizing: border-box; /* Uwzględnia odstępy w obliczaniu szerokości */
}

.form-control label {
    margin-bottom: 5px;
    color: #333; /* Ciemnoniebieski kolor etykiet */
    font-weight: bold;
}

.form-control label {
    margin-bottom: 5px;
    color: #333; /* Dark blue color for labels */
    font-weight: bold;
}

.form-control label .required {
    color: #9c0200; /* Red color for the asterisk */
}


input:not([type="radio"]), textarea {
    width: 100%;
    max-width: 100%; 
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 1rem;
    background-color: #f8f9fa;
    color: #333;
    box-sizing: border-box; 
}

textarea {
    height: 100px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start; /* Wyrównanie checkboxa i tekstu w jednej linii */
    gap: 10px;
    font-size: 0.9rem;
    color: #333;
    width: 100%; /* Zapewnia pełną szerokość kontenera */
}


input[type=checkbox] {width:30px; height:30px;}

.checkbox-group label {
    flex-grow: 1; /* Etykieta zajmuje resztę dostępnej szerokości */
    line-height: 1.5;
    word-wrap: break-word; /* Zapewnia łamanie linii w długim tekście */
}


.btn-submit {
    background-color: #9c0200;
    color: #ffffff;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    width: 100%; /* Pełna szerokość przycisku */
}

.btn-submit:hover {
    background-color:  #b30000;
}

.btn-submit:disabled {
    background-color: #d8d8d8; /* Jasnoszary kolor tła dla zablokowanego przycisku */
    color: #737c83; /* Ciemniejszy kolor tekstu */
    cursor: not-allowed; /* Kursor w postaci zakazanego, pokazuje, że przycisk jest nieaktywny */
    border: 1px solid #c8c8c8; /* Dodanie lekko widocznego obramowania */
}

.btn-submit:hover:disabled {
    background-color: #d8d8d8; /* Zapobiega zmianie koloru tła po najechaniu na zablokowany przycisk */
}




.split-section {
    display: flex;
    gap: 20px;
}

.split-text {
    flex: 1;
    padding: 20px;
}

.split-text h1 {
    /*font-size: 2.5em; */
    color: #b1973e;
    margin-bottom: 20px;
}

.split-text p {
    /* font-size: 1em; */
    line-height: 1.6;
    color: #555;
}

.split-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-image-border {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    height: 90%;
}

.split-image-border img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: #b1973e;
    transform: translateX(-50%);
}



.product-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.product-section h1 {
    margin: 0;
}

.product-section .product-image {
    width: auto;
    height: 200px; /* Dopasuj wysokość obrazków */
    border-radius: 5px; /* Opcjonalne zaokrąglenie */
}

.contact-h1{
    text-align: left;
}

.form-h1{
    text-align: center;
}

/* Układ dla mniejszych ekranów */
@media (max-width: 768px) {
    .tin-row {
        flex-direction: column;
        align-items: center;
    }

    .tin-item {
        margin: 0; /* Resetowanie marginesów na małych ekranach */
    }

    .tin-item img {
        max-width: 100%; /* Dostosowanie szerokości obrazków */
    }
    .split-section {
        flex-direction: column;
    }
    .split-image {
        flex-direction: column; /* Ustawia obrazy jeden pod drugim */
    }
    .split-image i {
        font-size: 200px; /* Dopasowanie wielkości ikony na mniejszych ekranach */
    }
    .split-image img {
        margin-top: 10px;
        height: auto; /* Dostosowuje wysokość dla mniejszych ekranów */
        width: 100%; /* Dopasowuje szerokość obrazka do kontenera */
    }
    .product-section{
        flex-direction: column;
    }
       /* Adjust the contact form layout */
       .form-group {
        flex-direction: column; /* Stack each control vertically */
        gap: 10px;
    }
    .social-icons{
        justify-content: center;
    }

    .form-control {
        width: 100%; /* Make each form control full-width */
    }


    /* Ensure the "Kontakt" and "Formularz kontaktowy" sections stack vertically */
    .contact-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .contact-info,
    .contact-form-container {
        margin-bottom: 20px;
        text-align: left;

    }



    .contact-h1{
        text-align: left;
    }

    h1{
        font-size: 2.5rem;
    }

    p{
        font-size: 1rem;
    }

    .long-h1{
        font-size: 2rem;
    }

    
    input[type=checkbox] {width:25px; height:25px;}
}

/* Dodaj odstęp na dole strony, aby stopka nie była zasłonięta */
body {
    padding-bottom: 50px; /* Zmniejszono wysokość odstępu */
    background-color: #2f2f2f;
}

/* Stylizacja sticky-contact-bar */
.sticky-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ff6347;  /* Tomato color for the phone container */
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    z-index: 100;
    cursor: pointer;
    color: #fff;
}

/* Wygląd wewnętrznego przycisku */
.phone-container {
    display: flex;
    align-items: center;
    background-color: #9c0200;
    padding: 10px 20px;  /* Increased padding for better visibility */
    border-radius: 30px;
    transition: background-color 0.3s;
}

.phone-container:hover {
    background-color: #b30000;;
}

.phone-number-2{
    font-size: 1.2rem;  /* Larger font size for better visibility */
    font-weight: bold;  /* Bold font weight to make the number stand out */
    margin-right: 10px;  /* Added margin for better separation */
}

.phone-number {
    color: white; /* Ustaw kolor tekstu na biały */
    text-decoration: none; /* Usuń podkreślenie */
}
.phone-number:hover,
.phone-number:visited,
.phone-number:active,
.phone-number:focus {
    color: white; /* Zapewnia, że kolor pozostaje biały nawet po kliknięciu lub odwiedzeniu */
}


.phone-container:hover .phone-icon {
    transform: scale(1.5); /* Zwiększ rozmiar o 20% */
    transition: transform 0.3s ease; /* Dodaj animację dla płynnego efektu */
}

/* Opcjonalne przejście dla ikon domyślnych, aby efekt był płynny również przy opuszczeniu kursora */
.phone-icon {
    transition: transform 0.3s ease;
}

/* Styl ikony telefonu i tekstu */
.phone-icon {
    margin-right: 5px;
}

.availability {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

/* Migająca zielona kropka */
.blinking-dot {
    width: 6px;
    height: 6px;
    background-color: lightgreen;
    border-radius: 50%;
    margin-right: 3px;
    animation: blink 1s infinite;
}

/* Animacja migania */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


#thumbnailContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.thumbnail {
    position: relative;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 10px;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}


.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.item {
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.image-border {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 10px;
}

.image-border img {
    width: auto;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.item img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 5px;
}

.item p {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.split-image-2 {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.split-image-2 img {
    width: 100%;  /* Zapewnia, że szerokość obrazka jest równa szerokości jego kontenera */
    height: 100%; /* Zapewnia, że wysokość obrazka jest równa wysokości jego kontenera */
    object-fit: cover; /* Skaluje obrazek, aby pokryć dostępne miejsce, zachowując proporcje */
    border-radius: 8px; /* Zaokrąglone rogi obrazka */
    /* border-bottom: 5px solid #9c0200;
    border-top: 5px solid #9c0200; */
    object-position: right;
}

.bullet-points{
    font-size: 1.2rem;
}

.split-section-2 {
    display: flex;
    width: 100%;
}

.split-text-2 {
    flex: 0 0 60%;
    padding-right: 20px;
    padding-left: 20px
}

label {
    margin: 0;
    padding: 0;
    display: inline-block; /* Lub block, jeśli to bardziej pasuje do layoutu */
}



@media (max-width: 768px) {
    .split-section-2 {
        flex-direction: column;
    }

    .split-text-2 {
        flex: 0 0 100%;
        padding-right: 0;
    }

    .split-image-2 {
        display: none;
    }

    .bullet-points{
    font-size: 1rem;
    }
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    color: black;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    text-align: left;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}



.dlaczego-my-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dlaczego-my-container h1 {
    text-align: center;
    color: #b1973e;
    margin-bottom: 40px;
}

.dlaczego-my-content {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: stretch;
    height: 600px;
}

.dlaczego-my-column-left, .dlaczego-my-column-right, .dlaczego-my-column-center {
    flex: 1;
    /* background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px; */
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.dlaczego-my-column-center img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
}

.dlaczego-my-highlight {
    border-left: 4px solid #b1973e;
    padding-left: 10px;
    margin-bottom: 15px;
    text-align: left;
}

@media (max-width: 768px) {
    .dlaczego-my-content {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .dlaczego-my-column-left, .dlaczego-my-column-right, .dlaczego-my-column-center {
        flex: 1 1 100%;
        margin-bottom: 20px;
        height: auto;
    }
}


.opinie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.opinie-container h1 {
    color: #b1973e;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.opinie-content {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: stretch;
}

.opinie-card {
    flex: 1;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.opinie-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 3px solid #b1973e; /* Golden border around avatar */
}

.opinie-card h3 {
    font-size: 1.2em;
    margin: 10px 0;
    color: #333;
}

.opinie-card p {
    font-size: 1em;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.opinie-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #b1973e; /* Golden bottom border */
    border-radius: 0 0 10px 10px;
}

@media (max-width: 768px) {
    .opinie-content {
        flex-direction: column;
    }

    .opinie-card {
        flex: none;
        margin-bottom: 20px;
    }
}



.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-card {
    width: calc(33.333% - 20px);
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.gallery-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.gallery-card-title {
    font-size: 1.2em;
    font-weight: bold;
    margin: 10px 0;
    color: #b1973e;
}

.gallery-card-description {
    font-size: 1em;
    color: #555;
    padding: 10px 20px;
}

@media (max-width: 768px) {
    .gallery-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .gallery-card {
        width: 100%;
    }
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.split-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}

.split-container .split-item {
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
}

.split-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16 / 9; /* Adjusted to shorter height */
    object-fit: cover;
}

.split-item h2 {
    font-size: 1.8em;
    color: #b1973e;
    margin-bottom: 20px;
}

.split-item p {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }

    .split-container .split-item {
        flex: 1 1 100%;
    }

    .split-item img {
        aspect-ratio: auto; /* Remove enforced aspect ratio for smaller screens */
    }
}