/* 

--- 01 Typography system

- FONT SYSTEM(px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

- Font weights:
Default = 400
- Line Heights:
Default: 1

- SPACING SYSTEM(px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98


--- 02 Colors

Primary:#374A3C
Shades:
Tints:
#4b5c50

Secondary color:#f4c423
shades:
#c39d1c
Tints:


Accents: 

Greys: 
#333

--- 05 Shadows
--- 06 Border Radius
--- 07 Whitespace

*/

/* ************************************ */
/* HEADER */
/* ************************************ */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #374a3c;
  height: 9.6rem;
  padding: 0 4.8rem;
  position: relative;
}

.logo {
  height: 9.6rem;
}

.logo-big {
  height: 20rem;
}

/* ************************************ */
/* NAVIGATION */
/* ************************************ */

.main-nav-list {
  align-items: center;
  list-style: none;
  display: flex;
  gap: 3.2rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1.8rem;
  transition: all 300ms;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #fff;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: #333;
  background-color: #f4c423;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  background-color: #c39d1c;
  color: #fff;
}

/* MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #fff;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* STICKY SECTION */
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(55, 74, 60, 0.97);
  z-index: 999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

.sticky .section-hero {
  margin-top: 9.6rem;
}

/* ************************************ */
/* HERO SECTION */
/* ************************************ */
.section-hero {
  background-color: #374a3c;
  padding: 4.8rem 0 9.6rem 0;
}

.section-apartments,
.section-history,
.section-contact,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 1200px;
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9.6rem;
  align-items: center;
}

.hero-text-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  /* Center the content */
  text-align: center;
  /* Center the text */
}

.logo-big {
  height: auto;
  max-height: 16rem;
  max-width: 100%;
  width: auto;
  /* Adjust size as needed */
  margin-bottom: 2.4rem;
  /* Add some space below the logo */
}

.hero-description {
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: 4.8rem;
  color: #fff;
}

.hero-img-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: 4.8rem;
}

.hero-img {
  width: 100%;
  border-radius: 1.2rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  padding: 1.6rem 3.2rem;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 300ms;
}

.btn-group {
  display: flex;
}

.btn--full:link,
.btn--full:visited {
  background-color: #f4c423;
  color: #333;
}

.btn--full:hover,
.btn--full:active {
  background-color: #c39d1c;
  color: #fff;
}

.btn--outline:link,
.btn--outline:visited {
  background-color: #fff;
  color: #333;
}

.btn--outline:hover,
.btn--outline:active {
  background-color: #374a3c;
  color: #fff;
}

.heading-primary {
  font-size: 5.2rem;
  color: #333;
  margin-bottom: 3.2rem;
}

/* ************************************ */
/* APARTMENTS SECTION */
/* ************************************ */
.section-apartments {
  position: relative;
  padding: 3.6rem 0;
  background-color: #4b5c50;
}

.heading-primary {
  text-align: center;
  margin-bottom: 2rem;
  color: #fff;
}

/* Styl dla karuzeli */
#slider {
  margin: 0 auto;
  width: 80%;
  max-width: 1000px;
  text-align: center;
  border-radius: 15px;
  overflow: visible;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  /* For positioning arrows */
  background-color: #324336;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.8rem;
  height: 3.8rem;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #f4c423;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 200ms ease, background-color 200ms ease, transform 200ms ease, color 200ms ease;
}

.slider-arrow span {
  font-size: 2.6rem;
  line-height: 1;
}

.slider-arrow:hover {
  color: #f4c423;
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.slider-arrow::before {
  content: "";
  position: absolute;
  inset: -0.7rem;
  border-radius: 50%;
  background: rgba(244, 196, 35, 0.2);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: -1;
}

.slider-arrow:hover::before {
  opacity: 1;
  transform: scale(1);
}

.slider-arrow-left {
  left: -5.2rem;
}

.slider-arrow-right {
  right: -5.2rem;
}

#slider input[type="radio"] {
  display: none;
}

#slider label {
  cursor: pointer;
  text-decoration: none;
}

#slides {
  position: relative;
  z-index: 1;
}

#overflow {
  width: 100%;
  overflow: hidden;
}

#slides .inner {
  display: flex;
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

#slides .slide {
  flex: 0 0 100%;
  /* Full width for each slide */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

#slider {
  touch-action: pan-y;
}

/* Bullets styles */
#bullets {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1rem;
  /* Możesz dodać trochę marginesu, aby bullets były widoczne */
}

#bullets .bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  /* Domyślny kolor dla bullets */
  display: inline-block;
}

#bullets .bullet.active {
  background: #333;
  /* Ciemniejszy kolor dla aktywnego bulletu */
}

/* Dodatkowy styl dla zawartości apartamentów */
.apartment-content {
  background-color: transparent;
  /* Gray background */
  border-radius: 0;
  /* Rounded corners */
  overflow: hidden;
  width: 100%;
  /* Full width container */
  display: flex;
  box-shadow: none;
  /* Box shadow */
}

.apartment-images {
  flex: 1;
  display: flex;
  align-items: center;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  padding: 10px;
  /* Padding inside the image grid */
  width: 100%;
}

.image-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  /* Rounded corners for images */
}

.apartment-details {
  flex: 1.5;
  padding: 1rem;
  color: white;
  text-align: justify;
  /* Wyjustowanie tekstu */
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
}

.apartment-details h2 {
  margin-top: 1rem;
  /* Odsunięcie od górnej krawędzi kontenera */
  margin-bottom: 3rem;
  /* Odsunięcie od górnej krawędzi kontenera */
  font-size: 2.5rem;
  /* Zwiększenie rozmiaru nagłówka */
  text-align: center;
  /* Wyśrodkowanie nagłówka */
}

.apartment-details p {
  margin-bottom: 3.5rem;
  /* Odstęp poniżej akapitu */
  font-size: 1.8rem;
}

.apartment-details ul {
  list-style: none;
  padding: 0;
}

.apartment-details ul li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.apartment-details ul li ion-icon {
  width: 20px;
  height: 10px;
}

/* ************************************ */
/* GALLERY SECTION */
/* ************************************ */
.section-gallery {
  background-color: #374a3c;
  display: flex;
  /* Use flexbox to align content */
  justify-content: space-between;
  /* Space between the two main sections */
  padding: 3.6rem 0;
  padding-right: 0;
  /* Remove right padding */
  overflow: visible;
}

.gallery-container {
  display: flex;
  width: 100%;
}

.gallery-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center content horizontally */
  justify-content: center;
  /* Center content vertically */
  width: 40%;
  /* Ensure left section takes 40% width */
  height: 100%;
  /* Ensure it takes full height of the parent container */
}

.heading-primary {
  margin-bottom: 1.6rem;
  width: 100%;
  text-align: center;
  /* Center the heading */
  position: relative;
}

.features-box {
  background-color: #c3c9c5;
  border-radius: 15px;
  padding: 2rem;
  color: #333;
  /* width: 80%; Adjust width as needed */
  display: flex;
  flex-direction: column;
  margin-top: auto;
  /* Push the box to the center */
  margin-bottom: auto;
  /* Push the box to the center */
}

.amenities {
  list-style: none;
  padding: 0;
  margin: 0;
}

.amenities li {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  /* Increase font size */
  line-height: 2;
  display: flex;
}

.amenities li ion-icon {
  margin-right: 1rem;
  color: #333;
  font-size: 2rem;
  /* Increase icon size */
}

.gallery-right {
  width: 60%;
  /* Ensure right section takes 60% width */
  display: flex;
  justify-content: flex-end;
  /* Align images to the right */
}

.gallery {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.7rem;
  width: 100%;
  padding-right: 4rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 1rem;
}

.gallery-thumb-btn {
  display: block;
  border: none;
  padding: 0;
  width: 100%;
  background: transparent;
  cursor: pointer;
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1rem;
  transition: all 400ms;
}

.gallery-item img:hover {
  transform: scale(1.08);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  z-index: 99999;
  padding: 2rem;
  overflow: hidden;
}

.gallery-lightbox.open {
  display: flex;
}

.lightbox-image {
  width: auto;
  height: auto;
  max-width: min(95vw, 110rem);
  max-height: min(86dvh, 85rem);
  object-fit: contain;
  border-radius: 1.2rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  font-size: 3rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  font-size: 3.2rem;
  line-height: 1;
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.6rem;
}

body.lightbox-open {
  overflow: hidden;
}

/* ************************************ */
/* HISTORY SECTION */
/* ************************************ */
.section-history {
  padding: 3.6rem 0;
  display: flex;
  background-color: #4b5c50;
}

.history-container {
  display: flex;
  align-items: flex-start;
  /* Ensure items are aligned at the top */
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
}

.history-left {
  flex: 1;
}

.history-img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  padding-right: 4rem;
}

.history-right {
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.history-content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  /* Ensure content is stacked vertically */
}

.history-coa {
  display: none;
}

.heading-primary {
  margin-bottom: 3.6rem;
  width: 100%;
  text-align: center;
  /* Center text within the heading */
}

.history-content {
  background-color: #324336;
  border-radius: 15px;
  padding: 2rem;
  color: white;
  width: 100%;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.3);
}

.history-content h2 {
  margin-bottom: 1.6rem;
}

.history-content p {
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: justify;
}

/* ************************************ */
/* CONTACT SECTION */
/* ************************************ */

.section-contact {
  padding: 4.8rem 0;
  background-color: #374a3c;
}

.heading-primary {
  text-align: center;
  margin-bottom: 3.2rem;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3.2rem;
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Center content vertically */
  gap: 2.4rem;
  padding: 2.4rem;
  /* Add padding for better spacing */
  padding-top: 6rem;
  text-align: center;
  /* Center text horizontally */
}

.contact-info-item {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  /* Increase font size */
  margin: 0 auto;
  /* Center items horizontally */
  color: #fff;
}

.contact-info-item ion-icon {
  font-size: 3.2rem;
  /* Increase icon size */
  margin-right: 1.6rem;
  color: #fff;
}

.contact-info-item p {
  margin: 0;
  font-size: 1.8rem;
  /* Increase font size */
}

.contact-info-item a {
  text-decoration: none;
  color: inherit;
}

.social-links {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  /* Center social icons horizontally */
}

.social-links a {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  /* Increase icon size */
  height: 4rem;
  background-color: #fff;
  border-radius: 50%;
  color: #333;
  text-decoration: none;
  font-size: 2.4rem;
  /* Increase icon size */
  position: relative;
  z-index: 10;
  /* Ensure it's above other elements */
}

.social-links a:hover {
  background-color: #ccc;
  color: #fff;
}

.contact-map {
  flex: 1;
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 8px;
}

/* ************************************ */
/* FOOTER SECTION */
/* ************************************ */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #324336;
  /* Opcjonalnie: Tło dla footera */
  height: 7.6rem;
  padding: 0 4.8rem;
  position: relative;
}

.grid--footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-col {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  /* Wyrównaj logo do prawej strony */
}

.info-col {
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Wyrównaj tekst do lewej strony */
  text-align: left;
  /* Wyrównaj tekst do lewej strony */
}

.info-col a {
  color: #ddd;
  /* Kolor linku */
  text-decoration: none;
  /* Usuń podkreślenie z linków */
  margin-bottom: 1rem;
  /* Odstęp między linkiem a tekstem copyright */
}

.info-col a:hover,
.info-col a:focus {
  text-decoration: underline;
  /* Podkreślenie linku przy najechaniu */
  color: #ccc;
  /* Kolor linku przy najechaniu */
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #fff;
}