body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;

    background-color: #f0f0f0; /* Zmień tło strony */
}

/* Stylowanie nagłówka */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: linear-gradient(135deg, #b90808, #7a0000)
}


/* Stylowanie tekstu w nagłówku */
.header-text {
    text-align: left;
	color: white;
}

.header h1 {
	
    margin: 0;
	color: white;
    font-size: 50px;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
	color: white;
}

header nav ul li {
    display: inline;
    margin-right: 15px;
	color: white;
}

header nav ul li a,
nav ul li a {
    position: relative;
    color: white;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.3s;
}

header nav ul li a::after,
nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease-in-out;
}

header nav ul li a:hover::after,
nav ul li a:hover::after {
    width: 100%;
}

.slider {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 110%; /* 100% * liczba slajdów */
    height: 100%;
    transition: transform 1s ease-in-out;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}
  
  .slide-img.active {
    opacity: 1;
    z-index: 2;
  }
  
  .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 3;
  }
  
  .slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 35px;
    .slider {
        position: relative;
        width: 100%;
        height: 500px;
        overflow: hidden;
    }
    
    .slides {
        display: flex;
        width: 300%; /* 100% * liczba slajdów */
        height: 100%;
        transition: transform 1s ease-in-out;
    }
    
    .slide-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        flex-shrink: 0;
    }
    z-index: 4;
    text-align: center;
  }
  
  .slider-text p{
    font-size: 20px;
  }

.content {
    padding: 20px;
    background-color: rgb(17, 17, 17);
    margin: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

footer {
    background-color: white; /* Zmień kolor stopki */
    color: black;
    text-align: center;
    padding: 10px;
}

.offers {
    padding: 20px;
    background-color: #f0f0f0;
    text-align: center;
}

.offers h2{
	color: white;
    background: linear-gradient(135deg, #b90808, #7a0000);
	margin-left: 450px;
	margin-right: 450px;
	padding: 20px;
	border-radius: 50px;
	
}

.offer {
    display: inline-block;
    width: 300px;
    margin: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

.offer img {
    width: 100%;
    border-radius: 5px;
}

.offer h3 {
    font-size: 20px;
    margin: 10px 0;
}

.offer p {
    font-size: 14px;
    color: #555;
}

.btn {
    display: block;
    background-color: grey;
    color: white;
    text-decoration: none;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    font-weight: bold;
}



.btn:hover {
    background: linear-gradient(135deg, #cc0000, #7a0000);
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

.btn {
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    transform: scale(1.05);
}
.why-benefits {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    max-width: 900px;
    margin: 40px auto;
}

.why-benefits h2 {
    font-size: 28px;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #b90808, #7a0000);
    padding: 15px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
}

.why-benefits p {
    font-size: 18px;
    color: black;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.why-benefits ul {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
}

.why-benefits ul li {
    font-size: 16px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    transition: transform 0.3s ease-in-out;
}

.why-benefits ul li:hover {
    transform: scale(1.05);
}

.why-benefits ul li i {
    font-size: 20px;
    color: rgb(197, 0, 0);
}

.contact-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #b90808, #7a0000); /* kolor WhatsAppa/telefonu */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 999;
    transition: background 0.3s;
}

.contact-button:hover {
    background-color: #128c7e;
}

.contact-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: white;
    color: black;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: none;
    z-index: 998;
    width: 220px;
    font-size: 14px;
    animation: fadeIn 0.3s ease-in-out;
}

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