html {
  scroll-behavior: smooth;
}

#rezervasyon {
  scroll-margin-top: 104px;
}

body {
  min-height: 100vh;
}

.site-header {
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-transparent .header-link,
.site-header.is-transparent .brand-name {
  color: #fbf9fa;
}

.site-header.is-transparent .logo-mark {
  background: rgba(251, 249, 250, 0.12);
  color: #fbf9fa;
  border: 1px solid rgba(251, 249, 250, 0.35);
}

.site-header.is-solid,
.site-header.is-scrolled {
  background: rgba(249, 247, 242, 0.88);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(195, 199, 204, 0.35);
}

.site-header.is-solid .header-link,
.site-header.is-scrolled .header-link,
.site-header.is-solid .brand-name,
.site-header.is-scrolled .brand-name {
  color: #233645;
}

.site-header.is-solid .logo-mark,
.site-header.is-scrolled .logo-mark {
  background: #233645;
  color: #ffffff;
  border-color: #233645;
}

.nav-link.is-active,
.lang-btn.is-active {
  color: #a67b5b;
}

.site-header.is-transparent .nav-link.is-active,
.site-header.is-transparent .lang-btn.is-active {
  color: #f4bb92;
}

.header-link:hover,
.lang-btn:hover {
  color: #a67b5b;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(249, 247, 242, 0.96);
  backdrop-filter: blur(18px);
}

.mobile-nav.is-open {
  display: flex;
}

.ghost-input,
.ghost-select,
.ghost-textarea {
  width: 100%;
  background: #e5e7e6;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0.25rem 0.25rem 0 0;
  color: #1b1c1d;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 24px;
  padding: 14px 16px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.ghost-textarea {
  min-height: 120px;
  resize: vertical;
}

.ghost-input:focus,
.ghost-select:focus,
.ghost-textarea:focus {
  outline: none;
  background: #f5f3f4;
  border-bottom-color: #006875;
  box-shadow: none;
}

.ghost-input.is-invalid,
.ghost-select.is-invalid,
.ghost-textarea.is-invalid {
  border-bottom-color: #ba1a1a;
}

.field-error {
  min-height: 20px;
  margin-top: 6px;
  color: #ba1a1a;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  line-height: 16px;
}

.gallery-filter.is-active {
  background: #233645;
  color: #ffffff;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(44, 46, 49, 0.88);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 86vh;
  object-fit: contain;
}

.hero-ken-burns {
  animation: kenBurns 28s ease-out forwards;
}

@keyframes kenBurns {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-ken-burns {
    animation: none;
  }
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cal-title {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 600;
  color: #233645;
  text-transform: capitalize;
}

.cal-nav {
  width: 36px;
  height: 36px;
  border-radius: 0.25rem;
  color: #233645;
  background: #e5e7e6;
}

.cal-nav:hover {
  background: #d1e5f8;
}

.cal-week,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-week span {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #73777c;
  font-weight: 600;
}

.cal-day {
  aspect-ratio: 1;
  border-radius: 0.25rem;
  font-size: 13px;
  font-family: Montserrat, sans-serif;
}

.cal-day.is-free {
  background: #ffffff;
  color: #1b1c1d;
  border: 1px solid #e5e7e6;
}

.cal-day.is-free:hover {
  border-color: #006875;
  color: #006875;
}

.cal-day.is-busy {
  background: #e4e2e3;
  color: #73777c;
  text-decoration: line-through;
  cursor: not-allowed;
}

.cal-day.is-in-range {
  background: #d1e5f8;
  border-color: #b5c9db;
}

.cal-day.is-selected {
  background: #006875;
  color: #ffffff;
  border-color: #006875;
}

.cal-legend {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 12px;
  color: #43474b;
}

.cal-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  vertical-align: -1px;
  border-radius: 2px;
}

.cal-legend .swatch-free {
  background: #ffffff;
  border: 1px solid #e5e7e6;
}

.cal-legend .swatch-busy {
  background: #e4e2e3;
}
