* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Roboto', sans-serif;
	background-color: #f0f8ff;
	color: #003366;
}

header {
	/*background: linear-gradient(rgba(20,20,20, .5),rgba(20,20,20, .3)), url('https://picsum.photos/1200/500?random=1');*/
	background: linear-gradient(rgba(20,20,20, .5),rgba(20,20,20, .3)), url('photos/h01m.jpg?random=1');
	background-size: cover;
	/*background-position: center;*/
    background-position-x: center;
    background-position-y: 50%;
	padding: 100px 0;
	text-align: center;
	color: white;
}


header h1 {
	font-size: 3.5rem;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

header h2 {
	font-size: 1.5rem;
	margin-top: 20px;
	text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

nav {
	background-color: #007acc;
	padding: 10px 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

nav ul {
	list-style: none;
	display: flex;
	gap: 20px;
}

nav ul li {
	font-size: 1.2rem;
}

nav ul li a {
	text-decoration: none;
	color: white;
	font-weight: 500;
}

nav ul li a i {
	margin-right: 8px;
}

#uslugi {
	padding: 60px 0;
	background-color: #e6f2ff;
	text-align: center;
}

#uslugi h2 {
	font-size: 1.5rem;
	margin-bottom: 20px;
	margin-top: 10px;
}

#uslugi h1 {
	font-size: 2.5rem;
	margin-bottom: 40px;
}

.uslugi-boxes {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding-left: 1em;
	padding-right: 1em;
}

.uslugi-box {
	width: 30%;
	background-color: #cce0ff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	text-align: center;
	cursor: pointer;
}

.uslugi-box img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	transition: transform 0.3s;
}

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

#terapia-bowena .container img {
	transition: transform 0.3s;
	cursor: pointer;
}

#terapia-bowena .container img:hover {
	transform: scale(1.05);
}

.uslugi-box p {
	margin-top: 15px;
	font-size: 1.1rem;
}

#terapia-bowena {
	padding: 60px 0;
	background-color: #f0f0f0;
	text-align: center;
}

#terapia-bowena .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	max-width: 1600px;
	margin: 0 auto;
}

#terapia-bowena .img {
	width: 30%;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#terapia-bowena .containerpsy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	max-width: 1600px;
	margin: 0 auto;
}

#terapia-bowena .descriptionpsy {
	width: 65%;
	text-align: left;
	font-size: 1.2rem;
	line-height: 1.6;
}

#terapia-bowena .ppsy{
	width: 30%;
}

#terapia-bowena .imgpsy {
	margin-top: 10px;
	margin-right: 5px;
	width: 30%;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#terapia-bowena .containerpsy .imgpsy {
	transition: transform 0.3s;
	cursor: pointer;
}

#terapia-bowena .containerpsy .imgpsy:hover {
	transform: scale(1.05);
}

#terapia-bowena .description {
	width: 65%;
	text-align: left;
	font-size: 1.2rem;
	line-height: 1.6;
}

#terapia-bowena ul {
	font-size: 1.2rem;
	line-height: 1.6;
	margin-left: 1em;
}

#terapia-bowena ul ul {
	font-size: 1.2rem;
	line-height: 1.6;
	margin-left: 1.2em;
}


#galeria {
	padding: 60px 0;
	background-color: #cce0ff;
	text-align: center;
	position: relative;
}

#galeria h2 {
	font-size: 2.5rem;
	margin-bottom: 40px;
}

.slider {
	position: relative;
	height: 600px;
}

.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.slide.active {
	opacity: 1;
	z-index: 1;
}

.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
}

.dots {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
}

.dot {
	height: 10px;
	width: 10px;
	border-radius: 50%;
	background-color: #bbb;
	cursor: pointer;
}

.dot.active {
	background-color: #717171;
}

.prev, .next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 2rem;
	color: white;
	background-color: rgba(0, 0, 0, 0.5);
	border: none;
	padding: 10px;
	cursor: pointer;
	z-index: 2;
}

.prev {
	left: 10px;
}

.next {
	right: 10px;
}

#kontakt {
	padding: 60px 0;
	background-color: #e6f2ff;
	text-align: center;
}

#kontakt h2 {
	font-size: 2.5rem;
	margin-bottom: 20px;
}

.tiktok {
	height: 1.5rem;
    text-align: left;
    object-fit: contain;
}

.imienazwisko {
	font-weight: bold;
	text-align: center;
	font-size: 1.5rem;
	padding-bottom: 1rem;
}

.contact-info .description {
	width: 40%;
	text-align: left;
	font-size: 1.2rem;
	line-height: 1.6;
	padding-left: 1rem;
}

.contact-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	max-width: 1600px;
	margin: 0 auto;
	padding-left: 25%;
}

.contact-info .photo:hover {
	transform: scale(1.05);
}

.contact-info .photo {
	width: 10%;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s;
	cursor: pointer;
 }

.contact-info .dane {
	font-size: 1.2rem;
	margin-bottom: 15px;
}

.contact-info .dane a {
	color: blue;
}

.map iframe {
	border-radius: 8px;
	width: 100%;
	max-width: 800px;
	height: 450px;
	margin: 20px 0;
}

footer {
	background-color: #007acc;
	padding: 20px 0;
	text-align: center;
	color: white;
}

footer p {
	font-size: 1.1rem;
}

.back-to-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #007acc;
	color: white;
	border: none;
	border-radius: 50%;
	padding: 15px;
	font-size: 2rem;
	cursor: pointer;
	display: none;
	z-index: 100;
}

.back-to-top:hover {
	background-color: #005f8c;
}

#imageModal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.9);
	justify-content: center;
	align-items: center;
}

#modalImage {
	margin: auto;
	display: block;
	max-width: 90%;
	max-height: 90%;
	cursor: pointer;
}

.logo-container-link img {
	width: 70%;
	height: auto;
	object-fit: contain;
	max-width: 100%;
	max-height: 100%;
}

.logo-container-link {
	transition: transform 0.3s;
	cursor: pointer;
}

.logo-container-link:hover {
	transform: scale(1.05);
}

.logo-container-link {
	width: 20%;
	background-color: #cce0ff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	text-align: center;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
}

#linki {
	margin-top: 1.2em;
	margin-bottom: 1.2em;
	text-align: center;
}

#linki .container .box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding-left: 1em;
	padding-right: 1em;
	gap: 20px;
}

#linki .container h2 {
	font-size: 2.5rem;
	margin-bottom: 20px;
}

/* Sekcja Cennika */
#cennik {
    background-color: #e6f2ff;
    padding: 60px 0;
    text-align: center;
    margin-top: 2em;
}

#cennik h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cennik-tabela {
    margin: 0 auto;
    border-collapse: collapse;
    width: 80%;
    max-width: 600px;
    font-size: 1.2rem;
}

.cennik-tabela th, .cennik-tabela td {
    border: 1px solid #007acc;
    padding: 12px;
}

.cennik-tabela th {
    background-color: #007acc;
    color: white;
}

.cennik-tabela tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Responsywność */
@media (max-width: 1200px) {
    .uslugi-box {
        width: 45%;
    }
	
	.logo-container-link {
		width: 45%;
	}

    #terapia-bowena .container {
        flex-direction: column;
    }

    #terapia-bowena .img, #terapia-bowena .description {
        width: 100%;
    }
	
	#terapia-bowena .imgpsy, #terapia-bowena .descriptionpsy {
        width: 60%;
    }
	
	.contact-info .photo, .contact-info .description {
        width: 100%;
    }
	
	.contact-info  {
        padding: 5%;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    header h1 {
        font-size: 2.5rem;
    }

    header h2 {
        font-size: 1.2rem;
    }

    .uslugi-box {
        width: 100%;
    }
	
	.logo-container-link {
		width: 100%;
	}

    .slide img {
        object-fit: contain;
    }
	.contact-info .photo, .contact-info .description {
        width: 100%;
    }
	.contact-info .photo {
		max-width: 30%;
		margin-left: 35%;
	}
	.contact-info  {
        padding: 5%;
    }
}

@media (max-width: 480px) {
    header {
        padding: 50px 0;
    }
	
	#terapia-bowena .descriptionpsy {
        width: 100%;
		text-align: center;
    }
	
	#terapia-bowena .imgpsy {
		width: 90%;
	}

    .back-to-top {
        font-size: 1.5rem;
        padding: 10px;
    }
	.contact-info .photo, .contact-info .description {
        width: 90%;
		margin-left: 5%;
    }
	
	.contact-info .photo {
		max-width: 30%;
		margin-left: 35%;
	}
	
	.contact-info  {
        padding: 5%;
    }
}

/* Styl dla przycisku hamburgera */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* Ukrycie menu w trybie mobilnym */
nav ul {
    transition: max-height 0.3s ease;
    overflow: hidden;
    max-height: none;
}

nav ul.responsive {
    display: flex;
    flex-direction: column;
    background-color: #007acc;
    position: absolute;
    top: 50px;
    right: 0;
    width: 100%;
    max-height: 0;
}

nav ul.responsive.open {
    max-height: 300px; /* Można dostosować w zależności od liczby elementów menu */
}

/* Stylowanie dla urządzeń mobilnych */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
	
	nav {
		padding: 0;
	}

    nav ul {
        display: none;
    }

    nav ul.responsive {
        display: flex;
    }
}

/* Dopasowanie tła rozwijanego menu do tła głównego menu */
nav ul.responsive {
    background-color: #007acc; /* Taki sam kolor jak w głównym menu */
}

nav ul.responsive.open li a {
    color: white; /* Zachowanie koloru tekstu */
    padding: 10px; /* Dostosowanie przestrzeni między elementami */
}

/* Korekta tła dla rozwijanego menu w trybie hamburgera */
nav ul.responsive {
    background-color: inherit; /* Dziedziczy kolor tła z głównego menu */
    color: white; /* Kolor tekstu w menu */
}

nav ul.responsive li a {
    color: white; /* Ustawienie koloru linków w menu rozwijanym */
    padding: 10px 15px;
    display: block;
    text-align: center;
}



/* Responsywność sekcji cennik */
@media (max-width: 768px) {
    .cennik-tabela {
        width: 95%;
        font-size: 1rem;
    }

    .cennik-tabela th, .cennik-tabela td {
        padding: 8px;
    }

    #cennik h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .cennik-tabela {
        width: 100%;
        font-size: 0.9rem;
    }

    .cennik-tabela th, .cennik-tabela td {
        padding: 6px;
    }

    #cennik h2 {
        font-size: 1.5rem;
    }
}
