/* Hero section */
/* #d8a7af */
body {
    font-family: 'Nata Sans', sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.hero {
    padding: 60px 20px;
    text-align: center;
    background-color: #fdf7f4;
    /* margin-top: 100px; */
}
.hero-title {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}
.hero-desc {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 30px;
}
.btn-primary {
    padding: 12px 24px;
    background-color: #d8a7af;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 10px;
    display: inline-block;
}
.btn-secondary {
    padding: 12px 24px;
    border: 2px solid #d8a7af;
    border-radius: 8px;
    text-decoration: none;
    color: #d8a7af;
    font-weight: bold;
    display: inline-block;
}
.hero-img {
    width: 100%;
    max-width: 800px;
    height: 300px;
    /* background-color: #e0d5cc; */
    margin: 40px auto 0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}



.hero-img img {
    width: 100%;

    object-fit: cover;

    display: block;
}

/* Dlaczego warto section */
.why-section {
    padding: 60px 20px;
    background-color: #ffffff;
}
.section-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
}
.why-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.why-item {
    flex: 1 1 220px;
    max-width: 300px;
}
.why-img {
    width: 100%;
    height: 60px;
    background: #e0d5cc;
    margin-bottom: 16px;
    overflow: hidden;
    display: block;
    border-radius: 10px;
}

.why-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Oferta skrócona section */
.offer-section {
    padding: 60px 20px;
    background-color: #fdf7f4;
}
.offer-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}
.offer-item {
    flex: 1 1 220px;
    max-width: 300px;
    background: white;
    padding: 20px;
    border-radius: 10px;
}
.offer-img {
    overflow: hidden;
    display: block;
    width: 100%;
    height: 160px;
    background-color: #e0d5cc;
    border-radius: 8px;
    margin-bottom: 15px;
}

.offer-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.offer-link {
    font-size: 0.9rem;
    display: inline-block;
    /* margin-top: 10px; */
    color: #d8a7af;
    font-weight: bold;
    text-decoration: none;
}
.offer-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.12s;
}
.offer-item-link:hover .offer-item {
    box-shadow: 0 4px 16px rgba(217,168,108,0.15);
    transform: translateY(-2px) scale(1.02);
}

/* Lokalizacja section */
.location-section {
    padding: 60px 20px;
    background-color: #ffffff;
}
.location-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 20px;
}
.location-img {
  width: 100%;
  max-width: 800px;
  height: auto; /* let wrapper control aspect ratio */
  margin: 0 auto 30px;
  border-radius: 10px;
  overflow: hidden;
}

.map-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.location-btn-wrap {
    text-align: center;
}


.faq-section {
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem;

    margin-bottom: 120px;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	/* transition: max-height 0.4s linear; */
	padding: 0 0;
}

.faq-item.active .faq-answer {
	max-height: 300px; /* wystarczająco dużo na większość odpowiedzi */
	padding: 10px 0;
}

.faq-question {
    user-select: none;

    font-weight: bold;
	display: flex;
	justify-content: space-between;
	cursor: pointer;
	padding: 12px 0;
	border-bottom: 1px solid #ddd;
}

.faq-toggle {
	transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
	transform: rotate(90deg);
}


.carousel-container {
    
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}
.carousel-slide {
    width: 100%;
    height: 40vh;
    background-color: #e0d5cc;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 100%;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.7);
    border: none;
    font-size: 2rem;
    padding: 0 12px;
    cursor: pointer;
    z-index: 2;
}
.carousel-button.prev {
    left: 10px;
}
.carousel-button.next {
    right: 10px;
}

.carousel-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.cert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.8);
  display: none; /* domyślnie ukryte */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}

.cert-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 1rem;
  box-shadow: 0 0 20px #000;
}

.cert-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 1100;
}
