/* Epic Signs & Graphics - Custom Styles */

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Hero carousel */
.hero-slide { display: none; animation: fadeIn 0.8s ease-in-out; }
.hero-slide.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Navigation dropdown */
.nav-dropdown { display: none; }
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { display: block; }

/* Service card hover */
.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* CTA button pulse on hover */
.cta-btn {
  transition: all 0.2s ease;
}
.cta-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(193, 34, 38, 0.35);
}

/* Mobile menu */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }

/* Gallery grid hover */
.gallery-item {
  overflow: hidden;
}
.gallery-item img {
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  cursor: zoom-out;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Gallery item cursor */
.gallery-item {
  cursor: zoom-in;
}

/* Back to top */
.back-to-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
