/*cervena: #cb2026, bila: #f2ecec, cerna: #070c12*/

html {
  box-sizing: border-box;
  overflow-x: clip;
  max-width: 100%;
}
*,
::after,
::before {
  box-sizing: inherit;
}

body {
  background-color: #f2ecec;
  display: flex;
  flex-direction: column;
  font-family: montserrat, sans-serif;
  font-size: 18px;
  padding: 0;
  align-items: center;
  margin: 0;
  max-width: 100%;
  width: 100%;
  font-weight: 400;
  overflow-x: clip;
}

.line {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  right: 0;
  background-color: #f2ecec;
  height: 45px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media only screen and (max-width: 500px) {
  /*.menu {
    max-width: fit-content;
    font-size: 2rem;
    margin-right: 2%;
  }*/
  .ham {
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .ham.visible {
    opacity: 1;
    visibility: visible;
  }
}
@media only screen and (min-width: 500px) {
  .line {
    height: 45px;
  }
}

.menu {
  /* max-width: fit-content;*/
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.menu a {
  color: #070c12;
  text-decoration: none;
  font-size: 1.8vw;
  font-family: rubik distressed;
  font-weight: 300;
  padding-left: 0.3em;
  padding-right: 0.2em;
  margin: 1vw;
}

.menu a::before {
  content: "/";
  color: #cb2026;
  font-weight: 900;
  font-size: 1.2em;
  margin-right: 0.3em;
  -webkit-text-stroke: 0.5px #cb2026;
}

@media only screen and (max-width: 800px) {
  .menu {
    display: none;
  }
}

.ham {
  /*hamburger a krizek*/
  position: absolute;
  right: 15px; /* Pevná vzdálenost od pravého okraje */
  top: 7px; /* Vertikálně vycentrovaný */

  width: 30px; /* Pevná šířka místo 3vw */
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;
  z-index: 10001;
}
.cara1,
.cara2,
.cara3 {
  width: 100%;
  flex-shrink: 0;
  height: 2px;
  background-color: #070c12;
  /*background-color: #ccbd71;*/
}
.cara2 {
  background-color: #cb2026;
}
@media only screen and (min-width: 800px) {
  .ham,
  .cara1,
  .cara2,
  .cara3 {
    display: none;
  }
}
@media only screen and (min-width: 500px) {
  .ham {
    right: 20px; /* Na mobilu trochu blíž ke kraji */
    width: 30px; /* Na mobilu trochu menší */
  }
}
.caraB {
  display: none;
}
.caraA {
  transform: rotate(45deg);
  position: relative;
  top: 20%;
}
.caraC {
  transform: rotate(-45deg);
  position: relative;
  bottom: 30%;
}

/*logo small v navigaci*/

.logoS {
  width: auto;
  height: 45px;
  padding: 5px;
  box-sizing: border-box; /* padding se počítá dovnitř */
  position: absolute;
  left: 32px; /* stejná vzdálenost jako má .ham od pravého okraje */
  top: 50%;
  transform: translateY(-50%); /* vycentrované vertikálně */

  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.logoS.visible {
  opacity: 1;
  visibility: visible;
}

.hidden {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.visible {
  opacity: 1;
  visibility: visible;
}

/* Language Switcher Styles */
.lang-switcher {
  display: inline-flex;
  gap: 0.3em;
  margin-left: 1em;
  align-items: center;
  vertical-align: middle;
  padding-bottom: 1%;
}

.lang-btn {
  background-color: transparent;
  color: #070c12;
  border: 1px solid #cb2026;
  font-size: 1.6vw;
  font-family: rubik distressed;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 3px;
  margin: 0;
}

.lang-btn:hover {
  background-color: #cb2026;
  color: #070c12;
}

.lang-btn.active {
  background-color: #cb2026;
  color: #070c12;
  font-weight: 600;
}

/* Mobile Language Switcher */
.lang-switcher-mobile {
  display: flex;
  justify-content: center;
  gap: 1em;
  padding: 1em 0;
  border-top: 1px solid #cb2026;
  margin-top: 1em;
}

.lang-switcher-mobile .lang-btn {
  font-size: 1.2rem;
  padding: 0.5em 1.2em;
}

/* Hide desktop language switcher on mobile */
@media only screen and (max-width: 800px) {
  .menu .lang-switcher {
    display: none;
  }
}

/* Hide mobile language switcher on desktop */
@media only screen and (min-width: 801px) {
  .lang-switcher-mobile {
    display: none;
  }
}

/*navigace na klik*/
.nav {
  background-color: #070c12;
  position: fixed;
  z-index: 9000;
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  margin-top: 0;
  padding: 10%;
  padding-top: 30%;
}
ul {
  list-style: none;
  line-height: 300%;
  display: flex;
  flex-direction: column;
}
a.nav-link {
  color: #cb2026;
}
.nav-link {
  text-align: left;
  text-decoration: none;
  font-family: sansation, sans-serif;
  font-size: 1.6rem;
  color: #cb2026;

  /*border-bottom: 1px solid #07192f;*/
}

@media only screen and (min-width: 800px) {
  .nav {
    display: none;
  }
}

.hidden {
  display: none;
}

.uvod {
  width: 100%;
  height: 80vh;
  background-image: url("img/NeurosisUnboundMobile.webp");
  background-size: auto 80vh;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}
.black {
  width: 100%;
  height: 80vh;
  background-color: #070c12;
  opacity: 0;
  animation: blackBlink 3s linear infinite;
}

.black.paused {
  animation-play-state: paused;
}

.logoblik {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.logoB {
  opacity: 0;
  animation: logoBlink 3s linear infinite;
  width: 80vw;
  max-width: 800px;
  height: auto;
  object-fit: contain;
}

.logoB.paused {
  animation-play-state: paused;
}

@keyframes blackBlink {
  0%,
  24% {
    opacity: 0;
  }
  25%,
  99% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes logoBlink {
  0%,
  49% {
    opacity: 0;
  }
  50%,
  74% {
    opacity: 1;
  }
  75%,
  100% {
    opacity: 0;
  }
}

@media only screen and (min-width: 500px) {
  .uvod {
    height: 100vh;
    background-image: url("img/NeurosisUnbound.webp");
    background-size: auto 100%;
  }
  .black {
    height: 100vh;
  }
}
.stop1 {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  position: absolute;
  top: 80vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  margin-bottom: 25px;
}
.sipka1,
.sipka2,
.sipka3 {
  width: 35px;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}
.sipka2,
.sipka3 {
  margin-top: -20px;
}
.stop {
  width: 100%;
  height: 45px;
}

.koncerty {
  width: 100%;
  height: auto;
  background-color: #f2ecec;
  text-align: center;
  padding-top: 10vh;
}
.koncerty h2 {
  font-family: sansation, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  padding-top: 5rem;
}
.card {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem 1rem 4rem;
  text-align: center;
}

.entriesTable {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.entriesTable td,
.entriesTable th {
  padding: 0.5rem;
  text-align: left;
}

.entriesTable td:nth-child(2),
.entriesTable td:nth-child(3) {
  font-family: sansation, sans-serif;
}

.entriesTable td:nth-child(3) {
  color: #cb2026;
}

.entriesTable a {
  color: #cb2026;
  text-decoration: underline;
}

.entriesTable a:hover {
  color: #cb2026;
}
  

/* Responzivní zobrazení tabulky */
@media only screen and (max-width: 800px) {
  .card{
    padding:1rem;
  }
  .entriesTable thead {
    display: none;
  }

  .entriesTable,
  .entriesTable tbody,
  .entriesTable tr {
    display: block;
    width: 100%;
  }

  .entriesTable tr {
    margin-bottom: 1.5rem;
    border: 1px solid #cb2026;
    padding: 0.5rem;
  }

  .entriesTable td {
    display: block;
    text-align: center;
    padding: 0.3rem 0.5rem;
    border: none;
  }

  .entriesTable td:first-child {
    display: inline-block;
    width: auto;
    margin-right: 1rem;
  }

  .entriesTable td:nth-child(2) {
    display: inline-block;
    width: auto;
  }

  .entriesTable td:nth-child(3) {
    display: block;
    width: 100%;
    text-align: center;
  }

  .entriesTable td:nth-child(4),
  .entriesTable td:nth-child(5) {
    display: block;
    width: 100%;
  }
}

h2 {
  font-family: sansation, sans-serif;
  font-size: 18px;
  text-align: center;
  text-transform: uppercase;
}

/* UFO Animations */
.ufoL {
  width: 80px;
  height: auto;
  position: fixed;
  top: 20%;
  left: 0;
  z-index: 5000;
  animation: flyLeftToRight 15s linear infinite;
  animation-delay: 5s;
  will-change: transform;
}

.ufoP {
  width: 80px;
  height: auto;
  position: fixed;
  top: 60%;
  left: 0;
  z-index: 5000;
  animation: flyRightToLeft 18s linear infinite;
  will-change: transform;
}

@keyframes flyLeftToRight {
  0% {
    transform: translateX(-100px);
  }
  100% {
    transform: translateX(100vw);
  }
}

@keyframes flyRightToLeft {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(-100px);
  }
}

@media only screen and (min-width: 800px) {
  .ufoL {
    width: 120px;
    animation: flyLeftToRight 20s linear infinite;
    animation-delay: 5s;
  }
  .ufoP {
    width: 120px;
    animation: flyRightToLeft 25s linear infinite;
  }
}

.merchbanner {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: 1fr;
  justify-items: center;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 30vh;
  background-color: #f2ecec;
  padding: 2rem;
  gap: 0.5rem 1rem;
  transform: translateX(100%);
  opacity: 0;
  transition:
    transform 2s ease-out,
    opacity 2.2s ease-out;
  position: relative;
}

.merchbanner.slide-in {
  transform: translateX(0);
  opacity: 1;
}

.merchbanner h2 {
  position: absolute;
}

.merchimg {
  height: auto;
  object-fit: contain;
}

.merchlink {
  color: #cb2026;
  text-decoration: none;
  font-family: rubik distressed;
  font-size: 1.5rem;
  padding: 1rem 2rem;
  border: 2px solid #cb2026;
  transition: all 0.3s ease;
}

.merchlink:hover {
  background-color: #cb2026;
  color: #f2ecec;
}

.fb-feed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem;
  background-color: #070c12;
}

.fb-feed h2 {
  color: #f2ecec;
}

@media only screen and (max-width: 499px) {
  .fb-feed iframe {
    transform: scale(0.65);
    transform-origin: top center;
    margin-bottom: -175px;
  }
}

.logoblack {
  max-width: 90%;
  height: auto;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.biotext {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
  font-size: 17px;
  line-height: 1.6;
  color: #070c12;
}

.members {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 5% 0 10% 0;
  align-items: center;
}
.memberimg {
  width: 120px;
  height: auto;
  border-radius: 10px;
}

.member1,
.member2,
.member3,
.member4 {
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: auto 1fr;
  gap: 1rem 2rem;
  align-items: center;
  width: 100%;
  max-width: 350px;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.member1.member-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.member2.member-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.member3.member-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.member4.member-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.member1 .memberimg,
.member2 .memberimg,
.member3 .memberimg,
.member4 .memberimg {
  grid-row: 1 / 3;
  grid-column: 1;
}

.member1 h2,
.member2 h2,
.member3 h2,
.member4 h2 {
  grid-row: 1;
  grid-column: 2;
  text-align: left;
  margin: 0;
}

.member1 .membername,
.member2 .membername,
.member3 .membername,
.member4 .membername {
  grid-row: 2;
  grid-column: 2;
  margin: 0;
}

@media only screen and (min-width: 500px) {
  .memberimg {
    width: 150px;
    height: auto;
    border-radius: 10px;
  }

  .members {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6rem 30%;
    padding: 10% 0 10% 0;
    justify-items: center;
    justify-content: center;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .member1,
  .member2,
  .member3,
  .member4 {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: auto 1fr;
    gap: 1rem 5rem;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition:
      opacity 0.6s ease-out,
      transform 0.6s ease-out;
  }

  .member1 .memberimg,
  .member2 .memberimg,
  .member3 .memberimg,
  .member4 .memberimg {
    grid-row: 1 / 3;
    grid-column: 1;
  }

  .member1 h2,
  .member2 h2,
  .member3 h2,
  .member4 h2 {
    grid-row: 1;
    grid-column: 2;
    align-items: start;
    text-align: left;
  }

  .member1 .membername,
  .member2 .membername,
  .member3 .membername,
  .member4 .membername {
    grid-row: 2;
    grid-column: 2;
    align-items: start;
  }
}

.mediabanner {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: 1fr;
  justify-items: center;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 30vh;
  background-color: #f2ecec;
  padding: 2rem;
  gap: 0.5rem 1rem;
  transform: translateX(-100%);
  opacity: 0;
  transition:
    transform 2s ease-out,
    opacity 2.2s ease-out;
  position: relative;
}

.mediabanner.slide-in {
  transform: translateX(0);
  opacity: 1;
}

.mediaimg {
  height: auto;
  object-fit: contain;
}

.medialink {
  color: #cb2026;
  text-decoration: none;
  font-family: rubik distressed;
  font-size: 1.5rem;
  padding: 1rem 2rem;
  border: 2px solid #cb2026;
  transition: all 0.3s ease;
}

.medialink:hover {
  background-color: #cb2026;
  color: #f2ecec;
}

.organizerbanner {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: 1fr;
  justify-items: center;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 30vh;
  background-color: #f2ecec;
  padding: 2rem;
  gap: 0.5rem 1rem;
  transform: translateX(100%);
  opacity: 0;
  transition:
    transform 2s ease-out,
    opacity 2.2s ease-out;
  position: relative;
}

.organizerbanner.slide-in {
  transform: translateX(0);
  opacity: 1;
}

.organizerimg {
  height: auto;
  object-fit: contain;
}

.organizerlink {
  color: #cb2026;
  text-decoration: none;
  font-family: rubik distressed;
  font-size: 1.5rem;
  padding: 1rem 2rem;
  border: 2px solid #cb2026;
  transition: all 0.3s ease;
}

.organizerlink:hover {
  background-color: #cb2026;
  color: #f2ecec;
}

.infobanner {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  overflow-x: clip;
}

@media only screen and (min-width: 600px) {
  .infobanner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
    padding: 2rem;
  }
}

.contact {
  width: 100%;
  text-align: center;
  padding: 2rem 0;
  background-color: #070c12;
  color: #f2ecec;
}
.contact img {
  width: 50px;
  height: auto;
  margin-bottom: 1rem;
}
.socialmedia {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
}

@media only screen and (min-width: 800px) {
  .contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    padding: 2rem 0;
    justify-items: center;
  }

  .socialmedia {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
  }

  .contact img {
    width: 60px;
  }
}

footer {
  width: 100%;
  text-align: center;
  padding: 2rem 0;
  background-color: #070c12;
  color: #f2ecec;
  font-size: 14px;
}

footer a {
  color: #cb2026;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #f2ecec;
}

/* Fix styles for viewports 1350px and above */
@media only screen and (min-width: 1350px) {
  body {
    overflow-x: clip;
    font-size: 20px;
  }

  .line {
    overflow: visible;
    max-width: 1350px;
    margin: 0 auto;
    height: 60px;
  }

  .menu a {
    font-size: 24.3px;
    margin: 13.5px;
  }

  .lang-btn {
    font-size: 21.6px;
  }

  .uvod {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
  }

  .black {
    width: 100%;
  }

  .biosection {
    max-width: 1350px;
    margin: 0 auto;
  }
  .biosection p {
    font-size: 20px;
  }
  .koncerty {
    max-width: 1350px;
    margin: 0 auto;
  }
  .card {
    font-size: 20px;
  }
  .entriesTable {
    width: 100%;
    border-collapse: collapse;
  }
  .entriesTable td,
  .entriesTable th {
    padding: 0.5rem;
  }

  .ufoL {
    width: 140px;
  }
  .ufoP {
    width: 140px;
  }
  .merchbanner {
    max-width: 1350px;
    margin: 0 auto;
  }

  .mediabanner {
    max-width: 1350px;
    margin: 0 auto;
  }

  .organizerbanner {
    max-width: 1350px;
    margin: 0 auto;
  }

  .infobanner {
    max-width: 1350px;
    margin: 0 auto;
  }

  .contact {
    max-width: 1350px;
    margin: 0 auto;
  }

  footer {
    max-width: 1350px;
    margin: 0 auto;
  }
  footer p {
    font-size: 18px;
  }

  .stop {
    max-width: 1350px;
    margin: 0 auto;
    height: 60px;
  }

  .gallery {
    max-width: 1350px;
    margin: 0 auto;
  }
}

/* Show More Button for Concerts */
.showMoreBtn {
  display: none; /* Hidden by default (desktop) */
  background-color: transparent;
  width: 70%;
  color: #cb2026;
  border: 2px solid #cb2026;
  font-family: rubik distressed;
  font-size: 1.2rem;
  padding: 1rem 2rem;
  margin: 2rem auto;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.showMoreBtn:hover {
  background-color: #cb2026;
  color: #f2ecec;
}

.showMoreBtn::after {
  content: "↓";
  display: block;
  font-size: 1.5rem;
  margin-top: 0.3rem;
  transition: transform 0.3s ease;
}

.showMoreBtn.expanded::after {
  transform: rotate(180deg);
}

/* Show button only on mobile */
@media only screen and (max-width: 800px) {
  .showMoreBtn {
    display: block;
  }

  .entriesTable tr.hidden-row {
    display: none;
  }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #070c12;
  }

  .line {
    background-color: #070c12;
  }

  .menu a {
    color: #f2ecec;
  }

  .cara1,
  .cara3 {
    background-color: #f2ecec;
  }

  .lang-btn {
    color: #f2ecec;
  }

  .lang-btn:hover {
    color: #070c12;
  }

  .lang-btn.active {
    color: #070c12;
  }

  .nav {
    background-color: #070c12;
  }

  .koncerty {
    background-color: #070c12;
    color: #f2ecec;
  }

  .merchbanner {
    background-color: #070c12;
  }

  .merchlink:hover {
    color: #070c12;
  }

  .biotext {
    color: #f2ecec;
  }

  .mediabanner {
    background-color: #070c12;
  }
  .members {
    color: #f2ecec;
  }

  .medialink:hover {
    color: #070c12;
  }

  .organizerbanner {
    background-color: #070c12;
  }

  .organizerlink:hover {
    color: #070c12;
  }

  .contact {
    background-color: #363636;
    color: #f2ecec;
  }

  footer {
    background-color: #363636;
    color: #f2ecec;
  }

  footer a:hover {
    color: #f2ecec;
  }

  .showMoreBtn {
    color: #f2ecec;
  }

  .showMoreBtn:hover {
    color: #070c12;
  }

  /* Invert SVG colors for dark mode */

  .logoblack,
  .merchimg,
  .mediaimg,
  .organizerimg,
  .ufoL,
  .ufoP,
  .sipka1,
  .sipka3 {
    filter: invert(1);
  }

  .uvod {
    filter: invert(1);
  }

  /* Counter-invert to keep black element and logo correct in dark mode */
  .black,
  .logoB {
    filter: invert(1);
  }
}

/* Gallery / Carousel */
.gallery {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 3rem;
  position: relative;
}

.gallery-track {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  max-width: calc(100% - 100px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  flex-shrink: 0;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(203, 32, 38, 0.4);
}

.gallery-item img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
}

/* Šipky carouselu */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(7, 12, 18, 0.8);
  border: 2px solid #cb2026;
  color: #cb2026;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  z-index: 1000;
  pointer-events: auto;
}

.gallery-arrow:hover {
  background-color: #cb2026;
  color: #f2ecec;
}

.gallery-arrow-left {
  left: 10px;
}

.gallery-arrow-right {
  right: 10px;
}

/* Mobilní zobrazení - jeden obrázek */
@media only screen and (max-width: 599px) {
  .gallery {
    padding: 2rem 1rem;
  }

  .gallery-track {
    flex-wrap: nowrap;
    max-width: 100%;
  }

  .gallery-item {
    display: none;
  }

  .gallery-item.active {
    display: block;
  }

  .gallery-item img {
    max-width: 80vw;
  }

  .gallery-arrow {
    z-index: 1001;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .gallery-arrow-left {
    left: 5px;
  }

  .gallery-arrow-right {
    right: 5px;
  }
}

/* Desktop - všechny obrázky vedle sebe */
@media only screen and (min-width: 600px) {
  .gallery-item {
    display: block;
  }

  .gallery-item img {
    max-width: 400px;
  }
}

@media only screen and (min-width: 1000px) {
  .gallery-item img {
    max-width: 500px;
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 12, 18, 0.95);
  z-index: 20000;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: #f2ecec;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 20001;
}

.lightbox-close:hover {
  color: #cb2026;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 2px solid #f2ecec;
  color: #f2ecec;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20001;
}

.lightbox-arrow:hover {
  background-color: #cb2026;
  border-color: #cb2026;
}

.lightbox-arrow-left {
  left: 20px;
}

.lightbox-arrow-right {
  right: 20px;
}
