/*
Theme Name: NKV
Version: 1.1
Author: https://helloknox.com
Author URI: https://helloknox.com
Description: Theme for NKV
*/

:root {
  --white: #ffffff;
  --color-accent: #f57b53;
  --color-bg: #efefef;
  --color-surface: rgba(255,255,255,0.05);
  --color-surface-border: rgba(255, 255, 255, 0.08);
  --color-text: #333;
  --color-text-muted: #333;
}

@font-face {
    font-family: 'colonnabold';
    src: url('/wp-content/themes/nkv/assets/fonts/colonnabold-webfont.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@media (max-width: 991px) {
  .hide-mobile {
    display: none !important;
  }
}

/* ============================================================
   GLOBAL — Container & Reset basics
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
}

.container {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.section-label {
  font-size: clamp(0.9rem, 1.1vw, 1.3rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-family: 'Oswald', sans-serif;
}

.text-center {
  text-align: center;
}


/* ── Eyebrow label ─────────────────────────────────────────── */

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Dark overlay on top of video */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(14, 14, 67, 0.72) 100%
  );
}

/* ── Sticky nav ────────────────────────────────────────────── */
.hero__nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-block: clamp(0.6rem, 1.5vw, 1rem);
  display: flex;
  justify-content: center;
}

.hero__nav .container {
  display: flex;
  justify-content: center;
}

.hero__nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 2vw, 0.5rem);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 0.45rem 1rem;
}

.hero__nav-link {
  display: flex;
  align-items: center;
  gap: 0.35em;
  color: var(--color-accent);
  text-decoration: none;
  font-size: clamp(0.65rem, 1.2vw, 0.78rem);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0em;
  text-transform: uppercase;
  padding: 0.4em 0.75em;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

@media (min-width: 480px) {
  .hero__nav-link {
    letter-spacing: 0.08em;
    gap: 0.45em;
  }
}

.hero__nav-link i {
  font-size: 0.85em;
  opacity: 0.8;
}

.hero__nav-link:hover {
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.2);
}

/* ── Scrollable content row (logo + top-right) ─────────────── */
.hero__content {
  position: relative;
  z-index: 1;
  flex: 1; /* push bottom block down */
  padding-block: clamp(1.25rem, 3vw, 2rem);
}

.hero__content-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

/* ── Bottom text block ─────────────────────────────────────── */
.hero__bottom {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(1.5rem, 2vw, 2rem);
  width: 94%;
  margin: 0 auto;
}

.hero__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

/* Main headline */
.hero__headline {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(3rem, 9vw, 10rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgb(245, 123, 83, 1);
  text-transform: none;
  max-width: 100%;
  text-align: justify;
  text-align-last: justify;
}

/* Subtitle */
.hero__subtitle {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(0.8rem, 1.1vw, 1rem);
  letter-spacing: 0.4em;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin: 0 auto;
  font-weight: 300;
}

.hero__subtitle span {
  padding: 25px;
}

@media (min-width: 991px) {
  .hero__subtitle {
    width: 70%;
  }
}

/* ============================================================
   RESPONSIVE — mobile-first, scaling up
   ============================================================ */

/* Tablet and up */
@media (min-width: 600px) {
  .hero__nav-link span {
    display: inline; /* always visible, but ensures it shows */
  }
}

/* Desktop nav — slightly more padding */
@media (min-width: 1024px) {
  .hero__nav-list {
    padding: 0.5rem 1.5rem;
    gap: 0.5rem;
  }

  .hero__nav-link {
    padding: 0.45em 1em;
  }
}


/* ── Mobile adjustments ────────────────────────────────────── */
@media (max-width: 480px) {

  .hero__nav-link {
    padding: 0.5em;
  }

  .hero__nav-link i {
    font-size: 1em;
    opacity: 1;
  }
}



/* ============================================================
   ABOUT
   ============================================================ */

/* ── Section wrapper ───────────────────────────────────────── */
.about {
  background-color: var(--color-bg);
  color: var(--color-text);
  padding-block: clamp(2rem, 7vw, 5rem);
}

.about__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
}

/* ── Accent colour — shared utility ───────────────────────── */
.accent {
  color: var(--color-accent);
}

/* ── Main headline ─────────────────────────────────────────── */
.about__headline {
  font-family: inherit;
  font-size: clamp(1.75rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  color: var(--color-text);
}

/* ── Intro paragraph ───────────────────────────────────────── */
.about__intro {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  line-height: 1.75;
  text-align: center;
  color: var(--color-text-muted);
  max-width: 65ch;
}

/* ── Stats bar ─────────────────────────────────────────────── */
.about__stats-bar {
  margin-top: clamp(1rem, 3vw, 2rem);
  width: 100%;
  display: flex;
  justify-content: center;
}

.about__stats-text {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-size: clamp(0.8rem, 1.3vw, 0.95rem);
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 999px;
  padding: 0.75em 2em;
  text-align: center;
  line-height: 1.8;
}

.about__stats-text .accent {
  font-weight: 700;
}


/* ============================================================
   PORTFOLIO
   ============================================================ */

.solutions {
  background-color: var(--color-bg);
  color: var(--color-text);
  padding-block: clamp(2rem, 7vw, 5rem);
}

.solutions .container {
  display: flex;
  flex-direction: column;
  gap: clamp(5rem, 10vw, 8rem);
}

/* ── Each solution row ─────────────────────────────────────── */
.solutions__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

/* Reverse every even row on tablet and up */
@media (min-width: 991px) {
  .solutions__row {
    flex-direction: row;
    align-items: center;
  }

  .solutions__row:nth-child(even) {
    flex-direction: row-reverse;
  }
}

/* ── Image side ────────────────────────────────────────────── */
.solutions__image-wrap {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(240px, 35vw, 480px);
}

.solutions__image {
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
}

.solutions__image-placeholder {
  width: 100%;
  min-height: clamp(240px, 35vw, 480px);
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 3rem;
}

/* ── Content side ──────────────────────────────────────────── */
.solutions__content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vw, 1.1rem);
}

/* Counter e.g. 01 / 04 */
.solutions__counter {
  color: var(--color-text-muted);
}

/* Main title */
.solutions__title {
  font-family: inherit;
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text);
}

/* Subtitle tag e.g. "AUDIENCE ONLY" */
.solutions__subtitle {
  color: var(--color-accent);
}

/* Body paragraph */
.solutions__body p {
  font-size: clamp(0.875rem, 1.3vw, 1rem);
  line-height: 1.75;
  color: var(--color-text-muted);
}




/* ============================================================
   VIDEO SECTION
   Extends solutions styles — only adds what is new
   ============================================================ */

/* ── Section spacing ───────────────────────────────────────── */
.vid-section {
  padding-block: clamp(4rem, 10vw, 8rem);
}

.text-center {
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

/* ── Row — same as solutions but no nth-child reverse ──────── */
.vid-section__row {
  flex-direction: column;
  align-items: stretch;
}

@media (min-width: 768px) {
  .vid-section__row {
    flex-direction: row;
    align-items: center;
  }
}

/* ── Player wrap — reuses solutions__image-wrap sizing ─────── */
.vid-section__player-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 12px;
  overflow: hidden;
  padding-bottom: 1rem;
}

/* ── Video element ─────────────────────────────────────────── */
.vid-section__video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}

/* ── Prev / Next controls ──────────────────────────────────── */
.vid-section__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding-inline: 1rem;
}

.vid-section__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-surface-border);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.vid-section__btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.vid-section__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.vid-section__counter {
  font-size: clamp(0.75rem, 1.1vw, 0.85rem);
  color: var(--color-text-muted);
  font-family: inherit;
  min-width: 3.5em;
  text-align: center;
}

/* ── Video label ───────────────────────────────────────────── */
.vid-section__label {
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
  padding-inline: 1rem;
  font-family: inherit;
  min-height: 1em;
}






/* ============================================================
   GALLERY
   ============================================================ */

.work {
  background-color: var(--color-bg);
  color: var(--color-text);
  padding-block: clamp(2rem, 7vw, 5rem);
  overflow: hidden; /* clip tracks that extend beyond viewport */
}

/* ── Header ────────────────────────────────────────────────── */
.work__header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.work__title {
  font-family: inherit;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text);
}

/* ── Track wrapper — full bleed ────────────────────────────── */
.work__track-wrap {
  width: 100%;
  overflow: hidden;
  margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

.work__track-wrap:last-child {
  margin-bottom: 0;
}

/* ── Track — the scrolling strip ───────────────────────────── */
.work__track {
  display: flex;
  flex-direction: row;
  gap: clamp(0.5rem, 1vw, 0.85rem);
  will-change: transform;
  /* Start positions set by JS, but define a base */
  transform: translateX(0);
  transition: transform 0.05s linear;
}

/* ── Individual card ───────────────────────────────────────── */
.work__card {
  position: relative;
  flex-shrink: 0;
  /* Mobile: ~half viewport width so 2+ cards visible */
  width: clamp(180px, 44vw, 320px);
  height: clamp(140px, 22vw, 300px);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

@media (min-width: 768px) {
  .work__card {
    width: clamp(260px, 22vw, 680px);
    height: clamp(200px, 18vw, 600px);
  }
}

/* ── Card image ─────────────────────────────────────────────── */
.work__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transition: transform 0.5s ease;
}

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

/* ── Card placeholder (no image) ───────────────────────────── */
.work__card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
}

/* ── Caption overlay ────────────────────────────────────────── */
.work__card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(0.75rem, 2vw, 1.25rem) clamp(0.75rem, 2vw, 1rem);
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  font-family: inherit;
  font-weight: 600;
  color: var(--color-text);
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  line-height: 1.3;
}




/* Contact */

/* ── Section wrapper ───────────────────────────────────────── */
.contact {
  background-color: var(--color-bg);
  color: var(--color-text);
  padding-block: clamp(2rem, 7vw, 5rem);
}

/* ── Inner — flex column, centred ─────────────────────────── */
.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

/* ── Eyebrow label ─────────────────────────────────────────── */
.contact__label {
  color: var(--color-accent);
}

/* ── Title ─────────────────────────────────────────────────── */
.contact__title {
  font-family: inherit;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text);
}

/* ── Intro paragraph ───────────────────────────────────────── */
.contact__intro {
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* ── Form card ─────────────────────────────────────────────── */
.contact__form-card {
  width: 100%;
  max-width: 860px;
  margin-top: clamp(1rem, 3vw, 2rem);
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 16px;
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: left;
}




/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background-color: var(--color-bg);
  color: var(--color-text);
  border-top: 1px solid var(--color-surface-border);
  padding-block: clamp(3rem, 8vw, 5rem);
}

/* ── Inner — two columns ───────────────────────────────────── */
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 4rem);
}


/* ── Left column ───────────────────────────────────────────── */
.footer__words {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: center;
}


/* Description */
.footer__description {
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  line-height: 1.75;
  color: var(--color-text-muted);
}






