/* ============================================
   Our Work — horizontal scroller (index page)
   + Google Reviews section
   ============================================ */

.work-scroller-section {
  position: relative;
  width: 100%;
  padding: 2em 0 4em;
}

.work-scroller-wrap {
  position: relative;
}

.work-scroller {
  display: flex;
  gap: 1.5em;
  overflow-x: scroll;
  padding: 1em 1.5em 2em;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #ff6b00 rgba(255, 255, 255, 0.08);
  cursor: grab;
}

.work-scroller.dragging {
  cursor: grabbing;
}

.work-scroller::-webkit-scrollbar {
  height: 6px;
}

.work-scroller::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

.work-scroller::-webkit-scrollbar-thumb {
  background: linear-gradient(to right, #fc002d, #ff6b00);
  border-radius: 3px;
}

.work-card {
  flex: 0 0 clamp(280px, 32vw, 420px);
  min-width: 280px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-bg-secondary, #131416);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.work-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.work-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-card:hover .work-card-img img {
  transform: scale(1.06);
}

.work-card-tag {
  position: absolute;
  top: 1em;
  left: 1em;
  padding: 0.35em 0.9em;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(to right, #fc002d, #ff6b00);
  border-radius: 100px;
}

.work-card-body {
  padding: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  flex: 1;
}

.work-card-body h3 {
  font-family: var(--font-secondary, Impact, sans-serif);
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-text, #fff);
}

.work-card-body p {
  font-size: 13.5px;
  color: var(--color-text-secondary, #bbb);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.work-card-link {
  align-self: flex-start;
  color: #ff6b00;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.work-card-link:hover {
  border-color: #ff6b00;
}

/* scroller arrows */
.scroller-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 10, 12, 0.85);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 5;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.scroller-arrow:hover {
  background: linear-gradient(to right, #fc002d, #ff6b00);
  border-color: transparent;
}

.scroller-arrow.prev { left: 1em; }
.scroller-arrow.next { right: 1em; }

/* View all work */
.view-all-work {
  display: flex;
  justify-content: center;
  padding: 1em 1.5em 0;
}

.view-all-work a {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 1.1em 2.6em;
  background: linear-gradient(to right, #fc002d, #ff6b00);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 14px;
  border-radius: 8px;
  font-family: var(--font-secondary);
  transition: transform 0.3s, box-shadow 0.3s;
}

.view-all-work a:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(255, 107, 0, 0.4);
}

/* ============================================
   Google Reviews
   ============================================ */
.reviews-section {
  position: relative;
  width: 100%;
  padding: 6em 1.5em;
}

.reviews-header {
  text-align: center;
  margin-bottom: 3em;
}

.reviews-header h2 {
  font-family: var(--font-secondary, Impact, sans-serif);
  text-transform: uppercase;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.05;
  color: var(--color-text, #fff);
}

.reviews-header .g-word span:nth-child(1) { color: #4285F4; }
.reviews-header .g-word span:nth-child(2) { color: #EA4335; }
.reviews-header .g-word span:nth-child(3) { color: #FBBC05; }
.reviews-header .g-word span:nth-child(4) { color: #4285F4; }
.reviews-header .g-word span:nth-child(5) { color: #34A853; }
.reviews-header .g-word span:nth-child(6) { color: #EA4335; }

.reviews-header p {
  margin-top: 0.8em;
  color: var(--color-text-secondary, #bbb);
  font-size: 15px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5em;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background: var(--color-bg-secondary, #131416);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.8em;
  display: flex;
  flex-direction: column;
  gap: 1em;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.review-stars {
  color: #FBBC05;
  font-size: 16px;
  letter-spacing: 2px;
}

.review-text {
  color: var(--color-text-secondary, #ccc);
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #fc002d, #ff6b00);
  font-size: 15px;
  flex-shrink: 0;
}

.review-author-name {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.review-source {
  color: #888;
  font-size: 12px;
}

.reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: 3em;
}

.reviews-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 1em 2.2em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
  border-radius: 100px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.reviews-cta a:hover {
  background: linear-gradient(to right, #fc002d, #ff6b00);
  border-color: transparent;
}


/* ---- Edge fades so it reads as "there is more to the right" ---- */
.work-scroller-wrap::before,
.work-scroller-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 3;
}

.work-scroller-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg, #000), transparent);
}

.work-scroller-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg, #000), transparent);
}

/* Hint that the row is draggable */
.work-scroller { cursor: grab; }
.work-scroller.dragging { cursor: grabbing; scroll-behavior: auto; }
.work-scroller.dragging .work-card { pointer-events: none; }

/* Keep the scrollbar visible - it is a scroll affordance */
.work-scroller::-webkit-scrollbar { height: 8px; }

@media (max-width: 700px) {
  .work-scroller-wrap::before,
  .work-scroller-wrap::after { width: 24px; }
}
