/* Cheshire Tile & Stone — Custom Styles */

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c9a96e;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery masonry */
.masonry {
  columns: 3;
  column-gap: 1rem;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .masonry {
    columns: 2;
  }
}
@media (max-width: 480px) {
  .masonry {
    columns: 1;
  }
}

/* Gallery filter active state */
.filter-btn.active {
  color: #c9a96e;
  border-color: #c9a96e;
}

/* Image hover zoom */
.img-hover {
  overflow: hidden;
}
.img-hover img {
  transition: transform 0.5s ease;
}
.img-hover:hover img {
  transform: scale(1.05);
}

/* Gold underline link */
.gold-link {
  position: relative;
  display: inline-block;
}
.gold-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #c9a96e;
  transition: width 0.3s ease;
}
.gold-link:hover::after {
  width: 100%;
}
