/* Custom styles for Lloyd Mirror Store */

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

/* Scroll indicator animation */
@keyframes scrollIndicator {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}

.animate-scroll-indicator {
  animation: scrollIndicator 1.5s ease-in-out infinite;
}

/* Scroll reveal base - content always visible by default */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only apply hidden state when JS is active and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal[data-revealed="false"] {
    opacity: 0;
    transform: translateY(30px);
  }
}

/* Gold gradient text utility */
.text-gold-gradient {
  background: linear-gradient(135deg, #c9a84c 0%, #dfc06e 50%, #c9a84c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtle glow effects */
.glow-gold {
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.15);
}

.glow-teal {
  box-shadow: 0 0 30px rgba(82, 184, 199, 0.15);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0a1628;
}

::-webkit-scrollbar-thumb {
  background: #1e3a5f;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #52b8c7;
}

/* Selection color */
::selection {
  background: rgba(82, 184, 199, 0.3);
  color: #fff;
}

/* Navbar glass effect */
.navbar-scrolled {
  background: rgba(10, 22, 40, 0.92) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Card hover shine effect */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transition: left 0.5s ease;
  border-radius: inherit;
}

.service-card:hover::before {
  left: 100%;
}

/* Input focus animation */
input:focus,
textarea:focus,
select:focus {
  border-color: rgba(82, 184, 199, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(82, 184, 199, 0.1) !important;
}

/* Mobile menu transition */
#mobile-menu {
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Print styles */
@media print {
  nav, #back-to-top, .scroll-reveal { display: none; }
  body { background: white; color: black; }
}
