/* ========== galerie========== */

/* liste și linkuri în containerele fluide */
.container-fluid ol li,
.container-fluid ul li {
  list-style: none;
}

.container-fluid a {
  text-decoration: none;
}

/* container general */
.container-fluid {
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
  justify-self: center;
  align-items: center;
  margin: 1em auto;
}

/* ---------- grile de conținut (responsive) ---------- */
.content2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
  margin: 1em auto;
}

.content3 {
  width: 80%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  list-style: none;
  margin: auto;
}

.content6 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
}

picture img,
picture img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 15px;
}

#content6 {
  position: relative;
  margin: 0 auto;
  padding: 0;
  font-size: 14px;
}

/* ---------- componente dribbble/shot ---------- */
.multi-shot {
  position: relative;
  transition: 0.3s all;
}

.dribbble-link {
  position: relative;
}

.dribbble-img {
  width: 100%;
}

.dribbble-img img {
  display: block;
  width: 90%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

/* overlay */
.dribbble-over {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.04);
  color: var(--third-color);
  opacity: 0;
  transition: 0.3s all;
}

.multi-shot:hover .dribbble-over {
  opacity: 1;
}

/* ---------- lightbox ---------- */
#lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .8);
  display: none;
}

#lightbox.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* conținut lightbox */
.ct {
  max-width: 50%;
  height: 80vh;
  border: 2px solid whitesmoke;
}

.ct img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- utilitare / galerie ---------- */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 35px;
  flex-wrap: wrap;
}

.filter-sort {
  width: 100%;
}

/* ---------- clasele reutilizabile de galerie ---------- */
.gallery-container {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto 3rem;
}

.gallery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.gallery-item {
  flex: 1 1 240px;
  max-width: 420px;
}

.gallery-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.gallery-iframe {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  border: 0;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  max-width: 960px;
  margin: 0 auto;
}

.content2-inline {
  width: 60%;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 1em auto;
  justify-content: center;
}

.gallery-item-wide {
  flex: 1 1 240px;
  max-width: 640px;
}

.gallery-img-wide {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

/* ========== Galerie/Poze (base) ========== */
.awards {
  --accent: #d2cc0f;
  --ink: #1f2937;
  --radius: 18px;
  width: 80%;
  margin: auto;
  padding: 1.25rem 1.5rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(31, 41, 55, .18);
  background:
    radial-gradient(1200px 1200px at -20% -40%, rgba(255, 255, 255, .25), transparent 60%),
    radial-gradient(1000px 800px at 110% 130%, rgba(255, 255, 255, .18), transparent 60%),
    linear-gradient(135deg, rgba(210, 204, 15, .18), rgba(210, 204, 15, .35));
  backdrop-filter: saturate(120%);
  border: 1px solid rgba(210, 204, 15, .28);
}

.awards .titlu {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  position: relative;
}

.awards .titlu::before {
  content: "🏅";
  font-size: 1.3em;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .2));
}

.awards .titlu::after {
  content: "";
  height: 4px;
  width: 64px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
  position: absolute;
  left: calc(1.3em + .6rem);
  bottom: -6px;
  opacity: .8;
}

/* grid + imagini */
.grid_foto_portret {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: 1.25rem;
}

.grid_foto_portret img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .10), 0 3px 8px rgba(0, 0, 0, .06) inset;
  outline: 1px solid rgba(0, 0, 0, .06);
  transition: transform .28s ease, box-shadow .28s ease, outline-color .28s ease;
  position: relative;
}

.grid_foto_portret img:hover {
  transform: translateY(-6px) rotate(-.25deg);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .18);
  outline-color: rgba(210, 204, 15, .45);
}

.awards>*:not(:last-child) {
  margin-bottom: .25rem;
}

.foto {
  display: flex;
  flex-direction: column;
}

.galerie-foto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
  margin: 1em auto;
  align-items: start;
}

.galerie-foto img {
  width: 30em;
  height: 29em;
  object-fit: cover;
  border-radius: 15px;
}

.grid-foto-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5em;
  margin: 1em auto;
  justify-self: center;
}

.grid-foto-2 img {
  object-fit: cover;
  border-radius: 15px;
}

.grid_foto_portret {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 95%;
  margin: auto;
}

.grid_foto_portret img {
  margin: auto;
  width: 15vw;
  height: auto;
  padding: 1em;
  border-radius: 40px;
}

/* .single-foto img {
  width: 30em;
  height: 29em;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 15px;
} */




/* ******************************* TELEFON ***************************** */
/* Extra small devices (phones, less than 640px) */
@media screen and (max-width: 640px) {

  /* ========== awards ========== */
  .awards {
    width: 80%;
    height: auto;
  }

  .grid_foto_portret {
    grid-template-columns: 1fr;
  }

  .grid_foto_portret img {
    margin: 1em auto;
    width: 60%;
    height: auto;
    padding: 1em;
    border-radius: 40px;
  }

  .grid-foto-2 {
    grid-template-columns: 1fr;

  }

  .content2,
  .content3,
  .content6 {
    grid-template-columns: 1fr;
  }

  .galerie-foto {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* ******************************* TABLETA ***************************** */
/* Small devices (tablets, 640px and up) */
@media screen and (min-width: 641px),
handheld and (min-width: 641px) and (max-width: 980px) {

  .navigation-galerie {
    display: flex;
    overflow-x: auto;
    margin-top: 15px;
    padding-bottom: 15px;
  }

  .navigation-galerie::-webkit-scrollbar {
    width: 10px;
    height: 6px;
  }

  .navigation-galerie::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  .navigation-galerie::-webkit-scrollbar-thumb {
    background: #888;
  }

  .content2,
  .content3,
  .content6 {
    grid-template-columns: 1fr;
  }

  .awards {
    height: auto;
  }

  .grid_foto_portret {
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
  }

  .grid_foto_portret img {
    margin: 1em auto;
    width: 100%;
    height: auto;
    padding: 1em;
    border-radius: 40px;
  }
    .galerie-foto {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ******************************* TRANZITIE ***************************** */
@media (max-width: 1200px) {
  .filterbox {
    padding: 30px 40px;
  }
}

/* ******************************* CALCULATOR *************************** */
/* Medium and large devices (desktops, 980px and up) */
@media screen and (min-width: 981px),
handheld and (min-width: 640px) {
  .filterbox {
    padding: 30px 15px;
  }

  .navigation-galerie a {
    padding: 9px 12px;
  }

  .content2 {
    grid-template-columns: repeat(2, 1fr);
    margin: 1em auto;
  }

  .content3 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .content6 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .grid_foto_portret {
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
  }

  .grid_foto_portret img {
    width: 100%;
    height: auto;
    border-radius: 40px;
  }

  .awards {
    height: auto;
  }
      .galerie-foto {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}