/* --------------------------------------
   1. RESET & GLOBAL STYLES
-------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  background: #111;
}

html, body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  font-weight: 100;
  margin: 0;
  padding: 0;
  text-align: center;
}

h2, p {
  font-family: 'Lato', sans-serif;
  font-weight: 100;
}

a {
  text-decoration: none;
}

button,
.scrollToTopBtn {
  font-family: 'Inter', sans-serif;
  font-weight: 100;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.scrollToTopBtn {
  z-index: 10;
  position: fixed;
}
/* --------------------------------------
 2. BUTTON STYLES
-------------------------------------- */
button {
  padding: 1rem 3rem;
  background: rgba(29, 29, 29, 0.8);
  font-size: 1.125rem;
  letter-spacing: 1.2px;
  color: white;
  border: none;
  border-radius: 20px;
  position: relative;
}

button:hover {
  background: #1f1b18;
  transition: background-color 0.8s ease;
}

/* --------------------------------------
 3. SCROLL TO TOP BUTTON
-------------------------------------- */
.scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 0.625rem 1.25rem;
  background: none;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.scrollToTopBtn:hover {
  background-color: #555555;
}

/* --------------------------------------
 4. SECTION LAYOUT
-------------------------------------- */
.section {
  display: flex;
  flex-direction: row; 
  justify-content: center; 
  align-items: stretch;
  width: 100%;
  height: 100%;
  flex-wrap: nowrap;
}

.contact {
  overflow: hidden;
}
.section-heading {
  display: inline-block;
  position: relative;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-heading::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%; 
  height: 3px;
  background: linear-gradient(to right, #d9dacc, #B2A496); 
  transition: width 1s ease; 
  border-radius: 2px;
}

.section-heading.visible::after {
  width: 75%; 
}

.reveal {
  opacity: 0;
  background-color: #000;
  transition: opacity 1.5s ease-in-out, background-color 0.8s ease-in-out;
}

.reveal.visible {
  opacity: 1;
  background-color: transparent;
}

.separator {
  height: 30px;
  background: #111;
  width: 100%;
}

/* --------------------------------------
 5. TEXT & IMAGE CONTAINERS
-------------------------------------- */
.section .text {
  width: 40%;
  height: 100%;
}

.image-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 60%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.image-container .photo-img, .image-container .photo-second {
  width: calc(50% - 10px);
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px; 
  box-sizing: border-box;
  cursor: zoom-out;
}

.popup-overlay img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.disabled {
  cursor: not-allowed;
}

.disabled:hover {
  background-color: #111;
}

.folk-separator {
  width: 20px;               
  height: 100%;              
  background: #111; 
  flex-shrink: 0;            
}
.text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to bottom, #555555, #3f3f3f);
  color: whitesmoke;
  font-size: 1.5rem;
  text-align: right;
  line-height: 4rem;
  letter-spacing: 4px;
  overflow: hidden;
}
.text-wrapper h2{
  font-size: 3rem;
  margin-bottom: 2rem;
}

.text-wrapper {
  padding: 3rem;
  margin-bottom: 5rem;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}
.sixth .okolica-section {
  display: flex;
  justify-content: space-between;
  align-items: stretch; 
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.sixth .okolica-section .column {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  position: relative;
}

.sixth .okolica-section .left,
.sixth .okolica-section .right {
  max-width: 33.333%;
}

.sixth .okolica-section .left img,
.sixth .okolica-section .right img,
.sixth .okolica-section .center img {
  width: 100%;
  height: 100%;       
  object-fit: cover;  
  display: block;
}

.sixth .okolica-section .center {
  position: relative;
  flex-direction: column;
}
.sixth .okolica-section .center::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  pointer-events: none;
}
.sixth .okolica-section .center img {
  border-radius: 0 !important;
}

.sixth .okolica-section .center .center-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  user-select: none;
  pointer-events: none;
  z-index: 10;
}

.sixth .okolica-section .center .center-title h2 {
  margin: 0;
  color: #fff;
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

.sixth .okolica-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  opacity: 0;
  transition: background-color 0.8s ease, opacity 0.8s ease;
  pointer-events: none;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  text-align: justify;
  color: white;
  text-transform: uppercase;
  line-height: 1.6;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.sixth .okolica-section:hover .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 1;
  pointer-events: auto;
}

.sixth .okolica-section .overlay-content {
  max-width: 1000px;
  user-select: text;
  text-align: center;
  text-transform: uppercase;
  line-height: 2.5rem;
  letter-spacing: 2px;
}

.sixth .okolica-section .overlay-content h2 {
  font-size: 4rem;
  margin-bottom: 3rem;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline;
}

.seventh .onas-section {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  height: 80vh;
  background: url('/static/images/6045754.webp') center center/cover no-repeat;
}

.seventh .onas-left,
.seventh .onas-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  position: relative;
}

.seventh .onas-left {
  max-width: 32.6%;
}

.seventh .onas-right {
  max-width: 67.4%;
}

.seventh .onas-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.seventh .onas-section .overlay-content {
  max-width: 1000px;
  user-select: text;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.8rem; 
  line-height: 2rem; 
  letter-spacing: 2px; 
}

.seventh .onas-section .overlay-content h2 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.seventh .onas-right::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}

.seventh .onas-right > .overlay {
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow: 0 0 8px rgba(0,0,0,0.7);
}

/* --------------------------------------
 6. BACKGROUND IMAGES & SECTIONS
-------------------------------------- */
.first,
.second,
.third,
.fourth,
.fifth,
.sixth,
.seventh,
.eighth,
.contact {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.first {
  position: relative;
  height: 100vh;
  overflow: visible;
  background: linear-gradient(-45deg, #2c2c2c, #1a1a1a);
  background-size: 400% 400%;
  animation: gradientAnimation 30s ease infinite;
  z-index: 0;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.first > .mainlogo {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 300px;
  height: auto;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.7));
  object-fit: contain;
}

.first > .buttons-container {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, 20%);
  z-index: 2;
  display: flex;
  gap: 20px;
}

.collage-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 100vw;
  height: 85vh;
  position: relative;
  z-index: 2;
  overflow: visible;
}

.collage-container .collage-img {
  width: 42%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
  transition: transform 0.6s ease, z-index 0.6s ease;
  cursor: pointer;
  transition: transform 0.5s ease-in-out;
}
.collage-container .collage-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25); 
  border-radius: 20px;
  transition: background-color 0.6s ease;
  pointer-events: none;
  z-index: 2;
}

.collage-container .collage-img:hover::before {
  background-color: rgba(0, 0, 0, 0);
}


.collage-container .collage-img:nth-child(1) {
  margin-right: -10%;
  z-index: 1;
  animation: floatSidewaysWithYOffset 6s ease-in-out infinite;
}

.collage-container .collage-img:nth-child(2) {
  z-index: 3;
  animation: floatUpDown 5s ease-in-out infinite;
  margin: 0 -10%;
}

.collage-container .collage-img:nth-child(3) {
  margin-left: -10%;
  z-index: 2;
  animation: floatSidewaysWithNegativeYOffset 7s ease-in-out infinite reverse;
}

@keyframes floatSidewaysWithYOffset {
  0%, 100% {
    transform: translateX(0) translateY(35px);
  }
  50% {
    transform: translateX(10px) translateY(35px);
  }
}

@keyframes floatSidewaysWithNegativeYOffset {
  0%, 100% {
    transform: translateX(0) translateY(-35px);
  }
  50% {
    transform: translateX(10px) translateY(-35px);
  }
}
@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.collage-container .collage-img:hover {
  transform: scale(1.08);
  z-index: 5 !important;
  transition: transform 0.6s ease, z-index 0.6s ease;
}

/* --------------------------------------
 7. BUTTON CONTAINER
-------------------------------------- */
.buttons-container {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-top: 20px;
}

/* --------------------------------------
 9. CONTACT SECTION
-------------------------------------- */
.contact {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('images/okolica3.webp') center/cover no-repeat;
  animation: moveBackground 45s ease-in-out infinite;
  color: #fff;
  padding: 3rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-content {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
}

.contact-map {
  flex: 1;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

.address {
  display: none;
}
.contact-form {
  flex: 1;

  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 10px;
}

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.contact-subtitle {
  font-size: 1rem;
  color: whitesmoke;
  margin-bottom: 1.5rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  font-family: 'Inter', sans-serif;
  font-weight: 100;
  background-color: rgba(255, 255, 255, 0.2);
  color: whitesmoke;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: background-color 0.5s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgb(198, 198, 198);
  opacity: 1;
}

.contact-form textarea {
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.3);
}

.contact-form button {
  width: 50%;
  margin: 0 auto;
  display: block;
}

.contact-form {
  font-family: 'Lato', sans-serif;
  font-weight: 100;
}
/* --------------------------------------
 10. ERROR POPUP
-------------------------------------- */
.error-popup {
  position: fixed;
  bottom: 20px;
  left: -300px;
  background-color: #f44336;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  font-size: 18px;
  z-index: 9999;
  min-width: 250px;
  text-align: center;
  transition: left 0.5s ease-in-out, opacity 0.5s ease-in-out;
  opacity: 0;
}

.error-popup.show {
  opacity: 1;
  left: 20px;
}

.error-popup.hide {
  opacity: 0;
  left: -300px;
}

footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  width: 100%;
  background: linear-gradient(to right, #2c2c2c, #3a3a3a);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
  min-height: 20px;
}

footer .social_icon,
footer .menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6px 0;
  flex-wrap: wrap;
}

footer .social_icon li,
footer .menu li {
  list-style: none;
}

footer .social_icon li a {
  font-size: 1.2em;
  color: #bbb;
  margin: 0 6px;
  display: inline-block;
  transition: 0.3s;
}

footer .social_icon li a {
  font-size: 1.2em;
  color: #bbb;
  margin: 10px 10px;
  display: inline-block;
  transition: 0.3s ease;
}
footer .social_icon li a:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

/* Facebook */
footer .social_icon li a:hover ion-icon[name="logo-facebook"] {
  color: #1877f2;
}

/* Twitter */
footer .social_icon li a:hover ion-icon[name="logo-twitter"] {
  color: #1da1f2;
}

/* LinkedIn */
footer .social_icon li a:hover ion-icon[name="logo-linkedin"] {
  color: 	#0077B5;
}

/* Instagram */
footer .social_icon li a:hover ion-icon[name="logo-instagram"] {
  background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  border-radius: 6px;
}


footer .menu li a {
  font-size: 0.9em;
  color: #bbb;
  margin: 0 6px;
  display: inline-block;
  transition: 0.3s;
  text-decoration: none;
  opacity: 0.75;
}

footer .menu li a:hover {
  opacity: 1;
  color: #fff;
}

.developersocials {
  color: #bbb;
  text-align: center;
  margin: 10px 10px;
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
footer .developersocials a {
  text-decoration: none;
  color: #bbb;
}
footer .developersocials a:hover {
  color: #f08080;
  transition: 0.3s ease;
}
.footer-links {
  font-size: 0.9rem;
  display: flex;
  text-align: center;
  margin: 5px 0;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #bbb;
  text-decoration: none;
  opacity: 0.8;
}
/* --------------------------------------
 12. KEYFRAMES
-------------------------------------- */
@keyframes moveBackground {
  0% { background-position: center 45%; }
  50% { background-position: center 55%; }
  100% { background-position: center 45%; }
}


.calendar-wrapper {
  margin-top: 20px;
  text-align: center;
}

.calendar-link {
  font-family: 'Inter', sans-serif;
  font-weight: 100;
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 0.6rem 2rem;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: white;
  border: none;
  border-radius: 16px;
  position: relative;
  margin-top: 1rem;
}

#openCalendar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  padding: 0.6rem 2rem;
}

.calendar-link:hover {
  background: #1f1b18;
}

.calendar-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}

.calendar-content {
  background-color: #1a1a1a;
  color: whitesmoke;
  padding: 20px;
  width: 95%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
}

.calendar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-controls button {
  background: rgba(66, 66, 66, 0.7);
  border: none;
  padding: 5px 10px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  width: 25%;
}

.calendar-controls button:hover {
  background-color: #1f1b18;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px; /* zwiększone z 6px */
}

.calendar-grid .day {
  padding: 10px; /* było 7px */
  font-size: 0.95rem; /* było 0.8rem */
  text-align: center;
  border-radius: 5px;
  background-color: #3e793e;
  color: whitesmoke;
  font-family: 'Inter', sans-serif;
  transition: transform 0.5s, box-shadow 0.5s, background-color 0.5s, color 0.5s;
  cursor: pointer;
}

.calendar-grid .booked {
  background-color: #7a2525;
}

.calendar-grid .day:hover:not(.booked):not(.past),
.calendar-grid .booked:hover {
  transform: scale(0.95);
}

.calendar-grid .day:active:not(.booked):not(.past) {
  transform: scale(0.9);
}

.calendar-grid .past {
  background-color: #333;
  color: #777;
}

.calendar-grid .day.selected {
  background-color: #cc7a00;
  color: #f0e6d2;
  box-shadow: 0 0 6px 2px rgba(204, 122, 0, 0.5);
}

.calendar-grid .day.selected:hover {
  background-color: #b26700;
  box-shadow: 0 0 8px 3px rgba(178, 103, 0, 0.6);
}

#stripeLink,
.btn-clear-choice {
  display: inline-block;
  background: #2b2b2b;
  color: #ddd;
  padding: 0.5rem 1.4rem;
  border-radius: 20px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(17, 17, 17, 0.6);
  margin-top: 10px;
  user-select: none;
  cursor: pointer;
  border: none;
}

#stripeLink:hover,
.btn-clear-choice:hover {
  transform: scale(0.95);
  box-shadow: 0 6px 14px rgba(34, 34, 34, 0.85);
  background-color: #333333;
  color: #fff;
}

#stripeLink:active,
.btn-clear-choice:active {
  transform: scale(0.9);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 1);
  background-color: #111;
  color: #eee;
}

#selectedDates,
#priceInfo {
  margin-top: 0.5rem;
  line-height: 1.3;
  font-size: 0.85rem;
}

#bookingForm {
  background-color: #1e1e1e;
  padding: 1rem;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.4s ease;
}

#bookingForm label {
  color: #f5f5f5;
  font-size: 0.85rem;
  margin-bottom: 5px;
  font-weight: 100;
}

#bookingForm input[type="text"],
#bookingForm input[type="email"],
#bookingForm input[type="tel"],
#bookingForm textarea,
#bookingForm select {
  width: 100%;
  padding: 0.45rem 0.8rem;
  background-color: #2a2a2a;
  color: #eee;
  border: 1px solid #444;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-top: 5px;
  margin-bottom: 15px;
}

#bookingForm input:focus,
#bookingForm textarea:focus,
#bookingForm select:focus {
  outline: none;
  background-color: #333;
  border-color: #cc7a00;
  box-shadow: 0 0 5px rgba(204, 122, 0, 0.3);
}

#bookingForm textarea {
  resize: vertical;
  min-height: 60px;
  max-height: 140px;
}

#bookingForm select option {
  background-color: #1a1a1a;
  color: #eee;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* --------------------------------------
  13. FAQ SECTION
-------------------------------------- */
.faq-section .section-heading {
  text-transform: none;
}

.faq-section {
  padding: 5rem 2rem;
  background: linear-gradient(to bottom, #555555, #3f3f3f);
  color: whitesmoke;
  text-align: center;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.3); 
}

.accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 12px;
  background-color: #333;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 6px 20px rgba(0, 0, 0, 0.2); 
  transition: box-shadow 0.3s ease, transform 0.4s ease;
}

.accordion-item:hover {
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.4),
    0 10px 25px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px); 
}

.accordion-toggle {
  width: 100%;
  text-align: left;
  color: whitesmoke;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  background-color: #444;
  border: none;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  background-color: #333;
  transition: max-height 0.5s ease, padding 0.5s ease;
  color: inherit;
}

.accordion-content p {
  margin: 1rem 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #ddd;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
  padding: 1rem 1.5rem;
}

/* --------------------------------------
   4. SECTION LAYOUT
/* ---------------------------------- */
@media (min-width: 1920px) {
  /* Standardowe ustawienia dla dużych ekranów (np. Full HD i wyżej) */
  .separator {
    height: 40px;
  }

  .section .text-wrapper h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
  }

  .section .text-wrapper p {
    font-size: 1.1rem;
    line-height: 4rem;
    letter-spacing: 3px;
  }

  .section .text-wrapper {
    padding: 3rem;
    margin-bottom: 2rem;
  }

  .contact h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
  }

  .contact-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
  }

  footer .social_icon li a {
    font-size: 1.8rem;
  }
  footer .social_icon {
    gap: 0.4rem;
  }

  .developersocials {
    font-size: 1rem;
  }
.seventh .onas-section .overlay-content {
  max-width: 1500px;
  max-height: 900px;
  overflow-y: auto;

}
.seventh .onas-section .overlay-content h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
}

 .seventh .onas-section .overlay-content p {
    font-size: 1.1rem;
    line-height: 2.5rem;
    letter-spacing: 2px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .accordion-wrapper {
    max-width: 1040px;
  }

  .accordion-toggle {
    font-size: 1.25rem;
    padding: 1.2rem 2rem;
  }

  .accordion-content {
    padding: 0 2rem;
  }

  .accordion-content p {
    font-size: 1.125rem;
    line-height: 1.6;
  }
}

@media (max-width: 1920px) {

  .eighth .text .day-prices {
    font-size: 1rem;
    line-height: 2.8rem;
  }

  .separator {
    height: 20px;
  }

  .section .text-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
  }
  .eighth .text h2 {
    margin-bottom: 1rem;
  }

  .section .text-wrapper p {
    font-size: 1rem;
    line-height: 4rem;
    letter-spacing: 1.5px;
  }

  .section .text-wrapper {
    padding: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .sypialnia-text p{
    font-size: 0.9rem !important;
  }

  .contact h2 {
    font-size: 2.6rem;
    margin-bottom: 2.5rem;
  }

  .contact-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.8rem;
  }
  footer .social_icon li a {
    font-size: 1.5rem;
  }
  footer .social_icon {
    gap: 0.4rem;
  }

  .developersocials {
    font-size: 0.9rem;
  }
  .seventh .onas-section .overlay-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
  }

  .seventh .onas-section .overlay-content p {
    font-size: 0.8rem;
    line-height: 1.8rem;
    letter-spacing: 1.6px;
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
@media (max-height: 800px) {
  .seventh .onas-section .overlay-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 1rem;
  }
  .contact h2 {
    font-size: 2.3rem;
    margin-bottom: 2rem;
  }

  .contact-subtitle {
    margin-bottom: 3rem;
    font-size: 1.2rem;
  }
  .contact-content {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    width: 90%;
  }

  .contact-map iframe {
    width: 100%;
  }

  .contact-form h2 {
    font-size: 2rem;
    margin-bottom: 6px;
  }

  .contact-subtitle {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.65rem;
    padding: 6px 8px;
    margin-bottom: 8px;
  }

  .contact-form button,
  .calendar-wrapper .pay-button {
    font-size: 0.75rem;
    padding: 8px 12px;
  }

  .calendar-wrapper {
    margin-top: 10px;
  }
}
@media (max-width: 1440px) {
  .eighth .text span {
    margin-left: 1rem !important;
  }

  .section .text-wrapper h2 {
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
    letter-spacing: 1.8px;
  }

  .section .text-wrapper p {
    font-size: 1rem;
    line-height: 3.5rem;
    letter-spacing: 1.8px;
  }

  .sypialnia-text p {
    font-size: 0.8rem !important;
  }

  .seventh .onas-section .overlay-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .seventh .onas-section .overlay-content p {
    font-size: 0.6rem;
    line-height: 1.5rem;
    letter-spacing: 1.6px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
}
@media (max-height: 560px) {
  .section .text-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
  }

  .section .text-wrapper p {
    font-size: 1rem;
    line-height: 2.5rem;
    letter-spacing: 1px;
  }
}

@media (max-width: 1280px) {

  #openCalendar{
    font-size: 0.75rem;
  }

  .section .text-wrapper p {
    font-size: 0.65rem;
    line-height: 3rem;
    letter-spacing: 2px;
  }

  .sypialnia-text p{
    font-size: 0.65rem !important;
  }
  .seventh .onas-section .overlay-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .seventh .onas-section .overlay-content p {
    font-size: 0.7rem;
    line-height: 2rem;
    letter-spacing: 2px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .accordion-content p {
    font-size: 0.8rem;
    line-height: 1.4rem;
  }
  .seventh .overlay-content {
    max-height: 65vh;
    overflow-y: auto;
}
}

@media (max-width: 1064px) {
  .text-bottom-margin {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
  .section {
    flex-direction: column; 
    height: 80vh;
    overflow: hidden;
  }
  .section .text, 
  .section .image-container {
    width: 100%;
  }

  .section .text-wrapper {
    height: 100%;
    padding: 2rem;
  }

  .section .text-wrapper h2 {
    margin-bottom: 1.5rem;
  }

  .section .text-wrapper p {
    font-size: 1.2rem;
  }

  .image-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    box-sizing: border-box;
    overflow: hidden; 
  }

  .image-container .photo-img, .image-container .photo-second {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
  }
  .sixth {
    background: url('/static/images/okolicazewnatrz.webp') center center / cover no-repeat !important;
    height: 80vh;
    position: relative;
    overflow: hidden;
  }

  .sixth .okolica-section {
    height: 100%;
    flex-direction: column;
  }

  .sixth .left,
  .sixth .right,
  .sixth .folk-separator,
  .sixth .center img {
    display: none !important;
  }

  .sixth .center {
    width: 100%;
    height: 100%;
    background: none !important;
    position: relative;
  }

  .sixth .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.3);
  overflow-y: hidden;
}

.sixth .overlay-content {
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
  max-height: 65vh;
  overflow-y: auto;
  font-size: 0.75rem;
  line-height: 1.4rem;
  letter-spacing: 1px;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
  border-radius: 8px;
}

.sixth .overlay-content h2 {
  font-size: 2rem !important;
  margin-bottom: 1rem;
}

.sixth .overlay-content p {
  font-size: 0.8rem;
  line-height: 2rem;
  letter-spacing: 2px;
  padding-left: 2rem;
  padding-right: 2rem;
}

  .seventh .onas-section {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80vh;
  background: url('/static/images/onas.webp') center center/cover no-repeat;
  position: relative;
}

.seventh .onas-left,
.seventh .folk-separator {
  display: none;
}

.seventh .onas-right {
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.seventh .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.3);
  transition: opacity 0.4s ease;
  pointer-events: none;
  height: 100%;
  padding: 1rem;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.seventh .overlay-content {
  color: #fff;
  text-align: center;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
  /* opacity: 0; */
  transition: opacity 0.4s ease 0.2s;
  border-radius: 8px;
}

.seventh .onas-right:hover .overlay-content{
  opacity: 1;
}

.seventh .overlay-content h2 {
  font-size: 2rem !important;
  margin-bottom: 1rem;
}

.seventh .overlay-content p {
  font-size: 0.8rem;
  line-height: 1.4rem;
  letter-spacing: 1px;
}
.seventh .onas-section:hover .overlay,
.seventh .onas-section.active .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 1;
  pointer-events: auto;
}
}

@media (max-width: 768px) {
  .collage-container {
    justify-content: center;
  }
  .calendar-wrapper {
  margin-top: 0px
  }

  .collage-container .collage-img:nth-child(1),
  .collage-container .collage-img:nth-child(3) {
    display: none;
  }

  .collage-container .collage-img:nth-child(2) {
    margin: 0;
    width: 85%; 
    animation: floatUpDown 5s ease-in-out infinite;
  }
  .first > .buttons-container {
    gap: 20px;
  }

  .first > .buttons-container button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  .contact-map {
    display: none;
  }
  .address {
    display: flex;
    justify-content: center;
    align-items: end;
    margin-top: 1rem;
    margin-bottom: 1rem;
    vertical-align: text-bottom;
  }
  .location-icon {
    width: 24px;
    height: 24px;
    vertical-align: text-bottom;
  }
  .section .text-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
  }

  .section .text-wrapper p {
    font-size: 1.1rem;
    line-height: 3rem;
    letter-spacing: 1px;
  }

  .contact h2 {
    font-size: 2.1rem;
    margin-bottom: 1.8rem;
  }

  .contact-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
  }
  footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 15px;
    font-size: 0.7rem; 
  }
  .accordion-content p {
    font-size: 0.8rem;
    line-height: 1.3rem;
    max-height: 150px; 
    overflow-y: auto;
    padding-right: 10px; 
  }
}
.sixth .okolica-section:hover .overlay,
.okolica-section.active .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
    pointer-events: auto;
}
@media (max-width: 560px) {
  .mainlogo {
    max-width: 200px;
    height: auto;
  }
  .first > .mainlogo {
    width: 200px;
    top: 40%;
    transform: translate(-50%, -50%);
  }
   .collage-container {
    display: none;
  }

   .first {
    position: relative;
    background-image: 
      linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
      url('images/domfront.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    height: 100vh;
    animation: none !important;
  }
  .first > .buttons-container {
    flex-direction: column;
    top: 50%;
  }
  .contact-form {
    width: 100%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-form form {
    width: 90%;
    margin-top: 1.2rem;
  }

  .contact-form h2 {
    font-size: 1rem; 
    margin-bottom: 8px;
    text-align: center;
  }

  .contact-subtitle {
    font-size: 0.7rem; 
    margin-bottom: 16px;
    text-align: center;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    font-size: 0.7rem;
    padding: 8px 10px;
    margin-bottom: 10px;
  }

  .contact-form button {
    width: 60%;
    font-size: 0.75rem; 
    padding: 8px 10px;
  }
  .contact-form .pay-button {
    width: 100%;
    font-size: 0.5rem; 
    padding: 1rem 2rem !important;
  }

  footer .social_icon {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  footer .social_icon li a {
    font-size: 1.3rem; 
  }

  .footer-links a {
    font-size: 0.7rem;
  }
  footer .developersocials {
    font-size: 0.7rem;
    text-align: center;
  }

  .address {
    font-size: 0.8rem;
  }

  .address img.location-icon {
    width: 20px;
    height: 20px;
    margin-right: 6px;
  }

  .section .text-wrapper h2 {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem;
  }
  .section .text-wrapper {
    padding: 1rem 2rem;
  }

  .section .text-wrapper p {
    font-size: 0.65rem;
    line-height: 2.5rem;
    letter-spacing: 1px !important;
  }

  .contact h2 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
  }

  .contact-subtitle {
    font-size: 0.8rem;
    margin-bottom: 1.8rem;
  }
  .calendar-content {
    padding: 12px;
    width: 96%;
    max-width: 320px;
  }

  .calendar-controls button {
    width: 20%;
    font-size: 13px;
    padding: 2px 3px;
  }

  #monthYear {
    font-size: 15px;
    text-align: center;
  }

  .calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
  }

  .calendar-grid .day,
  .calendar-grid .booked,
  .calendar-grid .past {
    padding: 6px 2px;
    font-size: 11px;
  }
  .calendar-controls{
    align-items: center;
  }
  .seventh .overlay-content {
    padding: 1rem;
    border-radius: 8px;
    max-height: 65vh;
    overflow-y: auto;
  }

  .seventh .overlay {
    padding: 1rem;
    overflow-y: hidden;
  }
  .sypialnia-text p{
    font-size: 0.55rem !important;
  }
  .salon-text{
    font-size: 0.55rem !important;
  }
  .eighth .section .text-wrapper h2{
  margin-bottom: 0rem !important;
  line-height: 3rem !important;
  }

  .eighth .text-wrapper p {
    line-height: 1.7rem !important; 
  }
  
  .day-prices {
    font-size: 0.5rem !important;
  }
  #openCalendar{
    font-size: 0.75rem;
    padding: 0.6rem 4rem;
  }
    #bookingForm {
    padding: 0.8rem;
    gap: 0.5rem;
  }

  #bookingForm label {
    font-size: 0.75rem;
  }

  #bookingForm input[type="text"],
  #bookingForm input[type="email"],
  #bookingForm input[type="tel"],
  #bookingForm textarea,
  #bookingForm select {
    padding: 0.4rem 0.7rem;
    font-size: 16px; /* zmiana na 16px */
    margin-top: 3px;
    margin-bottom: 10px;
  }


  #selectedDates,
  #priceInfo {
    font-size: 0.75rem;
  }
  .second .text span {
    margin-left: 0rem !important;
  }
}
@media (max-width: 400px) {
  .sypialnia-text p {
    font-size: 0.5rem !important;
  }
}
  @media (max-width: 390px) {
  .salon-text {
    margin-left: 3rem !important;
  }
}
