
/* ==========================================================
   VIJAY ENTERPRISES
   COMPLETE VIDEO GALLERY CSS

   Desktop: 4 columns
   Tablet: 3 columns
   Mobile: 2 columns

   No video overlays
   No text on video cards
   Muted looping video previews
========================================================== */

:root {
  --g-navy: #112b48;
  --g-blue: #203f83;
  --g-gold: #d6a261;
  --g-text: #52647a;
  --g-muted: #77869a;
  --g-border: #e1e7ef;
  --g-background: #f7f9fc;
  --g-white: #ffffff;
}

/* BASE */

.ve-gallery-page {
  margin: 0;
  min-width: 0;
  color: var(--g-navy);
  background: #fff;
  font-family: "Inter", sans-serif;
  overflow-wrap: break-word;
}

.ve-gallery-page *,
.ve-gallery-page *::before,
.ve-gallery-page *::after {
  box-sizing: border-box;
}

.ve-gallery-page .container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 24px;
}

.ve-gallery-page a:focus-visible,
.ve-gallery-page button:focus-visible {
  outline: 3px solid var(--g-gold);
  outline-offset: 4px;
}

/* HEADER */

.ve-g-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--g-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .2s ease;
}

.ve-g-header.is-scrolled {
  box-shadow: 0 7px 22px rgba(17,43,72,.1);
}

.ve-g-nav {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 16px;
  min-height: 82px;
}

/* BRAND */

.ve-g-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  min-width: 0;
  color: var(--g-navy);
  text-decoration: none;
}

.ve-g-brand img {
  display: block;
  flex: 0 0 49px;
  width: 49px;
  height: 49px;
  object-fit: contain;
  border-radius: 50%;
}

.ve-g-brand > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ve-g-brand strong {
  color: var(--g-navy);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.4px;
  line-height: 1.35;
  white-space: nowrap;
}

.ve-g-brand small {
  color: #708095;
  font-size: 9.5px;
  line-height: 1.4;
  white-space: nowrap;
}

/* NAV LINKS */

.ve-g-nav-right {
  grid-column: 2;
  justify-self: center;
  min-width: 0;
}

.ve-g-nav-list {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 5px;
  list-style: none;
  background: #edf1f5;
  border: 1px solid #e0e7ef;
  border-radius: 999px;
}

.ve-g-nav-list li {
  margin: 0;
  padding: 0;
}

.ve-g-nav-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 41px;
  padding: 10px 16px;
  color: #34475c;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color .18s ease,
    background-color .18s ease;
}

.ve-g-nav-list a:hover {
  color: var(--g-blue);
  background: white;
}

.ve-g-nav-list a.is-active,
.ve-g-nav-list a[aria-current="page"] {
  color: #fff;
  background: var(--g-navy);
}

/* HEADER QUOTE */

.ve-g-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-column: 3;
  justify-self: end;
  width: 155px;
  min-height: 48px;
  padding: 12px 18px;
  color: var(--g-blue);
  border: 1.5px solid var(--g-blue);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition:
    color .2s ease,
    background-color .2s ease;
}

.ve-g-quote:hover {
  color: #fff;
  background: var(--g-blue);
}

.ve-g-menu-toggle {
  display: none;
}

/* INTRO */

.ve-g-intro {
  padding: 45px 0 66px;
  background: #f5f7fa;
  border-bottom: 1px solid var(--g-border);
}

.ve-g-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 47px;
  font-size: 11px;
}

.ve-g-breadcrumb a {
  color: #687b91;
  text-decoration: none;
}

.ve-g-breadcrumb a:hover {
  color: var(--g-blue);
  text-decoration: underline;
}

.ve-g-breadcrumb svg {
  width: 13px;
  height: 13px;
  color: #9aa7b7;
}

.ve-g-breadcrumb > span {
  color: var(--g-blue);
  font-weight: 700;
}

.ve-g-intro-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.7fr);
  align-items: end;
  gap: 70px;
}

.ve-g-title-area,
.ve-g-intro-copy {
  min-width: 0;
}

.ve-g-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--g-blue);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 1.65px;
}

.ve-g-eyebrow > span {
  flex: 0 0 29px;
  width: 29px;
  height: 2px;
  background: var(--g-gold);
}

.ve-g-title-area h1 {
  margin: 0;
  color: var(--g-navy);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(48px,5.5vw,78px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -3.2px;
}

.ve-g-title-area h1 span {
  display: block;
  color: var(--g-blue);
}

.ve-g-intro-copy {
  padding-bottom: 7px;
}

.ve-g-intro-copy > p {
  margin: 0 0 24px;
  color: var(--g-text);
  font-size: 15px;
  line-height: 1.95;
}

.ve-g-service-location {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-top: 17px;
  color: var(--g-blue);
  border-top: 1px solid #dce4ed;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.6;
}

.ve-g-service-location svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

/* GALLERY */

.ve-g-work {
  padding: 69px 0 80px;
  background: #fff;
}

.ve-g-work-heading {
  margin-bottom: 32px;
}

.ve-g-section-label {
  display: block;
  margin-bottom: 12px;
  color: var(--g-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.ve-g-work-heading h2 {
  margin: 0;
  color: var(--g-navy);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(29px,3vw,39px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1.3px;
}

/* VIDEO GRID */

.ve-g-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  align-items: start;
  gap: 18px;
  width: 100%;
  min-width: 0;
}

.ve-g-grid:empty {
  min-height: 180px;
}

/* SINGLE VIDEO */

.ve-g-grid:has(> .ve-g-card:only-child) {
  grid-template-columns: minmax(0,320px);
}

/* CARDS */

.ve-g-card {
  display: block;
  min-width: 0;
  margin: 0;
}

.ve-g-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  isolation: isolate;
  background: #24394e;
  border: 1px solid #e1e7ef;
  border-radius: 11px;
  box-shadow: 0 4px 15px rgba(17,43,72,.045);
  transition: box-shadow .2s ease;
}

/* VIDEO ONLY */

.ve-g-video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #24394e;
  pointer-events: none;
  user-select: none;
}

.ve-g-video::-webkit-media-controls,
.ve-g-video::-webkit-media-controls-panel,
.ve-g-video::-webkit-media-controls-enclosure {
  display: none !important;
}

/* REMOVE ANY OLD OVERLAY */

.ve-g-card-media::after,
.ve-g-card-info,
.ve-g-video-status {
  display: none !important;
  content: none !important;
}

/* MESSAGES */

.ve-g-message {
  margin: 0;
  color: var(--g-muted);
  font-size: 14px;
  line-height: 1.75;
}

.ve-g-message:empty {
  display: none;
}

/* HOVER */

@media (hover: hover) and (pointer: fine) {
  .ve-g-card:hover .ve-g-card-media {
    box-shadow: 0 10px 30px rgba(17,43,72,.12);
  }
}

/* CTA */

.ve-g-cta-section {
  padding: 53px 0;
  color: white;
  background: var(--g-navy);
}

.ve-g-cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}

.ve-g-cta-layout > div {
  min-width: 0;
  max-width: 750px;
}

.ve-g-cta-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #dfb77d;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.6px;
}

.ve-g-cta-layout h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(28px,3vw,41px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}

.ve-g-cta-layout p {
  margin: 0;
  color: #cbd6e4;
  font-size: 13.5px;
  line-height: 1.85;
}

.ve-g-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  flex-shrink: 0;
  min-height: 50px;
  padding: 13px 19px;
  color: var(--g-navy);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 750;
  text-decoration: none;
}

.ve-g-cta-button:hover {
  color: var(--g-navy);
  background: #e8edf3;
}

.ve-g-cta-button svg {
  width: 17px;
  height: 17px;
}

/* LAPTOP NAV */

@media (min-width:992px) and (max-width:1199.98px) {
  .ve-g-nav {
    gap: 10px;
  }

  .ve-g-brand strong {
    font-size: 11px;
  }

  .ve-g-brand small {
    font-size: 8.5px;
  }

  .ve-g-brand img {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }

  .ve-g-nav-list a {
    padding: 10px 11px;
    font-size: 11px;
  }

  .ve-g-quote {
    width: 135px;
    min-height: 44px;
    font-size: 11px;
  }
}

/* TABLET */

@media (max-width:991.98px) {
  .ve-gallery-page .container {
    padding-inline: 20px;
  }

  .ve-g-nav {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    min-height: 72px;
    gap: 10px;
  }

  .ve-g-nav-right {
    display: none;
    order: 4;
    width: 100%;
    padding-bottom: 14px;
  }

  .ve-g-nav-right.is-open {
    display: block;
  }

  .ve-g-menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    color: var(--g-navy);
    background: #eff3f8;
    border: 1px solid var(--g-border);
    border-radius: 8px;
    cursor: pointer;
  }

  .ve-g-menu-toggle svg {
    width: 21px;
    height: 21px;
  }

  .ve-g-nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 8px;
    border-radius: 10px;
  }

  .ve-g-nav-list li {
    width: 100%;
  }

  .ve-g-nav-list a {
    justify-content: flex-start;
    min-height: 44px;
    padding-inline: 14px;
    border-radius: 7px;
    font-size: 13px;
  }

  .ve-g-quote {
    display: none;
  }

  .ve-g-intro-grid {
    gap: 35px;
  }

  .ve-g-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px;
  }

  .ve-g-grid:has(> .ve-g-card:only-child) {
    grid-template-columns: minmax(0,320px);
  }
}

/* MOBILE */

@media (max-width:767.98px) {
  .ve-gallery-page .container {
    padding-inline: 16px;
  }

  .ve-g-intro {
    padding: 30px 0 49px;
  }

  .ve-g-breadcrumb {
    margin-bottom: 35px;
  }

  .ve-g-intro-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 23px;
  }

  .ve-g-title-area h1 {
    font-size: clamp(42px,9vw,61px);
    letter-spacing: -1.9px;
  }

  .ve-g-intro-copy > p {
    font-size: 14px;
    line-height: 1.85;
  }

  .ve-g-work {
    padding: 50px 0 57px;
  }

  .ve-g-work-heading {
    margin-bottom: 25px;
  }

  .ve-g-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
  }

  .ve-g-grid:has(> .ve-g-card:only-child) {
    grid-template-columns: minmax(0,320px);
  }

  .ve-g-card-media {
    border-radius: 9px;
  }

  .ve-g-cta-section {
    padding: 45px 0;
  }

  .ve-g-cta-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .ve-g-cta-layout p {
    font-size: 14px;
  }
}

/* SMALL MOBILE */

@media (max-width:420px) {
  .ve-g-brand strong {
    font-size: 11px;
  }

  .ve-g-brand small {
    font-size: 8.5px;
  }

  .ve-g-brand img {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }

  .ve-g-grid {
    gap: 9px;
  }

  .ve-g-grid:has(> .ve-g-card:only-child) {
    grid-template-columns: minmax(0,1fr);
  }

  .ve-g-cta-button {
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    font-size: 13px;
  }
}

/* EXTRA SMALL MOBILE */

@media (max-width:360px) {
  .ve-gallery-page .container {
    padding-inline: 12px;
  }

  .ve-g-brand {
    gap: 8px;
  }

  .ve-g-brand strong {
    font-size: 10px;
  }

  .ve-g-brand small {
    font-size: 8px;
  }

  .ve-g-title-area h1 {
    font-size: 39px;
  }

  .ve-g-grid {
    gap: 8px;
  }

  .ve-g-cta-layout h2 {
    font-size: 29px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion:reduce) {
  .ve-gallery-page *,
  .ve-gallery-page *::before,
  .ve-gallery-page *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* PRINT */

@media print {
  .ve-g-header {
    position: static;
  }

  .ve-g-nav-right,
  .ve-g-menu-toggle,
  .ve-g-quote {
    display: none !important;
  }

  .ve-g-intro,
  .ve-g-work {
    padding-block: 24px;
  }

  .ve-g-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .ve-g-cta-section {
    background: white;
    color: var(--g-navy);
  }

  .ve-g-cta-layout h2,
  .ve-g-cta-layout p {
    color: var(--g-navy);
  }

  .ve-g-cta-button {
    display: none;
  }
}

/* END OF GALLERY CSS */
