* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.mail-link {
    text-decoration: none; /* Usuwa podkreślenie */
    color: silver; /* Kolor linków */
    font-weight: bold; /* Pogrubienie tekstu */
}

.mail-link:hover {
    color: #7a2e85; /* Dodaje podkreślenie */
}

.phone-link {
    pointer-events: none;
    color: inherit;
    text-decoration: none;
}

section {
    padding: 30px 0;
    scroll-margin-top: 80px; /* Ustaw na wysokość nagłówka */
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

body {
    background: linear-gradient(90deg, rgb(24, 24, 24) 0%, rgb(22, 18, 18) 57%, rgb(21, 8, 31) 87%, rgb(23, 1, 34) 100%);
    color: #201f1f;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh !important;
}

header {
    background-color: rgba(0, 0, 0, 0.8);
    color: silver;
    padding: 20px 0;
    display: flex;
    align-items: center; /* Centruje elementy pionowo w nagłówku */
    justify-content: space-between; /* Rozdziela elementy między logo, menu i burgerem */
    width: 100%;
    position: fixed;
    height: 80px;
    z-index: 1000;
    gap: 35px;
    letter-spacing: 0.1em;
    font-family: "DM Serif Display", serif;
    font-weight: 600;
    font-style: normal;
}

.header-contact {
    color: white;
}

.logo-link {
    text-decoration: none; /* Usuwa podkreślenie */
    display: flex;
    align-items: center; /* Centruje obrazy pionowo wewnątrz logo-container */
    gap: 15px; /* Odstęp między obrazkami */
    padding-left: 30px;
}

.logo-container img:first-child {
    border-right: 1px solid #5a5a5a; /* Pionowa kreska */
    padding-right: 15px; /* Odstęp między kreską a drugim obrazkiem */
}

.logo-container > .logo-link > .logo {
    height: 40px; /* Dopasuj wysokość obrazków do nagłówka */
    width: auto;
}

.logo-container > .logo-link > .name {
    height: 65px; /* Dopasuj wysokość obrazków do nagłówka */
    width: auto;
}

nav ul li {
    display: inline;
    margin: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Styl dla menu rozwijanego */
.dropdown {
    position: relative;
    cursor: pointer;
}

.dropdown-menu {
    display: block;
    position: absolute;
    top: 55px;
    left: -65px;
    background-color: #000000d0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 210px;
    border-radius: 4px;
    padding: 0; /* Początkowo brak paddingu, żeby uniknąć nagłego przeskoku */
    max-height: 0; /* Początkowo ukryte */
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out;
}

/* Gdy aktywne, rozwija się */

.dropdown-menu a {
    display: block;
    padding: 8px 8px;
    text-align: center;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dropdown-menu a:hover {
    color: #7a2e85;
}

/* Pokazuj podmenu po najechaniu na "Usługi" */
.dropdown-menu.active {
    display: block;
}

/* Strzałeczka w dół */
.fa-chevron-down {
    color: white;
    margin-left: 5px;
    margin-right: -15px;
    font-size: 0.8em;
    transition: transform 0.5s ease, color 0.5s ease;
}

/* Efekt obrotu strzałeczki */
.dropdown.active .fa-chevron-down {
    transform: rotate(180deg);
    color: #7a2e85;
}

.menu {
    flex-grow: 1;
    /* Menu zajmuje przestrzeń między logo a burger menu */
    display: flex;
    justify-content: right;
    /* Horyzontalne centrowanie listy w menu */
    align-items: center;
    /* Wyrównanie pionowe */
    font-size: 22px;
    margin-right: 10px;
}

.burger-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.container {
    width: 80%;
    margin: 0 auto;
}

h2 {
    text-align: center;
}

.about-section {
    display: flex;
    align-items: flex-start;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 20px;
}

.about-image {
    position: relative;
    margin-right: 50px;
}

.about-image img {
    width: 600px; /* Dopasuj szerokość obrazu do potrzeb */
    height: auto;
    position: relative;
    z-index: 1; /* Zapewnia, że obrazek jest nad pseudoelementami */
}

/* Ramka w lewym górnym rogu */
.about-image::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 90%;
    height: 90%;
    border: 4px solid #000000; /* Kolor ramki */
    z-index: 0;
}

/* Ramka w prawym dolnym rogu */
.about-image::after {
    content: "";
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 90%;
    height: 90%;
    border: 3px solid #7a2e85; /* Kolor ramki */
    z-index: 0;
}

.about-content {
    background-color: transparent;
    padding: 30px;
    width: 100%;
    position: relative;
}
  
.about-content:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
    background: linear-gradient(120deg,silver, #7a2e85, #2c1130, #000, #2c1130, #7a2e85, silver);
    background-size: 300% 300%;
    clip-path: polygon(0% 100%, 3px 100%, 3px 3px, calc(100% - 3px) 3px, calc(100% - 3px) calc(100% - 3px), 3px calc(100% - 3px), 3px 100%, 100% 100%, 100% 0%, 0% 0%);
    animation: gradient-animation 15s ease-in-out infinite;
}
  
@keyframes gradient-animation {
    0% {
      background-position: 15% 0%;
    }
    50% {
      background-position: 85% 100%;
    }
    100% {
      background-position: 15% 0%;
    }
}  

.about-content h1 {
    font-size: 24px;
    font-weight: bold;
    color: silver;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    font-style: normal;
}

.about-content h1::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #7a2e85;
    margin-top: 5px;
}

.about-content p {
    padding-top: 20px;
    font-size: 18px;
    color: #ddd;
    font-family: Georgia, Times, "Times New Roman", serif; 
    font-style: normal; 
    font-variant: normal; 
    font-weight: 500; 
    line-height: 22px;
}

.about-content h2 {
    padding-top: 20px;
    font-size: 22px;
    color: #ddd;
    font-family: Georgia, Times, "Times New Roman", serif; 
    font-style: normal; 
    font-variant: normal; 
    font-weight: 500; 
    line-height: 22px;
}

.opinie-title {
    text-align: center;
    padding-top: 20px;
    margin-bottom: 40px;
    font-size: 30px;
    color: silver;
    text-shadow: 4px 5px #000000;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: Georgia, Times, "Times New Roman", serif; 
    font-weight: 600;
}

.opinie-title:before {
    content: " ";
    position: absolute;
    width: 150px;
    height: 5px;
    border-top: 3px solid silver;
    border-bottom: 3px solid silver;
    border-bottom-left-radius: 20px;
    margin: 20px 0 0 -160px;
}

.opinie-title:after {
    content: " ";
    position: absolute;
    width: 150px;
    height: 5px;
    border-top: 3px solid silver;
    border-bottom: 3px solid silver;
    border-bottom-right-radius: 20px;
    margin: 20px 0 0 10px;
}

.opinie-slider {
	width: 100%;
}

.opinie-slider input {
	display: none;
}

.opinie {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	min-height: 500px;
	perspective: 800px;
	overflow: hidden;
}

.opinie .opinie-item {
	width: 330px;
    min-height: 450px;
	padding: 30px;
	border-radius: 5px;
	background-color: #3c1742; /* Domyślny kolor tła dla nieaktywnych kart */
	position: absolute;
	top: 0;
	box-sizing: border-box;
	text-align: center;
	transition: background-color 0.4s, transform 0.4s; /* Dodajemy transition dla background-color */
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	user-select: none;
	cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.opinie .opinie-item img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 50%;
	border: 8px solid rgba(192, 192, 192, 0.212);
}

.opinie .opinie-item p {
	color: #ddd;
    font-size: 14px;
    font-family: Georgia, Times, "Times New Roman", serif; 
    font-style: normal; 
    font-variant: normal; 
    font-weight: 500; 
    margin: 15px 0;
}

.opinie .opinie-item h2 {
	font-size: 16px;
    font-family: Georgia, Times, "Times New Roman", serif; 
    font-style: bold; 
    font-variant: normal; 
    color: silver;
}

.opinie-dots {
	display: flex;
	justify-content: center;
	align-items: center;
}

.opinie-dots label {
	height: 5px;
	width: 5px;
	border-radius: 50%;
	cursor: pointer;
	background-color: silver;
	margin: 7px;
	transition-duration: 0.2s;
}

#t-1:checked ~ .opinie-dots label[for="t-1"],
#t-2:checked ~ .opinie-dots label[for="t-2"],
#t-3:checked ~ .opinie-dots label[for="t-3"],
#t-4:checked ~ .opinie-dots label[for="t-4"],
#t-5:checked ~ .opinie-dots label[for="t-5"] {
	transform: scale(2);
	background-color: #7a2e85;
}
#t-1:checked ~ .opinie-dots label[for="t-2"],
#t-2:checked ~ .opinie-dots label[for="t-1"],
#t-2:checked ~ .opinie-dots label[for="t-3"],
#t-3:checked ~ .opinie-dots label[for="t-2"],
#t-3:checked ~ .opinie-dots label[for="t-4"],
#t-4:checked ~ .opinie-dots label[for="t-3"],
#t-4:checked ~ .opinie-dots label[for="t-5"],
#t-5:checked ~ .opinie-dots label[for="t-4"] {
	transform: scale(1.5);
}
#t-1:checked ~ .opinie label[for="t-5"] {
	transform: translate3d(1200px, 0, -360px) rotateY(-45deg);
}
#t-1:checked ~ .opinie label[for="t-4"],
#t-2:checked ~ .opinie label[for="t-5"] {
	transform: translate3d(900px, 0, -270px) rotateY(-35deg);
	z-index: 1;
}
#t-1:checked ~ .opinie label[for="t-3"],
#t-2:checked ~ .opinie label[for="t-4"],
#t-3:checked ~ .opinie label[for="t-5"] {
	transform: translate3d(600px, 0, -180px) rotateY(-25deg);
	z-index: 2;
}
#t-1:checked ~ .opinie label[for="t-2"],
#t-2:checked ~ .opinie label[for="t-3"],
#t-3:checked ~ .opinie label[for="t-4"],
#t-4:checked ~ .opinie label[for="t-5"] {
	transform: translate3d(300px, 0, -90px) rotateY(-15deg);
	z-index: 3;
}
#t-2:checked ~ .opinie label[for="t-1"],
#t-3:checked ~ .opinie label[for="t-2"],
#t-4:checked ~ .opinie label[for="t-3"],
#t-5:checked ~ .opinie label[for="t-4"] {
	transform: translate3d(-300px, 0, -90px) rotateY(15deg);
	z-index: 3;
}
#t-3:checked ~ .opinie label[for="t-1"],
#t-4:checked ~ .opinie label[for="t-2"],
#t-5:checked ~ .opinie label[for="t-3"] {
	transform: translate3d(-600px, 0, -180px) rotateY(25deg);
}
#t-5:checked ~ .opinie label[for="t-2"],
#t-4:checked ~ .opinie label[for="t-1"] {
	transform: translate3d(-900px, 0, -270px) rotateY(35deg);
}
#t-5:checked ~ .opinie label[for="t-1"] {
	transform: translate3d(-1200px, 0, -360px) rotateY(45deg);
}

/* Kolor tła dla aktywnej karty */
#t-1:checked ~ .opinie label[for="t-1"],
#t-2:checked ~ .opinie label[for="t-2"],
#t-3:checked ~ .opinie label[for="t-3"],
#t-4:checked ~ .opinie label[for="t-4"],
#t-5:checked ~ .opinie label[for="t-5"] {
	background-color: #7a2e85; /* Kolor tła dla aktywnej karty */
	z-index: 4;
}

#pozostale-uslugi{
    scroll-margin-top: 49px;
}

.uslugi {
    display: grid;
    justify-items: center;
    row-gap: 30px;
}

.uslugi-title {
    text-align: center;
    margin-bottom: -20px;
    font-size: 30px;
    color: silver;
    text-shadow: 4px 5px #000000;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: Georgia, Times, "Times New Roman", serif; 
    font-weight: 600;
}

.uslugi-title:before {
    content: " ";
    position: absolute;
    width: 150px;
    height: 5px;
    border-top: 3px solid silver;
    border-bottom: 3px solid silver;
    border-bottom-left-radius: 20px;
    margin: 20px 0 0 -160px;
  }

.uslugi-title:after {
    content: " ";
    position: absolute;
    width: 150px;
    height: 5px;
    border-top: 3px solid silver;
    border-bottom: 3px solid silver;
    border-bottom-right-radius: 20px;
    margin: 20px 0 0 10px;
  }

.uslugi-text-box {
    font-family: Georgia, Times, "Times New Roman", serif; 
    font-style: normal; 
    font-variant: normal; 
    font-weight: 500; 
    text-shadow: 2px 2px #000000;
    position: relative;
    width: 400px;
    height: 300px;
    padding: 10px;
    margin-top: 40px;
    color: white;
    display: flex; /* Aktywacja flexboxa */
    align-items: center; /* Wyśrodkowanie wertykalne */
    justify-content: center; /* Wyśrodkowanie horyzontalne */
    text-align: center; /* Wyśrodkowanie tekstu w linii */
    background-size: cover; /* Dopasowanie obrazka */
    background-position: center; /* Wyśrodkowanie obrazka */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0; /* Ukrycie elementu domyślnie */
    transform: translateX(-20px); /* Przesunięcie w dół */
    transition: opacity 1.5s ease, transform 1.5s ease; /* Animacja przejścia */
}

.uslugi-text-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Ciemna półprzezroczysta warstwa */
    z-index: 1; /* Umieszcza pseudo-element nad tłem, ale pod tekstem */
}

.uslugi-text-box.visible {
    opacity: 1; /* Pojawienie elementu */
    transform: translateX(0); /* Przesunięcie do pierwotnej pozycji */
}

.uslugi-text-box h2,
.uslugi-text-box h3 {
    margin-left: 20px;
    margin-right: 20px;
    z-index: 2; /* Umieszcza tekst nad pseudo-elementem */
    transition: opacity 0.3s ease; /* Płynne przejście między widocznościami */
}

.uslugi-text-box h3 {
    opacity: 0; /* Domyślnie ukrywamy h3 */
    font-size: 18px;
    position: absolute; /* Nałożenie h3 na to samo miejsce co h2 */
}

.uslugi-text-box:hover h2 {
    opacity: 0; /* Ukrywamy h2 po najechaniu */
}

.uslugi-text-box:hover h3 {
    opacity: 1; /* Pokazujemy h3 po najechaniu */
}

.bottom-line
{
    position: absolute;
    bottom: 0;
    display: block;
    height: 10px;
    width: 100px;
    -webkit-transition: all .25s ease;
    transition: all .25s ease;
    background-color: #7a2e85;
    z-index: 3;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.uslugi-text-box:hover .bottom-line
{
    width:100%;
}

.image-container {
    margin-top: 20px;
}

footer {
    background: #000;
    color: white;
    padding: 20px 0;
    display: flex;
    align-items: center; 
    padding-left: 20px;
    padding-right: 20px;
    height: 120px;
    letter-spacing: 0.05em;
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    font-style: normal;
}

.fa-brands {
    color:#7a2e85; 
    padding: 5px;
}

.fa-house, .fa-phone, .fa-envelope, .fa-lock {
    padding-right: 5px;
    color: #7a2e85; 
}

.left-container {
    text-align: left;
    flex: 1;
    padding: 1rem;
}

.center-container {
    text-align: center;
    flex:1;
    padding: 1rem;
}

.socials-container {
    text-align: right;
    flex: 1;
    padding: 1rem;
}

.socials-container img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 10px;
    margin-left: 5px;
}

/* Styl dla karuzeli */
.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Styl dla kontenera obrazka i tekstu */
.carousel-image-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.carousel-image-container.active .carousel-image {
    opacity: 1;
    transform: scale(1.1);
    z-index: 1;
}

/* Styl dla obrazków */
.carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    opacity: 0;
    transition:
        opacity 1s ease-in-out,
        transform 10s ease-in-out;
    transform: scale(1);
    z-index: 0;
}

.carousel-image.active {
    opacity: 1;
    visibility: visible;
    z-index: 1; /* Aktywny obraz na wierzchu */
}

/* Styl dla tekstu */
.carousel-text {
    top: 50%;  /* Wyrównanie w pionie */
    left: 50%; /* Wyrównanie w poziomie */
    transform: translate(-50%, -50%); /* Wyśrodkowanie dokładnie w środku */
    position: absolute;
    transform: translate(-50%, -50%); /* Wyśrodkowanie */
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Cień tekstu dla lepszej widoczności */
    z-index: 2; /* Tekst nad obrazem */
    text-align: center;
    font-family: 'Cinzel', serif;
    font-weight: 600; /* grubość czcionki */
    font-size: 22px;

    /* Obramowanie */
    padding: 10px 20px; /* Margines wewnętrzny */
    border: 2px solid rgba(0, 0, 0, 0.2); /* Obramowanie z ciemnym kolorem */
    border-radius: 10px; /* Zaokrąglone rogi */
    
    /* Tło z obrazkiem i przyciemnieniem */
    background-color: rgba(0, 0, 0, 0.5); /* Tło przyciemnione */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); /* Cień wokół tekstu */
}

.carousel-text::before {
    content: ''; /* Wymaga pustego contentu */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2; /* Zmniejsza przezroczystość obrazka */
    z-index: -1; /* Ustawia obrazek za tekstem */
}

/* Styl dla wskaźników */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2; /* Zapewnia, że wskaźniki będą na wierzchu */
}

.carousel-image.mobile {
    display: none;
}

.carousel-button {  
    background: rgba(192, 192, 192, 0.308);
    border: 3px solid;
    border-radius: 10px;
    line-height: 1;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0.7em 1.4em;
    color: whitesmoke;
    font-family: 'Cinzel', serif;
    font-weight: 600; /* grubość czcionki */
    font-size: 22px;
    border-color: silver;
    transition: 0.5s;
    display: inline-block;
    text-decoration: none;

    &:after {
        content: "";
        height: 155px;
        left: -75px;
        opacity: .2;
        position: absolute;
        top: -50px;
        transform: rotate(35deg);
        transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
        width: 50px;
        z-index: -10;
    }
  }

.carousel-button:hover,
.carousel-button:focus {
  animation: pulse 0.75s;
  box-shadow: 0 0 0 1.5em transparent;
  color: #a63db6;
  border-color: #a63db6;
  cursor: pointer;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 #a63db6; }
}

.mobile-only {
    display:none;
}

.indicator {
    width: 50px;
    height: 15px;
    background-color: silver;
    opacity: 0.5;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.indicator.active {
    opacity: 1;
    background-color: #7a2e85;
}

#kontakt .container {
    display: flex;
    flex-direction: column; /* Ustaw elementy w kolumnie */
    align-items: center; /* Wyśrodkuj elementy poziomo */
    text-align: center; /* Wyśrodkuj tekst */
    margin-bottom: -10px;
    color: silver;
    font-family: Georgia, Times, "Times New Roman", serif; 
    font-weight: 600;
}

.contact-raise {  
    background: none;
    border: 2px solid;
    font: inherit;
    line-height: 1;
    margin: 0.5em;
    padding: 1em 2em;
    color: #7a2e85;
    border-color: #7a2e85;
    transition: 0.5s;


    &:hover,
    &:focus { 
      border-color: #7a2e85;
      color: #7a2e85;
    }
  }

.contact-raise:hover,
.contact-raise:focus {
    box-shadow: inset 0 0 0 2em #7a2e85;
    color: #ececec;
    cursor: pointer;
}

.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: #fff;
    padding: 15px;
    display: none; /* Domyślnie ukryte */
    text-align: center;
    font-family: Georgia, Times, "Times New Roman", serif; 
    font-size: 14px;
    padding: 10px 20px; /* Margines wewnętrzny */
    border: 2px solid rgba(0, 0, 0, 0.2); /* Obramowanie z ciemnym kolorem */
    border-radius: 10px; /* Zaokrąglone rogi */
    background-color: rgba(0, 0, 0, 0.7); /* Tło przyciemnione */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); /* Cień wokół tekstu */
    z-index: 1000;
}

.cookie-popup::before {
    content: ''; /* Wymaga pustego contentu */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/img/header/logo.png'); /* Obrazek tła */
    background-size: 50%; /* Dopasowanie obrazka do kontenera */
    background-position: center; /* Wyśrodkowanie obrazka */
    background-repeat: no-repeat;
    opacity: 0.15; /* Zmniejsza przezroczystość obrazka */
    z-index: -1; /* Ustawia obrazek za tekstem */
}

.cookie-popup button {
    background: #7a2e85;
    color: whitesmoke;
    border: none;
    margin-top: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-weight: bold;
    font-family: Georgia, Times, "Times New Roman", serif; 
    font-size: 12px;
    border-radius: 3px; /* Zaokrąglone rogi */
}

#polityka-prywatnosci-mobile {
    display: none;
}

@media (max-width: 950px){
    .uslugi {
        grid-template-columns: repeat(1, 1fr); /* Trzy kolumny */
    }
}

@media (min-width: 951px) and (max-width: 1400px){
    .uslugi {
        grid-template-columns: repeat(2, 1fr); /* Dwie kolumny */
    }
}

/* Styl dla dużych ekranów (komputery) */
@media (min-width: 1401px) {
    .uslugi {
        grid-template-columns: repeat(3, 1fr); /* Trzy kolumny */
    }
}

@media(max-width:1000px){
    .carousel {
        position: relative;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }

    .carousel-text {
        width: 350px;
        transform: translate(-50%, -50%); /* Wyśrodkowanie dokładnie w środku */
        right: auto; /* Usunięcie prawych odstępów */
        padding: 10px; /* Większy margines wewnętrzny na małych ekranach */
        font-size: 10px; /* Mniejsza czcionka na małych ekranach */
    }

    .carousel-button {
        font-size: 12px;
    }

    .mobile-only {
        display: inline-block;
    }
    .desktop-only {
        display: none;
    }

}

/* Zmiany dla mniejszych ekranów */
@media (max-width: 1300px) {
    .about-image img {
        width: 500px; /* Dopasuj szerokość obrazu do potrzeb */
        height: auto;
        position: relative;
        z-index: 1; /* Zapewnia, że obrazek jest nad pseudoelementami */
    }
}

@media (max-width: 900px) {

    .phone-link {
        pointer-events: auto; /* klikalny na telefonie */
        text-decoration: none; /* Usuwa podkreślenie */
        color: silver; /* Kolor linków */
        font-weight: bold; /* Pogrubienie tekstu */
    }

    .phone-link:hover {
        color: #7a2e85; /* Dodaje podkreślenie */
    }

    .carousel-image.desktop {
        display: none;
    }
    .carousel-image.mobile {
        display: block;
    }

    .about-section {
        flex-direction: column; /* Ustawienie elementów jeden pod drugim */
        align-items: center; /* Wyrównanie do środka */
        gap: 40px;
    }

    .header-contact{
        text-align: left;
        flex: 1;
        padding: 1rem;
        font-size: 11px;
    }

    .about-image img {
        width: 250px; /* Dopasuj szerokość obrazu do potrzeb */
        height: auto;
        position: relative;
        z-index: 1; /* Zapewnia, że obrazek jest nad pseudoelementami */
    }

    .about-content {
        width: 100%; /* Sekcja o nas zajmuje całą szerokość */
        max-width: 400px; /* Maksymalna szerokość */
    }

    footer {
        padding-right: 0px;
        padding-left: 0px;
        font-size: 10px;
    }

    .center-container {
        display: none;
    }

    #polityka-prywatnosci-mobile {
        display: block;
    }

    .logo-container > .logo-link > .logo {
        height: 20px; /* Dopasuj wysokość obrazków do nagłówka */
        width: auto;
    }
    
    .logo-container > .logo-link > .name {
        height: 50px; /* Dopasuj wysokość obrazków do nagłówka */
        width: auto;
    }

    .uslugi {
        row-gap: 5px;
    }

    .uslugi-title {
        font-size: 20px;
        margin-top: -50px;
    }

    .uslugi-title:before {
        width: 55px;
        margin: 11px 0 0 -65px;
    }
    
    .uslugi-title:after {
        width: 55px;
        margin: 11px 0 0 10px;
    }

    .uslugi-text-box {
        width: 300px;
        height: 200px;
    }

    .about-content h1 {
        text-align: center;
        font-size: 18px;
    }
    
    .about-content p {
        font-size: 12px;
        text-align: center;
    }

    footer {
        height: 100px;
    }

    .opinie-title{
        font-size: 16px;
        margin-top: -40px;
    }
    
    .opinie-title:before {
        width: 40px;
        margin: 8px 0 0 -50px;
    }
    
    .opinie-title:after {
        width: 40px;
        margin: 8px 0 0 10px;
    }

    .opinie-slider {
		overflow: visible;
	}

	.opinie {
		flex-direction: column;
		perspective: none;
		min-height: auto;
	}

	.opinie .opinie-item {
		position: static;
		width: 90%;
        min-height: 300px;
		margin-bottom: 20px;
		transform: none !important;
		box-shadow: 0 0 10px rgba(0,0,0,0.3);
	}

	.opinie-dots {
		display: none;
	}

	#t-1:checked ~ .opinie label[for="t-1"],
	#t-2:checked ~ .opinie label[for="t-2"],
	#t-3:checked ~ .opinie label[for="t-3"],
	#t-4:checked ~ .opinie label[for="t-4"],
	#t-5:checked ~ .opinie label[for="t-5"] {
		background-color: #3c1742;
		z-index: auto;
	}

    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
        font-size: 13px;
        padding: 12px;
    }

    .cookie-popup button {
        display: block;
        margin: 10px auto 0 auto; /* Wyśrodkowanie przycisku */
        width: fit-content;
    }
}

@media (max-width: 1500px) {
    .header-contact{
        text-align: left;
        flex: 1;
        padding: 1rem;
    }
    
    .burger-menu {
        display: block;
        position: absolute;
        right: 15px;
        top: 20px;
    }

    .menu {
        display: flex;
        flex-direction: column; /* Ustaw menu w kolumnie na urządzeniach mobilnych */
        visibility: hidden;
        opacity: 0;
        max-height: 0;
        font-size: 14px;
        transition: max-height 0.5s ease-out, opacity 0.5s ease-out, visibility 0.5s ease-out;
        position: absolute; /* Ustaw pozycjonowanie absolutne */
        top: 100%; /* Ustaw menu tuż pod headerem */
        left: 0;
        width: 100%; /* Rozciągnij menu na całą szerokość strony */
        background-color: rgba(0, 0, 0, 0.8); /* Tło menu */
        z-index: 1000; /* Upewnij się, że menu jest na wierzchu */
    }
    
    .menu.show {
        visibility: visible;
        opacity: 1;
        max-height: 500px; /* Ustaw maksymalną wysokość, aby menu było widoczne po kliknięciu */
    }

    .header-contact{
        display: none;
    }

    .menu ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .menu ul li {
        margin: 10px 0;
        order: 0; /* Domyślnie wszystkie elementy mają 0 */
    }

    .menu ul li:last-child {
        order: 1; /* Kontakt - ostatni domyślnie */
    }

    .menu ul li.dropdown {
        order: 2; /* Usługi - ostatni na mniejszych ekranach */
    }

    .image-container {
        display: none;
    }

    .text-container {
        padding-right: 0px;
    }    

    .dropdown.active .dropdown-menu {
        position: absolute; /* Ustaw pozycjonowanie absolutne */
        max-height: 250px; /* Wysokość dopasowana do liczby elementów */
        opacity: 1;
        padding: 10px 0; /* Dodajemy padding stopniowo */
    }

    .dropdown-menu a {
        font-size: 12px;
    }

    .dropdown-menu {
        display: block;
        position: absolute;
        top: 142%;
        left: -500px;
        min-width: 1050px;
        border-radius: 4px;
        background-color: rgba(0, 0, 0, 0.8); /* Tło menu */
    }
} 

/* Styl dla dużych ekranów (komputery) */
@media (min-width: 1501px) {
    .menu ul li {
        position: relative;
    }

    .dropdown.active .dropdown-menu {
        max-height: 250px; /* Wysokość dopasowana do liczby elementów */
        opacity: 1;
        padding: 10px 0; /* Dodajemy padding stopniowo */
    }

    /* Dodaj kreski między elementami listy, oprócz ostatniego */
    .menu ul li:not(:last-child)::after {
        content: "";
        position: absolute;
        right: -15px;
        /* Odstęp od prawej strony tekstu */
        top: 0;
        bottom: 0;
        width: 2px;
        /* Grubość kreski */
        background-color: white;
        /* Kolor kreski */
        height: 70%;
        /* Wysokość kreski w procentach wysokości tekstu */
        margin: auto 0;
        /* Wyśrodkowanie kreski w pionie */
    }
    
    /* Dostosowanie odstępów, aby tekst i kreski były równomiernie rozmieszczone */
    .menu ul li:not(:last-child) {
        padding-right: 20px;
    }
}


  