/*
Theme Name: IT Crew
Theme URI: https://www.itcrew.rs
Author: IT Crew
Author URI: https://www.itcrew.rs
Description: Custom WordPress tema za IT Crew, preneta iz statickog HTML/CSS/JS one-pager sajta.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: itcrew
*/

/* =====================================================
   IT CREW – Custom Stylesheet
   Brand: teal #00C2C7 · charcoal #3a3a3a
   ===================================================== */

/* ---------- VARIABLES ---------- */
:root {
  --teal:        #00C2C7;
  --teal-dark:   #009EA3;
  --teal-light:  #33CCCC;
  --teal-pale:   #E0F8F9;
  --charcoal:    #2d2d2d;
  --charcoal-2:  #1a1a1a;
  --dark:        #0f1923;
  --text:        #2d2d2d;
  --text-muted:  #6b7280;
  --border:      #e5e7eb;
  --light-bg:    #f5f7fa;
  --white:       #ffffff;

  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow:      0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 20px 40px rgba(0,0,0,.14);
  --transition:  all .28s ease;
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- LANGUAGE TOGGLE ---------- */
html.lang-sr .en { display: none; }
html.lang-en .sr { display: none; }

/* ---------- NAVBAR ---------- */
#mainNavbar {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  transition: var(--transition);
}
#mainNavbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 6px 0;
}

.navbar-brand img { transition: var(--transition); }

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: #444 !important;
  padding: 7px 13px !important;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover {
  color: var(--teal) !important;
  background: var(--teal-pale);
}

/* language toggle pill */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 8px;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-muted);
  padding: 3px 7px;
  border-radius: 5px;
  transition: var(--transition);
}
.lang-btn.active {
  background: var(--teal);
  color: var(--white);
}
.lang-sep { color: var(--border); font-size: .8rem; }

.btn-nav-cta {
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
}

/* ---------- HERO ---------- */
.hero-section {
  position: relative;
  background: var(--dark);
  overflow: hidden;
}

/* dot-grid texture */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,194,199,.18) 1px, transparent 0);
  background-size: 36px 36px;
  pointer-events: none;
}

/* diagonal gradient overlay */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0,194,199,.12) 0%,
    transparent 50%,
    rgba(0,194,199,.06) 100%);
  pointer-events: none;
}

/* fade bottom into next section */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, var(--light-bg));
  pointer-events: none;
}

.hero-inner {
  padding: 100px 0 60px;
  min-height: calc(100vh - 200px);
}

/* badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0,194,199,.15);
  border: 1px solid rgba(0,194,199,.35);
  color: var(--teal-light);
  font-size: .82rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: .02em;
}

/* headline */
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}
.hero-title em {
  font-style: normal;
  color: var(--teal);
}

.hero-subtitle {
  font-size: 1.08rem;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* CTA buttons */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-teal {
  background: var(--teal);
  border: 2px solid var(--teal);
  color: var(--charcoal-2);
  font-weight: 700;
  border-radius: 10px;
  transition: var(--transition);
}
.btn-teal:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  color: var(--charcoal-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,194,199,.38);
}

.btn-outline-light {
  border-width: 2px;
  font-weight: 600;
  border-radius: 10px;
  transition: var(--transition);
}
.btn-outline-light:hover {
  transform: translateY(-2px);
}

/* hero graphic (animated orbits) */
.hero-graphic {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-graphic-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,194,199,.25);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  animation: orbitSpin linear infinite;
}
.orbit-1 { width: 100%; height: 100%; animation-duration: 22s; }
.orbit-2 { width: 68%;  height: 68%;  animation-duration: 16s; animation-direction: reverse; border-style: dashed; }
.orbit-3 { width: 38%;  height: 38%;  animation-duration: 10s; border-color: rgba(0,194,199,.4); }

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.orbit-dot {
  background: rgba(0,194,199,.2);
  border: 1px solid rgba(0,194,199,.5);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--teal);
  margin-top: -17px;
  animation: counterSpin linear infinite;
}
.orbit-1 .orbit-dot { animation-duration: 22s; }
.orbit-2 .orbit-dot { animation-duration: 16s; animation-direction: reverse; }
.orbit-3 .orbit-dot { animation-duration: 10s; }
@keyframes counterSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

.hero-graphic-core {
  background: rgba(0,0,0,.4);
  border: 2px solid rgba(0,194,199,.4);
  border-radius: 50%;
  width: 88px; height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  z-index: 2;
}

/* hero stats bar */
.hero-stats-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
  padding: 20px 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.col-md-3:last-child .stat-item,
.col-6:nth-child(even) .stat-item { border-right: none; }

.stat-ico { font-size: 1.7rem; color: var(--teal); opacity: .85; }
.stat-num { font-size: 1.5rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-lbl { font-size: .75rem; color: rgba(255,255,255,.5); margin-top: 2px; }

/* ---------- SHARED SECTION ---------- */
.section-pad { padding: 96px 0; }

.bg-light-section { background: var(--light-bg); }
.bg-white          { background: var(--white); }
.bg-dark-section   { background: var(--dark); }

/* section header */
.sec-header { margin-bottom: 56px; }

.sec-label {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.sec-label-dark {
  background: rgba(0,194,199,.15);
  color: var(--teal);
}

.sec-title {
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--charcoal);
}

.sec-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ---------- SERVICES ---------- */
.svc-card {
  display: flex;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

.svc-icon-wrap {
  flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.svc-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 14px;
  line-height: 1.3;
}

.svc-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-list li {
  font-size: .875rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}
.svc-list li::before {
  content: '›';
  position: absolute; left: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 1rem;
}
.svc-list li strong { color: var(--charcoal); }

/* ---------- SOLUTIONS ---------- */
.sol-card {
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: var(--transition);
  height: 100%;
}
.sol-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.sol-icon {
  width: 54px; height: 54px;
  background: var(--teal-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--teal-dark);
  margin-bottom: 18px;
  transition: var(--transition);
}
.sol-card:hover .sol-icon {
  background: var(--teal);
  color: var(--white);
}

.sol-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.35;
}

.sol-text {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ---------- PACKAGES ---------- */
.pkg-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}
.pkg-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-4px);
}

.pkg-featured {
  background: linear-gradient(160deg, #0a2a4a 0%, #0c3554 100%);
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 1px rgba(0,194,199,.3), var(--shadow-lg);
}
.pkg-featured:hover {
  background: linear-gradient(160deg, #0c3256 0%, #0e3f66 100%);
  border-color: var(--teal-light);
  transform: translateY(-6px);
}

.pkg-popular {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--charcoal-2);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.pkg-tier {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
  padding: 3px 10px;
  border-radius: 5px;
  margin-bottom: 12px;
}
.pkg-tier-accent {
  color: var(--teal);
  background: rgba(0,194,199,.15);
}

.pkg-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.pkg-target {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.55;
  border-bottom: 1px solid rgba(255,255,255,.09);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.pkg-list {
  list-style: none;
  padding: 0; margin: 0 0 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.pkg-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}
.pkg-list li i {
  color: #34d399;
  font-size: .95rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.pkg-cta { margin-top: auto; }

.btn-pkg-outline {
  display: block;
  padding: 11px;
  border: 1.5px solid rgba(255,255,255,.2);
  background: transparent;
  color: var(--white);
  border-radius: 10px;
  font-weight: 600;
  font-size: .9rem;
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
}
.btn-pkg-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(0,194,199,.08);
}

/* ---------- WHY IT CREW ---------- */
.why-card {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: var(--transition);
}
.why-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.why-icon {
  width: 70px; height: 70px;
  background: var(--teal-pale);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--teal-dark);
  margin: 0 auto 22px;
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: var(--teal);
  color: var(--white);
  transform: scale(1.05);
}

.why-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.why-text {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ---------- CONTACT ---------- */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-label {
  font-weight: 600;
  font-size: .82rem;
  color: #444;
  margin-bottom: 6px;
}

.form-control {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: .9rem;
  background: var(--light-bg);
  color: var(--text);
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,194,199,.15);
  background: var(--white);
  color: var(--text);
}

.contact-info-wrap {
  background: var(--charcoal);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
}

.contact-info-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}

.cinfo-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cinfo-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cinfo-ico {
  width: 36px; height: 36px;
  background: rgba(0,194,199,.15);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.cinfo-label {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.45);
  margin-bottom: 3px;
}

.cinfo-val {
  font-size: .88rem;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}
.cinfo-val a {
  color: var(--teal);
  text-decoration: none;
  transition: var(--transition);
}
.cinfo-val a:hover { color: var(--teal-light); }

.cinfo-sub {
  font-size: .76rem;
  color: rgba(255,255,255,.38);
  margin-top: 2px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--charcoal-2);
  padding: 64px 0 0;
}

.footer-logo { filter: brightness(1.1); }

.footer-tagline {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  margin: 0;
}

.footer-hdg {
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--teal); }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}
.footer-contact-list a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: var(--transition);
}
.footer-contact-list a:hover { color: var(--teal); }

.footer-hr {
  border-color: rgba(255,255,255,.07);
  margin: 48px 0 24px;
}

.footer-bottom {
  padding-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

.footer-pib { color: rgba(255,255,255,.2); }

/* ---------- SCROLL ANIMATION ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* stagger siblings */
.col-lg-6.fade-up:nth-child(2) { transition-delay: .1s; }
.col-lg-6.fade-up:nth-child(3) { transition-delay: .1s; }
.col-md-6.fade-up:nth-child(2),
.col-md-4.fade-up:nth-child(2),
.col-lg-4.fade-up:nth-child(2) { transition-delay: .12s; }
.col-md-6.fade-up:nth-child(3),
.col-md-4.fade-up:nth-child(3),
.col-lg-4.fade-up:nth-child(3) { transition-delay: .22s; }
.col-md-6.fade-up:nth-child(4),
.col-lg-4.fade-up:nth-child(4) { transition-delay: .1s; }
.col-md-6.fade-up:nth-child(5),
.col-lg-4.fade-up:nth-child(5) { transition-delay: .2s; }
.col-md-6.fade-up:nth-child(6),
.col-lg-4.fade-up:nth-child(6) { transition-delay: .3s; }

/* ---------- BOOTSTRAP OVERRIDES ---------- */
.btn-primary {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--charcoal-2);
  font-weight: 600;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--charcoal-2);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .hero-inner { min-height: auto; padding: 70px 0 60px; }
  .section-pad { padding: 70px 0; }
}

@media (max-width: 767px) {
  .hero-section::after { height: 50px; }
  .svc-card { flex-direction: column; gap: 14px; padding: 24px; }
  .stat-item {
    border-right: none !important;
    padding: 10px 16px;
  }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.08); }
  .col-6:nth-child(3) .stat-item,
  .col-6:nth-child(4) .stat-item { border-bottom: none; }
  .contact-form-wrap { padding: 24px 18px; }
  .contact-info-wrap { padding: 28px 20px; }
  .pkg-card { padding: 28px 22px; }
  .section-pad { padding: 56px 0; }
  .sec-header { margin-bottom: 36px; }
}

@media (max-width: 575px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .hero-title { font-size: 2rem; }
}

.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
}
