/* =========================================================
   BASE / RESET
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  margin: 0;
  /*padding-top: 52px; /* kompensata za fixed menu (wysokość paska ~52px) */
  font-family: 'Playfair Display', serif;
  background: #e1dfdb;
  color: #431d2a;
}
/* =========================================================
   MENU
   ========================================================= */
.menu-wrapper {
  /* --- STICKY --- */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;

  /* --- DOMYŚLNIE PRZEZROCZYSTE --- */
  background: transparent;
  color: #e1dfdb;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6); /* widoczność na jasnym tle */
  transition: background 0.4s ease, box-shadow 0.4s ease, text-shadow 0.4s ease;

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
}

/* Stan po przewinięciu – dodawany przez JS */
.menu-wrapper.scrolled {
  background: rgba(67, 29, 42, 0.97);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  text-shadow: none;
}

/* logo / tytuł */
.menu-wrapper .logo {
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
/* linki */
.menu-wrapper a {
  text-decoration: none;
  color: inherit;
  line-height: 2.5;
}
.menu-wrapper a:hover {
  color: #fff;
}
/* =========================================================
   TOGGLE (HAMBURGER)
   ========================================================= */
.menu-toggle {
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  width: 24px;
  height: 24px;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
  z-index: 201;
}
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}
.menu-open .menu-toggle::before {
  transform: translateY(1px) rotate(45deg);
}
.menu-open .menu-toggle::after {
  transform: translateY(-1px) rotate(-45deg);
}
/* =========================================================
   MOBILE MENU (FLYOUT)
   ========================================================= */
.menu-flyout {
  position: fixed;
  inset: 0;
  background: #431d2a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: 199; /* poniżej menu-wrapper (200), ale nad resztą strony */
}
.menu-open .menu-flyout {
  transform: translateX(0);
}
.menu-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.5rem;
}
/* =========================================================
   DESKTOP
   ========================================================= */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
  .menu-flyout {
    position: static;
    transform: none;
    background: none;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
    z-index: auto;
  }
  .menu-main {
    flex-direction: row;
    font-size: inherit;
    gap: 2rem;
  }
}
/* =========================================================
   PREVENT SCROLL WHEN MENU OPEN (MOBILE)
   ========================================================= */
@media (max-width: 767px) {
  .menu-open {
    overflow: hidden;
  }
}

/* =========================================================
   HERO BANNER
   ========================================================= */
.hero-banner {
  position: relative;
  width: 100%;
  height: 55vh;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; 
  display: block;
}

@media (max-width: 768px) {
  .hero-banner {
    height: 35vh; 
  }

  .hero-banner-img {
    object-position: center center;
  }
}