/* ==========================================================================
   TradeSkill Media — Custom Stylesheet & Design System
   Brand Colors: Cobalt Blue (#2563EB), Deep Industrial Black (#0B0F17), White (#FFFFFF)
   Designed for Local Blue-Collar & Trade Businesses
   ========================================================================== */

:root {
  --color-brand-blue: #2563eb;
  --color-brand-blue-hover: #1d4ed8;
  --color-brand-blue-glow: rgba(37, 99, 235, 0.35);
  --color-brand-dark: #0b0f17;
  --color-brand-dark-surface: #111827;
  --color-brand-dark-card: #161f30;
  --color-brand-border: #1e293b;
  --color-brand-border-highlight: rgba(37, 99, 235, 0.4);
  --color-text-main: #ffffff;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #0b0f17;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

/* Blueprint Grid Background Pattern */
.blueprint-grid-bg {
  background-image: 
    linear-gradient(to right, rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

.blueprint-grid-card {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Hero Background Image with Industrial Dark Overlay */
.hero-bg-container {
  background-color: #0b0f17;
  background-image: 
    linear-gradient(180deg, rgba(11, 15, 23, 0.90) 0%, rgba(11, 15, 23, 0.94) 60%, rgba(11, 15, 23, 1) 100%),
    url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* Fallback for CTA banner with image */
.cta-banner-bg {
  background-image: 
    linear-gradient(135deg, rgba(11, 15, 23, 0.92) 0%, rgba(30, 58, 138, 0.88) 100%),
    url('images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
}

/* Image zoom hover effect */
.img-zoom-container {
  overflow: hidden;
}
.img-zoom-container img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.group:hover .img-zoom-container img {
  transform: scale(1.06);
}

/* Subtle Glow Effects */
.blue-glow {
  box-shadow: 0 0 30px -5px var(--color-brand-blue-glow);
}

.blue-glow-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.blue-glow-hover:hover {
  box-shadow: 0 0 35px -5px rgba(37, 99, 235, 0.5);
  border-color: rgba(37, 99, 235, 0.6);
  transform: translateY(-2px);
}

/* Gradient Borders */
.border-gradient-blue {
  position: relative;
  background: linear-gradient(#111827, #111827) padding-box,
              linear-gradient(135deg, rgba(37, 99, 235, 0.7), rgba(30, 41, 59, 0.3)) border-box;
  border: 1px solid transparent;
}

/* Interactive Device Mockup Styling */
.mockup-browser-chrome {
  background: #1e293b;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.mockup-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
}

/* Process Timeline Connector Line */
.process-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #1e293b, #2563eb, #1e293b);
  z-index: 0;
}

/* Pulse Animation for Active Badge */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.08);
  }
}
.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

/* Form focus ring */
.input-field {
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.input-field:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
  background-color: #0f172a;
}

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