/*
Theme Name: Webizrada Neo
Theme URI: https://webizrada.com/
Author: Webizrada.com
Author URI: https://webizrada.com/
Description: Moderna Full Site Editing WordPress block tema za digitalnu agenciju, izradu sajtova, online prodavnica, SEO i AI automatizacije.
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webizrada-neo
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, editor-style, portfolio, one-column, wide-blocks
*/

:root {
  --webis-shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.12);
  --webis-shadow-dark: 0 34px 90px rgba(0, 0, 0, 0.35);
  --webis-radius-xs: 10px;
  --webis-radius-sm: 16px;
  --webis-radius-md: 24px;
  --webis-radius-lg: 34px;
  --webis-transition: 220ms ease;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-underline-offset: .22em; }

.wp-site-blocks {
  overflow-x: clip;
}

::selection {
  background: rgba(124, 92, 255, .28);
}

.webis-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  background: rgba(7, 10, 20, .74) !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.admin-bar .webis-site-header { top: 32px; }

.webis-header-inner { min-height: 78px; }

.webis-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  letter-spacing: -.08em;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6 50%, #2dd4bf);
  box-shadow: 0 18px 36px rgba(124,92,255,.35);
}

.wp-block-site-title a {
  text-decoration: none;
}

.webis-main-nav a {
  opacity: .82;
  transition: opacity var(--webis-transition), color var(--webis-transition);
}
.webis-main-nav a:hover { opacity: 1; color: var(--wp--preset--color--primary); }

.webis-button-shadow .wp-block-button__link,
.wp-block-button .wp-block-button__link {
  box-shadow: 0 18px 42px rgba(91, 78, 255, .25);
  transition: transform var(--webis-transition), box-shadow var(--webis-transition), background var(--webis-transition), border-color var(--webis-transition);
}
.wp-block-button .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(91, 78, 255, .34);
}

.webis-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(124,92,255,.38), transparent 38%),
    radial-gradient(circle at 18% 18%, rgba(45,212,191,.18), transparent 28%),
    linear-gradient(135deg, #070a14 0%, #0c1024 52%, #170d32 100%);
}
.webis-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 82%);
}
.webis-hero > * { position: relative; z-index: 1; }

.webis-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: .78rem;
  color: #a78bfa;
}
.webis-eyebrow::before {
  content: "";
  width: .56rem;
  height: .56rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  box-shadow: 0 0 0 6px rgba(124,92,255,.12);
}

.webis-gradient-text,
.webis-hero strong {
  background: linear-gradient(135deg, #f472b6, #8b5cf6 45%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.webis-hero-device {
  min-height: 470px;
  position: relative;
}
.webis-hero-device::before {
  content: "";
  position: absolute;
  right: -4%;
  top: 6%;
  width: min(92%, 620px);
  height: 360px;
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(255,255,255,.97), rgba(238,242,255,.9));
  box-shadow: var(--webis-shadow-dark);
  transform: rotate(-3deg);
  border: 1px solid rgba(255,255,255,.7);
}
.webis-hero-device::after {
  content: "";
  position: absolute;
  right: 11%;
  bottom: 12%;
  width: 205px;
  height: 360px;
  border-radius: 35px;
  background: linear-gradient(160deg, #111827, #090b10 55%, #2d1258);
  box-shadow: var(--webis-shadow-dark);
  border: 9px solid #0b0f1c;
}
.webis-device-screen {
  position: absolute;
  right: 6%;
  top: 17%;
  width: min(78%, 520px);
  border-radius: 24px;
  padding: 42px;
  color: #111827;
  background:
    linear-gradient(90deg, rgba(124,92,255,.14), transparent 42%),
    #fff;
  box-shadow: 0 18px 50px rgba(15,23,42,.12);
  transform: rotate(-3deg);
  border: 1px solid rgba(15,23,42,.08);
}
.webis-device-screen h3 { margin: 0 0 12px; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; }
.webis-device-screen p { margin: 0; max-width: 26ch; color: #64748b; }
.webis-device-ui {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
}
.webis-device-ui span {
  height: 84px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
  border: 1px solid #e2e8f0;
}
.webis-floating-badge {
  position: absolute;
  left: 2%;
  top: 13%;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--webis-shadow-soft);
  color: #111827;
  padding: 18px 20px;
  border-radius: 20px;
  max-width: 190px;
  z-index: 2;
}
.webis-floating-badge strong { color: #111827; font-size: 2rem; display: block; }

.webis-trust-row {
  opacity: .92;
}
.webis-trust-row .wp-block-column {
  border-left: 1px solid rgba(255,255,255,.14);
  padding-left: 18px;
}

.webis-card {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: var(--webis-radius-md);
  box-shadow: 0 18px 55px rgba(15, 23, 42, .055);
  transition: transform var(--webis-transition), box-shadow var(--webis-transition), border-color var(--webis-transition);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
}
.webis-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--webis-shadow-soft);
  border-color: rgba(124, 92, 255, .23);
}
.webis-card-dark {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--webis-radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: var(--webis-shadow-dark);
}
.webis-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #7c5cff, #2563eb);
  box-shadow: 0 18px 36px rgba(91,78,255,.27);
}
.webis-icon-cyan { background: linear-gradient(135deg, #2dd4bf, #2563eb); }
.webis-icon-pink { background: linear-gradient(135deg, #ec4899, #7c5cff); }
.webis-icon-orange { background: linear-gradient(135deg, #f97316, #ec4899); }

.webis-soft-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(124,92,255,.11), transparent 30%),
    radial-gradient(circle at 10% 80%, rgba(45,212,191,.10), transparent 30%),
    #f7f9fe;
}
.webis-soft-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .36;
  background-image: radial-gradient(rgba(15,23,42,.12) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}
.webis-soft-section > * { position: relative; z-index: 1; }

.webis-dark-band {
  background:
    radial-gradient(circle at 18% 10%, rgba(59,130,246,.18), transparent 30%),
    radial-gradient(circle at 82% 45%, rgba(236,72,153,.16), transparent 35%),
    linear-gradient(135deg, #070a14, #0c1024 58%, #090b10);
}

.webis-portfolio-card {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.055);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.webis-portfolio-thumb {
  min-height: 235px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.01)),
    radial-gradient(circle at 70% 20%, rgba(124,92,255,.38), transparent 40%),
    linear-gradient(135deg, #172033, #0b1021);
  position: relative;
  overflow: hidden;
}
.webis-portfolio-thumb::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.18);
  background:
    linear-gradient(rgba(255,255,255,.13) 18px, transparent 18px),
    linear-gradient(135deg, rgba(255,255,255,.1), transparent);
}
.webis-portfolio-thumb::after {
  content: "";
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 42px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c5cff, #38bdf8);
  opacity: .9;
}
.webis-portfolio-thumb.webis-shop { background: radial-gradient(circle at 20% 15%, rgba(236,72,153,.35), transparent 38%), linear-gradient(135deg, #321024, #120b16); }
.webis-portfolio-thumb.webis-architecture { background: radial-gradient(circle at 75% 10%, rgba(45,212,191,.32), transparent 40%), linear-gradient(135deg, #101827, #0b0e15); }
.webis-portfolio-thumb.webis-food { background: radial-gradient(circle at 20% 20%, rgba(245,158,11,.32), transparent 40%), linear-gradient(135deg, #2a1a12, #0d0b09); }
.webis-portfolio-thumb.webis-fitness { background: radial-gradient(circle at 82% 20%, rgba(34,197,94,.28), transparent 40%), linear-gradient(135deg, #101a13, #080d0a); }
.webis-portfolio-thumb.webis-interior { background: radial-gradient(circle at 20% 15%, rgba(148,163,184,.38), transparent 38%), linear-gradient(135deg, #1f2937, #0b0f16); }

.webis-process-number {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(124,92,255,.12);
  color: #7c5cff;
  font-weight: 900;
}

.webis-stats-band {
  background: linear-gradient(135deg, #4f46e5, #7c5cff 54%, #2563eb);
}

.webis-cta-panel {
  border-radius: var(--webis-radius-lg);
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,.28), transparent 25%),
    linear-gradient(135deg, #ec4899, #7c5cff 55%, #3b82f6);
  box-shadow: 0 26px 80px rgba(91,78,255,.35);
  overflow: hidden;
  position: relative;
}
.webis-cta-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -70px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
}
.webis-cta-panel > * { position: relative; z-index: 1; }

.webis-footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(124,92,255,.14), transparent 32%),
    linear-gradient(135deg, #070a14, #090b10);
}

.webis-reveal {
  animation: webisFadeUp .72s ease both;
}
@keyframes webisFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .webis-header-inner { min-height: 68px; }
  .webis-main-nav { display: none !important; }
  .webis-hero-device { min-height: 370px; margin-top: 20px; }
  .webis-hero-device::before { right: 0; width: 92%; height: 295px; }
  .webis-hero-device::after { width: 150px; height: 270px; right: 4%; }
  .webis-device-screen { top: 15%; right: 10%; padding: 28px; width: 70%; }
  .webis-floating-badge { left: 0; top: 5%; }
  .admin-bar .webis-site-header { top: 0; }
}

@media (max-width: 640px) {
  .webis-hero-device { display: none; }
  .webis-trust-row .wp-block-column { border-left: 0; padding-left: 0; }
}
