:root {
  --forest: #12392f;
  --forest-2: #1d5a48;
  --pine: #2f7d57;
  --water: #367c9b;
  --wood: #b5743c;
  --clay: #8a4f31;
  --cream: #f6f1e8;
  --paper: #fffaf1;
  --ink: #17211c;
  --muted: #66736b;
  --line: rgba(18, 57, 47, 0.16);
  --shadow: 0 22px 60px rgba(18, 33, 28, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

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

p {
  color: var(--muted);
  line-height: 1.75;
  overflow-wrap: normal;
  word-break: normal;
}

.navbar {
  min-height: 76px;
  padding: 14px 0;
  background: rgba(9, 26, 21, 0.52);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.navbar.navbar-scrolled {
  padding: 10px 0;
  background: rgba(255, 250, 241, 0.94);
  box-shadow: 0 14px 34px rgba(18, 33, 28, 0.1);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 64px);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.navbar-scrolled .navbar-brand,
.navbar-scrolled .nav-link {
  color: var(--forest);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--forest), var(--pine));
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  font-size: 0.85rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 650;
  padding: 0.5rem 0.78rem;
}

.nav-link:hover,
.navbar-brand:hover {
  color: #fff;
}

.navbar-scrolled .nav-link:hover,
.navbar-scrolled .navbar-brand:hover {
  color: var(--pine);
}

.navbar-toggler {
  background: rgba(29, 90, 72, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-color: rgba(255, 255, 255, 0.42);
  border-radius: 8px;
}

.navbar-scrolled .navbar-toggler {
  border-color: rgba(18, 57, 47, 0.24);
}

.navbar-toggler-icon {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  filter: invert(1);
  background-image: none;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
  background-color: #fff;
}

.navbar-toggler-icon {
  height: 2px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  position: absolute;
  left: 0;
  width: 1.25rem;
  height: 2px;
  content: "";
}

.navbar-toggler-icon::before {
  top: -7px;
}

.navbar-toggler-icon::after {
  top: 7px;
}

.navbar-scrolled .navbar-toggler-icon {
  filter: none;
}

.btn {
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 750;
  letter-spacing: 0;
  white-space: normal;
}

.btn-primary {
  color: #fff;
  background: var(--forest-2);
  border-color: var(--forest-2);
  box-shadow: 0 12px 28px rgba(29, 90, 72, 0.24);
}

.btn-primary:hover {
  background: var(--forest);
  border-color: var(--forest);
  transform: translateY(-1px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.64);
}

.hero {
  position: relative;
  min-height: 88vh;
  color: #fff;
  background-image: url("../assets/img/hero-house.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 22, 17, 0.84) 0%, rgba(8, 22, 17, 0.52) 48%, rgba(8, 22, 17, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 22, 17, 0.12) 0%, rgba(8, 22, 17, 0.74) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 112px;
  padding-bottom: 54px;
}

.min-vh-row {
  min-height: calc(88vh - 166px);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--pine);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-card {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-left: auto;
  max-width: 340px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-card div {
  padding: 20px 22px;
  background: rgba(8, 22, 17, 0.32);
}

.hero-card span {
  display: block;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
}

.hero-card small {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.section {
  padding: 104px 0;
}

.muted-section {
  background: var(--cream);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

h2 {
  margin: 0 0 20px;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.05;
  font-weight: 880;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h3 {
  margin: 0 0 10px;
  color: var(--forest);
  font-size: 1.18rem;
  font-weight: 830;
}

.quick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.quick-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  color: var(--forest);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 720;
}

.quick-list i {
  color: var(--wood);
}

.image-pair {
  position: relative;
  min-height: 520px;
}

.image-main,
.image-small,
.rounded-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-main {
  position: absolute;
  inset: 0 auto auto 0;
  width: 78%;
  height: 440px;
}

.image-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 54%;
  height: 300px;
  border: 10px solid var(--paper);
}

.feature-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(18, 57, 47, 0.1);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(18, 33, 28, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(18, 33, 28, 0.13);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-card div {
  padding: 24px;
}

.feature-card i,
.info-card i {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  color: #fff;
  background: var(--forest-2);
  border-radius: 8px;
  font-size: 1.25rem;
}

.feature-card p,
.info-card p,
.rule-item p {
  margin-bottom: 0;
}

.amenities-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 2fr;
  gap: 32px;
  margin-top: 44px;
  padding: 34px;
  background: var(--forest);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.amenities-panel h3,
.amenities-panel .section-kicker,
.amenities-panel span,
.amenities-panel i {
  color: #fff;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
}

.amenities-grid span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.84);
}

.amenities-grid i {
  flex: 0 0 auto;
  color: #9ed6b6;
}

.rounded-media {
  aspect-ratio: 5 / 4;
}

.parallax-section {
  position: relative;
  padding: 128px 0;
  color: #fff;
  background-image: url("../assets/img/grahovo-lake.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 28, 23, 0.7), rgba(8, 28, 23, 0.78));
}

.parallax-section h2 {
  color: #fff;
}

.parallax-section p {
  margin: 0 auto;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.location-details {
  padding-top: 78px;
}

.info-card {
  height: 100%;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(18, 33, 28, 0.07);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid a {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--forest);
}

.gallery-grid a:nth-child(1),
.gallery-grid a:nth-child(3),
.gallery-grid a:nth-child(7) {
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.045);
  opacity: 0.88;
}

.notes-section {
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.94), rgba(255, 250, 241, 0.88)),
    url("../assets/img/stream-nature.jpg") center / cover;
}

.rules-grid {
  display: grid;
  gap: 16px;
}

.rule-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 33, 28, 0.07);
}

.rule-item i {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--forest);
  background: #e7f2eb;
  border-radius: 8px;
  font-size: 1.35rem;
}

.contact-section {
  color: #fff;
  background: var(--forest);
}

.contact-section h2,
.contact-section .section-kicker,
.contact-section p {
  color: #fff;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-card a,
.contact-card span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 760;
}

.contact-card i {
  color: #9ed6b6;
}

.inquiry-form {
  padding: 34px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.inquiry-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--forest);
  font-weight: 760;
}

.form-control {
  min-height: 48px;
  border-color: rgba(18, 57, 47, 0.2);
  border-radius: 8px;
}

.form-control:focus {
  border-color: var(--pine);
  box-shadow: 0 0 0 0.22rem rgba(47, 125, 87, 0.18);
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #091a15;
}

.site-footer .container,
.footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer strong {
  display: block;
  color: #fff;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a:hover {
  color: #fff;
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 991.98px) {
  .navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
  }

  .navbar-toggler {
    position: fixed;
    top: 18px;
    right: 14px;
    z-index: 5;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
  }

  .navbar-collapse {
    flex-basis: 100%;
    margin-top: 68px;
    padding: 16px;
    background: rgba(255, 250, 241, 0.98);
    border-radius: 8px;
  }

  .navbar-collapse .nav-link {
    color: var(--forest);
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 118px;
    padding-bottom: 56px;
  }

  .min-vh-row {
    min-height: 720px;
  }

  .hero-card {
    max-width: none;
    margin: 34px 0 0;
  }

  .section {
    padding: 76px 0;
  }

  .image-pair {
    min-height: 470px;
  }

  .amenities-panel {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .parallax-section {
    background-attachment: scroll;
  }

  .site-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  body {
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10.6vw, 2.6rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.75rem, 7.8vw, 2rem);
    line-height: 1.12;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .min-vh-row {
    min-height: 650px;
  }

  .image-pair {
    min-height: auto;
  }

  .image-main,
  .image-small {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .image-small {
    margin-top: 14px;
    border: 0;
  }

  .amenities-panel,
  .inquiry-form {
    padding: 24px;
  }

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

  .gallery-grid a,
  .gallery-grid a:nth-child(1),
  .gallery-grid a:nth-child(3),
  .gallery-grid a:nth-child(7) {
    grid-row: auto;
  }

  .gallery-grid img {
    min-height: 260px;
  }

  .rule-item {
    grid-template-columns: 1fr;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 1040;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    background: rgba(255, 250, 241, 0.96);
    border: 1px solid rgba(18, 57, 47, 0.16);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(18, 33, 28, 0.22);
    backdrop-filter: blur(14px);
  }

  .mobile-bottom-nav a {
    display: grid;
    min-width: 0;
    min-height: 56px;
    place-items: center;
    padding: 7px 4px;
    color: var(--forest);
    font-size: 0.72rem;
    font-weight: 800;
  }

  .mobile-bottom-nav i {
    color: var(--forest-2);
    font-size: 1.05rem;
    line-height: 1;
  }
}
