/* KONTAKT.CSS - Specifični stilovi za Kontakt stranicu */

/* HERO KONTAKT */
.kontakt-hero {
  padding: 80px 0 60px;
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 60%);
  position: relative;
  overflow: hidden;
}

.kontakt-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(55, 65, 81, 0.1), transparent 70%);
  pointer-events: none;
}

.kontakt-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 50px;
  align-items: start;
}

.kontakt-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.kontakt-title .highlight {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kontakt-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 90%;
}

.kontakt-stats {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.kontakt-stat {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(55, 65, 81, 0.7);
  min-width: 200px;
}

.stat-icon {
  font-size: 1.8rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.stat-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

/* CONTACT CARD */
.contact-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.card-header {
  padding: 20px;
  background: linear-gradient(135deg, rgba(246, 196, 67, 0.1), rgba(230, 57, 70, 0.1));
  border-bottom: 1px solid rgba(55, 65, 81, 0.9);
  display: flex;
  align-items: center;
  gap: 15px;
}

.card-icon {
  font-size: 2rem;
}

.card-header h3 {
  font-size: 1.3rem;
  color: var(--text-main);
  margin: 0;
}

.card-content {
  padding: 20px;
}

.card-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.emergency-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.emergency-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: rgba(55, 65, 81, 0.3);
  border-radius: 10px;
  text-decoration: none;
  transition: background-color var(--transition-fast);
}

.emergency-contact:hover {
  background: rgba(55, 65, 81, 0.5);
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

.card-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(246, 196, 67, 0.1);
  border: 1px solid rgba(246, 196, 67, 0.3);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--accent-yellow);
}

.note-icon {
  font-size: 1rem;
}

/* KONTAKT MAIN SECTION */
.kontakt-main {
  padding: 80px 0;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
}

/* KONTAKT FORMA */
.kontakt-forma {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.form-header {
  margin-bottom: 30px;
}

.form-header h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FORM TABS */
.form-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.form-tab {
  padding: 10px 18px;
  background: rgba(55, 65, 81, 0.3);
  border: 1px solid rgba(55, 65, 81, 0.9);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.form-tab:hover {
  color: var(--text-main);
  border-color: var(--accent-yellow);
}

.form-tab.active {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-red));
  color: #020617;
  border-color: transparent;
  font-weight: 500;
}

/* FORM CONTENT */
.form-content {
  display: none;
}

.form-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  background: rgba(2, 6, 23, 0.8);
  border: 1px solid rgba(55, 65, 81, 0.9);
  border-radius: 10px;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-yellow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6b7280;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* FILE UPLOAD */
.file-upload {
  position: relative;
  margin-bottom: 5px;
}

.file-upload input[type="file"] {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.file-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(55, 65, 81, 0.3);
  border: 1px dashed rgba(148, 163, 184, 0.5);
  border-radius: 10px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.file-label:hover {
  background: rgba(55, 65, 81, 0.5);
  border-color: var(--accent-yellow);
}

.file-icon {
  font-size: 1.2rem;
}

.file-text {
  font-size: 0.9rem;
}

.file-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.8;
}

/* CHECKBOXES */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent-yellow);
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.checkbox-group a {
  color: var(--accent-yellow);
  text-decoration: underline;
}

/* SUBMIT BUTTON */
.submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-red));
  border: none;
  border-radius: 10px;
  color: #020617;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-fast);
  margin-top: 25px;
  position: relative;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-icon {
  font-size: 1.2rem;
}

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid #020617;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.form-note {
  margin-top: 15px;
  padding: 10px 12px;
  background: rgba(55, 65, 81, 0.3);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* KONTAKT INFORMACIJE */
.kontakt-informacije {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-section {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  border-radius: var(--radius-lg);
  padding: 25px;
}

.info-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text-main);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(55, 65, 81, 0.7);
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  min-width: 40px;
  text-align: center;
}

.contact-content h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.contact-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 4px;
}

.contact-content strong {
  color: var(--accent-yellow);
  min-width: 120px;
  display: inline-block;
}

/* MAP CONTAINER */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
}

.map-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid rgba(55, 65, 81, 0.9);
  border-radius: 8px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.map-btn:hover {
  background: rgba(55, 65, 81, 0.8);
  border-color: var(--accent-yellow);
}

.map-btn.secondary {
  background: transparent;
}

/* CONTACT PERSONS */
.contact-persons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.person-card {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: rgba(55, 65, 81, 0.3);
  border-radius: 12px;
  transition: background-color var(--transition-fast);
}

.person-card:hover {
  background: rgba(55, 65, 81, 0.5);
}

.person-avatar {
  font-size: 2rem;
  min-width: 50px;
  height: 50px;
  background: rgba(246, 196, 67, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.person-info h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--text-main);
}

.person-title {
  font-size: 0.85rem;
  color: var(--accent-yellow);
  margin-bottom: 8px;
}

.person-contact {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.contact-type {
  display: inline-block;
  min-width: 20px;
}

/* ADDITIONAL INFO */
.additional-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-card {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: rgba(55, 65, 81, 0.3);
  border-radius: 12px;
}

.info-icon {
  font-size: 1.8rem;
  min-width: 40px;
  text-align: center;
}

.info-content h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.info-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 4px;
}

/* FAQ SECTION */
.faq-section {
  padding: 80px 0;
  background: radial-gradient(circle at center, #0f172a 0%, #020617 100%);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid rgba(55, 65, 81, 0.9);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: rgba(15, 23, 42, 0.9);
  border: none;
  color: var(--text-main);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background: rgba(15, 23, 42, 0.95);
}

.faq-icon {
  font-size: 1.2rem;
}

.faq-text {
  flex: 1;
  font-size: 1rem;
  font-weight: 500;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-answer {
  padding: 0 20px;
  display: none;
  background: rgba(15, 23, 42, 0.7);
}

.faq-answer p {
  padding: 20px 0;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  border-top: 1px solid rgba(55, 65, 81, 0.5);
}

/* CTA KONTAKT */
.kontakt-cta {
  padding: 80px 0;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

.cta-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-actions .btn-lg.whatsapp {
  background: #25D366;
  color: #fff;
}

.cta-actions .btn-lg.whatsapp:hover {
  background: #128C7E;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .kontakt-grid {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .kontakt-hero-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  
  .kontakt-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }
  
  .contact-details {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .kontakt-stats {
    flex-direction: column;
    align-items: stretch;
  }
  
  .kontakt-stat {
    min-width: auto;
  }
  
  .form-tabs {
    flex-direction: column;
  }
  
  .form-tab {
    text-align: center;
  }
  
  .map-actions {
    flex-direction: column;
  }
  
  .map-btn {
    justify-content: center;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-actions .btn-lg {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .contact-persons {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .kontakt-forma {
    padding: 20px;
  }
  
  .info-section {
    padding: 20px;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .contact-icon {
    margin: 0 auto;
  }
  
  .person-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .person-avatar {
    margin-bottom: 10px;
  }
  
  .info-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .faq-question {
    padding: 15px;
  }
  
  .faq-text {
    font-size: 0.9rem;
  }
}