/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f2f9f5;
    color: #333;
    margin-top: 80px; /* Aby strona nie nachodziła na header */
}

/* Header styles */
.header {
    background-color: #2e8b57; /* Zielony kolor */
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
	height: 50px
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 200px; /* Ustal odpowiednią wielkość logo */
    height: auto;
    margin-right: 10px; /* Odstęp między logo a nazwą */
	
}

.logo {
    font-size: 30px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
	    text-decoration: none; /* Usunięcie podkreślenia */
    color: white; /* Kolor tekstu, taki jak tło nagłówka */
    font-weight: bold; /* Dodanie pogrubienia, aby wyglądało podobnie jak wcześniej */
}
.logo:hover {
    color: white; /* Brak zmiany koloru */
    text-decoration: none; /* Zapewnienie, że nie będzie podkreślenia */
}

/* Nawigacja */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
    color: #235e3d;
    transform: translateY(-3px);
}


/* Hero Section */
.hero {
    background-image: url('images/hero-image.jpg');
    background-size: contain;
background-repeat: no-repeat;
    background-position: center;
    color: white;
    padding: 350px 0 100px; /* Zwiększono padding od góry */
    text-align: center;
    position: relative;
}
@media (max-width: 1140px) {
    background-image: url('images/hero-image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Opcjonalnie, efekt paralaksy */
    color: white;
    min-height: 80vh; /* Ustaw minimalną wysokość */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 20px; /* Usuwamy duże paddingi */
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 50px;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-out;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeIn 2.5s ease-out;
}

.btn-primary {
    background-color: #2e8b57;
    padding: 15px 30px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    background-color: #235e3d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    margin-top: 50px;
    width: 100%;
}

/* Stopka - kontener główny */
.footer-content {
    display: grid; /* Używamy gridu do podziału na 3 kolumny */
    grid-template-columns: 1fr 2fr 1fr; /* Trzy kolumny, środkowa jest szersza */
    gap: 20px; /* Odstęp między kolumnami */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box; /* Upewniamy się, że padding nie wpłynie na szerokość */
}

/* Sekcja po lewej (godziny otwarcia) */
.footer-left {
    text-align: left;
}

/* Sekcja w środku (informacje kontaktowe) */
.footer-middle {
    text-align: left;
    padding: 0 10px; /* Dodajemy trochę paddingu, by tekst nie był zbyt blisko krawędzi */
}

/* Sekcja po prawej (ikona społecznościowa) */
.footer-right {
    text-align: left;
    display: flex;
    justify-content: center; /* Wyśrodkowanie logo w prawym divie */
    align-items: center;
}

/* Dostosowanie stylów dla linków */
.footer a {
    color: #2e8b57;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Stopka - ikona Facebook */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 8px;
    right: 16px;
    font-size: 18px;
}

/* Styl ikony Facebook */
.facebook-logo {
    max-width: 100%; /* Upewniamy się, że obrazek nie wykracza poza kontener */
    height: auto; /* Proporcjonalna wysokość */
    transition: transform 0.3s ease;
}

.facebook-logo:hover {
    transform: scale(1.1);
}

/* Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Kontakt Section */
.contact-section {
    background-color: #f2f9f5;
    padding: 150px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.contact-info {
    text-align: center;
    max-width: 800px;
}

.contact-info h2 {
    font-size: 36px;
    color: #2e8b57;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-info a {
    color: #2e8b57;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #235e3d;
}

/* Formularz Kontaktowy */
.contact-form {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 30px;
    max-width: 600px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.5s ease-out;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form label {
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 5px;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 150px;
}

.contact-form button {
    background-color: #2e8b57;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
    background-color: #235e3d;
    transform: translateY(-3px);
}
.section {
    background-image: url('images/hero-image.jpg');
    background-size: cover;
    background-position: center;
    color: black;
    padding: 0px 0 100px;
    text-align: center;
    position: relative;
}

.mission {
    background-color: rgba(182, 194, 154, 0.8);
    text-align: center;
    color: #333;
	padding: 10px 10px;

}

.mission h2 {
    font-size: 48px;
	    margin-bottom: 20px;

}

.mission p {
    font-size: 22px;

}

.team {
    background: rgba(255, 255, 255, 0.8);
    padding: 80px 20px;
    text-align: center;
    color: #333;
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
    border-radius: 10px;
}

.team h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.team p {
    font-size: 20px;
    margin-bottom: 20px;
}
.doctors {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
padding-bottom: 100px;
}

.doctor-card {
    width: 30%;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.doctor-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.doctor-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.doctor-card p {
    font-size: 16px;
}

/* Animacja */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsywność */
/*
    .mission h2 {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .mission p {
        font-size: 16px;
        padding: 0 15px;
    }

*/
    .about-text {
        font-size: 16px;
    }

    /* Stopka */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-content a {
        margin-top: 10px;
    }


/* Hero Section */


.hero_services {
    background-color: rgba(182, 194, 154, 0.8);
    padding: 10px 10px;
    text-align: center;
    color: #333;
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
    border-radius: 10px;
}

.hero_services h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero_services p {
    font-size: 22px;
}

/* Services Section */
.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service h2 {
    font-size: 24px;
    color: #2e8b57;
    margin-bottom: 15px;
}

.service p {
    font-size: 16px;
    color: #555;
}

.service:hover {
    transform: translateY(-5px);
}




@media screen and (max-width: 864px) {
    /* Kontakt */
    .contact-info h2 {
	margin-top: 60px;
        font-size: 28px;
    }

    .contact-form {
        padding: 20px;
    }

    /* Header */
    /* Header */
    .header {
        position: static; /* Usuwa fixed na urządzeniach mobilnych */
		
    }
	body {
		font-family: 'Roboto', sans-serif;
		line-height: 1.6;
		background-color: #f2f9f5;
		color: #333;
		margin-top: 0px; /* Aby strona nie nachodziła na header */
	}
    .navbar {
        flex-direction: column;
        align-items: center;
		height: 200px
    }

    .nav-links {
        flex-wrap: wrap; /* Pozwala na przejście do nowego wiersza */
        justify-content: center;
        gap: 10px;
        text-align: center;
    }
    .nav-links li {
        width: 45%; /* Dzieli na dwa rzędy */
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    /* Sekcja usług */
    .services {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .service {
        width: 100%;
        padding: 15px;
    }

    /* Sekcja "O nas" */
    .about-section {
        padding: 30px 10px;
    }
	/*
    .mission {
        padding-top: 100px; 
        text-align: center;
    }
	*/
	
    .hero_services h2 {
        font-size: 36px; /* Zmniejszenie czcionki na mniejszych ekranach */
    }

    .hero_services p {
        font-size: 18px; /* Zmniejszenie czcionki na mniejszych ekranach */
    }

    .hero_services {
        padding: 40px 20px; /* Dopasowanie paddingu */
    }
.footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    margin-top: 50px;
    width: 100%;
}

/* Kontener stopki */
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .footer-left,
    .footer-middle,
    .footer-right {
        width: 100%;
		text-align: center;
    }

    .footer-right {
        justify-content: center;
    }
	

	/* Zmniejszenie czcionki w stopce */
	.footer p,
	.footer a {
		font-size: 14px; /* Zmniejszamy font-size dla tekstów i linków w stopce */
	}
	.footer h3 {
		font-size: 16px; /* Zmniejszamy font-size dla tekstów i linków w stopce */
	}



	.footer a {
		color: #2e8b57;
		text-decoration: none;
		transition: color 0.3s ease;
	}

	.footer a:hover {
		color: #fff;
		text-decoration: underline;
	}

	/* Ikony społecznościowe */
	.footer-social {
		display: flex;
		justify-content: center;
		align-items: center;
		position: absolute;
		bottom: 8px;
		right: 16px;
		font-size: 18px;
	}

	/* Styl ikony Facebook */
	.facebook-logo {
		max-width: 100%;
		height: auto;
		transition: transform 0.3s ease;
	}

	.facebook-logo:hover {
		transform: scale(1.1);
	}
	    .mission h2 {
        font-size: 36px;
    }

    .mission p {
        font-size: 18px;
    }

    .mission {
		padding: 50px 10px; 
    }
	    .doctors {
        flex-direction: column;
        align-items: center;
		gap: 10px;
		
    }
    
    .doctor-card {
        width: 100%;
        max-width: none;
        padding: 20px;
    }
	}