/* Custom styles for RGK Engineering Enterprises - Modern High-End Light Design System */

@layer utilities {
  /* Crisp architectural light grid mesh background */
  .bg-industrial-grid {
    background-image: linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
  }

  /* Subtle engineering dot pattern */
  .bg-engineering-dots {
    background-image: radial-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
  }

  /* Vivid Blue Focus Glow */
  .glow-blue {
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.18), 0 8px 10px -6px rgba(37, 99, 235, 0.1);
  }
}

/* Custom Clean Light Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Clean Glassmorphic Navigation */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}

/* High-End Light Glass Card */
.glass-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.08), 0 4px 6px -4px rgba(37, 99, 235, 0.04);
}

/* Specification grid row hover */
.spec-row {
  transition: background-color 0.15s ease;
}

.spec-row:hover {
  background-color: #eff6ff;
}

/* Tab active button states */
.tab-btn.active {
  background-color: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 4px 12px 0 rgba(37, 99, 235, 0.25);
}

/* Marquee continuous scroll */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: flex;
  width: 200%;
  animation: marquee 35s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}
