/* ==========================================================
   SR Creative Productions — Brand Consistency Layer
   Applies unified accent, eyebrow, heading, and CTA styles
   across Home, About, and Case Studies pages.
   ========================================================== */

:root {
  --src-accent: #00FF88;
  --src-accent-dim: rgba(0, 255, 136, 0.12);
  --src-accent-border: rgba(0, 255, 136, 0.35);
  /* Accessible text colours — min 4.5:1 contrast on dark bg */
  --src-text-muted: #b0b0b0;
  --src-text-body: #d0d0d0;
}

/* ==========================================================
   1. EYEBROW / SUBTITLE LABELS — unified across all pages
   ========================================================== */

/* Case Studies eyebrow → brand green */
.cs-eyebrow {
  color: var(--src-accent) !important;
}

/* Case Studies tag badges → green border */
.cs-tag {
  color: var(--src-accent) !important;
  border-color: var(--src-accent-border) !important;
}

/* About hero subtitle → green accent bar */
.ab-inner-hero-subtitle {
  color: var(--src-accent) !important;
}
.ab-inner-hero-subtitle::after {
  background-color: var(--src-accent) !important;
}

/* ==========================================================
   2. ACCENT COLOR — metrics, highlights, links, result bars
   ========================================================== */

/* Case Studies metric numbers → brand green */
.cs-metric strong {
  color: var(--src-accent) !important;
}

/* Case Studies metric cards → green accent border on hover */
.cs-metric {
  border-color: rgba(0, 255, 136, 0.08) !important;
  transition: border-color 0.3s ease;
}
.cs-metric:hover {
  border-color: var(--src-accent-border) !important;
}

/* Case Studies hero title span (currently gold) → brand green */
.cs-hero-title span {
  color: var(--src-accent) !important;
}

/* Case Studies result bar label */
.cs-result-bar .label {
  color: var(--src-accent) !important;
}

/* Case Studies PS card accent borders */
.cs-ps-card.problem {
  border-left-color: var(--src-accent-border) !important;
}
.cs-ps-card.solution {
  border-left-color: var(--src-accent) !important;
}

/* Case Studies PS labels */
.cs-ps-label {
  color: var(--src-accent) !important;
}

/* Case Studies deliverables bullet accent */
.cs-deliverables li::before {
  color: var(--src-accent) !important;
}

/* Case Studies section divider → green gradient */
.cs-divider {
  background: linear-gradient(90deg, transparent, var(--src-accent-border), transparent) !important;
}

/* ==========================================================
   3. SECTION HEADING SIZES — aligned across pages
   ========================================================== */

/* About inner hero title: tighten the letter-spacing on mobile */
@media (max-width: 767px) {
  .ab-inner-hero-title {
    letter-spacing: -3px !important;
    font-size: 64px !important;
  }
  .ab-inner-hero-title-box {
    margin-bottom: 80px !important;
  }
}

/* Case Studies hero title: consistent with site scale */
.cs-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem) !important;
  letter-spacing: -0.02em;
}

/* ==========================================================
   4. INNER PAGE HERO — consistent top spacing
   ========================================================== */

.cs-hero {
  padding-top: 160px !important;
}

.ab-inner-hero-bg {
  min-height: 520px;
}

/* ==========================================================
   5. CONSISTENT BOTTOM CTA SECTION
   Used on About and Case Studies via .src-page-cta
   ========================================================== */

.src-page-cta {
  text-align: center;
  padding: 100px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.src-page-cta .src-cta-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--src-accent);
  margin-bottom: 20px;
}

.src-page-cta h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  font-weight: 700;
}

.src-page-cta p {
  color: var(--src-text-muted);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 1rem;
  line-height: 1.75;
}

.src-page-cta .tp-btn-black {
  min-width: 200px;
}

/* ==========================================================
   6. PORTFOLIO PAGE — refined type scale
   ========================================================== */

/* Hero title: refined scale — premium not poster */
.tm-hero-title {
  font-size: 54px !important;
  letter-spacing: -2px !important;
  line-height: 1.1 !important;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .tm-hero-title {
    font-size: 44px !important;
    letter-spacing: -1.5px !important;
  }
}
@media (max-width: 767px) {
  .tm-hero-title {
    font-size: 32px !important;
    letter-spacing: -1px !important;
  }
}

/* Video card overlay title — reduce from 40px */
.tp-project-5-2-title-sm {
  font-size: 18px !important;
  font-weight: 500 !important;
  letter-spacing: -0.2px !important;
  line-height: 1.3 !important;
}

/* Category label — tighten */
.tp-project-5-2-category span {
  font-size: 11px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
}

/* Meta label above title */
.tp-project-5-2-meta {
  font-size: 11px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  opacity: 0.7;
  margin-bottom: 4px !important;
  display: block;
}

/* Tighter padding on card content area */
.tp-project-5-2-content {
  padding: 20px 24px !important;
}
.tp-project-5-2-category {
  padding: 20px 24px !important;
}

/* ==========================================================
   7. NAV — force single row
   ========================================================== */

/* Force the nav list into a single flex row — never wraps */
.tp-header-3-menu-wrap .tp-main-menu-content > ul,
.tp-header-3-menu-box .tp-main-menu-content > ul {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}

.tp-header-3-menu-wrap .tp-main-menu-content > ul > li,
.tp-header-3-menu-box .tp-main-menu-content > ul > li {
  display: flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

/* Compact enough to fit all 7 items on one line */
.tp-header-3-menu-wrap .tp-main-menu-content > ul > li > a,
.tp-header-3-menu-box .tp-main-menu-content > ul > li > a {
  font-size: 11.5px !important;
  padding: 6px 10px !important;
  white-space: nowrap !important;
  display: block !important;
  letter-spacing: 0.1px !important;
}

/* Also force the pill wrapper to never restrict width */
.tp-header-3-menu-wrap {
  width: auto !important;
  max-width: none !important;
}

/* ==========================================================
   8. MOBILE — inner page consistency
   ========================================================== */

@media (max-width: 767px) {
  .cs-hero {
    padding-top: 120px !important;
    padding-bottom: 60px !important;
  }
  .cs-block {
    padding: 50px 0 !important;
  }
  .cs-metrics {
    gap: 10px !important;
  }
  .cs-ps-row {
    flex-direction: column !important;
  }
  .src-page-cta {
    padding: 70px 20px !important;
  }
}

/* ==========================================================
   9. LOGO — nav size increase
   ========================================================== */

.tp-header-logo img,
.tp-header-3-logo img {
  width: 130px !important;
  height: auto !important;
}

/* ==========================================================
   10. PRELOADER — logo animation replacing loading bars
   ========================================================== */

.src-preloader {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.src-logo-anim {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
}

.src-loader-logo {
  width: 110px !important;
  height: auto !important;
  position: relative;
  z-index: 2;
  animation: src-logo-pulse 2s ease-in-out infinite;
}

.src-loader-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  animation: src-ring-expand 2s ease-out infinite;
}

.src-loader-ring-2 {
  animation-delay: 1s;
}

@keyframes src-logo-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.75; transform: scale(0.94); }
}

/* ==========================================================
   11. PORTFOLIO GALLERY — clean grid with thumbnail + play
   ========================================================== */

.src-gallery-section {
  padding: 40px 0 120px;
}

.src-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.src-gallery-item {
  position: relative;
  background: #0e0e0e;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.25s, transform 0.25s;
}

.src-gallery-item:hover {
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}

.src-gallery-item video,
.src-gallery-item iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}

/* Play button overlay */
.src-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.28);
  transition: opacity 0.2s;
}

.src-play-btn svg {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  padding: 10px;
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: transform 0.2s, background 0.2s;
}

.src-gallery-item:hover .src-play-btn svg {
  transform: scale(1.1);
  background: rgba(255,255,255,0.25);
}

.src-gallery-item.playing .src-play-btn {
  opacity: 0;
  pointer-events: none;
}

/* 2-col on tablet */
@media (max-width: 1100px) {
  .src-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 28px;
  }
}

/* 1-col on mobile */
@media (max-width: 600px) {
  .src-gallery-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 12px;
  }
  .src-gallery-section {
    padding: 20px 0 70px;
  }
}

@keyframes src-ring-expand {
  0%   { transform: translate(-50%, -50%) scale(0.7); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* ==========================================================
   12. ACCESSIBILITY — fix all low-contrast grey text in dark mode
   WCAG AA requires 4.5:1 for normal text, 3:1 for large text.
   All overrides below bring text to minimum #b0b0b0 (~7:1 on #111)
   ========================================================== */

/* Hero subtitle — was rgba(245,247,245,0.6) ≈ #9a9a9a = 2.9:1 FAIL */
.liko-dark-active .tm-hero-text p {
  color: #d4d4d4 !important;
}

/* General body paragraphs in dark mode */
.liko-dark-active p,
.liko-dark-active .tp-section-sub-title,
.liko-dark-active .tp-section-title-sm {
  color: #d0d0d0 !important;
}

/* Nav links */
.liko-dark-active .tp-main-menu-content > ul > li > a,
.liko-dark-active .header-main-menu nav ul li a {
  color: #e8e8e8 !important;
}

/* Service / feature description text — was various 0.5–0.6 opacity whites */
.liko-dark-active .tp-service-3-text,
.liko-dark-active .tp-service-text,
.liko-dark-active .tp-faq-text,
.liko-dark-active .tp-team-text,
.liko-dark-active .sv-small-text-box span,
.liko-dark-active .tp-testimonial-text,
.liko-dark-active .ab-inner-hero-text p {
  color: #c8c8c8 !important;
}

/* Footer text — keep slightly muted but still readable */
.liko-dark-active .tp-footer-widget p,
.liko-dark-active .tp-footer-widget li a,
.liko-dark-active .tp-copyright-text,
.liko-dark-active .tp-footer-2-widget p,
.liko-dark-active .tp-footer-2-widget li a {
  color: #b8b8b8 !important;
}

/* Labels, meta, eyebrow text — small so needs higher contrast */
.liko-dark-active .tp-project-5-2-meta,
.liko-dark-active .tp-project-5-2-category span,
.liko-dark-active .loader-text {
  color: #b0b0b0 !important;
}

/* Catch-all: any remaining semi-transparent text on dark backgrounds */
.liko-dark-active [style*="color: rgba(255, 255, 255, 0.5)"],
.liko-dark-active [style*="color: rgba(255, 255, 255, 0.4)"],
.liko-dark-active [style*="color: rgba(255, 255, 255, 0.3)"] {
  color: #c0c0c0 !important;
}
