.banner-image {
  background-image: url('Slike/Kontakt/background.webp');
  background-position: center;
}

img {
  filter: sepia(0%) saturate(100%) brightness(50%) hue-rotate(0deg);
}

img:hover {
  filter: sepia(0%) saturate(100%) brightness(80%) hue-rotate(0deg);
}

/* ── Glassmorphism contact form ── */
.glass-form-wrap {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 820px;
  margin: 1.5rem auto 0;
  text-align: left;
}

.fg {
  position: relative;
  margin-bottom: 1.25rem;
}

.fg input,
.fg textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: #fff;
  width: 100%;
  padding: 1rem 1rem 0.4rem;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  resize: none;
}

.fg input:focus,
.fg textarea:focus {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}

.fg input::placeholder,
.fg textarea::placeholder {
  color: transparent;
}

.fg label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  pointer-events: none;
  transition: all 0.18s ease;
  margin: 0;
}

.fg textarea ~ label {
  top: 1rem;
  transform: none;
}

.fg input:focus ~ label,
.fg input:not(:placeholder-shown) ~ label,
.fg textarea:focus ~ label,
.fg textarea:not(:placeholder-shown) ~ label {
  top: 0.35rem;
  transform: none;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
}

/* fix: textarea label when focused */
.fg textarea ~ label {
  top: 1rem;
  transform: none;
}

.fg input.is-invalid,
.fg textarea.is-invalid {
  border-color: rgba(220,53,69,0.6);
}

.btn-glass-send {
  background: linear-gradient(135deg, #1a6fc4, #0ea5e9);
  border: none;
  border-radius: 10px;
  color: #fff;
  padding: 0.75rem 2.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: opacity 0.2s, transform 0.15s;
  display: block;
  margin: 1.5rem auto 0;
}

.btn-glass-send:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: #fff;
}
