:root {
  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-body-font-size: 1.1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.6;
  --bs-body-color: #e7ecde;
  --bs-body-bg: #646755;

  --bs-section-dark-bg: #646755;
  --bs-section-dark-color: #f4f6ef;
  --bs-section-dark-bg-gradient: linear-gradient(
    165deg,
    #646755 10%,
    #7a8169 45%,
    #8f9d7e 100%
  );

  --bs-section-light-bg: #7a8169;
  --bs-section-light-color: #f0f3e8;
  --bs-section-light-bg-gradient: linear-gradient(
    165deg,
    #646755 10%,
    #757d66 50%,
    #8f9d7e 100%
  );

  --bs-primary: #646755;
  --bs-primary-rgb: 100, 103, 85;
  --bs-secondary: #8f9d7e;
  --bs-secondary-rgb: 143, 157, 126;
  --bs-link-color: #eef2e5;
  --bs-link-hover-color: #ffffff;
  --bs-border-color: #b8c1aa;
  --bs-focus-ring-color: rgba(174, 184, 154, 0.45);

  --theme-btn-bg: var(--bs-primary);
  --theme-btn-bg-hover: #757d66;
  --theme-btn-border: #aeb89a;
  --theme-btn-text: #f6f8f1;

  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  overflow-x: hidden;
}
body {
  background-color: #ffffff;
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
}

a {
  color: var(--bs-link-color);
}

a:hover,
a:focus {
  color: var(--bs-link-hover-color);
}

.btn {
  border-radius: 0.5rem;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-primary {
  background-color: var(--theme-btn-bg);
  border-color: var(--theme-btn-border);
  color: var(--theme-btn-text);
  --bs-btn-bg: var(--theme-btn-bg);
  --bs-btn-border-color: var(--theme-btn-border);
  --bs-btn-color: var(--theme-btn-text);
  --bs-btn-hover-bg: var(--theme-btn-bg-hover);
  --bs-btn-hover-border-color: #c0c9b0;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-active-bg: #5a5f4d;
  --bs-btn-active-border-color: #aeb89a;
  --bs-btn-active-color: #ffffff;
  --bs-btn-disabled-bg: #7f866f;
  --bs-btn-disabled-border-color: #7f866f;
  --bs-btn-disabled-color: #e7ecde;
}

.btn-outline-primary {
  background-color: transparent;
  color: #dbe3cb;
  border-color: #aeb89a;
  --bs-btn-color: #dbe3cb;
  --bs-btn-border-color: #aeb89a;
  --bs-btn-hover-bg: #757d66;
  --bs-btn-hover-border-color: #b8c1aa;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-active-bg: #646755;
  --bs-btn-active-border-color: #aeb89a;
  --bs-btn-active-color: #ffffff;
}

.btn-secondary {
  background-color: #8f9d7e;
  border-color: #aeb89a;
  color: #1f2418;
  --bs-btn-bg: #8f9d7e;
  --bs-btn-border-color: #aeb89a;
  --bs-btn-color: #1f2418;
  --bs-btn-hover-bg: #9eab8e;
  --bs-btn-hover-border-color: #c0c9b0;
  --bs-btn-hover-color: #11140d;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--theme-btn-bg-hover);
  border-color: #c0c9b0;
  color: #ffffff;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #757d66;
  border-color: #b8c1aa;
  color: #ffffff;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #9eab8e;
  border-color: #c0c9b0;
  color: #11140d;
}

.form-control,
.form-select {
  border-color: var(--bs-border-color);
}

.form-control:focus,
.form-select:focus,
.btn:focus {
  border-color: #aeb89a;
  box-shadow: 0 0 0 0.2rem var(--bs-focus-ring-color);
}

#header {
  background-color: #646755aa;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.334);
  backdrop-filter: blur(5px);
}

.navbar-brand {
  max-width: 50vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

#header .nav-link.nav-main {
  font-weight: 400;
  font-size: 1rem;
  transform: none;
}

#header .nav-link.nav-main:hover,
#header .nav-link.nav-main:focus {
  font-weight: 400;
  transform: none;
}

#header .nav-link.nav-utility {
  font-size: 0.9rem;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.bg-image {
  background-size: cover;
  background-position: center;
}

.bgd-image .row .row {
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
  background-blend-mode: normal;
  /* backdrop-filter: blur(4px); */
}


section + section {
  position: relative;
}

section + section::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, transparent, rgba(232, 236, 222, 0.14), transparent);
}

section {
  scroll-margin-top: 5em;
}

section:nth-of-type(odd) {
  background: var(--bs-section-dark-bg);
  background: var(--bs-section-dark-bg-gradient);
  color: var(--bs-section-dark-color);
}

section:nth-of-type(even) {
  background: var(--bs-section-light-bg);
  background: var(--bs-section-light-bg-gradient);
  color: var(--bs-section-light-color);
}

#sect1 {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-size: 2rem;
  color: #ffffff;
}

#countdown-frame {
  border: 2px solid #aeb89a66;
  background-color: #646755aa;
  border-radius: 16px;

  background: rgba(100, 103, 85, 0.137);
  background: linear-gradient(
    157deg,
    rgba(100, 103, 85, 0.3) 0%,
    rgba(122, 129, 105, 0.14) 27%,
    rgba(100, 103, 85, 0.3) 100%
  );

  padding: 1rem;
}

.countdown small {
  display: block;
  font-size: 1rem;
}
.countdown div {
  text-align: center;
  width: 25%;
}



table {
  border: 1px solid #c6ccb8;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 99.99%;
  table-layout: fixed;
}

table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table tr {
  /* background-color: var(--bs-body-bg); */
  border: 1px solid #dddddd17;
  padding: .35em;
}

table th,
table td {
  padding: .625em;
  text-align: center;
}

table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media screen and (max-width: 600px) {
  table {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }
  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table tr {
    border-bottom: 3px solid #c6ccb8;
    display: block;
    margin-bottom: .625em;
  }
  
  table td {
    border-bottom: 1px solid #dddddd17;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    /* text-transform: uppercase; */
  }
  
  table td:last-child {
    border-bottom: 0;
  }
}






.text-white {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Dodaje lekką cień dla tekstu */
  z-index: 5;
}

.nivo-lightbox-wrap {
  top: 0;
  bottom: 10%;
  left: 0;
  right: 0;
}

@media (min-width: 576px) {
  #kontakt iframe {
    border-radius: 16px !important;
  }

  .nivo-lightbox-wrap {
    top: 10%;
    bottom: 10%;
    left: 10%;
    right: 10%;
  }
}

footer {
  font-size: 0.6em;
  color: var(--bs-section-dark-color);
  background: var(--bs-section-dark-bg-gradient);
  p, img {
      opacity: 0.2;
  }
}

footer:hover {

  p, img {
      opacity: 1;
  }

}

.shadowed {
  filter: drop-shadow(12px 12px 25px rgb(235, 235, 235));
}

/* navbar toggler */

.navbar-toggler-icon {
  background-image: none !important;
  background-color: var(--bs-gray-800);
  height: 3px;
  width: 25px;
  margin: 10px 0;
  position: relative;
  transition: all 0.35s ease-out;
  transform-origin: center;
}

.navbar-toggler-icon::before {
  display: block;
  background-color: var(--bs-gray-800);
  height: 3px;
  content: "";
  position: relative;
  top: -7px;
  transition: all 0.15s ease-out; /*taken down to hide quicker*/
  transform-origin: center;
}

.navbar-toggler-icon::after {
  display: block;
  background-color: var(--bs-gray-800);
  height: 3px;
  content: "";
  position: relative;
  top: 4px;
  transition: all 0.35s ease-out;
  transform-origin: center;
}

.navbar-dark .navbar-toggler-icon,
.navbar-dark .navbar-toggler-icon::before,
.navbar-dark .navbar-toggler-icon::after {
  background-color: var(--bs-gray-100);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  transform: rotate(45deg);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
  opacity: 0;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
  transform: rotate(-90deg) translateX(7px);
}


