/* ================================================================
   Von Event Services — custom.css v6.0  CLEAN REWRITE
   Header · Footer · Hero · Dropdowns · Mobile · Typography
================================================================ */

/* ── GLOBAL BASE ─────────────────────────────────────────────── */
html { font-size: 17px; }
body { font-size: 1rem; line-height: 1.75; -webkit-font-smoothing: antialiased; }

/* WordPress color preset classes — force correct values */
:root {
  --wp--preset--color--black:      #0A0A0A;
  --wp--preset--color--charcoal:   #1C1C1C;
  --wp--preset--color--crimson:    #8B0020;
  --wp--preset--color--gold:       #C9A84C;
  --wp--preset--color--gold-light: #E8D5A3;
  --wp--preset--color--cream:      #FAF7F2;
  --wp--preset--color--white:      #FFFFFF;
}
.has-cream-color       { color: #FAF7F2 !important; }
.has-gold-color        { color: #C9A84C !important; }
.has-gold-light-color  { color: #E8D5A3 !important; }
.has-crimson-color     { color: #8B0020 !important; }
.has-charcoal-color    { color: #1C1C1C !important; }
.has-black-background-color    { background-color: #0A0A0A !important; }
.has-charcoal-background-color { background-color: #1C1C1C !important; }
.has-crimson-background-color  { background-color: #8B0020 !important; }

/* ── HEADING COLORS ON DARK SECTIONS ────────────────────────── */
/* Services, Testimonials, Portfolio, CTA — dark bg → white headings */
.ves-section.ves-services .wp-block-heading,
.ves-section.ves-testimonials .wp-block-heading,
.ves-cta-banner .wp-block-heading,
.ves-service-card .wp-block-heading,
[style*="background-color:#1C1C1C"] .wp-block-heading,
[style*="background-color:#131313"] .wp-block-heading,
[style*="background-color:#0A0A0A"] .wp-block-heading,
[style*="background:#1C1C1C"] .wp-block-heading,
[style*="background:#131313"] .wp-block-heading,
[style*="background:#0A0A0A"] .wp-block-heading,
[style*="background-color:#8B0020"] .wp-block-heading { color: #FAF7F2 !important; }

/* Stats bar numbers */
.ves-stats-bar .wp-block-heading { color: #C9A84C !important; }

/* Page banner */
.ves-page-banner .wp-block-post-title,
.ves-page-banner .wp-block-heading { color: #FAF7F2 !important; }

/* ── HERO BACKGROUND — LUXURY ────────────────────────────────── */
.wp-block-cover.hero-full,
.wp-block-cover.ves-hero {
  position: relative;
  background:
    /* Fine gold diamond micro-pattern */
    repeating-linear-gradient(
      45deg,
      transparent 0px,
      transparent 34px,
      rgba(201,168,76,0.04) 34px,
      rgba(201,168,76,0.04) 35px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0px,
      transparent 34px,
      rgba(201,168,76,0.04) 34px,
      rgba(201,168,76,0.04) 35px
    ),
    /* Crimson glow — bottom left (logo-matching accent) */
    radial-gradient(ellipse at 12% 88%, rgba(139,0,32,0.55) 0%, rgba(100,0,20,0.2) 35%, transparent 60%),
    /* Warm gold shimmer — top right */
    radial-gradient(ellipse at 88% 10%, rgba(201,168,76,0.10) 0%, transparent 45%),
    /* Centre radial depth */
    radial-gradient(ellipse at 50% 55%, rgba(20,8,4,0.65) 0%, transparent 75%),
    /* Warm dark base — matches logo black */
    linear-gradient(165deg, #0C0808 0%, #110A08 25%, #0A0A0A 60%, #080808 100%) !important;
  overflow: hidden;
}

/* Subtle gold grid overlay on hero */
.wp-block-cover.hero-full::before,
.wp-block-cover.ves-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}

/* Vignette edges */
.wp-block-cover.hero-full::after,
.wp-block-cover.ves-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
  z-index: 2;
}

.wp-block-cover.hero-full .wp-block-cover__inner-container,
.wp-block-cover.ves-hero .wp-block-cover__inner-container { position: relative; z-index: 3; }

/* Remove WordPress's own overlay so our bg shows */
.wp-block-cover.hero-full > .wp-block-cover__background,
.wp-block-cover.ves-hero > .wp-block-cover__background { display: none !important; }

/* Fix white body bg showing between sections */
body, .wp-site-blocks, main { background: #080808 !important; }

/* ── HEADER ─────────────────────────────────────────────────── */
/* ── FORCE FULL VIEWPORT WIDTH — override ALL WP constraints ── */
.wp-block-html.alignfull,
.wp-block-template-part,
.wp-block-template-part > .wp-block-html {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ves-site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  z-index: 1000;
  height: 96px;
  background: transparent;
  box-sizing: border-box;
  transition: height .35s ease, background .35s ease,
              backdrop-filter .35s ease, box-shadow .35s ease;
}

.ves-site-header::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
  pointer-events: none; z-index: 0;
  transition: opacity .35s;
}

.ves-site-header.is-scrolled {
  height: 76px;
  background: rgba(8,8,8,0.95) !important;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 1px 0 rgba(201,168,76,0.2), 0 4px 30px rgba(0,0,0,0.55);
}
.ves-site-header.is-scrolled::before { opacity: 0; }

/* ── CENTERED SPLIT NAV — absolute logo technique ── */
.ves-header-inner {
  position: relative;
  z-index: 1;
  display: flex !important;
  align-items: center;
  width: 100% !important;
  max-width: 100% !important;
  height: 100%;
  padding: 0 clamp(1.5rem, 2.5vw, 2.5rem);
  box-sizing: border-box;
}

/* Logo: pinned to EXACT center of the header bar */
.ves-logo-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  pointer-events: auto;
}

.ves-logo-img {
  height: 86px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: height .35s ease;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5));
}
.is-scrolled .ves-logo-img { height: 60px; }

.ves-logo-text-fallback {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem; letter-spacing: .12em;
  color: #C9A84C; text-transform: uppercase; display: none;
}

/* Left nav — flex:1 equal half, items push RIGHT toward center */
.ves-nav-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;    /* ← items toward center */
  padding-right: clamp(5rem, 8vw, 10rem); /* gap for logo */
}

/* Right nav — flex:1 equal half, items push LEFT toward center */
.ves-nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;  /* ← items toward center */
  padding-left: clamp(5rem, 8vw, 10rem);  /* gap for logo */
}

.ves-nav-left > ul,
.ves-nav-right > ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
  gap: 0;
}

/* Nav links */
.ves-nav-left > ul > li,
.ves-nav-right > ul > li { position: relative; }

.ves-nav-left > ul > li > a,
.ves-nav-right > ul > li > a {
  display: flex;
  align-items: center;
  gap: .3em;
  padding: .5rem .95rem;
  font-family: 'Cinzel', serif;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.88);
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s;
  position: relative;
}

.ves-nav-left > ul > li > a::after,
.ves-nav-right > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: .1rem;
  left: .95rem; right: .95rem;
  height: 1px;
  background: #C9A84C;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.ves-nav-left > ul > li > a:hover,
.ves-nav-right > ul > li > a:hover { color: #C9A84C; }

.ves-nav-left > ul > li > a:hover::after,
.ves-nav-right > ul > li > a:hover::after { transform: scaleX(1); }

/* Arrow indicator */
.ves-arrow {
  font-size: .5rem; opacity: .55;
  display: inline-block;
  transition: transform .25s;
}

.ves-nav-left > ul > li:hover .ves-arrow,
.ves-nav-right > ul > li:hover .ves-arrow { transform: rotate(180deg); }

/* Contact CTA button */
.ves-nav-cta-link {
  background: linear-gradient(135deg,#C9A84C,#E8D5A3,#C9A84C) !important;
  background-size: 200% auto !important;
  color: #080808 !important;
  padding: .5rem 1.3rem !important;
  transition: background-position .4s, box-shadow .25s, transform .25s !important;
}
.ves-nav-cta-link::after { display: none !important; }
.ves-nav-cta-link:hover {
  background-position: right center !important;
  box-shadow: 0 4px 20px rgba(201,168,76,.4) !important;
  transform: translateY(-1px);
  color: #080808 !important;
}

/* ─── DROPDOWNS ─── */
.ves-sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: #111111;
  border-top: 2px solid #C9A84C;
  box-shadow: 0 20px 50px rgba(0,0,0,0.65);
  list-style: none;
  margin: 0; padding: .5rem 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 200;
}

.ves-sub-right {
  left: auto; right: 0;
  transform: translateY(8px);
}

.ves-nav-left > ul > li:hover > .ves-sub-menu,
.ves-nav-left > ul > li:focus-within > .ves-sub-menu,
.ves-nav-right > ul > li:hover > .ves-sub-menu,
.ves-nav-right > ul > li:focus-within > .ves-sub-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ves-nav-right > ul > li:hover > .ves-sub-right,
.ves-nav-right > ul > li:focus-within > .ves-sub-right {
  transform: translateY(0);
}

.ves-sub-menu li { display: block; }
.ves-sub-menu a {
  display: block;
  padding: .7rem 1.4rem;
  font-family: 'Cinzel', serif;
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(232,213,163,.82) !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,.07);
  transition: color .2s, padding-left .2s, background .2s;
  white-space: nowrap;
}
.ves-sub-menu a:hover {
  color: #C9A84C !important;
  background: rgba(201,168,76,.06);
  padding-left: 1.9rem;
}

/* ── MOBILE TOGGLE ───────────────────────────────────────────── */
.ves-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid rgba(201,168,76,.3);
  cursor: pointer; padding: 8px;
  transition: border-color .25s;
}
.ves-menu-toggle:hover { border-color: #C9A84C; }
.ves-menu-toggle span {
  display: block; width: 100%; height: 1.5px;
  background: #E8D5A3; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
body.menu-open .ves-menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .ves-menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .ves-menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE MENU ─────────────────────────────────────────────── */
.ves-mobile-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.72); backdrop-filter: blur(4px);
  z-index: 1100;
}
body.menu-open .ves-mobile-backdrop { display: block; }

.ves-mobile-menu {
  position: fixed; top: 0; right: 0;
  width: min(340px,88vw); height: 100dvh;
  background: #0D0D0D;
  border-left: 1px solid rgba(201,168,76,.15);
  z-index: 1200; overflow-y: auto;
  padding: 2rem 1.75rem 3rem;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
}
body.menu-open .ves-mobile-menu { transform: translateX(0); }

.ves-mobile-logo { display: block; margin: 4rem 0 2rem; }
.ves-mobile-logo img { height: 64px; width: auto; }

.ves-mobile-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: transparent; border: 1px solid rgba(201,168,76,.25);
  color: #C9A84C; font-size: 1.6rem; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s; line-height: 1;
}
.ves-mobile-close:hover { background: rgba(201,168,76,.1); }

.ves-mobile-nav { list-style: none; margin: 0; padding: 0; }
.ves-mobile-nav > li { border-bottom: 1px solid rgba(201,168,76,.1); }
.ves-mobile-nav > li > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .95rem .25rem;
  font-family: 'Cinzel', serif; font-size: .75rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(232,213,163,.82); text-decoration: none;
  transition: color .2s;
}
.ves-mobile-nav > li > a:hover { color: #C9A84C; }
.ves-m-arrow { font-size: .6rem; color: rgba(201,168,76,.4); transition: transform .25s; flex-shrink: 0; }
.ves-mobile-nav .has-dropdown.is-open .ves-m-arrow { transform: rotate(180deg); }

.ves-mobile-sub {
  list-style: none; margin: 0; padding: 0 0 .75rem 1rem;
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.ves-mobile-nav .has-dropdown.is-open .ves-mobile-sub { max-height: 600px; }
.ves-mobile-sub a {
  display: block; padding: .55rem .25rem;
  font-family: 'Cinzel', serif; font-size: .63rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(201,168,76,.5); text-decoration: none;
  transition: color .2s, padding-left .2s;
}
.ves-mobile-sub a:hover { color: #C9A84C; padding-left: .5rem; }

/* ── PAGE OFFSETS ─────────────────────────────────────────────── */
.ves-page-banner,
.ves-seo-page > section:first-child { padding-top: calc(96px + 4rem) !important; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.ves-footer { background: #080808; position: relative; }
.ves-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,#8B0020,#C9A84C,#8B0020);
}
.ves-footer-top { padding: 5rem 0 3.5rem; }
.ves-footer-grid {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.5rem,4vw,3rem);
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.1fr 1fr 1.2fr;
  gap: 2.5rem; align-items: start;
}
.ves-footer-logo-img {
  height: 72px; width: auto; max-width: 180px;
  margin-bottom: 1.25rem; display: block; opacity: .9;
}
.ves-footer-tagline {
  font-family: 'Cormorant Garamond', serif; font-size: 1rem;
  font-style: italic; color: rgba(201,168,76,.5);
  line-height: 1.7; margin: 0 0 .5rem;
}
.ves-footer-location {
  font-size: .85rem; color: rgba(232,213,163,.3);
  margin: 0 0 1.5rem; letter-spacing: .04em;
}
.ves-footer-socials { display: flex; gap: .6rem; }
.ves-social-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,76,.22); border-radius: 50%;
  color: rgba(201,168,76,.55); text-decoration: none;
  transition: all .3s;
}
.ves-social-btn:hover {
  border-color: #C9A84C; color: #C9A84C;
  background: rgba(201,168,76,.08); transform: translateY(-3px);
}
.ves-footer-col-title {
  font-family: 'Cinzel', serif; font-size: .63rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: #C9A84C; margin: 0 0 1.25rem;
  padding-bottom: .75rem; border-bottom: 1px solid rgba(201,168,76,.15);
}
.ves-footer-links { list-style: none; margin: 0; padding: 0; }
.ves-footer-links li { margin-bottom: .5rem; }
.ves-footer-links a {
  font-size: .88rem; color: rgba(232,213,163,.5) !important;
  text-decoration: none; display: block; padding: .15rem 0;
  transition: color .25s, padding-left .25s;
}
.ves-footer-links a:hover { color: rgba(232,213,163,.9) !important; padding-left: .4rem; }
.ves-footer-contact-list { list-style: none; margin: 0; padding: 0; }
.ves-footer-contact-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  margin-bottom: .9rem; font-size: .88rem; color: rgba(232,213,163,.5);
}
.ves-footer-contact-list a { color: rgba(232,213,163,.5) !important; text-decoration: none; transition: color .25s; }
.ves-footer-contact-list a:hover { color: #C9A84C !important; }
.ves-fc-icon { flex-shrink: 0; margin-top: .15rem; }
.ves-footer-bottom { border-top: 1px solid rgba(201,168,76,.1); padding: 1.75rem 0; }
.ves-footer-bottom-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.5rem,4vw,3rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.ves-footer-bottom-inner p { font-size: .78rem; color: rgba(201,168,76,.3); margin: 0; }

/* ── PAGE CONTENT ─────────────────────────────────────────────── */
.ves-page-content-wrap h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight: 400;
  color: #0A0A0A; margin: 2.5rem 0 1rem; line-height: 1.15;
}
.ves-page-content-wrap h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem,2.2vw,1.7rem);
  color: #1A1A1A; margin: 2rem 0 .75rem;
}
.ves-page-content-wrap p,
.ves-page-content-wrap li { font-size: 1.02rem; line-height: 1.85; color: #3A3A3A; }
.ves-page-content-wrap a { color: #8B0020; }
.ves-page-content-wrap a:hover { color: #C9A84C; }

/* ── SEO PAGES (page-no-title template) ───────────────────────── */
.ves-page-raw .wp-block-post-content { padding: 0 !important; max-width: 100% !important; }
.ves-seo-page { width: 100%; }
.ves-seo-page h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.7rem,3vw,2.4rem); font-weight: 400; color: #0A0A0A; margin: 2.5rem 0 1rem; line-height: 1.15; }
.ves-seo-page h3 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.2rem,2vw,1.55rem); color: #1A1A1A; margin: 2rem 0 .75rem; }
.ves-seo-page p { font-size: 1.02rem; line-height: 1.85; color: #3A3A3A; margin-bottom: 1.2em; }
.ves-seo-page a { color: #8B0020; text-decoration: underline; text-decoration-color: rgba(139,0,32,.3); }
.ves-seo-page a:hover { color: #C9A84C; }

/* ── ABOUT/SERVICES/CONTACT PAGE CONTENT ────────────────────── */
.ves-about-content, .ves-services-content, .ves-contact-content {
  font-size: 1.05rem; line-height: 1.85;
}
.ves-about-content p, .ves-services-content p, .ves-contact-content p { color: #3A3A3A; }

/* ── PORTFOLIO FILTER ─────────────────────────────────────────── */
.ves-filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; border: 1px solid rgba(201,168,76,.2); overflow: hidden; width: fit-content; margin: 0 auto 2.5rem; }
.ves-filter-btn { font-family: 'Cinzel', serif; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; padding: .85rem 1.4rem; background: transparent; border: none; border-right: 1px solid rgba(201,168,76,.14); color: rgba(201,168,76,.5); transition: all .25s; cursor: pointer; white-space: nowrap; }
.ves-filter-btn:last-child { border-right: none; }
.ves-filter-btn:hover { color: #C9A84C; background: rgba(201,168,76,.06); }
.ves-filter-btn.is-active { background: #C9A84C; color: #080808; }
.ves-grid-spinner { display: none; width: 44px; height: 44px; border: 2px solid rgba(201,168,76,.15); border-top-color: #C9A84C; border-radius: 50%; animation: spin .75s linear infinite; margin: 3rem auto; }
.ves-grid-spinner.is-active { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
#portfolioGrid { transition: opacity .3s; }
#portfolioGrid.is-loading { opacity: .3; pointer-events: none; }

/* ── SCROLL REVEAL ────────────────────────────────────────────── */
.will-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.will-reveal.is-revealed { opacity: 1; transform: translateY(0); }

/* ── READING PROGRESS BAR ─────────────────────────────────────── */
.ves-reading-progress { position: fixed; top: 0; left: 0; height: 2px; background: linear-gradient(90deg,#8B0020,#C9A84C); z-index: 9999; width: 0%; transition: width .15s linear; }

/* ── BACK TO TOP ──────────────────────────────────────────────── */
.ves-back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 46px; height: 46px; background: #8B0020; color: #C9A84C; border: 1px solid rgba(201,168,76,.3); border-radius: 50%; font-size: 1.1rem; cursor: pointer; z-index: 900; opacity: 0; transform: translateY(16px) scale(.8); transition: opacity .4s, transform .4s, background .25s; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,0,0,.4); }
.ves-back-to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.ves-back-to-top:hover { background: #C9A84C; color: #080808; transform: translateY(-2px) scale(1); }

/* ── LIGHTBOX ─────────────────────────────────────────────────── */
#ves-lightbox { display: none; position: fixed; inset: 0; z-index: 99999; align-items: center; justify-content: center; }
#ves-lightbox.is-open { display: flex; }
.ves-lb-backdrop { position: absolute; inset: 0; background: rgba(4,4,4,.95); backdrop-filter: blur(8px); cursor: pointer; }
.ves-lb-frame { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: min(92vw,1200px); max-height: 92vh; gap: 1rem; }
.ves-lb-img { max-width: 100%; max-height: 78vh; object-fit: contain; border: 1px solid rgba(201,168,76,.3); }
.ves-lb-close { position: absolute; top: -2.75rem; right: 0; background: none; border: none; color: rgba(201,168,76,.7); font-size: 2.25rem; cursor: pointer; padding: 0; transition: color .25s, transform .25s; }
.ves-lb-close:hover { color: #fff; transform: rotate(90deg); }
.ves-lb-prev, .ves-lb-next { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.3); color: #C9A84C; font-size: 1.3rem; cursor: pointer; transition: all .25s; }
.ves-lb-prev { left: 1rem; } .ves-lb-next { right: 1rem; }
.ves-lb-prev:hover, .ves-lb-next:hover { background: rgba(201,168,76,.25); }
.ves-lb-caption { font-size: .85rem; color: rgba(232,213,163,.6); text-align: center; margin: 0; }

/* ── SCROLLBAR ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #080808; }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom,#8B0020,#C9A84C); border-radius: 3px; }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ves-footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; }
}

@media (max-width: 900px) {
  .ves-nav-left, .ves-nav-right { display: none !important; }
  .ves-menu-toggle { display: flex !important; }

  /* Mobile: logo left, toggle right — override absolute positioning */
  .ves-logo-center {
    position: static !important;
    transform: none !important;
    flex: 0 0 auto;
    margin-right: auto;
  }
  .ves-header-inner {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 1.25rem;
  }
  .ves-logo-img { height: 54px !important; }
  .is-scrolled .ves-logo-img { height: 46px !important; }
  .ves-site-header { height: 76px; }
  .ves-site-header.is-scrolled { height: 64px; }
  .ves-page-banner, .ves-seo-page > section:first-child {
    padding-top: calc(76px + 3rem) !important;
  }
}

@media (max-width: 640px) {
  html { font-size: 16px; }
  .ves-footer-grid { grid-template-columns: 1fr; }
  .ves-footer-bottom-inner { flex-direction: column; text-align: center; }
  .ves-filter-tabs { width: 100%; }
  .ves-filter-btn { flex: 1; padding: .75rem .5rem; font-size: .55rem; }
  .ves-back-to-top { bottom: 1.25rem; right: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}



/* ================================================================
   FOOTER CTA — LUXURY REDESIGN
================================================================ */
.ves-footer-cta-wrap {
  position: relative;
  padding: 7rem 2rem;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(139,0,32,0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(139,0,32,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(201,168,76,0.08) 0%, transparent 60%),
    linear-gradient(135deg, #0C0808 0%, #140808 50%, #0C0808 100%);
}

.ves-footer-cta-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.ves-footer-cta-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5), transparent);
}

.ves-footer-cta-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}

.ves-footer-cta-inner {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto;
}

.ves-footer-cta-ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem; margin-bottom: 1.5rem;
}

.ves-fo-line {
  flex: 1; height: 1px; max-width: 120px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4));
}

.ves-fo-line:last-child {
  background: linear-gradient(90deg, rgba(201,168,76,0.4), transparent);
}

.ves-footer-cta-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.65);
  margin: 0 0 1.25rem;
}

.ves-footer-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  color: #FAF7F2;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}

.ves-footer-cta-title em {
  font-style: italic;
  color: #C9A84C;
  font-weight: 400;
}

.ves-footer-cta-sub {
  font-size: 1.05rem;
  color: rgba(232,213,163,0.6);
  line-height: 1.8;
  margin: 0 0 2.5rem;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.ves-footer-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.ves-footer-cta-primary {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #C9A84C, #E8D5A3, #C9A84C);
  background-size: 200% auto;
  color: #080808;
  padding: 1rem 2.5rem;
  text-decoration: none;
  display: inline-block;
  transition: background-position 0.5s, box-shadow 0.3s, transform 0.3s;
}
.ves-footer-cta-primary:hover {
  background-position: right center;
  box-shadow: 0 8px 32px rgba(201,168,76,0.35);
  transform: translateY(-2px);
}

.ves-footer-cta-secondary {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.8);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 1rem 2rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s;
}
.ves-footer-cta-secondary:hover {
  color: #C9A84C;
  border-color: #C9A84C;
  background: rgba(201,168,76,0.06);
  transform: translateY(-2px);
}

/* ── FOOTER MAIN BACKGROUND ── */
.ves-footer-main {
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 29px, rgba(201,168,76,0.03) 29px, rgba(201,168,76,0.03) 30px),
    repeating-linear-gradient(-45deg, transparent 0, transparent 29px, rgba(201,168,76,0.03) 29px, rgba(201,168,76,0.03) 30px),
    linear-gradient(180deg, #0A0808 0%, #080808 100%);
  padding: 5rem 0 3.5rem;
  position: relative;
}

.ves-footer-main::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent);
}

.ves-footer-grid-wrap {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.5rem,4vw,3rem);
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.1fr 1fr 1.3fr;
  gap: 2.5rem; align-items: start;
}

/* ── FOOTER MAP ── */
.ves-footer-map {
  border: 1px solid rgba(201,168,76,0.15);
  overflow: hidden;
  margin-top: 1rem;
}

/* ── FOOTER BOTTOM ── */
.ves-footer-bottom {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 1.5rem 0;
}
.ves-footer-bottom-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.5rem,4vw,3rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.ves-footer-bottom-inner p {
  font-size: 0.76rem;
  color: rgba(201,168,76,0.3); margin: 0;
}

/* ── FOOTER TEXT COLORS ── */
.ves-footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.96rem; font-style: italic;
  color: rgba(201,168,76,0.5);
  line-height: 1.7; margin: 0 0 0.5rem;
}
.ves-footer-loc {
  font-size: 0.82rem; color: rgba(232,213,163,0.3);
  margin: 0 0 1.5rem; letter-spacing: 0.04em;
}
.ves-footer-logo-img {
  height: 72px; width: auto; max-width: 180px;
  margin-bottom: 1.25rem; display: block; opacity: 0.92;
}

/* ================================================================
   PORTFOLIO ARCHIVE — Redesigned Grid
================================================================ */
.ves-portfolio-archive-section { background: #FAF7F2; }

.ves-portfolio-ajax-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.ves-portfolio-card-wrap { overflow: hidden; }

.ves-portfolio-card {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #1A1A1A;
  text-decoration: none;
}

.ves-portfolio-card img,
.ves-port-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.5s;
  filter: brightness(0.88) saturate(0.9);
}

.ves-portfolio-card:hover img,
.ves-portfolio-card:hover .ves-port-img {
  transform: scale(1.08);
  filter: brightness(1) saturate(1.05);
}

.ves-portfolio-card .ves-portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.35) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.ves-portfolio-card:hover .ves-portfolio-overlay { opacity: 1; }

.ves-portfolio-card .ves-portfolio-info .ves-cat {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C9A84C;
  display: block;
  margin-bottom: 0.4rem;
}

.ves-portfolio-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #FAF7F2;
  margin: 0 0 0.3rem;
  line-height: 1.2;
}

.ves-portfolio-card .ves-venue {
  font-size: 0.78rem;
  color: rgba(232,213,163,0.55);
  display: block;
}

.ves-portfolio-no-img {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1A1A1A, #252525);
}

.ves-no-results {
  grid-column: 1/-1;
  text-align: center;
  color: #6B6B6B;
  padding: 4rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
}

/* ── PORTFOLIO SINGLE ── */
.ves-portfolio-hero-wrap {
  position: relative;
  min-height: 65vh;
  overflow: hidden;
  background: #1A1A1A;
}

.ves-portfolio-hero-wrap .wp-block-post-featured-image {
  position: absolute; inset: 0;
  margin: 0 !important;
}

.ves-portfolio-hero-wrap .wp-block-post-featured-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.ves-portfolio-single-wrap { background: #FAF7F2 !important; }

/* ── GALLERY SECTION ── */
.ves-gallery-section { margin-top: 4rem; }

.ves-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 6px;
}

.ves-gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #1A1A1A;
}

.ves-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s;
  filter: brightness(0.88);
}

.ves-gallery-item:hover img {
  transform: scale(1.07);
  filter: brightness(1.02);
}

.ves-gallery-item::after {
  content: '⤢';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #C9A84C;
  background: rgba(8,8,8,0.55);
  opacity: 0; transition: opacity 0.3s;
}

.ves-gallery-item:hover::after { opacity: 1; }

/* ================================================================
   STATS BAR — Tighter, More Prominent
================================================================ */
.ves-stats-bar {
  background: linear-gradient(135deg, #131313 0%, #1A1A1A 100%) !important;
  border-top: 1px solid rgba(201,168,76,0.15) !important;
  border-bottom: 1px solid rgba(201,168,76,0.15) !important;
}

.ves-stats-bar .wp-block-column {
  padding: 2rem 1rem !important;
}

/* ================================================================
   SERVICE CARDS — Elegant SVG Icons
================================================================ */
.ves-service-card svg circle,
.ves-service-card svg path,
.ves-service-card svg polyline,
.ves-service-card svg rect,
.ves-service-card svg line { transition: stroke 0.3s; }

.ves-service-card:hover svg circle,
.ves-service-card:hover svg path { stroke: #E8D5A3; }

/* ================================================================
   DROPDOWN HOVER FIX — Larger Hit Area
================================================================ */
.ves-nav-left > ul > li,
.ves-nav-right > ul > li {
  padding-bottom: 12px;  /* extends hover zone downward */
}

.ves-sub-menu {
  top: calc(100% - 2px) !important; /* overlap with parent so no gap */
}

/* ================================================================
   BLOG SINGLE — Themed Styling
================================================================ */
.single-post .wp-block-post-title,
.single-post h1.wp-block-post-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  font-weight: 300 !important;
  color: #FAF7F2 !important;
  line-height: 1.15 !important;
}

.single-post .entry-content,
.single-post .wp-block-post-content {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #3A3A3A;
  max-width: 760px;
  margin: 0 auto;
}

.single-post .entry-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: #0A0A0A;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.single-post .entry-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: #1A1A1A; margin: 2rem 0 0.75rem;
}

.single-post .entry-content a { color: #8B0020; }
.single-post .entry-content a:hover { color: #C9A84C; }

.single-post .entry-content blockquote {
  border-left: 3px solid #C9A84C;
  padding: 1.25rem 1.75rem;
  background: rgba(201,168,76,0.04);
  margin: 2rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #2C2C2C;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
  padding-left: 1.5rem; margin-bottom: 1.5rem;
}

.single-post .entry-content li { margin-bottom: 0.5rem; }

/* ================================================================
   LOCAL SEO PAGES — Text visibility fix
================================================================ */
/* Dark hero sections on seo pages — ensure text is readable */
.ves-seo-page > section:first-child p,
.ves-seo-page > section:first-child h1,
.ves-seo-page > section:first-child h2 { color: #FAF7F2; }

/* Content sections on cream background */
.ves-seo-page > section:not(:first-child) { background: #FAF7F2; }
.ves-seo-page > section:not(:first-child) p { color: #3A3A3A; }
.ves-seo-page > section:not(:first-child) h2 { color: #0A0A0A; }
.ves-seo-page > section:not(:first-child) h3 { color: #1A1A1A; }

/* ================================================================
   RESPONSIVE ADDITIONS
================================================================ */
@media (max-width: 1024px) {
  .ves-footer-grid-wrap { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; }
  .ves-portfolio-ajax-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .ves-portfolio-ajax-grid { grid-template-columns: 1fr; }
  .ves-footer-grid-wrap { grid-template-columns: 1fr; }
  .ves-footer-bottom-inner { flex-direction: column; text-align: center; }
  .ves-footer-cta-btns { flex-direction: column; align-items: center; }
  .ves-footer-cta-primary, .ves-footer-cta-secondary { width: 100%; justify-content: center; text-align: center; }
}

/* ================================================================
   LOGO — Bigger, Prominent, White-bg handled
================================================================ */
.ves-logo-img {
  height: 100px !important;
  max-width: 260px !important;
  /* The new logo has white bg - use multiply blend to drop it */
  mix-blend-mode: multiply;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.6)) !important;
}

/* Scrolled state */
.is-scrolled .ves-logo-img {
  height: 68px !important;
}

/* Header taller to fit logo */
.ves-site-header {
  height: 108px !important;
}
.ves-site-header.is-scrolled {
  height: 80px !important;
}

/* Bump page banner offset */
.ves-page-banner,
.ves-seo-page > section:first-child {
  padding-top: calc(108px + 4rem) !important;
}

@media (max-width: 900px) {
  .ves-logo-img { height: 62px !important; mix-blend-mode: normal; }
  .is-scrolled .ves-logo-img { height: 50px !important; }
  .ves-site-header { height: 80px !important; }
  .ves-site-header.is-scrolled { height: 68px !important; }
  .ves-page-banner, .ves-seo-page > section:first-child {
    padding-top: calc(80px + 3rem) !important;
  }
}

/* ================================================================
   PORTFOLIO TABS — Elegant Redesign
================================================================ */
.ves-filter-tabs {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 !important;
  border: none !important;
  overflow: visible !important;
  width: 100% !important;
  margin: 0 auto 3rem !important;
  background: transparent;
}

.ves-filter-btn {
  font-family: 'Cinzel', serif !important;
  font-size: 0.64rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  padding: 0.85rem 1.75rem !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid rgba(201,168,76,0.15) !important;
  color: rgba(28,28,28,0.5) !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}

.ves-filter-btn::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: #C9A84C;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.ves-filter-btn:hover {
  color: #1C1C1C !important;
}

.ves-filter-btn:hover::after {
  transform: scaleX(1);
}

.ves-filter-btn.is-active {
  background: transparent !important;
  color: #1C1C1C !important;
  border-bottom-color: transparent !important;
}

.ves-filter-btn.is-active::after {
  transform: scaleX(1);
  background: #8B0020;
}

/* ================================================================
   TESTIMONIALS PAGE — Dark Format Override
================================================================ */
.page-id-testimonials-page .ves-page-content-wrap,
body:has(section[style*="background:#0A0A0A"]) .ves-page-content-wrap {
  background: #0A0A0A !important;
  padding: 0 !important;
}

/* Ensure testimonials page content area goes dark */
.ves-page-content-wrap:has(section[style*="background:#0A0A0A"]) {
  background: #0A0A0A !important;
  padding: 0 !important;
}

/* Generic: if wp:html contains dark section, override wrapper */
.ves-page-content-wrap .wp-block-html > section[style*="background:#0A0A0A"] {
  margin: -4rem -2rem -5rem;
}

/* ================================================================
   BLOG SINGLE — Full Themed Layout
================================================================ */
.ves-blog-single-main .ves-page-banner { }

.ves-blog-banner {
  position: relative;
}

.ves-blog-featured-img-wrap {
  max-height: 520px;
  overflow: hidden;
}

.ves-blog-featured-img-wrap .wp-block-post-featured-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.ves-blog-content-section .wp-block-post-content {
  font-family: 'Jost', sans-serif !important;
  font-size: 1.05rem !important;
  line-height: 1.85 !important;
  color: #3A3A3A !important;
}

.ves-blog-content-section .wp-block-post-content h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
  font-weight: 400 !important;
  color: #0A0A0A !important;
  margin: 2.5rem 0 1rem !important;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.ves-blog-content-section .wp-block-post-content h3 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(1.25rem, 2vw, 1.65rem) !important;
  color: #1A1A1A !important;
  margin: 2rem 0 0.75rem !important;
}

.ves-blog-content-section .wp-block-post-content p { color: #3A3A3A; }
.ves-blog-content-section .wp-block-post-content a { color: #8B0020; text-decoration: underline; }
.ves-blog-content-section .wp-block-post-content a:hover { color: #C9A84C; }
.ves-blog-content-section .wp-block-post-content ul,
.ves-blog-content-section .wp-block-post-content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }

/* Sidebar */
.ves-sidebar-widget .wp-block-latest-posts a,
.ves-sidebar-widget .wp-block-categories a {
  color: rgba(232,213,163,0.7) !important;
  font-size: 0.88rem !important;
  text-decoration: none;
  transition: color 0.25s;
}
.ves-sidebar-widget .wp-block-latest-posts a:hover,
.ves-sidebar-widget .wp-block-categories a:hover { color: #C9A84C !important; }

.ves-sidebar-widget .wp-block-latest-posts__post-date { color: rgba(201,168,76,0.4) !important; font-size: 0.76rem !important; }

/* Post nav */
.ves-post-nav .wp-block-post-navigation-link a {
  font-family: 'Cinzel', serif !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.15em;
  color: #8B0020 !important;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.25s;
}
.ves-post-nav .wp-block-post-navigation-link a:hover { color: #C9A84C !important; }

/* ================================================================
   PORTFOLIO TABS CONTAINER — Override Background
================================================================ */
.ves-portfolio-archive-section .ves-filter-tabs {
  background: transparent;
  padding: 0;
}

/* ================================================================
   MOBILE MENU — Ensure backdrop is always above content
================================================================ */
.ves-mobile-backdrop { z-index: 1100 !important; }
.ves-mobile-menu    { z-index: 1200 !important; }

/* Make sure mobile menu is accessible */
.ves-mobile-menu[aria-hidden="true"] { 
  transform: translateX(100%) !important;
  pointer-events: none;
}
.ves-mobile-menu[aria-hidden="false"],
body.menu-open .ves-mobile-menu {
  transform: translateX(0) !important;
  pointer-events: auto;
}

/* ================================================================
   PORTFOLIO ARCHIVE — ELEGANT FULL REDESIGN
================================================================ */
.ves-portfolio-archive-wrap {
  background: #0F0F0F;
  padding: 4rem 0 0;
}

/* ── FILTER BAR ── */
.ves-portfolio-filter-bar {
  display: flex;
  justify-content: center;
  padding: 0 2rem 3.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  margin-bottom: 0;
}

.ves-portfolio-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  position: relative;
}

.ves-portfolio-tabs::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: rgba(201,168,76,0.15);
}

.ves-tab {
  font-family: 'Cinzel', serif;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.9rem 1.6rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(201,168,76,0.45);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s, border-color 0.25s;
  position: relative;
  z-index: 1;
}

.ves-tab:hover {
  color: rgba(201,168,76,0.85);
}

.ves-tab.active {
  color: #C9A84C;
  border-bottom-color: #C9A84C;
}

/* ── MASONRY GRID ── */
.ves-portfolio-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: #080808;
}

/* Items hidden when filtering */
.ves-port-item {
  position: relative;
  overflow: hidden;
  display: block;
}

.ves-port-item.is-hidden {
  display: none;
}

/* Large items — span 2 cols on every 7th */
.ves-port-item:nth-child(7n+1) {
  grid-column: span 2;
}

.ves-port-link {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #1A1A1A;
  text-decoration: none;
}

/* Wider items get taller aspect */
.ves-port-item:nth-child(7n+1) .ves-port-link {
  aspect-ratio: 16/7;
}

.ves-port-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.6s ease;
  filter: brightness(0.82) saturate(0.88);
}

.ves-port-link:hover img {
  transform: scale(1.08);
  filter: brightness(1.02) saturate(1.05);
}

.ves-port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(8,8,8,0.95) 0%,
    rgba(8,8,8,0.5) 45%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 2rem 1.75rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.ves-port-link:hover .ves-port-overlay {
  opacity: 1;
  transform: translateY(0);
}

.ves-port-cat {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #C9A84C;
  display: block;
  margin-bottom: 0.4rem;
}

.ves-port-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: #FAF7F2;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.ves-port-cta {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232,213,163,0.6);
  display: block;
  transition: color 0.25s, padding-left 0.25s;
}

.ves-port-link:hover .ves-port-cta {
  color: #C9A84C;
  padding-left: 0.25rem;
}

.ves-port-no-img {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #131313, #1C1C1C);
}

.ves-port-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 6rem 2rem;
  color: rgba(201,168,76,0.4);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
}

/* ── SPINNER ── */
.ves-portfolio-spinner {
  display: flex;
  justify-content: center;
  padding: 4rem;
}

.ves-spinner-ring {
  width: 44px; height: 44px;
  border: 2px solid rgba(201,168,76,0.15);
  border-top-color: #C9A84C;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .ves-portfolio-masonry { grid-template-columns: repeat(2, 1fr); }
  .ves-port-item:nth-child(7n+1) { grid-column: span 1; }
  .ves-port-item:nth-child(7n+1) .ves-port-link { aspect-ratio: 4/3; }
}

@media (max-width: 560px) {
  .ves-portfolio-masonry { grid-template-columns: 1fr; gap: 2px; }
  .ves-tab { font-size: 0.58rem; padding: 0.8rem 1rem; }
}

/* ── PORTFOLIO TABS — support both <a> and <button> ── */
.ves-portfolio-tabs a.ves-tab,
.ves-portfolio-tabs button.ves-tab {
  display: inline-block;
  text-decoration: none;
}

/* Active tab on category pages — match current slug */
.ves-portfolio-tabs a.ves-tab.active,
.ves-portfolio-tabs button.ves-tab.active {
  color: #C9A84C !important;
  border-bottom-color: #C9A84C !important;
}

/* All-events tab is always active on the main archive */
.ves-portfolio-tabs a[href*="/portfolio/"]:not([href*="portfolio-category"]).ves-tab {
  color: #C9A84C;
  border-bottom-color: #C9A84C;
}
