:root {
  --bg: #121315;
  --surface: #1b1d22;
  --surface-2: #22252c;
  --text: #f5efe8;
  --muted: #bdaea0;
  --primary: #d28653;
  --primary-dark: #a75d2f;
  --line: #343841;
  --shadow: 0 24px 48px -30px rgba(0, 0, 0, 0.75);
  --radius: 22px;
  --hero-image: url("https://www.laka-kwiatowa.pl/wp-content/uploads/2024/05/outdoor_night-8-scaled.jpg");
  --hero-filter: brightness(0.74) saturate(0.94);
  --hero-overlay:
    linear-gradient(102deg, rgba(10, 12, 14, 0.85) 16%, rgba(43, 30, 22, 0.54) 52%, rgba(24, 18, 15, 0.3) 100%),
    linear-gradient(0deg, rgba(10, 11, 12, 0.72), rgba(10, 11, 12, 0.25));
  --header-bg: rgba(18, 20, 24, 0.78);
  --header-border: rgba(57, 62, 73, 0.75);
  --nav-text: #d5c8bc;
  --nav-hover: #f4dfcc;
  --hero-heading: #fff4ea;
  --hero-copy: rgba(240, 223, 207, 0.95);
  --hero-eyebrow: #d7bca5;
  --panel-bg: rgba(20, 22, 27, 0.72);
  --panel-border: rgba(130, 103, 84, 0.42);
  --panel-line: rgba(130, 103, 84, 0.28);
  --panel-strong: #f2d1b5;
  --panel-copy: #c8b5a4;
  --section-strong: #f0dccb;
  --menu-bg: #151820;
  --menu-border: #3b404a;
  --input-bg: #16191f;
  --input-border: #494e58;
  --input-placeholder: #908376;
  --footer-bg: #0d0f12;
  --footer-text: rgba(228, 214, 201, 0.92);
  --footer-border: rgba(65, 69, 78, 0.8);
  --amenities-bg: linear-gradient(180deg, rgba(28, 31, 36, 0.8), rgba(19, 21, 25, 0.92));
  --amenities-edge: rgba(68, 72, 82, 0.6);
  --page-bg:
    radial-gradient(circle at 20% 0%, rgba(178, 102, 54, 0.12), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(95, 54, 30, 0.18), transparent 36%),
    linear-gradient(180deg, #101113 0%, #15171b 52%, #111215 100%);
}

html[data-theme="day"] {
  --bg: #eef3f5;
  --surface: #ffffff;
  --surface-2: #f3f8f8;
  --text: #1f2a2e;
  --muted: #5b6f76;
  --primary: #cc7a45;
  --primary-dark: #9d552d;
  --line: #d6e2e4;
  --shadow: 0 24px 48px -32px rgba(45, 76, 82, 0.22);
  --hero-image: url("https://www.laka-kwiatowa.pl/wp-content/uploads/2024/05/outdoor_day-8-scaled.jpg");
  --hero-filter: brightness(1.03) saturate(1.03);
  --hero-overlay:
    linear-gradient(106deg, rgba(17, 32, 39, 0.54) 14%, rgba(45, 74, 86, 0.28) 52%, rgba(235, 246, 248, 0.1) 100%),
    linear-gradient(0deg, rgba(17, 36, 42, 0.35), rgba(17, 36, 42, 0.05));
  --header-bg: rgba(236, 244, 246, 0.84);
  --header-border: rgba(203, 220, 223, 0.92);
  --nav-text: #31515c;
  --nav-hover: #16343d;
  --hero-heading: #f7f8f9;
  --hero-copy: rgba(235, 244, 246, 0.96);
  --hero-eyebrow: #d9ebf0;
  --panel-bg: rgba(239, 247, 248, 0.72);
  --panel-border: rgba(147, 175, 183, 0.44);
  --panel-line: rgba(147, 175, 183, 0.34);
  --panel-strong: #274854;
  --panel-copy: #45606a;
  --section-strong: #31454e;
  --menu-bg: #f6fcfc;
  --menu-border: #d0e1e3;
  --input-bg: #fbfefe;
  --input-border: #c6d7da;
  --input-placeholder: #7d9299;
  --footer-bg: #1c3640;
  --footer-text: rgba(230, 243, 245, 0.93);
  --footer-border: rgba(116, 153, 162, 0.55);
  --amenities-bg: linear-gradient(180deg, rgba(228, 239, 242, 0.82), rgba(214, 231, 235, 0.9));
  --amenities-edge: rgba(171, 197, 203, 0.65);
  --page-bg:
    radial-gradient(circle at 16% 0%, rgba(112, 165, 176, 0.12), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(197, 138, 96, 0.16), transparent 36%),
    linear-gradient(180deg, #e8f0f2 0%, #edf4f5 52%, #e7eff1 100%);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.6;
  transition: background 0.35s ease, color 0.35s ease;
}

h1,
h2,
h3,
strong {
  margin: 0;
  line-height: 1.2;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.2px;
}

p {
  margin: 0;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.nav-wrap {
  height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.brand-mark {
  height: 52px;
  width: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f4f4f4;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.brand strong {
  display: block;
  font-size: 0.98rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  font-weight: 600;
  color: var(--nav-text);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--nav-hover);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.83rem;
}

.theme-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 25%, transparent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 22px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 14px 28px -16px rgba(99, 47, 21, 0.92);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -16px rgba(99, 47, 21, 1);
}

.btn-light {
  background: rgba(244, 227, 211, 0.12);
  color: #f1dfcd;
  border: 1px solid rgba(212, 176, 145, 0.45);
  box-shadow: none;
}

.btn-nav {
  padding: 10px 18px;
  font-size: 0.9rem;
  border: 1px solid #8d4f2c;
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 100svh;
  padding-top: 120px;
  position: relative;
  overflow: clip;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: var(--hero-image) center / cover no-repeat;
  transform: scale(1.03);
  filter: var(--hero-filter);
}

.hero-overlay {
  background: var(--hero-overlay);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 120px);
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  align-items: end;
  gap: 28px;
  padding-bottom: 76px;
}

.hero-content {
  max-width: 660px;
}

.hero-content h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.7rem);
  margin: 8px 0 14px;
  color: var(--hero-heading);
}

.hero-content p {
  color: var(--hero-copy);
  font-size: 1.08rem;
}

.eyebrow {
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--hero-eyebrow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 22px;
  backdrop-filter: blur(5px);
}

.hero-panel h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.hero-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.hero-panel li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--panel-line);
  padding-bottom: 8px;
}

.hero-panel li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero-panel strong {
  color: var(--panel-strong);
  font-size: 1rem;
}

.hero-panel span {
  color: var(--panel-copy);
  font-size: 0.92rem;
  text-align: right;
}

.intro {
  padding-top: 64px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}

.intro-grid h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin-bottom: 14px;
}

.stats {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.stats li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px;
}

.stats strong {
  font-size: 1.25rem;
  display: block;
  margin-bottom: 4px;
  color: var(--section-strong);
}

.cabins-layout {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.cabins-side {
  display: grid;
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card img {
  height: 240px;
  object-fit: cover;
}

.card-featured img {
  height: 100%;
  min-height: 420px;
}

.card div {
  padding: 20px;
}

.card h3 {
  margin-bottom: 9px;
  font-size: 1.2rem;
  color: var(--section-strong);
}

.amenities {
  background: var(--amenities-bg);
  border-top: 1px solid var(--amenities-edge);
  border-bottom: 1px solid var(--amenities-edge);
}

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

.amenities-grid article {
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 24px;
}

.amenities-grid h3 {
  margin-bottom: 8px;
  color: var(--section-strong);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.gallery-masonry {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(3, 176px);
  gap: 16px;
}

.gallery-masonry img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-masonry img:hover {
  transform: scale(1.01);
  filter: brightness(1.05);
}

.gallery-masonry img:nth-child(1) {
  grid-row: 1 / 4;
  height: 100%;
}

.gallery-masonry img:nth-child(2),
.gallery-masonry img:nth-child(3),
.gallery-masonry img:nth-child(4) {
  height: 100%;
}

.contact {
  padding-bottom: 112px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.contact-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.contact-list span {
  font-weight: 700;
  color: var(--section-strong);
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.contact-card h3 {
  margin-bottom: 14px;
}

form {
  display: grid;
  gap: 10px;
}

label {
  font-weight: 600;
  color: var(--panel-copy);
  display: grid;
  gap: 6px;
}

input,
textarea {
  font: inherit;
  border: 1px solid var(--input-border);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--input-bg);
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: var(--input-placeholder);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(210, 134, 83, 0.28);
  border-color: var(--primary);
}

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 34px 0;
  border-top: 1px solid var(--footer-border);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(8, 10, 12, 0.86);
  padding: 20px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  width: min(1100px, 94vw);
  max-height: 90vh;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(14, 16, 20, 0.65);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-wrap div {
  display: flex;
  gap: 14px;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .intro-grid,
  .cabins-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .card-featured img {
    min-height: 260px;
  }

  .gallery-masonry {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-masonry img:nth-child(1) {
    grid-row: span 1;
    height: 280px;
    grid-column: span 2;
  }

  .gallery-masonry img:nth-child(2),
  .gallery-masonry img:nth-child(3),
  .gallery-masonry img:nth-child(4) {
    height: 180px;
  }
}

@media (max-width: 760px) {
  .theme-toggle {
    height: 36px;
    font-size: 0.8rem;
    padding: 0 10px;
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    place-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--section-strong);
  }

  .main-nav {
    position: absolute;
    top: 82px;
    right: 4vw;
    left: 4vw;
    display: grid;
    gap: 10px;
    background: var(--menu-bg);
    border: 1px solid var(--menu-border);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .btn-nav {
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .hero-grid {
    padding-bottom: 52px;
    align-items: center;
  }

  .amenities-grid,
  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .gallery-masonry img:nth-child(1) {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-masonry img,
  .gallery-masonry img:nth-child(1),
  .gallery-masonry img:nth-child(2),
  .gallery-masonry img:nth-child(3),
  .gallery-masonry img:nth-child(4),
  .card img,
  .card-featured img {
    height: 230px;
    min-height: 0;
  }
}
