html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* UBICA problema */
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

@media (max-width: 768px) {

  .container {
    justify-content: space-between;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

}

.container {
  height: 40px;
}

.logo {
  margin-right: 40px;
}

.nav a {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.header {
  background: rgba(0,0,0,0.3);
}

.logo img {
  height: 40px;
}

.nav {
  display: flex;
  align-items: center;
}

.nav ul {
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  color: #00aaff;
}

/* MOBILE */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 4px 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 70px;
    right: -100%;
    width: 100%;
    background: black;
    transition: 0.3s;
  }

  .nav.active {
    right: 0;
  }

  .nav ul {
    flex-direction: column;
    padding: 20px;
  }

  .hamburger {
    display: flex;
  }
}

.swiper {
  width: 100%;
  height: 100vh;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
}

/* slike */
.slide1 {
  background-image: url("assets/slide1.jpg");
}

.slide2 {
  background-image: url("assets/slide2.jpg");
}

.slide3 {
  background-image: url("assets/slide3.jpg");
}

/* overlay tekst */
.overlay {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: white;
}

.overlay h1 {
  font-size: 50px;
  margin: 0;
  padding-bottom: 20px;
}

.overlay p {
  font-size: 20px;
}

.hero {
  position: relative;
  height: auto;     /* 🔥 OBAVEZNO */
}

@media (max-width: 768px) {

  .hero {
    height: auto;
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;   /* 🔥 OBAVEZNO */
    padding-top: 120px;
    padding-bottom: 40px;
  }

}



/* tekst preko slike */
.overlay {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: white;
}

.overlay h1 {
  font-size: 50px;
  margin: 0;
}

.overlay p {
  font-size: 20px;
}

html {
  scroll-behavior: smooth;
}

.factory {
   min-height: 100vh;
  margin-top: 0;
  background-image: url("assets/factory.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero:last-of-type {
  margin-bottom: 0;
}

/* tamni overlay kao na originalu */
.factory::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  top: 0;
  left: 0;
}

/* sadržaj */
.factory-content {
  position: relative;
  z-index: 2;
  color: white;
  top: 40%;
  left: 10%;
}

.factory-content h2 {
  font-size: 40px;
  margin-bottom: 10px;
  padding-top: 40px;
}

.factory-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* dugme */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #00aaff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.btn:hover {
  background: #008ecc;
}

.footer {
  background: #176571;
  color: #FFF;
  padding: 60px 0 30px;
}
.footer {
  padding: 60px 0 30px;
}

.footer-links h4 {
  font-size: 16px;
  margin-bottom: 15px;
}

.footer-links a {
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.footer-left {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.footer-logo {
  width: 80px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo {
  max-height: 50px;
  width: auto;
  display: block;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-links h4 {
  color: white;
  margin-bottom: 10px;
}

.footer-links a {
  display: block;
  color: #aaa;
  text-decoration: none;
  margin-bottom: 5px;
}

.footer-links a:hover {
  color: white;
}

/* DESNO */
.footer-right {
  display: flex;
  align-items: center;
}

/* DONJI DEO */
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
}

/*  EWIND  */
/* HERO */
.model-hero,
.top-gallery {
  position: relative;
  overflow: hidden;
}

.model-image,
.top-gallery img {
  width: 100%;
  display: block;
  height: auto;
}

.model-text {
  position: absolute;
  left: 70px;
  bottom: 80px;
  z-index: 10;
  color: white;
}

.model-text h1 {
  font-size: 60px;
  margin: 0;
}

.model-text p {
  font-size: 20px;
}

/* MOBILE */
@media (max-width: 768px) {

  .model-text {
    left: 15px;
    bottom: 20px;
  }

  .model-text h1 {
    font-size: 24px;
  }

  .model-text p {
    font-size: 14px;
    max-width: 260px;
  }

  .config-btn {
    margin-top: 10px;
    padding: 10px 18px;
    font-size: 13px;
  }

}

/* SPECIFIKACIJE */
.specs {
  padding: 80px 20px;
  text-align: center;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
}

.spec-grid h4 {
  margin-bottom: 10px;
}

.spec-grid p {
  font-size: 18px;
}

.model-gallery img {
  width: 100%;
  display: block;
}

/* SLIDER */
.mini-slider {
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: 0.4s;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
}

/* strelice */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* gura language skroz desno */
.nav {
  display: flex;
  align-items: center;
  width: 100%;
}

/* language blok */
.lang {
  margin-left: auto;
  position: relative;
  color: white;
  cursor: pointer;

  display: flex;          /* KLJUČNO */
  align-items: center;    /* poravnanje */
  gap: 6px;               /* razmak ikonice i teksta */
}

/* dropdown */
.lang-dropdown {
  position: absolute;
  top: 30px;
  right: 0;
  background: black;
  padding: 10px;
  display: none;
  flex-direction: column;
}

.lang-dropdown a {
  color: white;
  text-decoration: none;
  padding: 5px 10px;
}

.lang-dropdown a:hover {
  background: #333;
}

/* hover da otvori */
.lang:hover .lang-dropdown {
  display: flex;
}

.lang span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 24px;
}

/* osnovni link */
.nav a {
  position: relative;
  text-decoration: none;
  color: white;
  padding: 5px 0;
}

/* linija (skrivena) */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #00aaff;
  transition: 0.3s;
}

/* hover efekat */
.nav a:hover::after {
  width: 100%;
}

.nav a::after {
  transition: width 0.4s ease;
}

.config-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  color: white;
  border: 1px solid white;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

/* hover efekat */
.config-btn:hover {
  background: white;
  color: black;
}

.model-text {
  position: absolute;
  left: 10%;
  bottom: 20%;
  color: white;
}

.config-btn {
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  z-index: 999;
}

/* popup */
.config-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 90%;
  max-width: 1200px;
  height: 90vh;

  background: white;
  padding: 20px;
  overflow-y: auto;
  border-radius: 10px;
}

/* slika */
.config-popup img {
  width: 100%;
  height: auto;
}

/* dugme X */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 20px;
}

.config-popup {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -60%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

.split {
  display: flex;
  align-items: center;
  padding: 80px 10%;
  gap: 50px;
}

/* tekst */
.split-text {
  flex: 1;
}

.split-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.split-text p {
  font-size: 18px;
  line-height: 1.6;
}

/* slika */
.split-image {
  flex: 1;
}

.split-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .split {
    flex-direction: column;
    text-align: center;
  }

  .split.reverse {
    flex-direction: column;
  }
}

.top-gallery img {
  width: 100%;
  display: block;
  transition: 0.3s;
}

.top-gallery img {
  width: 100%;
  display: block;
  transition: 0.3s;
}

.top-gallery img:hover {
  transform: scale(1.02);
}

.model-gallery img {
  transition: transform 0.4s ease;
}

.model-gallery img:hover {
  transform: scale(1.03);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 80px 10%;
}

.gallery img {
  width: 100%;
  display: block;
  cursor: pointer;
  transition: 0.3s;
}

.gallery img:hover {
  transform: scale(1.03);
}

.gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.lb-nav a.lb-prev::after,
.lb-nav a.lb-next::after {
  font-size: 40px;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
  opacity: 1 !important;
  display: block !important;
}

/* strelice */
.lb-nav a.lb-prev::before {
  content: "‹";
  font-size: 40px;
  color: white;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-nav a.lb-next::before {
  content: "›";
  font-size: 40px;
  color: white;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* X dugme */
.lb-data .lb-close::before {
  content: "✕";
  font-size: 25px;
  color: white;
  position: absolute;
  right: 20px;
  top: 10px;
}

.lb-nav a,
.lb-close {
  opacity: 1 !important;
}

/* overlay */
.img-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* slika */
.img-box img {
  max-width: 90%;
  max-height: 90%;
}

/* X */
.img-box .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }

.img-box {
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* HERO SEKCIJA */
.gallery-hero {
  position: relative;
  width: 100%;
}

.gallery-hero img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

.contact-hero img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  display: block;
}

.contact-hero {
  position: relative;
}

.contact-hero-text {
  position: absolute;
  left: 7%;
  top: 55%;
  transform: translateY(-50%);
  z-index: 2;
  color: white;
}

.contact-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

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

.contact-hero-text {
  position: absolute;
  left: 7%;
  top: 55%;
  transform: translateY(-50%);
  z-index: 2;
  color: white;
}

.contact-hero-text h1 {
  font-size: 72px;
  margin-bottom: 20px;
}

.contact-hero-text p {
  font-size: 28px;
  max-width: 700px;
  line-height: 1.5;
}

@media (max-width: 768px) {

  .contact-hero-text {
    left: 20px;
    top: 55%;
  }

  .contact-hero-text h1 {
    font-size: 42px;
  }

  .contact-hero-text p {
    font-size: 18px;
    max-width: 300px;
  }

}

/* TEKST PREKO SLIKE */
.gallery-text {
  position: absolute;
  bottom: 50px;
  left: 10%;
  color: white;
  max-width: 500px;
}

.gallery-text h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.gallery-text p {
  font-size: 16px;
  line-height: 1.5;
}

.gallery-hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.3);
}

.gallery-text {
  position: absolute;
  z-index: 2;
}

.contact {
  padding: 80px 10%;
  text-align: center;
}

.contact h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.subtitle {
  margin-bottom: 40px;
  color: #555;
}

.contact-wrapper {
  display: flex;
  gap: 50px;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
}

/* LEVA STRANA */
.contact-info {
  flex: 1;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.info-item span {
  font-size: 24px;
}

/* DESNA STRANA */
.contact-form {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.contact-form .row {
  display: flex;
  gap: 10px;
}

.contact-form button {
  padding: 12px 25px;
  background: #2f8f8f;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-form .row {
    flex-direction: column;
  }
}

.info-item span {
  background: #2f8f8f;
  color: white;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.map iframe {
  width: 100%;
  display: block;
}

/* FORMA */
.contact-form {
  flex: 1;
  background: white;
  padding: 40px;
  border-radius: 10px;
}

/* INPUTI NORMALNI */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: none;
  border-bottom: 2px solid #ddd;
  font-size: 14px;
}

/* RED (2 inputa u jednom redu) */
.contact-form .row {
  display: flex;
  gap: 15px;
}

/* PORUKA */
.contact-form textarea {
  height: 120px;
  resize: none;
}

/* DUGME */
.contact-form button {
  width: 100%;
  padding: 14px;
  background: #2f8f8f;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .contact-form .row {
    flex-direction: column;
  }
}

/* OVERLAY */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* POPUP BOX */
.popup-content {
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  position: relative;

  transform: scale(0.9);
  opacity: 0;
  transition: 0.3s;
}

/* AKTIVNO */
.popup.active {
  display: flex;
}

.popup.active .popup-content {
  transform: scale(1);
  opacity: 1;
}

/* IFRAME */
.popup iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* CLOSE DUGME */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  color: #333;
  background: white;
  border-radius: 50%;
  padding: 5px 10px;
}

/* HOVER */
.close-btn:hover {
  background: #eee;
}

body.popup-open {
  overflow: hidden;
}

.config-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.specs {
  max-width: 900px;
  margin: 50px auto;
  padding: 20px;
}

.specs h2 {
  margin-bottom: 20px;
}

.specs table {
  width: 100%;
  border-collapse: collapse;
}

.specs td {
  border: 1px solid #ccc;
  padding: 10px;
}

.specs tr:nth-child(even) {
  background: #dddddd;
}

.specs tr:nth-child(odd) {
  background: #f3f3f3;
}

.spec-note {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 768px) {

  .specs td {
    font-size: 14px;
    padding: 8px;
  }

}

.popup-content {
  width: 90%;
  max-width: 1000px;
  height: 90vh;

  overflow-y: auto;   /* 🔥 OVO JE KLJUČ */
}

.popup-content {
  padding: 30px;
}

.specs table {
  margin-top: 20px;
}

.specs table {
  width: 100%;
  border-collapse: collapse;
}

.specs td {
  border: 1px solid #bfbfbf;
  padding: 12px;
}

/* TAMNIJI REDOVI */
.specs tr:nth-child(even) {
  background: #dcdcdc;
}

.specs tr:nth-child(odd) {
  background: #eeeeee;
}

.specs td:first-child {
  font-weight: 500;
}

.specs td:last-child {
  text-align: right;
  font-weight: 600;
}

.specs tr:hover {
  background: #cfcfcf;
  transition: 0.2s;
}

.specs {
  max-width: 900px;
  margin: 40px auto;
}

.model-hero {
  position: relative;
}



@media (max-width: 768px) {

 
  .model-text h1 {
    font-size: 26px;
  }

  .model-text p {
    font-size: 14px;
  }

  .config-btn {
    margin-top: 10px;
    font-size: 14px;
    padding: 8px 16px;
  }

}




@media (max-width: 768px) {

  .model-hero {
    height: 50vh;
  }

}

@media (max-width: 768px) {

  .model-hero {
    height: auto;   /* 🔥 ključ */
  }

  .model-image {
    height: auto;
    object-fit: contain;  /* 🔥 NE cover */
  }

}

@media (max-width: 768px) {

  .model-hero {
    height: auto;          /* 🔥 ukida sečenje */
  }

  .model-image {
    width: 100%;
    height: auto;          /* 🔥 slika prirodna */
    object-fit: contain;   /* 🔥 vidi se cela */
  }

}

@media (max-width: 768px) {

  .hero {
    background-size: contain;
    background-position: center 80%;
  }

}


.hero {
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* desktop */
}

@media (max-width: 768px) {

  .hero {
    height: auto;
  }

  .hero-img {
    height: auto;
    object-fit: contain;  /* 🔥 ceo auto vidljiv */
  }

  .overlay {
    position: absolute;
    bottom: 20px;
    left: 15px;
  }

}

.model-hero {
  position: relative;
  overflow: hidden;
}

.model-image {
  width: 100%;
  height: auto;   /* 🔥 da se NE seče */
  display: block;
}

.model-text {
  position: absolute;
  left: 20px;
  bottom: 30px;
  color: white;
}

@media (max-width: 768px) {

  .model-text {
    bottom: 20px;
    left: 15px;
  }

  .model-text h1 {
    font-size: 22px;
  }

  .model-text p {
    font-size: 14px;
  }

}

/* 🔥 FIX ZA INDEX SLIKE */

.model-hero {
  position: relative;
  overflow: hidden;
  height: auto;   /* ključ */
}

.model-image {
  width: 100%;
  height: auto;   /* 🔥 NE sme 100% */
  object-fit: contain; /* 🔥 vidi se ceo auto */
  display: block;
}

/* tekst */
.model-text {
  position: absolute;
  left: 10%;
  bottom: 20%;
  color: white;
}

/* MOBILE */
@media (max-width: 768px) {

  .model-text {
    left: 15px;
    bottom: 20px;
  }

  .model-text h1 {
    font-size: 24px;
  }

  .model-text p {
    font-size: 14px;
  }

}

/* 🔥 FINAL HERO FIX */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* tekst */
.overlay {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: white;
}

/* MOBILE */
@media (max-width: 768px) {

  .hero-img {
    object-fit: contain; /* ceo auto */
  }

  .overlay {
    bottom: 20px;
    left: 15px;
  }

  .overlay h1 {
    font-size: 24px;
  }

  .overlay p {
    font-size: 14px;
  }

}

.hero {
  margin: 0;
  padding: 0;
}

.hero + .hero {
  margin-top: -5px; /* uklanja beli razmak između slika */
}

.overlay {
  position: absolute;
  bottom: 10%;
  left: 10%;
}

@media (max-width: 768px) {

  .overlay {
    bottom: 15px;
    left: 15px;
  }

}

.hero {
  margin-bottom: 0;
  padding-bottom: 0;
}

section {
  margin: 0;
}

.hero-img {
  display: block; /* 🔥 obavezno */
}

.hero {
  line-height: 0;   /* 🔥 ubija razmak ispod slike */
}

.hero-img {
  display: block;
  vertical-align: top; /* 🔥 dodatni fix za Chrome */
}

.factory {
  margin-top: -34px;
}

/* Scroll-to-top button styling */
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: #2f8f8f;
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollToTopBtn:hover {
  background-color: #EC4133;
  transform: translateY(-5px);
}

#scrollToTopBtn.show {
  display: flex;
}

.top-gallery {
  position: relative;
}
 
@media (max-width: 768px) {
.top-gallery {
  position: relative;
  overflow: hidden;
}

.top-gallery img {
  width: 100%;
  display: block;
}

.top-gallery .model-text {
  position: absolute;
  left: 70px;
  bottom: 80px;
  z-index: 10;
  color: white;
}
}

  .top-gallery .config-btn {
    margin-top: 10px;
    padding: 10px 18px;
    font-size: 13px;
  }

}

@media (max-width: 768px) {

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 525px) {

  .gallery {
    grid-template-columns: 1fr;
  }

}



/* MOBILE FIX */
@media (max-width: 768px) {

  .top-gallery .model-text {
    top: auto;
    bottom: 20px;
  }

}



