html {
  font-size: 125%;
  background-color: #111;
}

.dev-banner {
  background-color: #d32f2f;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 3Sepx black;
  font-weight: 700;
  padding: 0.5rem 1rem;
  letter-spacing: 0.05em;
}

html body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #2a2a2a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  background-repeat: repeat;
  color: #ddd;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-font {
  font-family: "Amatic SC", sans-serif;
  font-weight: 400;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── NAVBAR (shares the same noise texture as footer, see below) ── */
nav.navbar {
  position: relative;
  overflow: hidden;
  font-size: 1.5em;
  font-family: "Amatic SC", sans-serif;
  background-color: #111 !important;
}

nav.navbar .navbar-brand {
  font-size: 1em;
}

nav.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 0 0 0 0 0 0 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)' fill='%23fff' opacity='0.15'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
}

nav.navbar::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
}

/* ── PAGE HEADER (repertuar, pomoce, galeria, kontakt) ── */
.page-header {
  background: #0a0a0a;
  border-bottom: 1px solid #333;
  padding: 3rem 0 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: 4rem;
  margin: 0;
  color: #fff;
}

.page-header .subtitle {
  color: #888;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

/* ── SECTION TITLES ── */
.section-title {
  font-family: "Amatic SC", sans-serif;
  font-size: 3rem;
  color: #fff;
  border-bottom: 1px solid #333;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.section-label {
  font-family: "Amatic SC", sans-serif;
  font-size: 2.2rem;
  color: #aaa;
  margin-bottom: 1.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #2a2a2a;
}

/* ── CONTENT SECTION (O kapeli, Skład kapeli, Nadchodzące koncerty, Kalendarz tradycyjny) ── */
.content-section h2 {
  font-size: 3rem;
}

.content-section strong {
  color: #fff;
  font-weight: bolder;
}

/* ── GIG / CONCERT CARDS ── */
.gig-item {
  display: flex;
  gap: 1.25rem;
  align-items: stretch;
  background: #383838;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.gig-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  background: #444;
  padding: 0.75rem 0.5rem;
  text-align: center;
  flex-shrink: 0;
}

.gig-day {
  font-family: "Amatic SC", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.gig-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #aaa;
  letter-spacing: 0.08em;
}

.gig-year {
  font-size: 0.65rem;
  color: #777;
}

.gig-body {
  padding: 0.75rem 0.75rem 0.75rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
}

.gig-weekday {
  font-size: 0.75rem;
  color: #999;
}

.gig-title {
  font-family: "Amatic SC", sans-serif;
  font-size: 1.75rem;
  color: #fff;
  line-height: 1.1;
}

.gig-time {
  font-size: 0.95rem;
  color: #aaa;
}

.gig-location a {
  font-size: 0.75rem;
  color: #ccc;
}

.gig-desc {
  font-size: 0.75rem;
  color: #aaa;
}

/* ── TRADITIONAL CALENDAR (dates can be wider than a single day number) ── */
.trad-calendar-list .gig-date-block {
  min-width: 88px;
}

.trad-calendar-list .gig-day {
  font-size: 1.9rem;
  white-space: nowrap;
}

.trad-status {
  font-size: 0.75rem;
  margin-top: 0.35rem;
}

.trad-status.trad-available {
  color: #4caf50;
  font-weight: 600;
}

.trad-status.trad-reserved {
  color: #e05353;
  font-weight: 600;
}

/* ── POSTCARD PHOTO ── */
.postcard-wrap {
  display: flex;
  justify-content: center;
}

.postcard {
  width: 100%;
  max-width: 980px;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  transform: rotate(-2deg);
  transition:
    transform 0.1s ease,
    box-shadow 0.1s ease,
    filter 0.1s ease;
  filter: brightness(95%) saturate(95%);
}

.postcard:hover {
  transform: rotate(-1deg) translateY(-10px) scale(1.05);
  box-shadow: -25px 50px 75px rgba(0, 0, 0, 0.3);
  filter: brightness(100%) saturate(100%);
}

/* ── MEMBER CARDS ── */
.member-card {
  display: flex;
  gap: 0;
  background: #404040;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.member-photo {
  width: 160px;
  flex-shrink: 0;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-body {
  padding: 1.1rem 1.4rem;
}

.member-name {
  font-family: "Amatic SC", sans-serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.member-bio {
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 575px) {
  .member-card {
    flex-direction: column;
  }
  .member-photo {
    width: 100%;
    height: 280px;
  }
}

/* ── VIDEO CARDS ── */
.video-title {
  font-family: "Amatic SC", sans-serif;
}

/* ── SEARCH INPUT ── */
.search-wrap {
  display: flex;
  justify-content: center;
  padding: 1.5rem 1rem 0;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  max-width: 700px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 0 0.9rem;
  transition: border-color 0.15s;
}

.search-box:focus-within {
  border-color: #555;
}

.search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: #ccc;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.6rem 0;
  outline: none;
}

.search-input::-webkit-search-cancel-button {
  display: none;
}

.search-clear {
  background: none;
  border: none;
  color: #777;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.2rem 0.1rem;
  cursor: pointer;
  display: none;
}

.search-clear:hover {
  color: #ccc;
}

.search-box--has-value .search-clear {
  display: block;
}

/* ── FOOTER ── */
.footer-brand {
  font-family: "Amatic SC", sans-serif;
  font-size: 1.8em;
  color: #fff;
}

footer {
  position: relative;
  overflow: hidden;
  font-size: 0.8em;
  background: #111;
  color: #bbb;
  border-top: 1px solid #333;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.8);
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 0 0 0 0 0 0 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)' fill='%23fff' opacity='0.15'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
}

footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
}

@media (max-width: 575px) {
  footer .d-flex {
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem;
  }
  footer .text-start,
  footer .text-end {
    text-align: center !important;
  }
}
