/* ============================= */
/* HLAVNÝ LAYOUT – DESKTOP */
/* ============================= */
#support .gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  align-items: stretch;
  gap: 0;
}

/* ============================= */
/* ĽAVÁ STRANA – MENU (PRO PANEL) */
/* ============================= */
.gallery-left-menu {
  background: linear-gradient(
    180deg,
    #f6f8fb 0%,
    #eef2f6 100%
  );

  padding: 42px 52px 42px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;

  /* šikmý rez */
  clip-path: polygon(
    0 0,
    65% 0,
    88% 100%,
    0 100%
  );

  /* profesionálny panel efekt */
  box-shadow:
    inset -1px 0 0 rgba(0,0,0,0.04),
    8px 0 28px rgba(0,0,0,0.05);

  z-index: 1;
}

/* ============================= */
/* MENU POLOŽKY */
/* ============================= */
.gallery-left-menu button {
  background: transparent;
  border: 1px solid transparent;
  padding: 14px 18px;
  border-radius: 12px;

  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.2px;
  text-align: left;

  color: #2b2b2b;
  position: relative;
  transition: all 0.3s ease;
}

/* hover – jemný SaaS efekt */
.gallery-left-menu button:hover {
  background: rgba(0,119,170,0.08);
  color: #005f88;
}

/* ============================= */
/* AKTÍVNA POLOŽKA */
/* ============================= */
.gallery-left-menu button.active {
  background: #ffffff;
  color: #0077aa;
  border: 1px solid rgba(0,119,170,0.25);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* vertikálny indikátor */
.gallery-left-menu button.active::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 4px;
  background: #0077aa;
}

/* menej dôležité položky */
.gallery-left-menu button:not(.active) {
  opacity: 0.85;
}

/* ============================= */
/* PRAVÁ STRANA – OBSAH */
/* ============================= */
.gallery-right-content {
  position: relative;
  padding: 40px 40px 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  z-index: 0;
}

/* obrázok */
.gallery-right-content img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 20px;
}

/* text */
.gallery-right-content h3 {
  margin: 18px 0 6px;
  font-size: 22px;
  color: #0077aa;
}

.gallery-right-content p {
  line-height: 1.6;
  color: #222;
  max-width: 720px;
}

/* ============================= */
/* ANIMÁCIA OBSAHU */
/* ============================= */
.gallery-content-inner {
  animation: fadeSlide 0.45s ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================= */
/* MOBIL – JEDNODUCHÉ POD SEBOU */
/* ============================= */
@media (max-width: 700px) {
  #support .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-left-menu {
    padding: 28px 26px 28px 24px;
    gap: 12px;

    /* zachováme šikmý rez ako na PC */
    clip-path: polygon(
      0 0,
      65% 0,
      88% 100%,
      0 100%
    );

    background: linear-gradient(
      180deg,
      #f6f8fb 0%,
      #eef2f6 100%
    );

    display: flex;
    flex-direction: column;
    justify-content: center;

    /* profesionálny panel efekt */
    box-shadow:
      inset -1px 0 0 rgba(0,0,0,0.04),
      8px 0 28px rgba(0,0,0,0.05);

    z-index: 1;
  }

  .gallery-left-menu button {
    font-size: 15px;
    padding: 14px 18px;
  }

  /* AKTÍVNE TLAČIDLO – vyznačené ako na PC */
  .gallery-left-menu button.active {
    background: #ffffff;
    color: #0077aa;
    border: 1px solid rgba(0,119,170,0.25);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);

    min-width: 120px;      /* širšie aktívne tlačidlo */
    padding-left: 30px;
    padding-right: 30px;
  }

  .gallery-left-menu button.active::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border-radius: 4px;
    background: #0077aa;
  }

  .gallery-right-content {
    padding: 26px 22px;
  }

  .gallery-right-content img {
    max-height: 260px;
  }

  .gallery-right-content h3 {
    font-size: 20px;
  }

  .gallery-right-content p {
    font-size: 15px;
  }
}


/* ============================= */
/* LABEL NA OBRÁZKU */
/* ============================= */
.image-container {
  position: relative;
}

.image-container .label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255,255,255,0.85);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
}
