/**
 * Components CSS
 * Reusable layout and UI components for Integrated Contracting
 * Extracted from inline styles and component patterns
 */

/* ============================================
   NAVIGATION COMPONENTS
   ============================================ */

/* Navigation Button Transitions */
#nav-button {
  transition: transform 0.5s ease, opacity 0.3s ease;
}

#wide-nav-div {
  transition: width 0.5s ease;
}

/* GLOBAL Navbar Rules - Prevents Selection/Highlight/Tap-Flash */
.navbar,
.navbar * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Specific to Menu Bar Images - Handles Drag and Pointer Events Only */
.menu-line.top-line,
.menu-line.bottom-line {
  -webkit-user-drag: none;
  pointer-events: none;
}

/* ============================================
   SERVICE BLOCK COMPONENTS
   ============================================ */

/* Default look */
.service-block {
  color: #fff;
}

/* Active state: light overlay + blue border, text stays white */
.service-block.active {
  background: rgba(255,255,255,.10);
  border: 1px solid #0e6cc4;
}

/* ============================================
   BACKGROUND VIDEO COMPONENTS
   ============================================ */

[data-wf-bgvideo-fallback-img] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-wf-bgvideo-fallback-img] {
    position: absolute;
    z-index: -100;
    display: inline-block;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}

/* ============================================
   404 ERROR PAGE COMPONENTS
   ============================================ */

.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #0e6cc4 0%, #1a1a1a 100%);
  color: white;
}

.error-code {
  font-size: 120px;
  font-weight: 900;
  margin: 0;
  line-height: 1;
}

.error-message {
  font-size: 32px;
  margin: 20px 0;
  font-weight: 600;
}

.error-description {
  font-size: 18px;
  margin: 20px 0 40px;
  max-width: 600px;
  opacity: 0.9;
}

.home-button {
  display: inline-block;
  padding: 15px 40px;
  background: white;
  color: #0e6cc4;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
