/* usluga.css - stilovi za stranicu prikaza detalja usluge */

/* Osnovni stilovi */
body { background: var(--bg-900);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

.main-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.service-detail {
  background: var(--surface);
  padding: 2.5rem 3rem;
  border-radius: 16px;
  box-shadow: 0 6px 20px var(--shadow);
  max-width: 600px;
  width: 100%;
  color: var(--text-main);
  animation: fadeIn 0.6s ease;
  text-align: center;
}

.service-detail h1 { text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  font-family: 'Playfair Display', serif;
  color: var(--muted);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.service-detail .img-wrapper img {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 12px rgba(180, 90, 120, 0.2);
  margin-bottom: 1.5rem;
}

.service-detail .description {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-align: left;
  line-height: 1.5;
}

.service-detail .price {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--muted);
}

.service-detail .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  font-weight: 600;
  padding: 0.85rem 2.5rem;
  font-size: 1.2rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 6px 14px var(--shadow);
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease, transform 0.2s ease;
}

.service-detail .btn-primary:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  transform: translateY(-2px);
}

.service-detail p a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-detail p a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Fade in animacija */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsivnost za mobilne uređaje */
@media (max-width: 480px) {
  .main-container {
    padding: 0.8rem;
  }

  .service-detail {
    padding: 1.5rem 1.8rem;
    max-width: 100%;
    border-radius: 12px;
  }

  .service-detail h1 { text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .service-detail .description {
    font-size: 1rem;
  }

  .service-detail .btn-primary {
    padding: 0.75rem 1.8rem;
    font-size: 1rem;
  }
}
