body,html {font-size:100%;background:#fff;font-family:Raleway,sans-serif!important;}
h1,h2,h3,h4,h5,h6 {margin:0 0 18px;}
p {margin:0;}
ul {margin:0;padding:0;}
body a:hover {text-decoration:none;}
.pas {
	background-color: #000A41;
	height: .7em;
	width: 100%;
}

.header {
    display: flex;
    flex-wrap: wrap; /* Elementy będą się zawijać */
    justify-content: center;
    align-items: center;
    padding: 10px 5%;
    width: 100%;
    box-sizing: border-box;
	
}

.logo { 
	width: 20%;
	text-align: center;
}
.logo img {
    max-width: 100%; /* Zapewnia skalowanie logo */
    height: auto;
}

.telefon {
	width: 20%;
	padding-left: 1em;
    font-size: 1rem;
    display: flex; /* Aktywuje flexbox */
    align-items: center;
}
.telefon img {
    margin-right: 1em;
    height: auto;
    max-width: 50px;
}
.telefon span {
	display: flex;
    flex-direction: column;
}

.top-nav { 
    width: 50%;
    font-family: Oswald, sans-serif;
    border-right: 1px solid #ccc;
    height: 2.5em;
    position: relative; /* Pozycja względna dla elementów wewnętrznych */
    display: flex; /* Użycie flexboxa */
    justify-content: flex-end; /* Wyrównanie do prawej */
    align-items: center; /* Wyśrodkowanie w pionie */
    text-align: right; /* Tekst również wyrównany do prawej */
    padding-right: 1em; /* Dodatkowy odstęp od prawej krawędzi */
}

span.meni {
    display: none;
}

.top-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    list-style: none;
}

.top-nav ul li {
    display: inline-block;
    margin-left: 2em;
}

.top-nav ul li a {
    color: #000;
    padding: 0;
    font-size: 17px;
    position: relative;
    text-transform: uppercase;
}

.top-nav ul li a:hover {
    text-decoration: none;
    background: 0 0;
    color: #74543d;
}

.top-nav ul li a::before {
    color: #74543d;
    content: attr(data-hover);
    position: absolute;
    opacity: 0;
    text-shadow: 0 0 1px rgba(255,255,255,0.3);
    transform: scale(1.1) translateX(10px) translateY(-10px) rotate(4deg);
    transition: transform .3s, opacity .3s;
    pointer-events: none;
}

.top-nav ul li a:focus::before, .top-nav ul li a:hover::before {
    transform: scale(1) translateX(0) translateY(0) rotate(0);
    opacity: 1;
}

.banner {
    width: 100%;
    height: auto; /* Upewnia się, że nie wymusza stałej wysokości */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
	background-color: #f9f9f9;
    background-size: cover;
}
.banner img {
    max-width: 100%;
    height: auto;
}
.container {
	position:relative;
	overflow: hidden;
	width:100%;
	padding:0;
}
.o-container { margin:auto; width:80%; padding: 2em 0; }
.o-container h3 { margin: 1em 0; }
.o-container ul { margin: 0 0 1em 1em; }
.o-container ul li { margin-left: 1em; }

.slider { width:100%; }

#t-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 2% 10%;
	background-image:url('../gfx/tlo-porady.webp');
	height:50%;
}

.t-left {
    width: 70%;
    padding: 20px;
}

.t-left p {
    color: #fff;
    margin-bottom: 1em;
}

.t-right {
    width: 30%;
    padding: 20px;
}

.t-right img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

#cards-container {display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:25px;width:100%;max-width:100%;padding:2% 10%;background-color:#fff;align-items:stretch;}

.property-card-link {display:flex;text-decoration:none;color:inherit;height:100%;}
.property-card {background-color:#fff;box-shadow:0 4px 12px rgba(0,0,0,0.1);border-radius:10px;padding:30px;transition:transform .3s ease;display:flex;flex-direction:column;width:100%;height:100%;}

.property-card ul, .banner ul { list-style: square; }
.property-card ul li::marker, .banner ul li::marker { color: #A13B07; }
.banner ul li { margin-left: 1em; }

.card-content {flex-grow:1;display:flex;flex-direction:column;}
.property-card:focus-within,.property-card:hover {transform:translateY(-5px);box-shadow:0 6px 16px rgba(0,0,0,0.15);outline:2px solid #EFEDED;}
.property-card:active {transform:translateY(0);box-shadow:0 2px 6px rgba(0,0,0,0.1);}
.card-header {display:flex;align-items:center;gap:15px;margin-bottom:20px;}
.card-icon {font-size:28px;color:#3c2114;min-width:40px;text-align:center;}
.property-card h1 {font-size:clamp(15px,2vw,20px);color:#333;margin:0;font-weight:700;text-align:left;}
.property-card p {font-size:clamp(14px,1.6vw,16px);color:#666;line-height:1.6;margin-bottom:12px;text-align:left;}
.contact {padding:5em 0;}
.line {width:31%;margin:.5em auto;border:1px dashed #653221;}

.slider-item {
  min-width: 100%;
  box-sizing: border-box;
  height: 500px;
  display: flex;
  align-items: center;
}

.slider-item img {
  width: 40%;
  object-fit: cover;
  object-position: top;
  height: 500px;
}

#test {
  box-sizing: border-box;
  width: 60%;
  padding: 3em;
}

#test .nagsmall {
  text-transform: uppercase;
  font-size: 1em;
  color: #0B3040;
}

#test h3 {
  text-transform: uppercase;
  color: #f09b4a;
  font-size: 3.8em;
  font-family: 'Oswald', sans-serif;
}

#test .nagopis {
  font-size: 1em;
  color: #0B3040;
}

#test button, .menu-but {
  position: relative;
  margin-top: 1em;
  background-color: #3C2114;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 45px;
  cursor: pointer;
}

#test button:hover, .menu-but:hover {
  background-color: #6b4719;
}

.back-to-top button, .prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 18px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 45px;
  z-index: 10;
}

.back-to-top button:hover {
  background-color: #6b4719;
}
.prev {
  left: 10px; /* Ustawienie przycisku Previous po lewej */
}

.next {
  right: 10px; /* Ustawienie przycisku Next po prawej */
}

@-webkit-keyframes imagelightbox-loading {
	from {opacity:0.5;-webkit-transform:scale(.75);}
	50% {opacity:1;-webkit-transform:scale(1);}
	to {opacity:0.5;-webkit-transform:scale(.75);}
}
@keyframes imagelightbox-loading {
     from {opacity:0.5;transform:scale(.75);}
     50% {opacity:1;transform:scale(1);}
     to {opacity:0.5;transform:scale(.75);}
     }
@-webkit-keyframes fade-in {
     from {opacity:0;}
     to {opacity:1;}
    }
@keyframes fade-in {
     from {opacity:0;}
     to {opacity:1;}
    }


.c-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    background: white;
    padding: 2% 10%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-info {
    width: 40%;
    padding-right: 20px;
}

.contact-info h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.contact-info .details {
    margin-top: 20px;
}

.details div {
    margin-bottom: 10px;
}

.details i {
    color: #3C2114;
    margin-right: 10px;
}

.form-container {
    width: 60%;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.form-container input, .form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}
.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.form-row .g-recaptcha {
    flex: 1 1 auto;
    min-width: 250px;
}

.form-container input[type="submit"] {
    background-color: #3C2114;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 45px;
    font-size: 14px;
    cursor: pointer;
	width: auto;
    min-width: 120px;
}

.form-container input[type="submit"] {
    background-color: #6b4719;
}

.copy {text-align:center;background:#204154;padding:1.5em 1em;}
.copy p {color:#fff;font-size:14px;}
.copy p a {color:#fff;}
.copy p a:hover {text-decoration:underline;}

#topp {position:fixed;bottom:5em;right:5em;display:none;}

@media (max-width:1430px) {
	.telefon { width: 20%; }
	.telefon small { font-size: .9em; }
	.top-nav ul li a { font-size: .9em; }
}
@media (max-width:1290px) {
	.telefon, .logo { width: 20%; }
	.telefon { font-size: .7em; }
	.top-nav { width: 60%; }
	.top-nav ul li a { font-size: .7em; }
}
@media (max-width:768px) {
    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
		clear:all;
    }
    .banner {
        flex-direction: column;
    }
    
    .logo, .telefon {
        width: 100%;
        padding: 0.3em 0; /* Zmniejszenie paddingu */
        height: 5em; /* Zapobiega nadmiernemu rozciąganiu */
        min-height: 50px; /* Opcjonalnie, jeśli chcesz ograniczyć minimalną wysokość */
        display: flex;
        justify-content: center;
        align-items: center; 
    }
	.telefon span {
		text-align: left;
		width: 100%;
		font-size: 1.2em;
	}
    .telefon img {
        float: none;
        display: block;
        margin: 0 auto;
        max-width: 40px; /* Ograniczenie szerokości obrazka */
        height: auto; /* Automatyczne dopasowanie wysokości */
    }	
    .container {
		overflow: visible;
    }
	.logo {
        padding: 1em;
    }
    .top-nav {
        width: 100%;
        border-right: none;
    }
    .top-nav ul {
		display: none;
		position: absolute;		
		top: -40%;
		left: 25%;
		transform: translateX(-50%);
		text-align: center;
		padding: .5em 0;
		width: 12em;
		z-index: 9999;
		background: #a98316;
    }
	
    .top-nav ul li {
        margin-left: 1em;
		display: inline-block;
        border: none;
        width: 100%;
        padding: 17px 1em;
        text-align: center;
		margin: 0;
		border-bottom: 1px solid #775d14;
    }
	
    .top-nav ul.nav li a {
        color: #fff;
		font-size:1em;
    }
	
    #t-container {
        flex-direction: column;
        padding: 5%;
    }
    .t-left, .t-right {
        width: 100%;
    }
    .t-left {
        order: 2;
    }
    .t-right {
        order: 1;
        text-align: center;
    }
    .slider {
        display: none;
    }
	span.meni {
		position: absolute;
		top: -3em;
		left: 2px;
		cursor: pointer;
		z-index: 10000; /* Najwyższy priorytet, aby było widoczne */
		background: none;
		border: none;
		font-size: 1.8em;
        color: #dfa80b;
        display: inline-block;
	}


  .slider-item {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .slider-item img {
    width: 100%;
    height: auto;
  }

  #test {
    width: 100%;
    padding: 2em;
  }

  #test h3 {
    font-size: 2.5em;
  }

  #test button {
    font-size: 1em;
    padding: 8px 16px;
  }

	 #cards-container {     
		display: flex;
		flex-direction: column; /* Ustawienie elementów w kolumnie */
		align-items: center; /* Wyśrodkowanie elementów */
		gap: 20px;
	}
	.property-card-link {
		width: 100%; /* Karta zajmuje całą szerokość */
		max-width: 90%; /* Ograniczenie szerokości */
	}
     #container {flex-direction:column;padding:0 5%;}
     .t-left,.t-right {width:100%;margin-bottom:20px;}

	 .c-container {
        flex-direction: column;
        padding: 5%;
    }
    .contact-info, .form-container {
        width: 100%;
        padding-right: 0;
    }
	.form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .form-row input[type="submit"] {
        align-self: center;
        margin-top: 20px;
        width: 100%;
    }
}
@media (max-width:640px) {
     .top-nav span {font-size:1.5em;}
     .logo {padding:1.5em 3em;}

     }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #222;
  color: #fff;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  text-align: center;
}

.cookie-banner a {
  color: #00bcd4;
  text-decoration: underline;
}

.cookie-banner button {
  padding: 8px 16px;
  background-color: #00bcd4;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.cookie-banner.hidden {
  display: none;
}