* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: "Inter", sans-serif;
  color: #ffffff;
  background: #E1C485;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.container {
  width: 95%;
  max-width: 1180px;
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: #E1C485;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.logo img {
  height: 4vw;
  min-height: 30px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(10px, 1.5vw, 15px);
  font-weight: 600;
  padding: 6px 8px;
}

.main-nav a:not(.btn-primary) {
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav a:not(.btn-primary)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:not(.btn-primary):hover {
  transform: translateY(-1px);
}

.main-nav a:not(.btn-primary):hover::after {
  transform: scaleX(1);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: clamp(12px, 2.5vw, 18px);
  height: 44px;
  padding: 0 20px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-radius: 12px;
  background: #ffffff;
  color: #E1C485 !important;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
  background: #D3D3D3;
  color: #ffffff !important;
  transform: translateY(-2px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Forma */
.form-section {
  padding: 50px 0 70px;
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
}

.form-card {
  background: #ffffff;
  color: #0f172a;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 36px;
  border-radius: 28px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.8s ease forwards;
}

.form-header {
  text-align: center;
  margin-bottom: 28px;
}

.form-header h1 {
  font-family: "League Spartan", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  color: #E1C485;
  line-height: 1.1;
  margin-bottom: 10px;
}

.form-header p {
  font-size: 15px;
  color: #555;
}

/* Radio dugmad jedno ispod drugog sa kružićem */
.group-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}

.radio-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid #eaeaea;
  border-radius: 14px;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.2s ease;
}

.radio-option:hover {
  border-color: #E1C485;
  background: #fffdf8;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ccc;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s ease;
}

.radio-circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E1C485;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
}

.radio-option input[type="radio"]:checked + .radio-circle {
  border-color: #E1C485;
}

.radio-option input[type="radio"]:checked + .radio-circle::after {
  transform: translate(-50%, -50%) scale(1);
}

.radio-option:has(input[type="radio"]:checked) {
  border-color: #E1C485;
  background: #fdf9f0;
  box-shadow: 0 0 0 3px rgba(225, 196, 133, 0.2);
}

.radio-text {
  display: flex;
  flex-direction: column;
}

.radio-text strong {
  font-size: 15.5px;
  color: #111;
}

.radio-text small {
  font-size: 13px;
  color: #666;
}

/* Skriveni ostatak forme dok se ne izabere uloga */
.hidden-fields {
  display: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.hidden-fields.visible {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

.role-banner {
  background: #fdf9f0;
  border-left: 4px solid #E1C485;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}

.field-hint {
  font-weight: 400;
  font-size: 12.5px;
  color: #777;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group input[type="date"] {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #eaeaea;
  border-radius: 14px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #000;
  background: #fafafa;
  transition: all 0.2s ease;
  outline: none;
}

.form-group input:focus {
  border-color: #E1C485;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(225, 196, 133, 0.2);
}

/* Upload fotografije */
.file-upload-box {
  position: relative;
  border: 2px dashed #d8c394;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  background: #fdfaf3;
  cursor: pointer;
  transition: background 0.2s ease;
}

.file-upload-box:hover {
  background: #f9f3e3;
}

.file-upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-status {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  pointer-events: none;
}

/* Checkbox za politiku privatnosti */
.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 400 !important;
  color: #444 !important;
  cursor: pointer;
  line-height: 1.45;
}

.checkbox-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #E1C485;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-option a {
  color: #b89444;
  font-weight: 600;
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
  background: #E1C485;
  color: #ffffff;
  border: none;
  height: 50px;
  border-radius: 14px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  margin-top: 8px;
}

.submit-btn:hover {
  background: #d1b16f;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(225, 196, 133, 0.4);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

#form-status {
  margin-top: 16px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  display: none;
  padding: 12px;
  border-radius: 12px;
}

.status-success {
  background: #e6f4ea;
  color: #1e8e3e;
}

.status-error {
  background: #fce8e6;
  color: #d93025;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  padding: 24px 0;
  margin-top: 56px;
  background: #E1C485;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 650px) {
  .form-card {
    padding: 28px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .footer-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}