/* Basic reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: #fff;
  color: #111;
}

/* Layout helpers */
.container {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

a{
  text-decoration: none;
  color: inherit;
}

a{
  transition: transform 0.2s ease, font-size 0.2s ease;
}

a:hover{
  text-decoration: none;
  transform: scale(1.06);
}

/* Header */
.site-header {
  padding-top: 24px;
}

.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  color: inherit;
  line-height: 1.05;
}

.brand-top {
  display: block;
  letter-spacing: 0.08em;
  font-size: 22px;
  font-family: Instrument Serif;
  padding-left: 30px;
}

.brand-bottom {
  display: block;
  letter-spacing: 0.08em;
  font-size: 22px;
  margin-top: 4px;
  font-family: Instrument Serif;
}

.brand,
.brand * ,
.page-title{
  cursor: default;
}

.nav {
  display: flex;
  gap: 32px;
  padding-top: 6px;
}

.nav-link {
  text-decoration: none;
  color: inherit;
  font-size: 14px;
  letter-spacing: 0.08em;
  font-family: Cormorant Garamond;
  font-size: 20px;
}

.header-line {
  border-top: 1px solid #111;
  margin-top: 14px;
}

/* Page title */
.page {
  padding: 28px 0 48px;
}

.page-title {
  margin: 18px 0 28px;
  text-align: center;
  font-weight: 400;
  /* you said you'll set fonts later */
  font-size: clamp(22px, 3vw, 34px);
  font-family: Pinyon Script;
}

.gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; /* razmak između kolona */
  align-items: start;
}

.col{
  display: flex;
  flex-direction: column;
  gap: 24px; /* razmak između slika u istoj koloni */
}

.shot{
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}

.fade-in{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Kad se pojavi u viewportu */
.fade-in.visible{
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.site-footer{
  margin-top: 80px;
  padding-bottom: 32px;
}

.footer-line{
  border-top: 1px solid #111;
  margin-bottom: 24px;
}

.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  font-family: Cormorant Garamond;
}

/* Left side */
.footer-brand{
  line-height: 1.4;
}

.footer-name{
  font-size: 16px;
  letter-spacing: 0.08em;
}

.footer-city{
  font-size: 16px;
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin-top: 4px;
}

/* Right side */
.footer-contact{
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.footer-contact a{
  font-size: 16px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: inherit;
}


/* Telefon: 2 kolone */
@media (max-width: 820px){
  .gallery{
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .col{ gap: 16px; }

  /* col-3 will be merged into col-1/2, so we hide its container */
  #col-3{
    display: none;
  }
}

@media (max-width: 768px){

  /* HOME / O MENI u meniju */
  .nav-link{
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  /* Naslov stranice */
  .page-title{
    font-size: 22px;
  }
}

@media (max-width: 360px){

  /* HOME / O MENI u meniju */
  .nav-link{
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  /* Naslov stranice */
  .page-title{
    font-size: 22px;
  }

  .brand-top {
  font-size: 18px;
}

.brand-bottom {
  font-size: 18px;
}
}

@media (max-width: 768px){
  .footer-inner{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer-contact{
    text-align: center;
  }
}