/* ============================================
   IMAGO AMORIS WEDDINGS — Glavni stilovi
   ============================================ */

/* -- Varijable -- */
:root {
  --color-bg:       #ffffff;
  --color-text:     #3a3a3a;
  --color-text-light: #6b6b6b;
  --color-heading:  #2c2c2c;
  --color-dark:     #1a1a1a;
  --color-accent:   #b8977e;
  --color-border:   #e0dcd8;
  --color-placeholder: #d5cfc9;

  --font-display: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1160px;
  --header-height: 85px;
}

/* -- Reset -- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 30px;
}


/* ============================================
   HEADER / NAVIGACIJA
   ============================================ */

.site-header {
  position: relative;
  width: 100%;
  z-index: 100;
  background: #ffffff;
  height: var(--header-height);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 30px;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.header-inner > .logo { grid-column: 1; justify-self: start; }
.header-inner > .main-nav { grid-column: 2; justify-self: center; }
.header-inner > .social-icons { grid-column: 3; justify-self: end; }
.header-inner > .menu-toggle { grid-column: 3; justify-self: end; }

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 60px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: var(--color-heading);
  line-height: 1.2;
  letter-spacing: 1px;
}

.logo-text small {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 4px;
}

/* Navigacija */
.main-nav ul {
  display: flex;
  gap: 8px;
}

.main-nav a {
  position: relative;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--color-text);
  padding: 12px 18px;
  transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-dark);
}

.main-nav a.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1.5px;
  background: var(--color-dark);
}

/* Društvene ikone */
.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  color: var(--color-text-light);
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--color-dark);
}

/* Hamburger meni (mobitel) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.menu-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--color-dark);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}


/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  height: 95vh;
  min-height: 800px;
  overflow: hidden;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.hero-image img.active {
  opacity: 1;
}

.hero-image.placeholder {
  background: linear-gradient(135deg, #c9bfb3 0%, #a89a8b 50%, #8a7d6f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image.placeholder::after {
  content: '[ Hero slika vjenčanja — 1160×776 px ]';
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
}

/* Naslov iznad hero galerije (samo na index.html) */
.intro-title {
  padding: 20px 20px 30px;
  text-align: center;
  background: #ffffff;
}

.intro-title h1 {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 300;
  color: #9a9a9a;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin: 0;
}

/* Društvene ikone preko hero galerije (samo na index.html) */
.hero-social {
  position: absolute;
  top: 30px;
  left: 30px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-social a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}

.hero-social a:hover {
  color: #ffffff;
}


/* ============================================
   DOBRODOŠLICA
   ============================================ */

.welcome {
  padding: 80px 0 60px;
  text-align: center;
}

.welcome-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.8;
}


/* ============================================
   SEKCIJE — zajednički stilovi
   ============================================ */

.section-title {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.5vw, 17px);
  font-weight: 300;
  color: var(--color-heading);
  text-align: center;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background: var(--color-accent);
  margin: 18px auto 0;
}


/* ============================================
   KARTICE VJENČANJA
   ============================================ */

.weddings-section {
  padding: 40px 0 80px;
}

.wedding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.wedding-card {
  display: block;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.wedding-card:hover {
  transform: translateY(-4px);
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.wedding-card:hover .card-image img {
  transform: scale(1.03);
}

/* Pojedinačni pomak fokusa cropa za određene fotografije na naslovnici */
.card-image img[src*="tea-davorin"] {
  object-position: right center;
  transform-origin: right center;
}

.card-image.placeholder {
  background: linear-gradient(145deg, #d5cfc9, #c0b8ad);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image.placeholder::after {
  content: '[ Slika vjenčanja ]';
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}

.card-info {
  padding: 20px 5px 10px;
  text-align: center;
}

.card-info h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-heading);
  margin-bottom: 6px;
}

.card-info p {
  font-size: 12px;
  font-weight: 300;
  color: var(--color-text-light);
  letter-spacing: 0.5px;
  line-height: 1.5;
}

.card-arrow {
  display: inline-block;
  margin-top: 10px;
  font-size: 18px;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.wedding-card:hover .card-arrow {
  transform: translateX(6px);
}


/* ============================================
   VIDEO SEKCIJA
   ============================================ */

.video-section {
  padding: 60px 0 80px;
  background: #faf9f7;
}

.video-intro {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
  line-height: 1.8;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: #e8e4df;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-info {
  padding: 16px 5px 10px;
  text-align: center;
}

.video-info h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--color-heading);
  margin-bottom: 4px;
}

.video-info p {
  font-size: 12px;
  font-weight: 300;
  color: var(--color-text-light);
}


/* ============================================
   INSTAGRAM
   ============================================ */

.instagram-section {
  padding: 70px 0 60px;
  text-align: center;
}

.instagram-placeholder {
  border: 1px dashed var(--color-border);
  padding: 60px 20px;
  color: var(--color-text-light);
  margin-bottom: 30px;
}

.instagram-placeholder p {
  font-size: 16px;
}

.instagram-placeholder small {
  font-size: 12px;
  color: var(--color-placeholder);
}

.instagram-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.instagram-link:hover {
  color: var(--color-heading);
  border-color: var(--color-heading);
}


/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 0;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 30px;
}

.footer-copy {
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.footer-email {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: #fff;
}


/* ============================================
   RESPONSIVE — Tablet
   ============================================ */

@media (max-width: 900px) {

  .wedding-grid,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}


/* ============================================
   RESPONSIVE — Mobitel
   ============================================ */

@media (max-width: 640px) {

  :root {
    --header-height: 65px;
  }

  /* Hamburger meni */
  .menu-toggle {
    display: flex;
  }

  .social-icons {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: #ffffff;
    padding: 100px 40px 40px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 105;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 14px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--color-border);
  }

  /* Na mobitelu aktivna stavka neka ima podcrtu, ne gornju crtu */
  .main-nav a.active::before {
    display: none;
  }

  /* Sadržaj */
  .hero {
    height: 55vh;
    min-height: 350px;
  }

  .welcome {
    padding: 50px 0 40px;
  }

  .welcome-text {
    font-size: 17px;
  }

  .wedding-grid,
  .video-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .card-image {
    aspect-ratio: 3 / 4;
  }

  .section-title {
    margin-bottom: 35px;
  }
}


/* ============================================
   OVERLAY za mobilni meni
   ============================================ */

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 104;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}


/* ============================================
   PODSTRANICE — zajednički stilovi
   ============================================ */

.page-content {
  min-height: 60vh;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.7vw, 19px);
  font-weight: 300;
  color: var(--color-heading);
  text-align: center;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 60px 0 20px;
}

.page-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background: var(--color-accent);
  margin: 20px auto 0;
}

.page-intro {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 30px auto 50px;
  text-align: center;
  line-height: 1.8;
}


/* ============================================
   GALERIJA — mreža
   ============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 316px);
  justify-content: center;
  gap: 4px;
  padding-bottom: 80px;
  margin-top: 40px;
}

.gallery-item {
  display: block;
  overflow: hidden;
  position: relative;
}

.gallery-item::before {
  content: '';
  display: block;
  padding-bottom: 100%;
}

.gallery-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.gallery-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.14);
}

/* Pojedinačni pomak fokusa cropa za određene fotografije */
.gallery-image img[src*="iva-dario"] {
  object-position: center bottom;
  transform-origin: center bottom;
}

.gallery-image img[src*="tea-davorin"] {
  object-position: right center;
  transform-origin: right center;
}

.gallery-image img[src*="ketrin"] {
  object-position: right center;
  transform-origin: right center;
}

.gallery-image.placeholder {
  background: linear-gradient(145deg, #d5cfc9, #c0b8ad);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-image.placeholder::after {
  content: '[ Slika ]';
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
  z-index: 1;
}

.gallery-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 20px;
  text-align: center;
}

.gallery-item:hover .gallery-hover {
  opacity: 1;
}

.gallery-hover h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 6px;
}

.gallery-hover p {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}


/* ============================================
   VIDEO STRANICA — veće kartice
   ============================================ */

.video-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-bottom: 80px;
}

.video-card-large {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.video-card-large .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #e8e4df;
}

.video-card-large .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-card-large .video-info {
  padding: 20px 5px 10px;
  text-align: center;
}

.video-card-large .video-info h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-heading);
  margin-bottom: 4px;
}

.video-card-large .video-info p {
  font-size: 13px;
  font-weight: 300;
  color: var(--color-text-light);
}


/* ============================================
   O NAMA
   ============================================ */

.about-hero {
  /* Nije potrebna gornja kompenzacija — header više nije fixed */
}

.about-hero-image {
  width: 100%;
  height: 55vh;
  min-height: 350px;
  overflow: hidden;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-image.placeholder {
  background: linear-gradient(135deg, #c9bfb3 0%, #a89a8b 50%, #8a7d6f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero-image.placeholder::after {
  content: '[ Slika tima — postavite svoju fotografiju ]';
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

/* O nama ima svoj margin-top pa ne koristi .page-content */
.about-hero + .container {
  /* nothing extra needed */
}

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: start;
  padding: 70px 0 60px;
}

.about-text-block p {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 22px;
}

.about-side-image {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.about-image-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-frame.placeholder {
  background: linear-gradient(145deg, #d5cfc9, #c0b8ad);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-frame.placeholder::after {
  content: '[ Slika ]';
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.about-bottom {
  padding-bottom: 80px;
}

.about-bottom-image {
  width: 100%;
  height: 50vh;
  min-height: 300px;
  overflow: hidden;
  margin-bottom: 50px;
}

.about-bottom-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-bottom-image.placeholder {
  background: linear-gradient(135deg, #b8ad9e, #9a8e80);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-bottom-image.placeholder::after {
  content: '[ Slika — postavite svoju fotografiju ]';
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.about-text-centered {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.about-location {
  font-style: italic;
  color: var(--color-text-light) !important;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 0 40px;
  }

  .about-side-image {
    position: static;
  }
}


/* ============================================
   KONTAKT
   ============================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  padding: 70px 0 60px;
  align-items: start;
}

.contact-subtitle {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Forma */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text);
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}

.form-group textarea {
  min-height: 100px;
}

.form-submit {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-dark);
  border: none;
  padding: 16px 40px;
  cursor: pointer;
  transition: background 0.3s ease;
  align-self: flex-start;
  margin-top: 10px;
}

.form-submit:hover {
  background: #333;
}

.form-success p {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--color-accent);
  padding: 40px 0;
}

/* Kontakt info */
.contact-info-card {
  background: #faf9f7;
  padding: 50px 40px;
  text-align: center;
}

.contact-brand {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--color-heading);
  margin-bottom: 6px;
}

.contact-tagline {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 35px;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-details p {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.contact-details a {
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--color-heading);
}

.contact-social {
  display: flex;
  gap: 25px;
  justify-content: center;
}

.contact-social a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-social a:hover {
  color: var(--color-heading);
  border-color: var(--color-heading);
}

/* Pravila privatnosti */
.privacy-section {
  border-top: 1px solid var(--color-border);
  padding: 40px 0 80px;
}

.privacy-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-heading);
  margin-bottom: 20px;
}

.privacy-text {
  max-width: 700px;
}

.privacy-text p {
  font-size: 13px;
  font-weight: 300;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.privacy-text a {
  border-bottom: 1px solid var(--color-border);
  transition: color 0.3s ease;
}

.privacy-text a:hover {
  color: var(--color-heading);
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 0 40px;
  }
}


/* ============================================
   POJEDINAČNO VJENČANJE — galerija fotografija
   ============================================ */

.wedding-header {
  text-align: center;
  padding: 60px 0 40px;
}

.wedding-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 300;
  color: var(--color-heading);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.wedding-location {
  font-size: 13px;
  font-weight: 300;
  color: var(--color-text-light);
  letter-spacing: 1px;
}

.wedding-intro {
  max-width: 720px;
  margin: 0 auto 50px;
  padding: 0 20px;
  text-align: center;
}

.wedding-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-light);
  line-height: 1.8;
  margin: 0 auto 18px;
}

.photo-gallery {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.photo-item {
  width: 100%;
}

.photo-frame {
  width: 100%;
  overflow: hidden;
}

.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-frame.placeholder {
  background: linear-gradient(145deg, #d5cfc9, #c0b8ad);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-frame.placeholder::after {
  content: '[ Fotografija ]';
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
}

.wedding-nav {
  display: flex;
  justify-content: space-between;
  padding: 30px 0 80px;
  border-top: 1px solid var(--color-border);
}

.wedding-nav-link {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--color-text-light);
  transition: color 0.3s ease;
}

.wedding-nav-link:hover {
  color: var(--color-heading);
}

@media (max-width: 640px) {
  .photo-gallery {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .photo-item.wide {
    grid-column: span 1;
  }

  .photo-item .photo-frame,
  .photo-item.wide .photo-frame {
    aspect-ratio: auto;
  }

  .photo-frame img {
    height: auto;
  }
}

/* ============================================
   SCROLL REVEAL — suptilno pojavljivanje elemenata
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery itemi: samo fade-in, bez translateY koji stvara lažni razmak između redova */
.gallery-item.reveal {
  transform: none;
}
.gallery-item.reveal.is-visible {
  transform: none;
}

/* Photo itemi (stranice pojedinih vjenčanja): isto — samo fade-in */
.photo-item.reveal {
  transform: none;
}
.photo-item.reveal.is-visible {
  transform: none;
}

/* Pristupačnost: ako korisnik želi smanjene animacije, isključi reveal */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

