/* ==========================================
   OSNOVNI STILOVI IZ STYLES.CSS (Header, Footer, Body)
   ========================================== */
* {
  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 */
.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;
}

/* Navigacija */
.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);
}

.main-nav a:not(.btn-primary):active {
  transform: translateY(0);
  opacity: 0.7;
}

/* Dugme u navigaciji (Ponude) */
.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);
}

/* Animacija učitavanja */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 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;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #f0f0f0;
}


/* ==========================================
   DODATNI STILOVI ZA FORMU
   ========================================== */
.form-section {
  padding: 50px 0 70px;
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
}

.form-card {
  background: #ffffff;
  color: #0f172a;
  max-width: 650px;
  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: 30px;
}

.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;
}

.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;
}

.form-group input,
.form-group select,
.form-group textarea {
  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,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #E1C485;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(225, 196, 133, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.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:active {
  transform: translateY(0);
}

/* Poruka nakon uspešnog slanja */
#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;
}

/* Mobilni prikaz */
@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;
  }
}