/* ==========================================================================
   SLAP IT DOO — brand & content overrides on top of the Pisole template.
   Kept separate from main.css so template updates stay diffable.
   ========================================================================== */

/* The Envato preview package ships photo slots as grey placeholder JPGs
   ("1920X896" etc). We never reference those files; sections that used to
   hold a photo get a dark gradient treatment instead, built from the
   template's own real abstract pattern assets + theme color. */
.bg-slapit-dark {
  background-color: #1c2130;
  background-image: radial-gradient(900px 480px at 85% 12%, rgba(180, 38, 28, 0.16), transparent 60%),
    url('../img/footer/footer-bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-section-1 .hero-1 .slider-bg {
  background-color: #1c2130;
  background-image: radial-gradient(1100px 560px at 78% 10%, rgba(180, 38, 28, 0.22), transparent 62%),
    linear-gradient(135deg, #232941 0%, #161a26 60%);
}

.breadcrumb-wrapper {
  background-color: #1c2130;
  background-image: radial-gradient(700px 360px at 90% 0%, rgba(180, 38, 28, 0.18), transparent 65%),
    linear-gradient(120deg, #1f2437 0%, #161a26 70%);
}

.funfact-section {
  background-color: #1c2130;
  background-image: radial-gradient(900px 460px at 15% 20%, rgba(180, 38, 28, 0.14), transparent 60%),
    url('../img/footer/footer-bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.contact-section {
  background-color: #1c2130;
  background-image: radial-gradient(800px 420px at 85% 15%, rgba(180, 38, 28, 0.16), transparent 60%),
    linear-gradient(135deg, #232941 0%, #161a26 65%);
}

.testimonial-section,
.cta-bg-section-3 {
  background-color: #1c2130;
  background-image: url('../img/testimonial/testi-bg.jpg');
}

/* ---- Quick facts strip (replaces the funfact fake counters) ------------ */
.quickfacts-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.quickfact-item {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.quickfact-item .value {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--theme);
  line-height: 1.1;
}
.quickfact-item .label {
  display: block;
  margin-top: 6px;
  color: #cfcfcf;
  font-size: 15px;
}
@media (max-width: 767px) {
  .quickfacts-wrapper { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Client wall (text badges, real names + real links, no fake logos) - */
.client-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.client-badge {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--header);
  background-color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}
.client-badge:hover {
  border-color: var(--theme);
  color: var(--theme);
  background-color: rgba(180, 38, 28, 0.06);
}

/* Dark sections (e.g. contact panel) still need the light variant. */
.bg-slapit-dark .client-badge,
.contact-section .client-badge {
  color: #f2f2f2;
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}
.bg-slapit-dark .client-badge:hover,
.contact-section .client-badge:hover {
  border-color: var(--theme);
  color: var(--theme);
  background-color: rgba(180, 38, 28, 0.1);
}

/* ---- Pricing / packages cards ------------------------------------------ */
.pricing-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 991px) {
  .pricing-wrapper { grid-template-columns: 1fr; }
}
.pricing-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  background: #fff;
  box-shadow: var(--box-shadow);
}
.pricing-card.is-featured {
  border-color: var(--theme);
  background: var(--header);
  color: #fff;
}
.pricing-card .pricing-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}
.pricing-card .pricing-scope {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 18px;
}
.pricing-card.is-featured .pricing-scope { color: #cfcfcf; }
.pricing-card .pricing-price {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--theme);
  margin-bottom: 22px;
}
.pricing-card .pricing-price small {
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
}
.pricing-card.is-featured .pricing-price small { color: #cfcfcf; }
.pricing-card ul.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  flex-grow: 1;
}
.pricing-card ul.pricing-features li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 15px;
}
.pricing-card.is-featured ul.pricing-features li { border-bottom-color: rgba(255, 255, 255, 0.1); }
.pricing-card ul.pricing-features li i {
  color: var(--theme);
  margin-top: 4px;
}
.pricing-card .pricing-blurb {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 20px;
}
.pricing-card.is-featured .pricing-blurb { color: #cfcfcf; }

/* ---- Equal-height service cards (row children default to natural content
   height, so a card with a shorter description reads visibly shorter) ----- */
.service-section .row > [class*="col-"],
.service-section-2 .row > [class*="col-"] {
  display: flex;
}
.service-card-items {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.service-card-items .service-items {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-card-items .service-items .content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-card-items .link-btn {
  margin-top: auto;
}

/* ---- Dark "streaming platform" case-study theme (TV E) ------------------
   Distinct treatment from the light Master Inženjering case study, so the
   two portfolio pieces read as visually different kinds of work. */
.dark-case-section {
  background-color: #0e0e11;
  color: #e6e6e8;
}
.dark-case-section .section-title span { color: var(--theme); }
.dark-case-section .section-title h2,
.dark-case-section .section-title h3 { color: #fff; }
.dark-case-section p { color: #b9b9bd; }
.dark-case-section .case-stat {
  border-color: rgba(255, 255, 255, 0.12);
}
.dark-case-section .case-stat .label { color: #9a9a9f; }
.dark-case-section .case-feature-item {
  background: #17171b;
}
.dark-case-section .case-feature-item p { color: #a8a8ad; }
.dark-case-section .details-list li { color: #cfcfd2; }
.dark-case-section .browser-mockup {
  background: #1c1c20;
  border-color: rgba(255, 255, 255, 0.08);
}
.dark-case-section .browser-mockup-bar { background: #1c1c20; }
.dark-case-section .browser-mockup-bar span { background: #3a3a3f; }
.dark-case-section .work-process-box .content h3 { color: #fff; }
.dark-case-section .work-process-box .content p { color: #a8a8ad; }

/* Big centered statement — for short, high-impact typography moments */
.big-statement {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.big-statement h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.25;
  color: #fff;
}
.big-statement .eyebrow {
  color: var(--theme);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
}

/* ---- Browser / phone mockups (real client-site screenshots) ------------- */
.browser-mockup {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  background: #e9e9ec;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.browser-mockup .browser-mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #e9e9ec;
}
.browser-mockup .browser-mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d5;
  display: inline-block;
}
.browser-mockup img {
  width: 100%;
  display: block;
}
.phone-mockup {
  max-width: 240px;
  margin: 0 auto;
  border-radius: 28px;
  padding: 10px;
  background: var(--header);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}
.phone-mockup .phone-mockup-notch {
  width: 60px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 auto 8px auto;
}
.phone-mockup img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

/* ---- Case study meta stats (verified client facts) ----------------------- */
.case-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.case-stat {
  text-align: center;
  padding: 24px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.case-stat .value {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--theme);
  line-height: 1.15;
}
.case-stat .label {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 14px;
}

/* ---- Case study feature grid --------------------------------------------- */
.case-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.case-feature-item {
  padding: 28px 24px;
  border-radius: 12px;
  background: #f9f9fa;
}
.case-feature-item h4 {
  font-size: 19px;
  margin-bottom: 8px;
}
.case-feature-item p {
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 0;
}

/* ---- Case study tags ------------------------------------------------------ */
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.case-tags span {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ---- Real project cover art (M portal) ---------------------------------- */
.project-cover {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 100%;
  min-height: 260px;
  max-height: 420px;
}
.project-cover img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

/* ---- Team career CTA ----------------------------------------------------*/
.team-career-cta {
  text-align: center;
  margin-top: 40px;
  padding: 32px;
  border: 1px dashed var(--border);
  border-radius: 12px;
}
.team-career-cta p {
  font-size: 18px;
  margin-bottom: 16px;
}

/* ---- Real logo sizing (the extracted SVG is a large native artboard;
   without a cap it would blow out the header/footer/offcanvas layout) ---- */
.header-logo img,
.header-logo-2 img,
.offcanvas__logo img {
  max-height: 34px;
  width: auto;
}
.single-footer-widget .widget-head img {
  max-height: 40px;
  width: auto;
}

/* ---- Preloader logo (replaces the template's letter-flip + spinner) ----
   A "splash" ripple — two rings expand outward from the mark and fade,
   echoing the company name (Slap = splash) instead of a generic spinner. */
.preloader-logo-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5em auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-logo-wrap::before,
.preloader-logo-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  border-radius: 50%;
  border: 2px solid var(--theme);
  opacity: 0;
  animation: preloader-ripple 1.8s ease-out infinite;
}
.preloader-logo-wrap::after {
  animation-delay: 0.9s;
}
.preloader-logo {
  width: 40px;
  height: auto;
  position: relative;
  z-index: 1;
  animation: preloader-pulse 1.8s ease-in-out infinite;
}
@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
@keyframes preloader-ripple {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ---- Simple language switcher ------------------------------------------ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.lang-switch a {
  padding: 3px 8px;
  border-radius: 4px;
  color: inherit;
  text-decoration: none;
  opacity: 0.55;
}
.lang-switch a.is-active {
  opacity: 1;
  color: var(--theme);
}
.lang-switch span {
  opacity: 0.4;
}

/* ---- Project / case-study meta list, App Store & Google Play links ----- */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.store-badges a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--header);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.store-badges a:hover { background: var(--theme); }

/* ---- Service detail sidebar contact panel (no placeholder photo) ------- */
.service-contact-items.no-photo {
  background: var(--header);
  border-radius: 12px;
  padding: 30px;
}

/* ---- About page decorative panel (replaces placeholder photography) ---- */
.about-visual-panel {
  position: relative;
  border-radius: 16px;
  background-color: #1c2130;
  background-image: radial-gradient(700px 420px at 20% 10%, rgba(180, 38, 28, 0.22), transparent 60%),
    linear-gradient(150deg, #242a3d 0%, #161a26 70%);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 36px;
  overflow: hidden;
}
.about-visual-panel img.corner-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  opacity: 0.9;
}
.about-visual-panel .about-visual-quote {
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 26px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
