:root {
  --bg: #eef7f5;
  --bg-soft: #dcefed;
  --text: #102323;
  --muted: #5b6f70;
  --card: rgba(255, 255, 255, 0.74);
  --card-strong: rgba(255, 255, 255, 0.9);
  --border: rgba(255, 255, 255, 0.58);
  --shadow: 0 24px 70px rgba(25, 77, 82, 0.18);
  --lake: #0f8ea0;
  --lake-dark: #11606e;
  --pine: #1f6f55;
  --sun: #f2b85b;
  --sand: #f4dfb9;
  --radius: 18px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(15, 142, 160, 0.18), transparent 32rem),
    linear-gradient(140deg, var(--bg), #f7fbf5 50%, var(--bg-soft));
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

body.dark {
  --bg: #071819;
  --bg-soft: #0d2a2c;
  --text: #ecfbf7;
  --muted: #a9c1bd;
  --card: rgba(13, 35, 38, 0.72);
  --card-strong: rgba(18, 50, 54, 0.9);
  --border: rgba(173, 226, 219, 0.22);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  background:
    radial-gradient(circle at 16% 8%, rgba(20, 141, 153, 0.22), transparent 28rem),
    linear-gradient(140deg, #061314, #0b2528 58%, #132f26);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(238, 247, 245, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

body.dark .site-header {
  background: rgba(7, 24, 25, 0.78);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--lake-dark);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.12;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

body.dark .brand {
  color: #9fe4e4;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 24px rgba(15, 142, 160, 0.28);
  overflow: hidden;
}

.brand-mark img {
  width: 31px;
  height: 39px;
  object-fit: contain;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--lake);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 10px 30px rgba(24, 90, 96, 0.1);
}

.lang-btn {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.lang-btn.active {
  color: white;
  background: linear-gradient(135deg, var(--lake), var(--pine));
}

.theme-toggle,
.menu-toggle {
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--card);
  box-shadow: 0 10px 30px rgba(24, 90, 96, 0.12);
  cursor: pointer;
}

.theme-toggle {
  width: 44px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.menu-toggle {
  display: none;
  width: 44px;
  aspect-ratio: 1;
  border-radius: 14px;
  gap: 4px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: end;
  padding: 110px max(24px, calc((100vw - 1180px) / 2)) 52px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 27, 30, 0.72), rgba(7, 27, 30, 0.18) 60%, rgba(7, 27, 30, 0.54)),
    url("hero.jpg") center / cover;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(transparent, var(--bg));
}

.hero-content,
.hero-stats {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(760px, 100%);
  color: white;
  padding-bottom: 38px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sun);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1,
.section-heading h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  max-width: 880px;
}

.hero p:not(.eyebrow) {
  max-width: 630px;
  margin: 22px 0 30px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.88);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--lake), var(--pine));
  box-shadow: 0 14px 30px rgba(15, 142, 160, 0.28);
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(15, 142, 160, 0.36);
}

.btn.small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 0.9rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: min(820px, 100%);
}

.hero-stats div,
.glass-panel,
.place-card,
.feature-card {
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-stats div {
  border-radius: var(--radius);
  padding: 18px;
  color: white;
  background: rgba(255, 255, 255, 0.16);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 1.08rem;
}

.hero-stats span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.section {
  padding: 92px max(24px, calc((100vw - 1180px) / 2));
}

.section-alt {
  background: rgba(255, 255, 255, 0.22);
}

body.dark .section-alt {
  background: rgba(255, 255, 255, 0.035);
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4rem);
}

.section-heading p + h2 {
  color: var(--text);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.glass-panel {
  border-radius: var(--radius);
  padding: 28px;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.about-highlights span {
  display: flex;
  align-items: end;
  min-height: 118px;
  padding: 18px;
  border-radius: var(--radius);
  color: white;
  font-weight: 800;
  background:
    linear-gradient(150deg, rgba(15, 142, 160, 0.95), rgba(31, 111, 85, 0.72)),
    linear-gradient(45deg, transparent, rgba(242, 184, 91, 0.32));
}

.spa-section {
  padding-top: 0;
}

.spa-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
}

.spa-feature img {
  width: 100%;
  min-height: 320px;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 6px);
  box-shadow: 0 18px 46px rgba(15, 142, 160, 0.2);
}

.spa-feature h3 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.1;
}

.spa-feature p {
  margin: 0;
}

.spa-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.spa-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(15, 142, 160, 0.2);
  border-radius: 999px;
  color: var(--lake-dark);
  background: rgba(15, 142, 160, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
}

body.dark .spa-tags span {
  color: #b6f0ee;
}

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

.place-card,
.feature-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.2s ease;
}

.place-card:hover,
.feature-card:hover {
  transform: translateY(-6px);
}

.place-card img,
.placeholder-card {
  width: 100%;
  height: 238px;
}

.place-card img {
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

.card-body h3,
.feature-card h3,
.map-placeholder h3,
.weather-widget h3,
.tourist-box h3 {
  margin: 0 0 10px;
  line-height: 1.2;
  letter-spacing: 0;
}

.card-body p,
.feature-card p,
.glass-panel p {
  color: var(--muted);
}

.card-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.rating {
  color: var(--sun);
  font-size: 0.95rem;
  white-space: nowrap;
}

.placeholder-card {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  color: white;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 800;
}

.placeholder-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
}

.placeholder-card span {
  position: relative;
}

.rosemary {
  background: linear-gradient(135deg, #214f45, #52a37a 50%, #f2b85b);
}

.veneci {
  background: linear-gradient(135deg, #0c6679, #17a2a8 48%, #f0d27f);
}

.hotel-kosovrast {
  background:
    linear-gradient(135deg, rgba(10, 39, 47, 0.22), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #1e5b4c, #3aa06d 48%, #d8f1df);
}

.hotel-venec {
  background:
    linear-gradient(135deg, rgba(242, 184, 91, 0.2), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #27456c, #0f8ea0 50%, #d7f1e9);
}

.hotel-banishte {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(242, 184, 91, 0.24)),
    linear-gradient(135deg, #194a68, #0f8ea0 52%, #bdeee6);
}

.facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.facilities span,
.filters button {
  border: 1px solid rgba(15, 142, 160, 0.2);
  background: rgba(15, 142, 160, 0.08);
  color: var(--lake-dark);
  border-radius: 999px;
  font-weight: 800;
}

body.dark .facilities span,
body.dark .filters button {
  color: #b6f0ee;
}

.facilities span {
  padding: 7px 10px;
  font-size: 0.82rem;
}

.feature-grid {
  display: grid;
  gap: 24px;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
}

.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

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

.feature-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.guide-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.search-wrap {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.search-wrap input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card-strong);
  color: var(--text);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-wrap input {
  min-height: 50px;
  padding: 0 16px;
}

.search-wrap input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(15, 142, 160, 0.72);
  box-shadow: 0 0 0 4px rgba(15, 142, 160, 0.14);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.filters button {
  min-height: 42px;
  padding: 0 15px;
  cursor: pointer;
}

.filters button.active {
  color: white;
  background: linear-gradient(135deg, var(--lake), var(--pine));
}

.guide-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  min-height: 90px;
}

.guide-result-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: var(--card);
  box-shadow: 0 14px 34px rgba(31, 111, 85, 0.12);
}

.guide-result-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: white;
  background: var(--lake);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: capitalize;
}

.guide-result-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.guide-result-card p,
.no-results {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  margin-top: 24px;
}

.map-placeholder,
.weather-widget {
  min-height: 230px;
  display: grid;
  align-content: center;
}

.map-placeholder {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.34)),
    repeating-linear-gradient(45deg, rgba(15, 142, 160, 0.18) 0 2px, transparent 2px 28px),
    repeating-linear-gradient(-45deg, rgba(31, 111, 85, 0.14) 0 2px, transparent 2px 32px);
}

body.dark .map-placeholder {
  background:
    linear-gradient(135deg, rgba(13, 35, 38, 0.84), rgba(13, 35, 38, 0.45)),
    repeating-linear-gradient(45deg, rgba(42, 179, 190, 0.18) 0 2px, transparent 2px 28px),
    repeating-linear-gradient(-45deg, rgba(68, 176, 130, 0.14) 0 2px, transparent 2px 32px);
}

.map-pin,
.weather-icon {
  width: 54px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--lake), var(--pine));
  font-size: 1.5rem;
}

.weather-widget {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.44)),
    linear-gradient(140deg, rgba(242, 184, 91, 0.24), rgba(15, 142, 160, 0.2));
}

body.dark .weather-widget {
  background:
    linear-gradient(135deg, rgba(13, 35, 38, 0.84), rgba(13, 35, 38, 0.45)),
    linear-gradient(140deg, rgba(242, 184, 91, 0.16), rgba(15, 142, 160, 0.18));
}

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

.gallery-item {
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: transparent;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 24px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  color: var(--muted);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  padding: 13px 15px;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--pine);
  font-weight: 800;
}

body.dark .form-status {
  color: #9fe4e4;
}

.tourist-details {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--lake), var(--pine));
  font-weight: 900;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--border);
  background: rgba(7, 24, 25, 0.92);
  color: white;
}

.footer-brand {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  max-width: 430px;
}

.footer-brand img {
  width: 46px;
  height: 56px;
  object-fit: contain;
  padding: 5px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
}

.footer-brand strong {
  font-size: 1.1rem;
  letter-spacing: 0;
}

.footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(4, 13, 15, 0.86);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(100%, 980px);
  max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 48px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

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

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

@media (max-width: 1020px) {
  .card-grid,
  .guide-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-tools,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .filters {
    justify-content: flex-start;
  }

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

@media (max-width: 820px) {
  .navbar {
    width: min(100% - 24px, 1180px);
    flex-wrap: wrap;
    padding-block: 10px;
  }

  .menu-toggle {
    display: grid;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card-strong);
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scaleY(0.94);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 10px;
  }

  .language-switcher {
    order: 4;
    width: 100%;
    justify-content: center;
    margin-bottom: 4px;
  }

  .hero {
    min-height: 760px;
    padding-top: 86px;
  }

  .hero-stats,
  .about-grid,
  .feature-card,
  .contact-grid,
  .spa-feature {
    grid-template-columns: 1fr;
  }

  .feature-card img {
    min-height: 240px;
  }

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

@media (max-width: 560px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding-block: 70px;
  }

  .hero {
    min-height: 720px;
    padding-inline: 18px;
    padding-bottom: 34px;
  }

  .hero-stats,
  .card-grid,
  .guide-results,
  .about-highlights {
    grid-template-columns: 1fr;
  }

  .place-card img,
  .placeholder-card {
    height: 210px;
  }

  .language-switcher {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) {
    grid-row: span 1;
  }

  .footer {
    display: grid;
  }

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