* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
  font-family: "Inter", sans-serif;
  background: #E1C485;
  color: #fff;
  overflow-x: hidden;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.site-header {
  background: #E1C485;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo img { height: 40px; }

.main-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav a::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:hover { transform: translateY(-1px); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a:active { opacity: 0.7; }

/* FOOTER */
.site-footer {
  border-top: 1px solid rgba(0,0,0,0.25);
  padding: 18px 0;
  margin-top: 40px;
}
.footer-inner { text-align: center; }

/* MAIN CONTENT */
.page-title {
  font-family:"Great Vibes";
  text-align: center;
  margin: 50px 0;
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-bottom: 60px;
}

/* SERVICE CARD (Glassmorphism) */
.service-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 35px;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.15);
}

.service-card.reverse {
  flex-direction: row-reverse;
}

.service-text {
  flex: 1;
}

.service-text h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* MEDIA WRAPPER & HINT */
.service-media-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.image-hint {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
  font-style: italic;
  margin: 0;
}

/* MEDIA PREVIEW */
.service-media {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.service-media img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-media:hover img {
  transform: scale(1.05);
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-media:hover .media-overlay {
  opacity: 1;
}

.media-overlay span {
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* LIGHTBOX MODAL */
.lightbox-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 1001;
  max-width: 90vw;
  max-height: 85vh;
  background: rgba(255,255,255,0.1);
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}

.lightbox-content img {
  max-width: 100%;
  max-height: calc(85vh - 20px);
  border-radius: 8px;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
}
.lightbox-close:hover { opacity: 1; }

/* RESPONSIVE (Mobilni uređaji) */
@media (max-width: 768px) {
  .service-card, .service-card.reverse {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
    gap: 25px;
  }
  .service-media img {
    height: 240px;
  }
}