/* ========================================
   Let's Burn One Laser Designs — Custom Styles
   Palette: Charcoal + Coral
   Fonts: Playfair Display + Lato
======================================== */

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #141414;
}
::-webkit-scrollbar-thumb {
  background: #3d3d3d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #565656;
}

/* --- Selection --- */
::selection {
  background: rgba(232, 100, 90, 0.3);
  color: #f6f6f6;
}

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

/* --- Stat Cards Floating Animation --- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.stat-card:nth-child(1) {
  animation: float 4s ease-in-out infinite;
}
.stat-card:nth-child(2) {
  animation: float 4s ease-in-out infinite 0.5s;
}
stat-card:nth-child(3) {
  animation: float 4s ease-in-out infinite 1s;
}

/* --- Header Scroll State --- */
#site-header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(61, 61, 61, 0.5);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* --- Mobile Menu --- */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

#mobile-menu.open .mobile-link {
  animation: slideIn 0.3s ease forwards;
}
#mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }

@keyframes slideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Hamburger Animation --- */
.menu-toggle.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.menu-toggle.active .menu-line:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
  width: 1.25rem;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- Form Focus Styles --- */
input:focus, select:focus, textarea:focus {
  outline: none;
}

/* --- Button Hover Glow --- */
button[type="submit"]:hover {
  box-shadow: 0 0 30px rgba(232, 100, 90, 0.3) !important;
}

/* --- Gallery Image Hover --- */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* --- Service Card Hover --- */
.group:hover {
  border-color: rgba(232, 100, 90, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
