/*
Theme Name: Velor Nocturnal Monolith
Theme URI: https://velor-group.com
Author: Velor Group
Author URI: https://velor-group.com
Description: Premium dark luxury theme for Velor Group. Navy + Beige brand colors, Bebas Neue headlines, Montserrat Light body, cinematic hero video, animated preloader, and ACF-powered content editing.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
Text Domain: velor
*/

/* ── FONTS ─────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'BebasNeue';
  src: url('assets/fonts/BebasNeue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'MontserratLight';
  src: url('assets/fonts/Montserrat-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}

/* ── RESET ─────────────────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── BRAND TOKENS ──────────────────────────────────────────────────────────── */
:root {
  --navy:        #111C2D;
  --navy-mid:    #1A2840;
  --navy-light:  #243350;
  --beige:       #B8AD9E;
  --beige-bright:#CFC4B4;
  --white:       #F0EDE8;
  --white-dim:   rgba(240,237,232,0.55);
  --white-faint: rgba(240,237,232,0.25);
  --white-ghost: rgba(240,237,232,0.08);
}

html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: 'MontserratLight', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ─────────────────────────────────────────────────────────── */
#cur {
  position: fixed; pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .5s cubic-bezier(.25,1,.5,1), height .5s cubic-bezier(.25,1,.5,1), border-color .5s;
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid rgba(184,173,158,.6);
}
#cur.cur-hover { width: 44px; height: 44px; border-color: rgba(184,173,158,.8); }
#cur-dot {
  position: fixed; pointer-events: none; z-index: 10000;
  transform: translate(-50%,-50%);
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--beige); transition: opacity .3s;
}

/* ── PRELOADER ─────────────────────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; background: var(--navy);
  z-index: 8000; display: flex; align-items: center;
  justify-content: center; flex-direction: column;
}
.pre-shatter {
  position: absolute; width: 1px; height: 0;
  background: var(--beige); transform-origin: top;
}
.pre-logo {
  display: flex; align-items: center; justify-content: center;
}
.pre-logo img {
  width: 350px; height: 350px; object-fit: contain;
  filter: brightness(0) invert(1) sepia(1) saturate(0.3);
}

/* ── NAV ───────────────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 4px 48px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  transition: background .5s cubic-bezier(.25,1,.5,1), backdrop-filter .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
nav.nav-scrolled {
  background: rgba(17,28,45,.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(184,173,158,.08);
}
.nav-center { display: flex; justify-content: center; }
.nav-right   { display: flex; justify-content: flex-end; align-items: center; gap: 40px; }
.nav-brand img {
  height: 225px; width: auto; display: block;
  transition: height 0.6s cubic-bezier(.25,1,.5,1);
}
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  font-family: 'MontserratLight', sans-serif;
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(240,237,232,.35); text-decoration: none; transition: color .6s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 50%; right: 50%;
  height: 1px; background: var(--beige);
  transition: left .4s cubic-bezier(.25,1,.5,1), right .4s cubic-bezier(.25,1,.5,1);
}
.nav-links a:hover { color: rgba(240,237,232,.8); }
.nav-links a:hover::after { left: 0; right: 0; }
.nav-cta {
  font-family: 'MontserratLight', sans-serif;
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--beige); border: 1px solid rgba(184,173,158,.3);
  padding: 10px 24px; text-decoration: none;
  transition: background .4s, border-color .4s;
}
.nav-cta:hover { background: rgba(184,173,158,.08); border-color: var(--beige); }

/* ── SECTIONS ──────────────────────────────────────────────────────────────── */
section { min-height: 100vh; position: relative; }

/* ── HERO ──────────────────────────────────────────────────────────────────── */
#hero { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-video-wrap { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(17,28,45,.55) 0%, rgba(17,28,45,.35) 50%, rgba(17,28,45,.75) 100%);
}
.hero-inner {
  position: relative; z-index: 2; text-align: center;
  opacity: 0; animation: heroIn 2s cubic-bezier(.25,1,.5,1) 3.2s forwards;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-h1 {
  font-family: 'BebasNeue', sans-serif;
  font-size: clamp(3.2rem, 7.5vw, 8rem);
  font-weight: 400; line-height: .92; letter-spacing: .04em;
  color: var(--white); text-shadow: 0 4px 40px rgba(17,28,45,.6);
}
.hero-h1 span { color: var(--beige-bright); }
.hero-sub {
  margin-top: 40px;
  font-family: 'MontserratLight', sans-serif;
  font-size: .82rem; letter-spacing: .06em;
  color: rgba(240,237,232,.55);
  max-width: 440px; margin-left: auto; margin-right: auto; line-height: 2;
}
.hero-cta-wrap { margin-top: 56px; display: flex; gap: 24px; justify-content: center; align-items: center; }
.btn-ghost {
  font-family: 'MontserratLight', sans-serif;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--beige); border: 1px solid rgba(184,173,158,.4);
  padding: 16px 40px; text-decoration: none;
  transition: background .6s, border-color .6s, letter-spacing .4s;
}
.btn-ghost:hover { background: rgba(184,173,158,.08); border-color: var(--beige); letter-spacing: .28em; }
.btn-text {
  font-family: 'MontserratLight', sans-serif;
  font-size: .65rem; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(240,237,232,.3); text-decoration: none; transition: color .4s;
}
.btn-text:hover { color: rgba(240,237,232,.7); }
.hero-scroll {
  position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  opacity: 0; animation: heroIn 1.5s cubic-bezier(.25,1,.5,1) 4s forwards;
}
.hero-scroll span {
  font-family: 'MontserratLight', sans-serif;
  font-size: .6rem; letter-spacing: .35em; text-transform: uppercase;
  color: rgba(240,237,232,.25);
}
.scroll-bar {
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, rgba(184,173,158,.5), transparent);
  animation: scrollAnim 2.5s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%,100% { transform: scaleY(1); opacity: .4; }
  50%      { transform: scaleY(1.15); opacity: 1; }
}

/* ── ABOUT ─────────────────────────────────────────────────────────────────── */
#about { background: var(--navy); display: flex; align-items: center; justify-content: center; padding: 160px 56px; }
.about-inner { max-width: 900px; width: 100%; }
.section-label {
  font-family: 'MontserratLight', sans-serif;
  font-size: .6rem; letter-spacing: .4em; text-transform: uppercase;
  color: var(--beige); margin-bottom: 48px; opacity: .7;
}
.about-text {
  font-family: 'MontserratLight', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 300; line-height: 1.9;
  color: rgba(240,237,232,.75); letter-spacing: .02em; max-width: 720px;
}
.about-divider { width: 60px; height: 1px; background: var(--beige); margin: 56px 0; opacity: .35; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; }
.stat-num {
  font-family: 'BebasNeue', sans-serif;
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  font-weight: 400; color: var(--white); letter-spacing: .04em;
}
.stat-label {
  font-family: 'MontserratLight', sans-serif;
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(240,237,232,.35); margin-top: 8px;
}

/* ── SERVICES ──────────────────────────────────────────────────────────────── */
#services { background: var(--navy); padding: 120px 56px; }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 80px; }
.services-title {
  font-family: 'BebasNeue', sans-serif;
  font-size: clamp(3rem, 6vw, 6rem); font-weight: 400; letter-spacing: .04em; color: var(--white);
}
.services-title span { color: var(--beige); }
.services-count {
  font-family: 'MontserratLight', sans-serif;
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(240,237,232,.25);
}
.service-item {
  border-top: 1px solid rgba(240,237,232,.07); padding: 40px 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: none; transition: padding .6s cubic-bezier(.25,1,.5,1); position: relative; overflow: hidden;
}
.service-item::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(184,173,158,.03); transform: scaleX(0); transform-origin: left;
  transition: transform .6s cubic-bezier(.25,1,.5,1);
}
.service-item:hover::before { transform: scaleX(1); }
.service-item:hover { padding: 40px 24px; }
.service-num  { font-family: 'MontserratLight', sans-serif; font-size: .9rem; color: var(--beige); opacity: .5; min-width: 48px; }
.service-name { font-family: 'BebasNeue', sans-serif; font-size: clamp(1.8rem, 2.8vw, 3rem); font-weight: 400; letter-spacing: .04em; color: var(--white); flex: 1; padding: 0 32px; }
.service-desc { font-family: 'MontserratLight', sans-serif; font-size: .75rem; color: rgba(240,237,232,.3); max-width: 280px; line-height: 1.8; text-align: right; }
.service-arrow { font-size: 1.5rem; color: var(--beige); opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .4s; }
.service-item:hover .service-arrow { opacity: 1; transform: translateX(0); }
.service-item:last-child { border-bottom: 1px solid rgba(240,237,232,.07); }

/* ── PORTFOLIO ─────────────────────────────────────────────────────────────── */
#portfolio { background: var(--navy); padding: 120px 0 120px 56px; overflow: hidden; }
.portfolio-header { margin-bottom: 64px; padding-right: 56px; }
.portfolio-title { font-family: 'BebasNeue', sans-serif; font-size: clamp(3rem, 6vw, 6rem); font-weight: 400; letter-spacing: .04em; color: var(--white); }
.portfolio-title span { color: var(--beige); }
.portfolio-track { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; padding-right: 56px; cursor: grab; }
.portfolio-track::-webkit-scrollbar { display: none; }
.portfolio-track.dragging { cursor: grabbing; }
.portfolio-item { flex: 0 0 420px; height: 560px; position: relative; overflow: hidden; background: var(--navy-mid); }
.portfolio-item-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.portfolio-item-inner img { width: 100%; height: 100%; object-fit: cover; }
.pi-monogram { font-family: 'BebasNeue', sans-serif; font-size: 6rem; font-weight: 400; color: rgba(184,173,158,.12); letter-spacing: .1em; }
.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,28,45,.92) 0%, transparent 55%); opacity: 0; transition: opacity .8s cubic-bezier(.25,1,.5,1); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-info { position: absolute; bottom: 32px; left: 32px; right: 32px; opacity: 0; transform: translateY(12px); transition: opacity .6s cubic-bezier(.25,1,.5,1), transform .6s cubic-bezier(.25,1,.5,1); }
.portfolio-item:hover .portfolio-info { opacity: 1; transform: translateY(0); }
.portfolio-info-cat  { font-family: 'MontserratLight', sans-serif; font-size: .6rem; letter-spacing: .25em; text-transform: uppercase; color: var(--beige); margin-bottom: 8px; }
.portfolio-info-name { font-family: 'BebasNeue', sans-serif; font-size: 1.8rem; font-weight: 400; letter-spacing: .04em; color: var(--white); }
.pi-1 { background: linear-gradient(135deg,#1a2535 0%,#243050 100%); }
.pi-2 { background: linear-gradient(135deg,#141e2e 0%,#1e2c44 100%); }
.pi-3 { background: linear-gradient(135deg,#1c2638 0%,#263550 100%); }
.pi-4 { background: linear-gradient(135deg,#131d2c 0%,#1d2b40 100%); }
.pi-5 { background: linear-gradient(135deg,#1e2840 0%,#28384e 100%); }

/* ── CLIENTS ───────────────────────────────────────────────────────────────── */
#clients { background: var(--navy); padding: 120px 56px; border-top: 1px solid rgba(240,237,232,.05); }
.clients-title { font-family: 'BebasNeue', sans-serif; font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 400; letter-spacing: .04em; color: rgba(240,237,232,.6); margin-bottom: 80px; text-align: center; }
.clients-title span { color: rgba(184,173,158,.7); }
.clients-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; border: 1px solid rgba(240,237,232,.06); }
.client-cell { padding: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(240,237,232,.04); transition: background .6s; }
.client-cell:hover { background: rgba(184,173,158,.05); }
.client-name { font-family: 'MontserratLight', sans-serif; font-size: 1rem; color: rgba(240,237,232,.25); letter-spacing: .1em; text-transform: uppercase; transition: color .6s; }
.client-cell:hover .client-name { color: rgba(240,237,232,.7); }
.testimonial { max-width: 700px; margin: 80px auto 0; text-align: center; }
.testimonial-quote { font-family: 'MontserratLight', sans-serif; font-size: clamp(1rem, 1.6vw, 1.35rem); font-weight: 300; font-style: italic; color: rgba(240,237,232,.6); line-height: 1.8; margin-bottom: 32px; }
.testimonial-author { font-family: 'MontserratLight', sans-serif; font-size: .65rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(184,173,158,.6); }

/* ── CTA ───────────────────────────────────────────────────────────────────── */
#cta { background: var(--navy); min-height: 100vh; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding: 80px 56px; position: relative; overflow: hidden; }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(184,173,158,.05) 0%, transparent 70%); animation: ctaGlow 4s ease-in-out infinite; }
@keyframes ctaGlow {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: .5; }
  50%      { transform: translate(-50%,-50%) scale(1.15); opacity: 1; }
}
.cta-question { font-family: 'BebasNeue', sans-serif; font-size: clamp(3.5rem, 8vw, 9rem); font-weight: 400; letter-spacing: .04em; color: var(--white); line-height: .92; margin: 24px 0 32px; position: relative; z-index: 2; }
.cta-sub { font-family: 'MontserratLight', sans-serif; font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(240,237,232,.25); margin-bottom: 64px; position: relative; z-index: 2; }
.cta-email { font-family: 'MontserratLight', sans-serif; font-size: clamp(1rem, 1.8vw, 1.4rem); font-weight: 300; color: var(--beige); text-decoration: none; letter-spacing: .1em; border-bottom: 1px solid rgba(184,173,158,.3); padding-bottom: 4px; transition: border-color .4s, letter-spacing .4s; position: relative; z-index: 2; }
.cta-email:hover { border-color: var(--beige); letter-spacing: .2em; }

/* ── FOOTER ────────────────────────────────────────────────────────────────── */
footer { background: var(--navy); padding: 64px 56px; border-top: 1px solid rgba(240,237,232,.05); display: flex; justify-content: space-between; align-items: flex-end; }
.footer-brand img { height: 28px; width: auto; opacity: .5; transition: opacity .4s; }
.footer-brand img:hover { opacity: .8; }
.footer-links { display: flex; gap: 32px; }
.footer-links a { font-family: 'MontserratLight', sans-serif; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(240,237,232,.2); text-decoration: none; transition: color .4s; }
.footer-links a:hover { color: rgba(240,237,232,.6); }
.footer-copy { font-family: 'MontserratLight', sans-serif; font-size: .65rem; color: rgba(240,237,232,.15); letter-spacing: .1em; }

/* ── SCROLL REVEAL ─────────────────────────────────────────────────────────── */
.sr { opacity: 0; transform: translateY(24px); transition: opacity 1.4s cubic-bezier(.25,1,.5,1), transform 1.4s cubic-bezier(.25,1,.5,1); }
.sr-visible { opacity: 1; transform: translateY(0); }
.sr-delay-1 { transition-delay: .15s; }
.sr-delay-2 { transition-delay: .3s; }
.sr-delay-3 { transition-delay: .45s; }

/* ── NOISE OVERLAY ─────────────────────────────────────────────────────────── */
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* ── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-brand img { height: 80px; }
  #about, #services, #portfolio, #clients, #cta { padding: 80px 24px; }
  #portfolio { padding: 80px 0 80px 24px; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 32px; }
  .clients-grid { grid-template-columns: repeat(3,1fr); }
  footer { flex-direction: column; gap: 24px; padding: 48px 24px; }
  .service-desc { display: none; }
}
