/*
Theme Name: Osada Zagrody
Author: Roomhero
Version: 1.0.0
Text Domain: osada-zagrody
*/

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');

@font-face {
  font-family: 'Satoshi';
  src: url('assets/fonts/Satoshi-Variable.ttf') format('truetype');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Northwell';
  src: url('assets/fonts/Northwell.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  background: #faf8f4;
  color: #18213a;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

a {
  color: #b06a45;
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease;
  cursor: pointer;
}

a,
button,
[role="button"],
input[type="button"],
input[type="submit"],
input[type="reset"],
summary,
.m-btn,
.m-herotel,
a[href^="tel:"],
a[href^="mailto:"] {
  cursor: pointer !important;
}

a:hover {
  color: #8f5335;
}

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

::selection {
  background: #e7dcd0;
  color: #18213a;
}

summary::-webkit-details-marker {
  display: none;
}

details summary {
  user-select: none;
}

details[open] .plus {
  transform: rotate(45deg) !important;
}

input, select, button {
  font-family: 'Satoshi', system-ui, sans-serif;
  font-size: 16px;
  color: #18213a;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes kb {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes heroShow {
  0% { opacity: 0; transform: scale(1.03); }
  2% { opacity: 1; }
  18% { opacity: 1; }
  20% { opacity: 0; }
  100% { opacity: 0; transform: scale(1.12); }
}

@keyframes spin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

@keyframes nudge {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(7px); opacity: 0.5; }
}

.m-short {
  display: none;
}

/* Base header styles */
.site-sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20, 28, 44, 0.1);
  transform: translateY(-102%);
  opacity: 0;
  transition: transform .55s cubic-bezier(.22, .7, .24, 1), opacity .4s ease;
}

.site-sticky-header.is-visible {
  transform: translateY(0);
  opacity: 1;
}

/* Nav links hover */
.nav-link {
  color: rgba(251, 249, 245, 0.88);
  transition: color .25s ease;
}
.nav-link:hover {
  color: #e8c9ac !important;
}

.sticky-nav-link {
  color: #6f6c62;
  transition: color .25s ease;
}
.sticky-nav-link:hover {
  color: #b06a45 !important;
}

/* Button & interactive hover helpers */
.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #18213a;
  color: #faf8f4 !important;
  padding: 17px 34px;
  border-radius: 999px;
  font-size: 14.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
  border: 1px solid transparent;
}
.btn-primary-dark:hover {
  background: #b06a45 !important;
  color: #fff !important;
  border-color: #b06a45 !important;
}

.btn-hero-light {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #faf8f4;
  border: 1px solid #faf8f4;
  color: #18213a !important;
  padding: 17px 34px;
  border-radius: 999px;
  font-size: 14.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.btn-hero-light:hover {
  background: #b06a45 !important;
  color: #fff !important;
  border-color: #b06a45 !important;
}

.btn-copper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  background: #b06a45;
  color: #fff !important;
  padding: 18px 20px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background .3s ease;
  border-radius: 999px;
}
.btn-copper:hover {
  background: #8f5335 !important;
  color: #fff !important;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #c9a06f;
  color: #18213a !important;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background .3s ease;
}
.btn-gold:hover {
  background: #e8c9ac !important;
  color: #18213a !important;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(20, 28, 44, 0.28);
  color: #18213a !important;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.btn-outline-dark:hover {
  background: #18213a !important;
  border-color: #18213a !important;
  color: #faf8f4 !important;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(251, 249, 245, 0.55);
  color: #fbf9f5 !important;
  padding: 17px 28px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background .3s ease, color .3s ease;
  border-radius: 999px;
}
.btn-outline-light:hover {
  background: rgba(251, 249, 245, 0.16) !important;
  color: #fff !important;
}

.btn-pill-small {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #18213a;
  color: #faf8f4 !important;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  transition: background .3s ease;
}
.btn-pill-small:hover {
  background: #b06a45 !important;
  color: #fff !important;
}

/* Cottage card hover */
a.m-col1 {
  transition: box-shadow .5s ease, transform .5s cubic-bezier(.22, .7, .24, 1) !important;
}
a.m-col1:hover {
  box-shadow: 0 26px 64px rgba(20, 28, 44, 0.13) !important;
  transform: translateY(-3px) !important;
  color: #18213a !important;
}

/* Card hover animation */
.m-card {
  transition: transform .5s cubic-bezier(.22, .7, .24, 1), box-shadow .5s ease !important;
}
.m-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 20px 48px rgba(20, 28, 44, 0.08) !important;
}

/* Button & Nav Hover States */
a.m-btn {
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .3s ease !important;
}

[data-tile-prev], [data-tile-next], .m-slidernav {
  transition: background .3s ease !important;
}
[data-tile-prev]:hover, [data-tile-next]:hover {
  background: rgba(16, 22, 36, 0.75) !important;
}
.m-slidernav:hover {
  background: rgba(16, 22, 36, 0.7) !important;
}

figure > div {
  transition: transform .6s cubic-bezier(.22, .7, .24, 1) !important;
}
figure > div:hover {
  transform: scale(1.02);
}
figure.m-nooff > div:hover {
  transform: scale(1.015);
}

.hover-zoom {
  transition: transform .6s cubic-bezier(.22, .7, .24, 1);
}
.hover-zoom:hover {
  transform: scale(1.02);
}

.hover-zoom-slight {
  transition: transform .7s cubic-bezier(.22, .7, .24, 1);
}
.hover-zoom-slight:hover {
  transform: scale(1.015);
}

@media (max-width: 1080px) {
  .hidemob {
    display: none !important;
  }
}

@media (max-width: 900px) {
  html, body {
    overflow-x: hidden;
  }
  header > div {
    padding-left: 18px !important;
    padding-right: 18px !important;
    gap: 14px !important;
  }
  section {
    padding-left: 22px !important;
    padding-right: 22px !important;
    padding-top: 88px !important;
    padding-bottom: 88px !important;
  }
  section.m-hero {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  footer {
    padding-left: 22px !important;
    padding-right: 22px !important;
    padding-top: 56px !important;
    padding-bottom: 110px !important;
  }
  .m-imgfill {
    min-height: 300px !important;
  }
  .m-hero {
    min-height: 82vh !important;
  }
  .m-band {
    min-height: 58vh !important;
  }
  .m-col1 {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .m-gap {
    gap: 34px !important;
  }
  .m-nooff {
    margin-top: 0 !important;
  }
  .m-span1 {
    grid-column: auto !important;
  }
  .m-static {
    position: static !important;
  }
  .m-minh {
    min-height: 250px !important;
  }
  .m-nobr {
    border-right: none !important;
    border-bottom: 1px solid rgba(251, 249, 245, 0.28) !important;
  }
  .m-nobl {
    border-left: none !important;
    border-top: 1px solid rgba(201, 160, 111, 0.28) !important;
  }
  .m-padbox {
    padding: 32px 22px !important;
  }
  .m-btn {
    white-space: normal !important;
    text-align: center !important;
  }
  .m-long {
    display: none !important;
  }
  .m-short {
    display: inline !important;
  }
  .m-cta {
    font-size: 13px !important;
    letter-spacing: 0.1em !important;
    padding: 15px 22px !important;
  }
  .m-heronav {
    padding: 16px 22px !important;
    gap: 12px !important;
  }
  .m-herologo {
    height: 56px !important;
  }
  .m-herotel {
    font-size: 20px !important;
  }
  .m-herobottom {
    grid-template-columns: 1fr auto !important;
    padding: 0 22px 26px !important;
    gap: 16px !important;
  }
  .m-proof {
    grid-template-columns: 1fr 1fr !important;
    gap: 36px 20px !important;
    padding: 48px 22px !important;
  }
  .m-col2 {
    grid-template-columns: 1fr 1fr !important;
  }
  .m-priceline {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
  }
  .m-rule {
    display: none;
  }
  .m-badge {
    letter-spacing: 0.16em !important;
    font-size: 12.5px !important;
  }
  .m-hero h1 {
    font-size: clamp(52px, 12.5vw, 86px) !important;
    line-height: 1.02 !important;
  }
  .m-ratingbar {
    padding: 11px 14px !important;
    gap: 8px 18px !important;
    font-size: 13px !important;
  }
  .m-ratingbar img {
    height: 16px !important;
  }
  .m-ratingbar b {
    font-size: 15px !important;
  }
  .m-ratingbar span span {
    font-size: 12px !important;
  }
  .m-tilehide {
    display: none !important;
  }
  .m-bottombar {
    display: block !important;
  }
  .m-thumbs {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .m-slidernav {
    width: 40px !important;
    height: 40px !important;
    font-size: 15px !important;
  }
  .m-titlesec {
    padding-top: 28px !important;
    padding-bottom: 0 !important;
  }
  .m-mainsec {
    padding-top: 24px !important;
    padding-bottom: 64px !important;
  }
  .m-backhide {
    display: none !important;
  }
  .m-bigscript {
    font-size: 60px !important;
  }
}

/* FAQ Accordion */
details {
  overflow: hidden;
}
details summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}
details summary::-webkit-details-marker {
  display: none;
}
details summary .plus {
  display: inline-block;
  transition: transform .35s cubic-bezier(.22, .7, .24, 1), color .3s ease !important;
}
details[open] summary .plus {
  transform: rotate(45deg);
  color: #18213a !important;
}

@media (max-width: 560px) {
  section {
    padding-left: 18px !important;
    padding-right: 18px !important;
    padding-top: 76px !important;
    padding-bottom: 76px !important;
  }
  footer {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .m-col1s {
    grid-template-columns: 1fr !important;
  }
  .m-card {
    padding: 26px 22px !important;
  }
  .m-rgrid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .m-gap {
    gap: 28px !important;
  }
  .m-badge {
    font-size: 12px !important;
    letter-spacing: 0.12em !important;
  }
  .m-hero h1 {
    font-size: clamp(46px, 13.5vw, 70px) !important;
  }
  .m-herologo {
    height: 48px !important;
  }
  .m-herotel {
    font-size: 21px !important;
  }
  .m-ratingbar {
    padding: 10px 12px !important;
    gap: 6px 14px !important;
    font-size: 12px !important;
  }
  .m-ratingbar img {
    height: 14px !important;
  }
  .m-ratingbar b {
    font-size: 14px !important;
  }
  .m-ratingbar .m-dot {
    display: none !important;
  }
  .m-herobottom {
    grid-template-columns: 1fr !important;
    justify-items: start !important;
  }
  .m-hide560 {
    display: none !important;
  }
  .m-bottombar div a {
    padding: 9px 4px 9px !important;
  }
  .m-bottombar > a {
    padding: 15px 20px !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }
  .m-slider {
    aspect-ratio: 4/3 !important;
  }
  .m-bookpad {
    padding: 20px 18px 0 !important;
  }
  .m-bookpad2 {
    padding: 18px 18px 22px !important;
  }
}

/* WYSIWYG / INLINE HIGHLIGHT STYLES */
.oz-spotlight-quote em,
.oz-spotlight-quote i,
.oz-spotlight-quote .accent,
.oz-spotlight-quote span[style*="italic"] {
  font-style: italic !important;
  color: #b06a45 !important;
}

.oz-for-whom-desc strong,
.oz-for-whom-desc b {
  color: #18213a !important;
  font-weight: 600 !important;
}

/* SLIDER PILLS / BADGES */
.oz-tile-pills {
  position: absolute;
  left: 20px;
  top: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 4;
  pointer-events: none;
}

.oz-tile-pill {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.2;
  display: inline-block;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.oz-tile-pill-dark {
  background: rgba(16, 22, 36, 0.65);
  color: #fbf9f5;
}

.oz-tile-pill-accent {
  background: #b06a45;
  color: #fff;
}

@media (max-width: 900px) {
  .oz-tile-pills {
    left: 10px !important;
    top: 10px !important;
    right: 10px !important;
    gap: 6px !important;
  }
  .oz-tile-pill {
    padding: 5px 9px !important;
    font-size: 10.5px !important;
    letter-spacing: 0.08em !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 480px) {
  .oz-tile-pills {
    left: 8px !important;
    top: 8px !important;
    right: 8px !important;
    gap: 5px !important;
  }
  .oz-tile-pill {
    padding: 4px 8px !important;
    font-size: 9.5px !important;
    letter-spacing: 0.06em !important;
  }
}