/*
Theme Name: StartNext Child
Template: startnext
Description: Child theme for Bloovera UK — custom improvements
Version: 1.0
Text Domain: startnext-child
*/

/* ================================================
   Performance: swap font rendering
   ================================================ */
@font-face {
  font-display: swap;
}

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

/* ================================================
   Accessibility: visible focus states
   ================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #2e15af;
  outline-offset: 3px;
  border-radius: 3px;
}

/* ================================================
   Skip-to-content link (screen-reader + keyboard)
   ================================================ */
.skip-to-content {
  position: absolute;
  top: -9999px;
  left: 0;
  z-index: 9999;
  background: #2e15af;
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 4px 0;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-to-content:focus {
  top: 0;
}

/* ================================================
   Sticky header polish
   ================================================ */
.startp-nav.is-sticky {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* ================================================
   Back to top — match brand colour
   ================================================ */
.go-top {
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.go-top:hover {
  transform: translateY(-4px);
}

/* ================================================
   Button transitions & hover lift
   ================================================ */
.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 21, 175, 0.25);
}

/* ================================================
   Card hover: unified lift effect
   ================================================ */
.single-services-box,
.single-features,
.single-box,
.single-blog-post,
.single-pricing-table,
.single-team,
.single-footer-widget {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.single-services-box:hover,
.single-features:hover,
.single-box:hover,
.single-blog-post:hover,
.single-pricing-table:hover,
.single-team:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(46, 21, 175, 0.12);
}

/* ================================================
   Images: consistent rendering
   ================================================ */
img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}

/* ================================================
   Form inputs: better focus
   ================================================ */
.form-control {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-control:focus {
  box-shadow: 0 0 0 3px rgba(46, 21, 175, 0.15);
}

/* ================================================
   Mobile: nav logo sizing fix
   ================================================ */
@media (max-width: 767px) {
  .startp-mobile-nav .logo img {
    max-width: 160px;
    height: auto;
  }

  .startp-nav nav .navbar-brand img {
    max-width: 160px;
  }
}

/* ================================================
   Mobile: footer spacing
   ================================================ */
@media (max-width: 767px) {
  .footer-area .single-footer-widget {
    margin-bottom: 30px;
  }
}

/* ================================================
   Selection colour
   ================================================ */
::selection {
  background: #2e15af;
  color: #fff;
}
::-moz-selection {
  background: #2e15af;
  color: #fff;
}

/* ================================================
   Preloader: hidden by default (disabled in options)
   ================================================ */
.preloader {
  display: none !important;
}

/* ================================================
   Copyright: consistent text size
   ================================================ */
.copyright-area p {
  font-size: 14px;
  opacity: 0.85;
}
