/* Reset i baza */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body { background: var(--bg-900);
  color: var(--muted);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.header {
  background: #be185d;
  padding: 1.5rem 0;
  color: var(--card);
  box-shadow: 0 3px 8px rgba(190, 24, 93, 0.6);
}

.header h1 { text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  margin-left: 1rem;
  user-select: none;
}

.nav {
  margin-top: 0.7rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.nav a {
  color: #fdf2f8;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: #9d174d;
  box-shadow: 0 0 12px #fce7f3;
}

/* Sekcija usluga */

.services {
  padding: 4rem 0 6rem 0;
  text-align: center;
}

.services h2 { text-shadow: 0 2px 8px rgba(0,0,0,0.2);
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-weight: 700;
  user-select: none;
}

.intro-text {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  font-weight: 500;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid za kartice */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.4rem;
}

/* Kartica usluge */

.service-card-old { border-radius: 24px; border: 1px solid var(--border); background: var(--card);
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(190,24,93,0.12);
  overflow: hidden;
  cursor: pointer;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  user-select: none;
}

.service-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.service-card:focus {
  outline: 3px solid #be185d;
  outline-offset: 4px;
}

/* Slika u kartici */

.img-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-bottom: 2px solid #be185d;
  position: relative;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .img-wrapper img,
.service-card:focus .img-wrapper img {
  transform: scale(1.08);
}

/* Info o usluzi */

.service-info {
  padding: 1.5rem 1.8rem 2rem 1.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  color: var(--accent);
  font-weight: 700;
}

.service-info p {
  font-size: 1rem;
  color: var(--muted);
  flex-grow: 1;
  margin-bottom: 1rem;
  font-weight: 500;
}

.price {
  font-weight: 700;
  color: #9d174d;
  font-size: 1.1rem;
}

/* Poziv na akciju */

.call-to-action {
  margin-top: 4rem;
  background: #be185d;
  color: var(--card);
  padding: 2.2rem 3rem;
  border-radius: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 30px rgba(190,24,93,0.5);
  user-select: none;
  transition: background-color 0.3s ease;
}

.call-to-action p {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.btn-primary {
  background-color: #fdf2f8;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.9rem 2.8rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 6px 15px rgba(190,24,93,0.3);
  transition: background-color 0.25s ease, color 0.25s ease;
  user-select: none;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--accent);
  color: #fdf2f8;
  box-shadow: 0 8px 24px rgba(190,24,93,0.6);
  outline: none;
  cursor: pointer;
}

/* Footer */

.footer {
  background: #1e293b;
  color: #cbd5e1;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  user-select: none;
  font-weight: 500;
  line-height: 1.5;
  margin-top: auto;
}

.footer a {
  color: #93c5fd;
  font-weight: 600;
  margin: 0 0.4rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover,
.footer a:focus {
  color: #60a5fa;
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 600px) {
  .nav {
    flex-wrap: wrap;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .call-to-action {
    padding: 1.8rem 1.5rem;
    max-width: 100%;
  }
}
