/* ===================================================
   Johana Dupin Portfolio — Shared Styles
   Tailwind custom CSS layer (loaded in every page)
   =================================================== */

body {
  font-family: 'Newsreader', serif;
}

/* Parallax hero background */
.hero-parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Hide scrollbar on carousel */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Gradient divider line */
.fine-line {
  height: 1px;
  background: linear-gradient(to right, transparent, #D4D4D4, transparent);
}

/* Italic placeholder inputs */
input::placeholder,
textarea::placeholder {
  font-style: italic;
  opacity: 0.5;
}

/* Commission form overlay */
.disabled-overlay {
  background-color: rgba(248, 248, 248, 0.85);
  backdrop-filter: blur(2px);
}

/* Masonry grid — Pinterest style */
.masonry-grid {
  column-count: 4;
  column-gap: 12px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 12px;
  display: block;
  position: relative;
}
.masonry-item img {
  width: 100%;
  display: block;
  border-radius: 5px;
}
.masonry-caption {
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 11px;
  padding: 8px 10px;
  height: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 0 0 14px 14px;
  font-family: arial, sans-serif;
}

@media (max-width: 500px)                       { .masonry-grid { column-count: 1; } }
@media (min-width: 501px) and (max-width: 700px) { .masonry-grid { column-count: 2; } }
@media (min-width: 701px) and (max-width: 900px) { .masonry-grid { column-count: 3; } }

/* Scroll hint animation */
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}
.scroll-hint {
  animation: scroll-bounce 1.4s ease-in-out infinite;
  display: inline-block;
}
