* {
	margin : 0;
	padding : 0;
	outline : 0;
}
body {
	font-family : Ubuntu, Arial, sans-serif;
	color : #000;
	font-size : medium;
	overflow-x: hidden;
	background : linear-gradient(to bottom, rgb(130, 186, 39, 0.75) 0%, rgb(255, 255, 255, 0) 100%);
}
.mainbg {
	background-repeat : repeat;
	background-position : center top;
	background-color : #fff;
	max-width : 1170px;
	margin : auto;
}
.slidercontainer {
	background-size : cover;
	background-position : center top;
	background-repeat : repeat;
	padding-top : 5px;
	padding-bottom : 5px;
}
.shadow {
	background-position : center bottom;
	max-width : 1200px;
	margin : 0 auto;
	background-image : url(../img/shadows-bottom.png);
	background-repeat : no-repeat;
	padding-bottom : 28px;
}
header {
	background-position : 20px center;
	max-width : 940px;
	padding : 0 20px;
	margin : 0 auto;
	background-repeat : no-repeat;
	min-height : 140px;
	background-image : url(../img/logo.webp);
}
nav {
	border-width : 1px;
	border-color : #ddd;
	background-color : #fff;
	width : 100%;
	border-bottom-style : solid;
}
#menu ul {
	list-style-type : none;
	text-align : right;
	padding : 7px 20px 10px;
	max-width : 1061px;
	margin : auto;
}
#menu li {
	border-width : 1px;
	border-color : #ccc;
	display : inline-block;
	margin : 0;
	border-left-style : solid;
	text-align : center;
}
#menu li:first-child {
	border-left-style : none;
}
#menu li a {
	display : block;
	padding : 0 5px 0 6px;
	text-decoration : none;
	font-size : 12px;
	text-transform : lowercase;
	color : #3b3b3b;
}
#menu li a.active, #menu li a:hover {
	color : #000;
}
.heading {
	text-align : right;
	padding-top : 55px;
	color : #333;
	line-height : 1.2em;
	font-size : 14px;
	font-weight : 300;
}
.heading a {
	text-decoration : none;
	color : #eb0303;
	font-size : 18px;
	font-weight : 400;
}
.heading a:hover {
	color : #000;
}
h1, h3 {
	background-position : center top;
	padding : 20px;
	line-height : 1.2em;
	font-weight : 400;
	background-color : rgb(130, 186, 39, 0.75);
	color : #fff;
	font-size : x-large;
	font-weight: 500;
	text-align : center;
	margin : 0 auto;
	background-repeat : no-repeat;
	max-width : 940px;
	font-family : Arial, Helvetica, sans-serif;
}
h1{
	 text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

h2 {
	padding : 15px 20px 0;
	text-align : center;
	font-weight : 300;
	font-size : 24px;
	margin : 0 auto;
}
.abs {
	width : 100%;
	margin : auto;
	background-color : #f8f8f8;
}
article {
	max-width : 1020px;
	margin : 0 auto;
}
@media (max-width: 980px) {
article {
	margin : 0 auto;
}
}
article p {
	padding : 20px;
	text-align : center;
	font-weight : 300;
	font-size : 15px;
	color : #666;
}
.name {
	font-size : 20px;
	font-weight : 500;
	color : #f30;
}
.foto {
	text-align : center;
	padding : 20px 0;
}
.foto2 {
	text-align : center;
	padding : 20px 0 0;
}
.foto1 {
	text-align : center;
	padding : 0 0 20px;
}
.foto img:hover {
	transform : scale(1.08);
	transition-delay : 0.3s;
	transition-duration : 0.35s;
}
.foto img {
	padding : 0;
	margin : 2px;
	height : 209px;
	border : none;
}
.foto2 img {
	padding : 0;
	margin : 2px;
	height : 180px;
	border : none;
}
.center {
	text-align : center;
	padding-bottom : 0;
}
.center strong {
	font-weight : 400;
	font-size : 24px;
	color : #21573b;
}
footer {
	text-align : center;
	max-width : 980px;
	margin : 0 auto;
}
footer p {
	padding : 20px;
	font-size : 16px;
	text-align : center;
}
footer a {
	color : #393939;
}
footer a:hover {
	color : #000;
}
#author {
	margin : 0 auto;
	width: 100%;
	text-align : center;
	padding : 10px 20px;
	font-size : 11px;
	color : #000000;
	background-color : rgba(255, 255, 255, 0.75);
	max-width : 100%;
}
#author img {
	border : none;
	vertical-align : middle;
}
#author a {
	color : #000000;
}
@media (max-width: 759px) {
.heading {
	display : none;
}
#menu ul {
	text-align : center;
}
header {
	background-size : 70% auto;
	background-position : center center;
	padding : 50px 0 20px;
	background-repeat : no-repeat;
	min-height : 50px;
}
h1 {
	padding : 15px 20px;
}
.mainbg {
        margin: 0; /* Usuń marginesy na telefonie */
        max-width: 100%; /* Pełna szerokość */
        width: 100%;
    }
    
    body {
        margin: 0;
        padding: 0;
    }
	html{
		overflow-x: hidden;
	}
}

@media (max-width: 310px) {
body {
	background-image : none;
}
}
@media (max-width: 759px) {
.center strong {
	font-size : 18px;
}
}
.slider-wrapper {
    position: relative;
    overflow: hidden;
	height: 280px;
    border-radius: 8px;
    background: #f0f0f0;
    margin: 0 auto;
}

.slider-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8f8f8;
    color: #666;
    font-size: 14px;
}
.slidercontainer {
        padding: 5px 10px;
    }
.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.slide {
    flex: 0 0 auto;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive - liczba widocznych slajdów */
.slider-wrapper[data-slides="4"] .slide { width: 25%; }
.slider-wrapper[data-slides="3"] .slide { width: 33.333%; }
.slider-wrapper[data-slides="2"] .slide { width: 50%; }
.slider-wrapper[data-slides="1"] .slide { width: 100%; }

/* Kontrolki */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.slider-btn {
    background: rgba(130, 186, 39, 0.8);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-family: Ubuntu, Arial, sans-serif;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: rgba(130, 186, 39, 1);
    transform: scale(1.05);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Wskaźniki (dots) */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(130, 186, 39, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: rgba(130, 186, 39, 1);
    transform: scale(1.2);
}

/* Responsive dla slidera */
@media (max-width: 759px) {
    .slider-controls {
        gap: 10px;
        margin-top: 10px;
		margin: 5px;
    }
    
    .slider-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .slider-wrapper {
        aspect-ratio: 4 / 3; /* Inne proporcje na mobile */
    }
}
.contact {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: auto;
}

.contact p {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  font-size: 17px;
}

.contact strong {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2c3e50;
}

.contact a {
  color: #21573b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact a:hover {
  color: #1abc9c;
}

footer a {
	font-size: 16px; 
}


footer p {
	padding: 20px;
	font-size: 18px; 
	text-align: center;
}
.google-map{
	height: 280px;
	width: 90%;
}

@media (max-width: 759px) {
	.contact {
		font-size: 1.3em;
		line-height: 1.3; 
	}
	
	.contact p {
		font-size: 20px;
		gap: 4px; 
	}
	
	.contact strong {
		font-size: 26px;
		margin: 2px 0; 
		padding: 4px; 
	}
	
	footer p {
		font-size: 20px;
	}
	.google-map{
		height: 120px;
	}
	#menu ul {
        max-width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 7px 10px;
    }
    
    #menu li {
        flex: 0 0 auto;
        margin: 2px;
        border-left: none;
        border: 1px solid #ccc;
        border-radius: 3px;
    }
    
    #menu li a {
        padding: 5px 8px;
        font-size: 10px;
    }
}

@media (max-width: 479px) {
	.contact {
		font-size: 1.4em;
		line-height: 1.3; 
	}
	
	.contact p {
		font-size: 22px;
		gap: 4px; 
	}
	
	.contact strong {
		font-size: 28px;
		margin: 2px 0; 
		padding: 4px; 
	}
	
	footer p {
		font-size: 22px;
	}
}
