/* ==========================================================
   VB EVENTS — style.css
   SHARED ONLY: Reset · Tokens · Base · Buttons · Nav · 
   Page-Header (shapes) · Clientele · Testimonials · 
   CTA Banner · Footer · Work Grid
   Page-specific styles live in their own CSS files.
   ========================================================== */

/* ── Google Fonts loaded via <link> in HTML ── */

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --red:        #D91E1E;
  --red-hover:  #B81818;
  --black:      #111111;
  --white:      #ffffff;
  --grey-text:  #555555;
  --grey-light: #f7f7f7;
  --border:     #e0e0e0;
  --blue:       #1a73e8;

  /* Decorative shape colours (match hero.jpg exactly) */
  --sh-yellow:  #F5C518;
  --sh-pink:    #E8354A;
  --sh-purple:  #9B40D8;
  --sh-green:   #22C55E;
  --sh-blue:    #3B82F6;

  --font: 'Figtree', sans-serif;
  --font-c: 'Figtree', sans-serif;

  --max-w: 1344px;
  --px:    clamp(1.5rem, 5vw, 3.5rem);
}

/* ── BASE ───────────────────────────────────────────────── */
body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  font-size: 20px;
  line-height: 1.6;
  overflow-x: hidden;
}
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
  position: relative;
}
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.section-sub {
  font-size: 1rem;
  color: var(--grey-text);
  text-align: center;
  margin-top: .4rem;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .65rem 2rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
/* White outline on red bg — used in CTA */
.btn-outline-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* ================================================================
   NAVIGATION
   Screenshot (nav.jpg): 
   · Logo image far-left (VB stylized icon + "EVENT" text)
   · Nav links: SERVICES  CASE STUDIES  ABOUT US  CONTACT
     small, all-caps, spaced far right
   · Two horizontal lines hamburger (top full-width, bottom shorter)
   ================================================================ */
.site-header {
  position: sticky;
  top: 0; z-index: 600;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav {
  height: 80px;
  display: flex;
  align-items: center;
  max-width: none;
  padding-left: 32px;
  padding-right: 32px;
}

/* Logo */
.nav-logo {
  margin-right: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
/* FILE: logo.png — replace img src */
.nav-logo img { height: 36px; width: auto; display: block; }
/* Text fallback when no logo image */
.nav-logo-text {
  display: flex;
  align-items: baseline;
  gap: .2rem;
  line-height: 1;
}
.nlt-vb {
  font-family: var(--font-c);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -.02em;
}
.nlt-event {
  font-family: var(--font);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--black);
  text-transform: uppercase;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--black);
  transition: color .18s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--red); }

/* Hamburger — 2 bars (screenshot shows 2 lines, not 3) */
.nav-burger {
    display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 34px;
  height: 34px;
  margin-left: 2rem;
  flex-shrink: 0;
  cursor: pointer;
  padding: 4px 3px;
}
.nav-burger img{
  width:22px;
  height:auto;
  display:block;
}
.nav-burger span:nth-child(1) { width: 100%; }
.nav-burger span:nth-child(2) { width: 70%; }
/* Open → X */
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 6px); width: 100%; }
.nav-burger.open span:nth-child(2) { transform: rotate(-45deg) translate(2px, -5px); width: 100%; }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 60px; right: 0; bottom: 0;
  width: min(280px, 80vw);
  background: var(--white);
  border-left: 1px solid var(--border);
  padding: 1.5rem;
  flex-direction: column;
  z-index: 599;
  box-shadow: -4px 0 24px rgba(0,0,0,.1);
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--black);
  padding: .9rem 0;
  border-bottom: 1px solid var(--border);
  transition: color .18s;
}
.nav-drawer a:hover,
.nav-drawer a.active { color: var(--red); }

/* ================================================================
   PAGE HEADER with floating shapes
   Used on: About, Case Studies, Contact (NOT home — home has hero)
   
   Screenshot (hero.jpg) shapes mapped exactly:
   yellow leaf-blob    — top-left
   pink/red triangle   — top-right (pointing right →)
   purple square       — mid-left
   green circle out    — mid-right
   purple circle out   — bottom-left
   blue diamond        — bottom-right
   ================================================================ */
.page-header {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 5rem);
  text-align: center;
  overflow: hidden;
}
.page-header > .container { position: relative; z-index: 1; }
.page-header .section-title { font-size: clamp(1.9rem, 4vw, 2.7rem); }

.shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Yellow leaf/teardrop */
.sh-blob {
  top: 23%;
  left: 20%;
}
/* Pink triangle pointing right */
.sh-tri {
  top: 20%;
  right: 22%;
}
/* Purple square */
.sh-sq {
  top: 48%;
  left: 14%;
}
/* Green circle outline */
.sh-cg {
  top: 46%;
  right: 18%;
}
/* Purple circle outline */
.sh-cp {
  bottom: 22%;
  left: 27%;
}
/* Blue diamond */
.sh-dia {
  bottom: 20%;
  right: 25%;
}

/* ================================================================
   CLIENTELE STRIP
   ================================================================ */
.clientele {
  height: 136px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.clientele-track{
  display:flex;
  align-items:center;
  gap:64px;
  width:max-content;
  animation:clients-scroll 40s linear infinite;
}

.clientele-row{
  display:flex;
  align-items:center;
  gap:64px;
  padding-right:64px;
}

.clientele-track::-webkit-scrollbar { display: none; }
.clientele-track img{
  height:26px;
  width:auto;
  object-fit:contain;
  flex-shrink:0;
  display:block;
}

.client-name {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: #bbb; flex-shrink: 0; white-space: nowrap;
  transition: color .2s;
}
.client-name:hover { color: var(--black); }

@keyframes clients-scroll{
  from{
    transform:translateX(0);
  }
  to{
    transform:translateX(-50%);
  }
}

/* ================================================================
   TESTIMONIALS
   Screenshot (testimonials.jpg):
   · Title "Testimonials" centred above
   · 3 cards with thin border (1px solid #e0e0e0) all sides
   · Card padding generous top
   · Body text normal weight, fills top section
   · Bottom row: name BOLD + company grey on LEFT, 
     avatar circle (44px) flush RIGHT
   ================================================================ */
.testimonials-section {
  background: var(--white);
  border-top: 1px solid #E6E6E6;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  max-width: 1054px;
  margin-left: auto;
  margin-right: auto;
}
.t-card{
  border:1px solid var(--border);
  padding:48px 32px;
  display:flex;
  flex-direction:column;
  min-height:290px;
}
.t-body{
  font-size:20px;
  color:var(--black);
  line-height:1.6;
  flex:1;
  margin-bottom:1.5rem;
}
.t-author {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem;
}
.t-name{
  font-size:20px;
  font-weight:700;
  color:var(--black);
  line-height:1.3;
}
.t-company{
  font-size:20px;
  color:var(--grey-text);
  margin-top:.15rem;
}
.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #ddd;
  flex-shrink: 0;
}
.t-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ================================================================
   CTA BANNER
   Screenshot (services-2.jpg / list-2 area):
   · Solid red background
   · Centred row: large yellow ( bracket · bold white headline · yellow ) bracket
   · White subtitle below
   · White-filled "CONTACT US" button (white bg, red text — from screenshot
     the button appears solid white with dark/red text)
   ================================================================ */
.cta-banner {
  background: var(--red);
  padding-block: clamp(2.75rem, 5.5vw, 4.5rem);
  text-align: center;
}
.cta-inner {
  max-width: 860px;
  margin-inline: auto;
  padding-inline: var(--px);
}
.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-bottom: .55rem;
  flex-wrap: nowrap;
}
/* Yellow curved brackets */
.cta-br {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 300;
  color: var(--sh-yellow);
  line-height: 1;
  font-family: var(--font-c);
  flex-shrink: 0;
}
.cta-headline {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.cta-sub {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  margin-bottom: 1.75rem;
}

/* ================================================================
   FOOTER
   Screenshot: white bg · red circle social icons centred · copyright
   ================================================================ */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding-block: 1.75rem 1.5rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  text-align: center;
}
.footer-social {
  display: flex;
  gap: .6rem;
  align-items: center;
  justify-content: center;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover { transform: translateY(-2px); }
.footer-copy {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--grey-text);
}

/* ================================================================
   WORK GRID — 2-col image + title + subtitle
   Used on: Case Studies, Services
   ================================================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.work-item {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.work-img {
  overflow: hidden;
  background: var(--grey-light);
  margin-bottom: 16px;
}
.work-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.work-item:hover .work-img img { transform: scale(1.04); }
.work-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
  line-height: normal;
  margin-bottom: 4px;
}
.work-sub {
  font-size: 20px;
  font-weight: 400;
  color: var(--grey-text);
  line-height: normal;
}
/* Last odd item centred */
.work-grid > .work-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 50%;
  margin-inline: auto;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .work-grid          { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .testimonials-grid   { grid-template-columns: 1fr; }
  .work-grid           { grid-template-columns: 1fr; }
  .work-grid > .work-item:last-child:nth-child(odd) { grid-column: auto; max-width: 100%; }
}

