* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  color: #f2efe7;
  background:
    radial-gradient(circle at 75% 12%, rgba(115, 128, 114, 0.28), transparent 31%),
    radial-gradient(circle at 35% 85%, rgba(25, 68, 51, 0.35), transparent 35%),
    linear-gradient(135deg, #061b13 0%, #0c2b1f 42%, #172820 73%, #343a34 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.05), transparent 30%, rgba(0,0,0,0.2)),
    url("data:image/svg+xml,%3Csvg width='180' height='180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23noise)' opacity='0.13'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 11%;
  min-width: 158px;
  height: 100vh;
  padding: 30px 18px;
  background: linear-gradient(180deg, rgba(5, 29, 20, 0.96), rgba(9, 43, 31, 0.94));
  border-right: 1px solid rgba(210, 182, 116, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 30;
  box-shadow: 22px 0 65px rgba(0,0,0,0.22);
}

.logo {
  text-align: center;
  color: #d5ba78;
}

.logo-mark {
  font-size: 44px;
  line-height: 1;
  letter-spacing: -6px;
  margin-bottom: 18px;
}

.logo-text {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  line-height: 1.3;
}

.menu {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.menu a {
  color: #f2efe7;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.95px;
  font-size: 12.5px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.menu a:hover {
  color: #d5ba78;
  transform: translateY(-2px);
}

.menu span,
.ornament {
  display: block;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d5ba78, transparent);
}

.sidebar-contact {
  margin-top: auto;
  text-align: center;
  color: #f2efe7;
  font-size: 15px;
  line-height: 1.5;
}

.sidebar-contact a {
  color: #f2efe7;
  text-decoration: none;
}

.phone-icon {
  color: #d5ba78;
  font-size: 21px;
  margin-bottom: 14px;
}

.page {
  margin-left: max(11%, 158px);
}

.topbar {
  position: fixed;
  top: 0;
  left: max(11%, 158px);
  right: 0;
  height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-left: 38px;
  z-index: 25;
  background: rgba(5, 29, 20, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(210, 182, 116, 0.18);
  transition: height 0.35s ease;
  color: #d5ba78;
  font-size: 22px;
  letter-spacing: 1.8px;
}

.topbar.visible {
  height: 58px;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  border-bottom: 1px solid rgba(210, 182, 116, 0.18);
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("szczecin.png");
  background-size: cover;
  background-position: center left;
  filter: saturate(0.92) contrast(0.98) brightness(0.82);
  transform: scale(1.01);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 22, 15, 0.05), rgba(3, 22, 15, 0.28) 43%, rgba(3, 22, 15, 0.78) 100%),
    linear-gradient(0deg, rgba(6, 27, 19, 0.78), transparent 33%, rgba(6, 27, 19, 0.10));
}

.hero-content {
  position: absolute;
  right: 9vw;
  top: 34vh;
  transform: translateY(-50%);
  text-align: center;
  max-width: 760px;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(54px, 7.4vw, 118px);
  font-weight: 400;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: #f5f1e8;
  text-shadow: 0 24px 70px rgba(0,0,0,0.58);
}

.hero-content .ornament {
  margin: 30px auto 26px;
}

.hero-content p {
  margin: 0;
  color: #e6ded0;
  text-transform: uppercase;
  letter-spacing: 9px;
  font-size: clamp(14px, 1.35vw, 22px);
}

.scroll-hint {
  position: absolute;
  right: 42px;
  bottom: 34px;
  color: #d5ba78;
  text-decoration: none;
  font-size: 34px;
  animation: float 1.7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.intro {
  padding: 72px 7vw;
  border-bottom: 1px solid rgba(210, 182, 116, 0.12);
}

.intro-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  color: #d5ba78;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  font-size: 13px;
}

.intro h2 {
  margin: 14px 0 0;
  font-size: clamp(30px, 3.5vw, 56px);
  line-height: 1.08;
  font-weight: 400;
}

.intro-points {
  border: 1px solid rgba(245, 241, 232, 0.22);
  background: rgba(255,255,255,0.045);
  padding: 30px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.18);
}

.intro-points p {
  margin: 12px 0;
  font-size: 18px;
}

.section {
  min-height: 100vh;
  padding: 76px 7vw 84px;
  border-bottom: 1px solid rgba(210, 182, 116, 0.12);
}

.section h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(38px, 4.3vw, 66px);
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #f5f1e8;
}

.ornament.small {
  margin: 22px auto 42px;
}

.ornament.mini {
  width: 35px;
  margin: 11px auto 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(55px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.apartments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(270px, 1fr));
  gap: 42px;
  max-width: 1020px;
  margin: 0 auto;
}

.apartment-card {
  border: 1px solid rgba(245, 241, 232, 0.42);
  background: #e8e3d8;
  color: #111;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 34px 86px rgba(0,0,0,0.32);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  font-family: inherit;
  text-align: left;
}

.apartment-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 42px 110px rgba(0,0,0,0.42);
  border-color: rgba(213, 186, 120, 0.75);
}

.apartment-card img {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.96);
}

.card-body {
  min-height: 230px;
  padding: 24px 30px 30px;
  text-align: center;
}

.card-body h3 {
  margin: 0;
  font-size: 29px;
  font-weight: 400;
}

.card-body p {
  margin: 0 auto 16px;
  font-size: 17px;
  line-height: 1.45;
  max-width: 420px;
}

.card-body ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.card-body li,
.modal-facts span {
  border: 1px solid rgba(5, 29, 20, 0.22);
  padding: 7px 11px;
  font-size: 14px;
}

.text-panel,
.contact-panel,
.map-panel,
.reservation-form,
.amenity-panel,
.about-panel,
.host-panel {
  border: 1px solid rgba(245, 241, 232, 0.24);
  background: rgba(255,255,255,0.045);
  box-shadow: 0 30px 90px rgba(0,0,0,0.24);
  backdrop-filter: blur(8px);
}

.amenities-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 34px;
}

.amenity-panel {
  padding: 34px;
}

.amenity-panel.nearby {
  grid-column: 1 / -1;
}

.amenity-panel h3,
.about-panel h3,
.host-panel h3 {
  margin: 12px 0 22px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 400;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 12px;
}

.feature-list p {
  margin: 0;
  padding: 12px 14px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(213, 186, 120, 0.15);
}

.nearby-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px;
}

.nearby-list article {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(213, 186, 120, 0.15);
  padding: 18px;
}

.nearby-list strong {
  display: block;
  color: #d5ba78;
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 400;
}

.nearby-list span {
  line-height: 1.5;
}

.reservation-form {
  max-width: 980px;
  margin: 0 auto;
  padding: 38px;
}

.form-row {
  display: grid;
  gap: 24px;
  margin-bottom: 22px;
}

.form-row.two {
  grid-template-columns: repeat(2, minmax(230px, 1fr));
}

.reservation-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 17px;
  letter-spacing: 0.4px;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
  width: 100%;
  border: 1px solid rgba(213, 186, 120, 0.38);
  background: rgba(232, 227, 216, 0.92);
  color: #111;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 17px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus {
  border-color: rgba(213, 186, 120, 0.9);
  box-shadow: 0 0 0 3px rgba(213, 186, 120, 0.16);
  background: #f3efe6;
}

.reservation-form textarea {
  resize: vertical;
  min-height: 145px;
  margin-bottom: 24px;
}

.muted {
  opacity: 0.72;
  font-size: 15px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(230px, 1fr));
  gap: 16px 28px;
  margin: 24px 0 28px;
}

.checkbox-grid label {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 1.35;
}

.checkbox-grid input {
  width: 18px;
  height: 18px;
  accent-color: #d5ba78;
}

.submit-btn,
.modal-reserve {
  border: 1px solid rgba(213, 186, 120, 0.75);
  background: linear-gradient(135deg, #d5ba78, #efe1b2);
  color: #111;
  padding: 14px 30px;
  font-family: inherit;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  display: inline-block;
}

.submit-btn:hover,
.modal-reserve:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.28);
}

.form-note {
  margin: 22px 0 0;
  opacity: 0.78;
  font-size: 15px;
  line-height: 1.45;
}

.about-stack {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 34px;
}

.about-panel {
  padding: 42px;
}

.about-panel p {
  font-size: 20px;
  line-height: 1.65;
  margin: 18px 0 0;
}

.host-panel {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  align-items: center;
  padding: 34px 42px;
}

.host-panel img {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(213, 186, 120, 0.65);
  box-shadow: 0 20px 48px rgba(0,0,0,0.25);
}

.host-panel p {
  font-size: 20px;
  line-height: 1.6;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-panel {
  padding: 36px;
  font-size: 18px;
  line-height: 1.8;
}

.contact-panel a {
  color: #f2efe7;
  text-decoration: none;
}

.map-panel {
  min-height: 390px;
  overflow: hidden;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
  filter: invert(0.9) hue-rotate(125deg) saturate(0.45) brightness(0.72) contrast(1.08);
  opacity: 0.72;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 32px;
  backdrop-filter: blur(8px);
}

.modal.open {
  display: flex;
}

.modal-content {
  width: min(86vw, 1220px);
  max-height: 88vh;
  background: #e8e3d8;
  color: #111;
  border: 1px solid rgba(213, 186, 120, 0.68);
  box-shadow: 0 42px 120px rgba(0,0,0,0.52);
  position: relative;
  overflow: hidden;
  animation: modalIn 0.35s ease both;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(26px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.close-modal {
  position: absolute;
  right: 16px;
  top: 12px;
  z-index: 3;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(232,227,216,0.85);
  color: #111;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

.slider {
  position: relative;
  height: 70vh;
  background: #111;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 74px;
  border: 1px solid rgba(245,241,232,0.45);
  background: rgba(5,29,20,0.72);
  color: #d5ba78;
  font-size: 52px;
  cursor: pointer;
}

.prev { left: 18px; }
.next { right: 18px; }

.modal-description {
  padding: 52px 42px 42px;
}

.modal-description h2 {
  margin: 12px 0 18px;
  font-size: 42px;
  font-weight: 400;
}

.modal-description p {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
}

.modal-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 34px;
}

@media (max-width: 980px) {
  .sidebar {
    width: 100%;
    min-width: 0;
    height: 92px;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 16px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .logo-mark {
    font-size: 28px;
    margin: 0;
    letter-spacing: -4px;
  }

  .logo-text {
    font-size: 11px;
  }

  .menu {
    margin: 0;
    flex-direction: row;
    gap: 9px;
    width: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .menu span,
  .sidebar-contact {
    display: none;
  }

  .menu a {
    font-size: 10.5px;
  }

  .page {
    margin-left: 0;
    padding-top: 92px;
  }

  .topbar {
    display: none;
  }

  .hero {
    min-height: calc(100vh - 92px);
  }

  .hero-content {
    left: 7vw;
    right: 7vw;
    top: 42%;
  }

  .hero-content h1 {
    font-size: 46px;
    letter-spacing: 4px;
  }

  .hero-content p {
    letter-spacing: 4px;
  }

  .intro-grid,
  .apartments-grid,
  .contact-grid,
  .form-row.two,
  .checkbox-grid,
  .amenities-grid,
  .nearby-list,
  .feature-list,
  .host-panel,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 6vw;
  }

  .reservation-form,
  .about-panel,
  .host-panel,
  .amenity-panel {
    padding: 26px;
  }

  .host-panel {
    text-align: center;
  }

  .host-panel img {
    margin: 0 auto;
  }

  .modal-content {
    width: 94vw;
    overflow-y: auto;
  }

  .slider {
    height: 42vh;
  }

  .modal-description {
    padding: 30px;
  }
}
