
/*---------------------
  Team Member
-----------------------*/
.team-section {
  background: #f2f4f5;
}
.team-section .section-title {
  float: left;
  margin-bottom: 30px;
}
.team-section .primary-btn {
  float: right;
  margin-top: 25px;
}

.team-members .member-pic {
  position: relative;
}
.team-members .member-pic:before {
  position: absolute;
  right: -65px;
  top: 50%;
  height: 70px;
  width: 70px;
  background: #ffffff;
  content: "";
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  margin-top: -35px;
}
.team-members .member-pic.second:before {
  top: auto;
  bottom: -60px;
  left: 50%;
  margin-left: -35px;
}
.team-members .member-pic img {
  min-width: 100%;
}
.team-members .member-text {
  padding: 95px 30px 50px 45px;
  background: #ffffff;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 99;
}
.team-members .member-text span {
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  color: #FFD700;
  line-height: 36px;
}
.team-members .member-text h5 {
  color: #191919;
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 18px;
  font-weight: 500;
}
.team-members .member-text p {
  color: #6e6e6e;
  margin-bottom: 5px;
}
.team-members .member-text .member-social a {
  display: inline-block;
  font-size: 12px;
  color: #6e6e6e;
  margin-right: 8px;
}

/*---------------------
  kontakt info
-----------------------*/

/*
.contact-info h5 {
  font-weight: 600;
  margin-top: 10px;
  color: #333;
}
.contact-info p a {
  color: #555;
  text-decoration: none;
}
.contact-info p a:hover {
  color: #d4af37;
}
*/

.contact-box {
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  max-width: 500px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.contact-item i {
  font-size: 26px;
  color: #d4af37; /* zlatna boja */
  margin-right: 20px;
  min-width: 30px;
  text-align: center;
}

.contact-text h5 {
  margin: 0;
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

.contact-text p {
  margin: 3px 0 0;
  color: #666;
}

.contact-text a {
  color: #555;
  text-decoration: none;
}

.contact-text a:hover {
  color: #d4af37;
}


/* MODAL UPISI */
/* CTA gumb u tvom stilu */
.btn-upis{
  background:#d4af37; color:#111; border:none; padding:12px 20px;
  border-radius:10px; font-weight:700; cursor:pointer; display:inline-block;
}
.btn-upis:hover{ filter:brightness(1.06); text-decoration:none; }

/* Modal wrapper */
.upis-modal{
  position:fixed; inset:0; background:rgba(0,0,0,.6);
  display:none; align-items:center; justify-content:center;
  z-index:10000; padding:20px;
}
.upis-modal.show{ display:flex; }

/* Modal dijalog */
.upis-dialog{
  background:#fff; border-radius:16px; width:100%; max-width:560px;
  box-shadow:0 20px 50px rgba(0,0,0,.25); position:relative;
  padding:28px 28px 24px;
}
.upis-close{
  position:absolute; top:10px; right:12px; background:transparent; border:none;
  font-size:28px; line-height:1; cursor:pointer; color:#666;
}
.upis-title{ margin:0 0 16px; font-weight:800; color:#222; }
.upis-title i{ color:#d4af37; margin-right:8px; }

/* Grid forme */
.upis-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:14px;
}
.upis-grid label{ display:flex; flex-direction:column; font-weight:600; color:#444; }
.upis-grid label.full{ grid-column:1 / -1; }

.upis-grid input, .upis-grid select, .upis-grid textarea{
  margin-top:6px; padding:12px 12px; border:1px solid #e5e7eb; border-radius:10px;
  outline:none; font-size:15px; background:#fff;
}
.upis-grid input:focus, .upis-grid select:focus, .upis-grid textarea:focus{
  border-color:#d4af37; box-shadow:0 0 0 3px rgba(212,175,55,.2);
}

.gdpr{ font-weight:500; }
.gdpr input{ margin-right:8px; }

.btn-send{
  margin-top:10px; width:100%; padding:12px 16px; border-radius:10px;
  background:#111; color:#fff; border:none; font-weight:800; cursor:pointer;
}
.btn-send:hover{ background:#000; }
.upis-msg{ margin-top:10px; font-size:14px; }

@media (max-width:640px){
  .upis-grid{ grid-template-columns:1fr; }
}



/* ===== PORTFOLIO / GALERIJA ===== */

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.portfolio-filters li {
    cursor: pointer;
    position: relative;
    color: #444;
    transition: color 0.2s ease;
}

.portfolio-filters li.active,
.portfolio-filters li:hover {
    color: #d4af37; /* narančasta iz templata */
}

.portfolio-filters li.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #d4af37;
}

/* GRID */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 120px;
    gap: 15px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
}

/* “masonry” efekt */
.portfolio-item.big {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-item.tall {
    grid-row: span 2;
}

/* skrivanje preko klase, da je JS jednostavniji */
.portfolio-item.is-hidden {
    display: none !important;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.portfolio-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.portfolio-item:hover::after {
    opacity: 1;
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    .portfolio-item.big,
    .portfolio-item.tall {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 576px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 180px;
    }

    .portfolio-item.big,
    .portfolio-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

