/* =============================================
   VOLTRA SERVICES — Reviews.css  (Category Rebuild)
   Section-per-category portfolio, fully responsive
   ============================================= */

/* ── Page base ── */
.reviews-page { background-color: #080808; }
.reviews-page .page-bg { display: none; }

/* ── Main ── */
.rev-main {
  position: relative;
  z-index: 1;
  padding-top: calc(68px + 40px);
  padding-bottom: 76px;
  min-height: 100vh;
}

/* ================================================
   NAVBAR HAMBURGER (mobile)
   ================================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  z-index: 110;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================
   PAGE HEADER
   ================================================ */
.rev-header { text-align: center; padding: 0 16px 40px; }
.rev-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  color: #e5e7eb;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 5px 16px;
  margin-bottom: 20px;
}
.rev-star { color: #fbbf24; font-size: 0.9rem; }
.rev-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 8vw, 4.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin-bottom: 14px;
}
.rev-title-blue {
  background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 50%, #1d4ed8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.rev-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 20px;
}
.rev-divider {
  width: 44px; height: 3px;
  background: linear-gradient(90deg, #1a8cff, #5ab4ff);
  border-radius: 2px;
  margin: 0 auto;
}

@media (max-width: 400px) {
  .rev-title br, .rev-subtitle br { display: none; }
}

/* ================================================
   CATEGORY SECTION
   ================================================ */
.rev-category {
  max-width: 1280px;
  margin: 0 auto 52px;
  padding: 0 16px;
  scroll-margin-top: 90px; /* for anchor jumps with sticky nav */
}

.rev-cat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.rev-cat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.rev-cat-icon--blue   { background: rgba(59,130,246,0.12);  border: 1px solid rgba(59,130,246,0.3); }
.rev-cat-icon--purple { background: rgba(124,58,237,0.12);  border: 1px solid rgba(124,58,237,0.3); }
.rev-cat-icon--pink   { background: rgba(219,39,119,0.12);  border: 1px solid rgba(219,39,119,0.3); }
.rev-cat-icon--teal   { background: rgba(13,148,136,0.12);  border: 1px solid rgba(13,148,136,0.3); }
.rev-cat-icon--gold   { background: rgba(180,83,9,0.12);    border: 1px solid rgba(180,83,9,0.3);  }

.rev-cat-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.15;
}
.rev-cat-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
  line-height: 1.5;
}

/* ================================================
   CARDS GRID — mobile first: 1 col
   ================================================ */
.rev-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

/* ── Base card ── */
.rev-card {
  background: #0e1018;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), border-color 0.25s, box-shadow 0.25s;
  animation: revCardIn 0.5s ease both;
}
.rev-card:hover {
  transform: translateY(-5px);
  border-color: rgba(74,158,255,0.32);
  box-shadow: 0 14px 36px rgba(26,140,255,0.12);
}
.rev-card[data-index="0"] { animation-delay: 0.03s; }
.rev-card[data-index="1"] { animation-delay: 0.08s; }
.rev-card[data-index="2"] { animation-delay: 0.13s; }
.rev-card[data-index="3"] { animation-delay: 0.18s; }
.rev-card[data-index="4"] { animation-delay: 0.23s; }
.rev-card[data-index="5"] { animation-delay: 0.28s; }

@keyframes revCardIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Image area ── */
.rev-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #12151e;
  flex-shrink: 0;
}
.rev-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.rev-card:hover .rev-img { transform: scale(1.04); }

.rev-img-placeholder {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
}
.rev-placeholder--blue   { background: linear-gradient(135deg, #0b1535, #0d2060); }
.rev-placeholder--purple { background: linear-gradient(135deg, #120a2a, #2a0d5a); }
.rev-placeholder--pink   { background: linear-gradient(135deg, #1a0820, #3a0830); }
.rev-placeholder--teal   { background: linear-gradient(135deg, #041410, #0a2820); }
.rev-placeholder--gold   { background: linear-gradient(135deg, #180900, #2e1500); }

.ph-icon { font-size: 1.8rem; opacity: 0.6; }
.rev-img-placeholder small {
  font-family: 'Barlow', sans-serif;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

/* Category badge on image */
.rev-cat-badge {
  position: absolute;
  bottom: 10px; left: 10px;
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  border-radius: 6px;
  padding: 4px 9px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.badge--blue   { background:  rgba(29,78,216,0.85);  color: #bfdbfe; border: 1px solid rgba(96,165,250,0.4); }
.badge--purple { background: rgba(109,40,217,0.85); color: #ddd6fe; border: 1px solid rgba(167,139,250,0.4); }
.badge--pink   { background: rgba(190,24,93,0.85);  color: #fbcfe8; border: 1px solid rgba(244,114,182,0.4); }
.badge--teal   { background: rgba(13,148,136,0.85); color: #99f6e4; border: 1px solid rgba(45,212,191,0.4); }
.badge--gold   { background: rgba(161,98,7,0.85);   color: #fde68a; border: 1px solid rgba(251,191,36,0.4); }

/* ── Card body ── */
.rev-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.rev-proj-name {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 7px;
  line-height: 1.25;
}
.rev-proj-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin: 0 0 12px;
  flex: 1;
}
.rev-price-row { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.rev-price-label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}
.rev-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

/* ── Action buttons ── */
.rev-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.2s, transform 0.18s;
  width: 100%;
  margin-top: auto;
}
.rev-btn:hover { filter: brightness(1.15); transform: translateY(-1px); }
.rev-btn-icon { font-size: 0.85rem; }

.rev-btn--blue   { border: 1px solid #3b82f6; color: #93c5fd; background: rgba(59,130,246,0.1); }
.rev-btn--purple { border: 1px solid #7c3aed; color: #c4b5fd; background: rgba(124,58,237,0.1); }
.rev-btn--pink   { border: 1px solid #db2777; color: #fbcfe8; background: rgba(219,39,119,0.1); }
.rev-btn--teal   { border: 1px solid #0d9488; color: #5eead4; background: rgba(13,148,136,0.1); }
.rev-btn--gold   { border: 1px solid #b45309; color: #fcd34d; background: rgba(180,83,9,0.1);  }

.rev-btn--blue:hover   { background: rgba(59,130,246,0.2); }
.rev-btn--purple:hover { background: rgba(124,58,237,0.2); }
.rev-btn--pink:hover   { background: rgba(219,39,119,0.2); }
.rev-btn--teal:hover   { background: rgba(13,148,136,0.2); }
.rev-btn--gold:hover   { background: rgba(180,83,9,0.2);  }

/* ================================================
   TRUST BANNER
   ================================================ */
.rev-banner {
  max-width: 1100px;
  margin: 16px auto 0;
  padding: 0 16px;
}
.rev-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 22px;
}
.banner-trust-left { display: flex; align-items: center; gap: 14px; }
.banner-icon-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(26,140,255,0.15);
  border: 1.5px solid rgba(26,140,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.banner-trust-line1 {
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem; font-weight: 700; color: #fff; margin: 0; line-height: 1.3;
}
.banner-trust-line2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem; font-weight: 800; color: #4a9eff; margin: 0;
}
.banner-vline { width: 100%; height: 1px; background: rgba(255,255,255,0.1); }
.banner-body-text {
  font-family: 'Barlow', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin: 0;
}
.banner-rating-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.banner-stars { display: flex; gap: 3px; font-size: 1.1rem; color: #fbbf24; }
.banner-rating-label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ================================================
   RESPONSIVE BREAKPOINTS
   ================================================ */

/* 480px — 2 columns */
@media (min-width: 480px) {
  .rev-header   { padding: 0 24px 44px; }
  .rev-category { padding: 0 24px; }
  .rev-banner   { padding: 0 24px; }
  .rev-cards    { grid-template-columns: repeat(2, 1fr); }
}

/* 700px — banner goes row */
@media (min-width: 700px) {
  .rev-banner-inner {
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 24px 32px;
  }
  .banner-trust-left { padding-right: 28px; flex-shrink: 0; }
  .banner-vline { width: 1px; height: 44px; margin: 0 28px; }
  .banner-body-text { flex: 1; }
  .banner-rating-wrap { align-items: flex-end; flex-shrink: 0; }
}

/* 768px — 3 columns */
@media (min-width: 768px) {
  .rev-category { padding: 0 28px; }
  .rev-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* 1024px — wider gaps, 4 columns possible */
@media (min-width: 1024px) {
  .rev-main     { padding-top: calc(68px + 60px); }
  .rev-category { padding: 0 32px; }
  .rev-banner   { padding: 0 32px; }
  .rev-cards    { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

/* 1280px — 6 columns to fit all project cards in one row if desired */
@media (min-width: 1280px) {
  .rev-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ================================================
   MOBILE NAVBAR
   ================================================ */
@media (max-width: 680px) {
  .nav-hamburger { display: flex; }
  .navbar {
    top: 0 !important; left: 0 !important; right: 0 !important;
    transform: none !important; width: 100% !important; border-radius: 0 !important;
  }
  .nav-inner {
    border-radius: 0 !important; width: 100% !important;
    padding: 0 16px !important; height: 56px;
    display: flex; align-items: center; justify-content: space-between;
    position: relative;
  }
  .nav-links {
    display: none;
    position: absolute; top: 56px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(8,20,50,0.97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(26,140,255,0.2);
    border-bottom: 1px solid rgba(26,140,255,0.2);
    padding: 12px 0; gap: 0; height: auto; z-index: 200;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-link {
    display: block; width: 100%;
    padding: 13px 24px !important; font-size: 0.9rem !important;
    border-radius: 0 !important; text-align: left;
  }
  .nav-link.active::after { display: none; }
  .nav-link.active { border-left: 3px solid #1a8cff; padding-left: 21px !important; }
  .rev-main { padding-top: calc(56px + 28px); }
  .rev-category { scroll-margin-top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .rev-card { animation: none; }
  .rev-card:hover { transform: none; }
  .rev-card:hover .rev-img { transform: none; }
}