.contact-section {
   background: #ffffff;
    padding: 10px 0;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 3px; /* Doda odstęp, aby cień był widoczny */
}

@media (min-width: 992px) {
.logo {
    max-width: 60%;
    height: auto!important;
	}
}

@media (max-width: 991px) {
.logo {
    max-width: 60%;
    height: auto !important;
	margin-bottom: 5px;
	}
}

@media (min-width: 992px) {
.contact-info {
    display: flex;
    justify-content: space-around;
	
	}
}

@media (max-width: 991px) {
.contact-info {
    display: flex;
    justify-content: space-around;
	padding-top: 5px;
	margin-top: 5px;
	}
}

@media (max-width: 991px) {
    .contact-item i {
        font-size: 10px !important;
    }
}

@media (min-width: 992px) {
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #777;
    font-size: 15px;
	}
}

@media (max-width: 991px) {
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #777;
    font-size: 10px;
	}
}

.contact-item i {
    font-size: 24px;
}

.navbar {
    background-color: #2F2F2F;
    padding: 10px 0;
}

.navbar-nav .nav-link {
    color: white;
    padding: 10px 20px;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (min-width: 992px) {
    .navbar {
        position: relative;
		display: block;
    }
	
	#mobileMenu {
        display: none !important;
		background-color: transparent !important;
    }

    .dropdown-menu {
        background-color: #ffffff;
        width: 950px;
        left: 40%;
        transform: translateX(-40%);
        top: 100%;
        position: absolute;
        z-index: 1000;
        padding: 20px;
        min-height: 90px;
        display: none;
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: wrap;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-item:hover .dropdown-menu {
        display: flex;
    }
    
    .nav-item {
        color: #ffffff;
    }

    .navbar-nav .nav-item:hover {
        background-color: white;
		border-radius: 10px;
    }

    .navbar-nav .nav-item:hover .nav-link {
        color: black !important;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        color: white;
    }

    .navbar-nav .nav-item:last-child:hover {
        background-color: white;
    }

    .navbar-nav .nav-item:last-child:hover .nav-link {
        color: black !important;
    }

    .dropdown-menu .dropdown-item {
        color: black;
        padding: 15px 20px;
        display: flex;
        align-items: center;
        gap: 10px;
        width: auto;
        white-space: nowrap;
        position: relative;
    }

    .dropdown-menu .dropdown-item img {
        width: 40px;
        height: auto;
    }
    
    .dropdown-item:not(:last-child)::before {
        content: "";
        position: absolute;
        right: 0;
        top: 10%;
        height: 80%;
        width: 0.5px;
        background-color: black;
    }
    
    #roletyToggle + .dropdown-menu {
        width: 360px;
    }
	
	#oslonyToggle + .dropdown-menu {
        width: 1100px;
		transform: translateX(-30%) !important;
    }
	
	#moskitieryToggle + .dropdown-menu {
        width: 640px;
	
    }
	
}

@media (max-width: 991px) {
    .navbar {
        display: none;
		
    }
	.navbar-toggler-icon {
		filter: invert(1); /* Zmiana ikony na czarną */
	}
	.offcanvas {
		width:65% !important;
	}
}

.produkty {
    text-align: center;
    padding: 30px 0;
}

.produkty .section-title {
    font-size: 2rem;
    margin-bottom: 20px;
	display: inline-block;
    padding-bottom: 5px;
}

.produkty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.produkt-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.produkt-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.produkt-item:hover img {
    transform: scale(1.1);
}

.produkt-item p {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: bold;
}

@media (max-width: 991px) {
    .produkty-grid {
        grid-template-columns: repeat(2, 1fr);
    }
	
	.full-width-image img {
        height: auto; /* Zapewnia, że wysokość obrazu dopasuje się do proporcji */
        max-height: 60vh; /* Powiększenie wysokości, ale bez przycinania */
    }

	.bar-right {
    bottom: 60% !important; /* dostosuj w razie potrzeby */
    right: 0;
    animation: expandRight 1.5s ease-in-out 2.5s forwards;
	}
	
	.banners {
    position: relative;
    height: auto; /* Zapewnia, że wysokość obrazu dopasuje się do proporcji */
    max-height: 60vh;
    background: url('images/img46.png') center center/contain no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
	
	
}

.full-width-image {
    width: 100%;
    overflow: hidden;
}

.full-width-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* Zapewnia, że obraz nie jest przycinany */
}

footer {
	background-color: #202020;
	color: #ffffff;
}

.banners {
    position: relative;
    height: 100vh;
    background: url('images/img46.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banners::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
        }

.content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
}

.main-title, .subtitle, .bar-left, .bar-right {
    opacity: 0;
    animation-fill-mode: forwards;
}

.main-title {
    font-size: 3rem;
    animation: fadeIn 1.5s ease-in-out 0.5s forwards;
}

.subtitle {
    font-size: 1.5rem;
    margin-top: 60px; /* więcej miejsca na paski */
    animation: fadeIn 1.5s ease-in-out 3.5s forwards;
}

.bar-left, .bar-right {
    position: absolute;
    height: 1px;
    width: 0;
    background-color: #fff;
    opacity: 0;
}

.bar-left {
    top: -10%;
    left: 0;
    animation: expandLeft 1.5s ease-in-out 2s forwards;
}

.bar-right {
    bottom: 50%; /* dostosuj w razie potrzeby */
    right: 0;
    animation: expandRight 1.5s ease-in-out 2.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes expandLeft {
    from { width: 0; opacity: 0; }
    to { width: 100%; opacity: 1; }
}

@keyframes expandRight {
    from { width: 0; opacity: 0; }
    to { width: 100%; opacity: 1; }
}

@media (max-width: 991px) {
    .main-title { font-size: 2rem; }
    .subtitle { font-size: 1rem; }
    .bar-left, .bar-right { bottom: 45%; }
}		
		
/* Żaluzje */

   .section-zaluzje {
            max-width: 1100px;
            margin: 50px auto;
            font-family: Arial, sans-serif;
            color: #333;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 30px;
            padding-bottom: 10px;
            border-bottom: 3px solid #708090;
			font-family: 'Roboto Slab', serif;
        }

        .section-content {
            display: flex;
            gap: 30px;
            align-items: center;
            margin-bottom: 40px;
        }

        .section-content img {
            width: 50%;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .section-content .description {
            width: 50%;
            font-size: 1rem;
            line-height: 1.6;
        }

         .additional-info {
            display: flex;
            align-items: center;
            gap: 30px;
            margin-bottom: 40px;
        }

        .additional-info ul {
            width: 50%;
            font-size: 1rem;
            line-height: 1.6;
        }

        .additional-info .additional-image {
            width: 50%;
            max-width: 500px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        @media (max-width: 991px) {
       .section-content,
            .additional-info {
                flex-direction: column;
            }

            .section-content img,
            .section-content .description,
            .additional-info ul,
            .additional-info .additional-image {
                width: 100%;
            }

            .section-zaluzje {
                padding: 0 10px;
            }
        }		
		

/* Prosta siatka dla miniatur */
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 10px;
    }
	
    .gallery a {
      display: block;
    }

	
	.gallery a img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease-in-out; /* płynna animacja */
}

/* Efekt przybliżenia po najechaniu kursorem */
.gallery a:hover img {
  transform: scale(1.05);
}

    /* ====== LIGHTBOX ====== */

    /* Kontener lightboxa (tło i pozycjonowanie) */
    .lightbox-overlay {
      position: fixed;
      top: 0; 
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.8);
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 0;              /* początkowo niewidoczne */
      visibility: hidden;      /* początkowo niewidoczne */
      transition: opacity 0.3s ease;
      z-index: 9999;           /* na wierzchu wszystkiego */
    }
    /* Klasa aktywna pokazuje overlay */
    .lightbox-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    /* Kontener na powiększony obraz i przyciski */
    .lightbox-content {
      position: relative;      /* dla pozycji przycisków */
      max-width: 90%;
      max-height: 90%;
    }

    .lightbox-img {
      display: block;
      max-width: 100%;
      max-height: 80vh;  /* ogranicz wysokość do 80% okna przeglądarki */
      margin: 0 auto;
    }

    /* Przycisk zamykania (X) */
    .lightbox-close {
      position: absolute;
      top: -40px;
      right: 0;
      font-size: 30px;
      color: #fff;
      text-decoration: none;
      background: none;
      border: none;
      cursor: pointer;
    }

    /* Przyciski nawigacji (poprzednie / następne) */
    .lightbox-prev,
    .lightbox-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 40px;
      color: #fff;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0 10px;
    }
    .lightbox-prev { left: -50px; }
    .lightbox-next { right: -50px; }

    /* Opcjonalnie możesz dodać efekt hover na przyciski */
    .lightbox-prev:hover,
    .lightbox-next:hover,
    .lightbox-close:hover {
      color: #ccc;
    }