/* ============================================================
   KTech & Capital LTD – desktop.css
   Styles applied exclusively on desktop screens (min-width: 768px).
   Linked in every HTML page via:
     <link rel="stylesheet" href="css/desktop.css" media="(min-width: 768px)">
   ============================================================ */

/* ----------------------------------------------------------
   Layout – wider grids on large screens
   ---------------------------------------------------------- */
@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }

  .contact-grid { grid-template-columns: 1fr 380px; }
}

/* ----------------------------------------------------------
   Hero – taller, centred content block
   ---------------------------------------------------------- */
@media (min-width: 1024px) {
  .hero { min-height: 70vh; }
}

/* ----------------------------------------------------------
   Navigation – show full menu, hide hamburger
   (The shadow DOM handles these internally; here we add a
   desktop-only utility for any page-level nav enhancements.)
   ---------------------------------------------------------- */
@media (min-width: 901px) {
  ktech-nav { height: 68px; }
}

/* ----------------------------------------------------------
   Cards – richer hover depth on non-touch devices
   ---------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
    transform: translateY(-5px);
  }

  .blog-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
    transform: translateY(-5px);
  }

  .pricing-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
    transform: translateY(-5px);
  }

  .job-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  }
}

/* ----------------------------------------------------------
   Footer – 5-column layout on wide screens
   ---------------------------------------------------------- */
@media (min-width: 961px) {
  /* Handled by the component's own shadow styles; this rule
     provides a fallback if the footer is ever rendered
     outside the shadow DOM. */
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
}

/* ----------------------------------------------------------
   Pricing cards – horizontal alignment on desktop
   ---------------------------------------------------------- */
@media (min-width: 768px) {
  .pricing-card { padding: 2.5rem 2rem; }
}

/* ----------------------------------------------------------
   Stats bar – all four stats in one row
   ---------------------------------------------------------- */
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ----------------------------------------------------------
   Process steps – horizontal layout on desktop
   ---------------------------------------------------------- */
@media (min-width: 900px) {
  .process-steps { flex-direction: row; flex-wrap: wrap; }
  .process-step  { flex: 1 1 200px; flex-direction: column; align-items: flex-start; }
}

/* ----------------------------------------------------------
   CTA banner – row layout
   ---------------------------------------------------------- */
@media (min-width: 768px) {
  .cta-banner__btns { flex-direction: row; }
}

/* ----------------------------------------------------------
   Section header – centred on desktop
   ---------------------------------------------------------- */
@media (min-width: 768px) {
  .section-header { text-align: center; }
}

/* ----------------------------------------------------------
   Large typography scale for wide viewports
   ---------------------------------------------------------- */
@media (min-width: 1200px) {
  :root {
    --container-pad: 2rem;
  }
}
