* {
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  background: #ffffff;
  color: #111111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  padding: 28px 32px 72px;
}

/* Gornji header kao na referentnom portfolio sajtu */
.site-header {
  max-width: 1320px;
  margin: 0 auto 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #111111;
  text-decoration: none;
}

.brand-subtitle {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #666666;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-bottom: 4px;
}

.nav-link {
  background: none;
  border: none;
  padding: 2px 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666666;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Glavni prostor stranice */
.page-content {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

/* Početna (HOME) — velika uvodna fotografija */
.home-hero {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.home-hero-figure {
  width: 100%;
  margin: 0;
  background: #f5f5f5;
  cursor: zoom-in;
  overflow: hidden;
}

.home-hero-figure img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #ffffff;
  display: block;
  margin: 0 auto;
}

/* Mozaik galerija za COLOR i B&W sa većom belinom i max 4 slike u redu */
#gallery {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mosaic-row {
  display: flex;
  gap: 22px;
  align-items: stretch;
  width: 100%;
}

.photo-item {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  cursor: zoom-in;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.photo-item:hover {
  transform: scale(1.01);
  z-index: 2;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CONTACT sekcija */
.contact-section {
  width: 100%;
  max-width: 560px;
  margin: 24px 0 0;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.65;
  color: #111111;
}

.contact-location {
  font-size: 14px;
  color: #222222;
  margin-bottom: 20px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-label {
  min-width: 82px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777777;
}

.contact-list a {
  color: #111111;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.contact-list a:hover {
  border-bottom-color: #111111;
}

/* Lightbox (uvećanje fotografije) */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 14, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  z-index: 9999;
  cursor: zoom-out;
}

.lightbox-backdrop.is-open {
  display: flex;
}

.lightbox-image {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: fixed;
  top: 14px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
}

/* Telefon i manji ekrani */
@media (max-width: 768px) {
  body {
    padding: 18px 14px 48px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
  }

  .site-nav {
    gap: 14px;
  }

  #gallery,
  .mosaic-row {
    gap: 12px;
  }

  .photo-item:hover {
    transform: none;
  }
}
