/* Base Box-Sizing Reset */
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
html, body {
  height: 100%;
  width: 100%;
  overscroll-behavior: none;
  /* Disable scroll snap for linear funnel */
  scroll-snap-type: none;
}
  *, *::before, *::after {
    box-sizing: inherit;
  }
  
  /* Global Styles */
  body {
    margin: 0;
    padding: 0;
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: 'montserrat', sans-serif;
  }
  /* Offset main content for fixed header */
  body { padding-top: 70px; }
  
  /* Main Layout */
  main {
    display: flex;
    flex-direction: column;         
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    padding: 20px;
    box-sizing: border-box;
  }
  
  /* Title Section */
  .title-holder {
    text-align: center;
    margin-bottom: 20px;
  }
  
/* Refined logo-img styles for proper sizing and centering */
.logo-img {
  position: relative;
  top: 0;
  left: 0;
  transform: none;
  z-index: auto;
  width: 160px;
  max-width: 160px;
  height: auto;
  pointer-events: none;
  display: block;
  margin: 0 auto;
}
  
  /* Tagline */
  .tagline {
    font-size: 0.95em;
    text-align: center;
    color: #ffffff;
    margin-top: 8px;
    margin-bottom: 20px;
  }

  #scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: #ffffff; /* matches your accent color */
    width: 0%;
    z-index: 9999;
    transition: width 0.2s ease-out;
  }
  
  /* Fade-in Animation */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  
  /* Footer */
  footer {
    width: 100%;
    background-color: #0a0a0a;
    color: #FFFFFF;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    border-top: none;
  }
  
  footer p {
    margin: 5px 0;
  }
  
  footer a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 0.5px;
  }
  
  footer a:hover {
    color: #fff;
    text-decoration: underline;
  }
  
  /* Global Link Styling (fallback) */
  a {
    color: #d8ac0e;
    text-decoration: none;
    margin: 0 8px;
  }
  
  a:hover {
    color: #fff;
    text-decoration: underline;
  }
  
/* Instagram Icon Footer Fix */
.insta-icon {
    width: 28px;
    height: 28px;
    display: inline-block;
    vertical-align: middle;
    transition: opacity 0.3s ease;
  }
  
  .insta-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
  }

  .scroll-hint {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #777;
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
  }

  .hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .show {
    opacity: 1;
    transform: translateY(0);
  }

  .cta-section {
    text-align: center;
    padding: 40px 20px;
    background: none;
    color: white;
  }
  
  .cta-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
  }
  
  .cta-section p {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: #ccc;
  }
  
  .cta-button {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    border: 2px solid #A7D3F5;
    color: #d8ac0e;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .cta-button:hover {
    background: #A7D3F5;
    color: #000;
  }

/* Work Page Specific Styling */
.work-header {
  text-align: center;
  margin: 80px 0 40px 0;
}

.work-header h1 {
  font-size: 2.4em;
  color: #fff;
  margin-bottom: 10px;
}

.work-header p {
  font-size: 1.1em;
  color: #ccc;
  margin: 0 auto;
  max-width: 640px;
}

.video-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 40px 20px;
  max-width: 720px;
  margin: 0 auto;
}

.video-gallery iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: none;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .video-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Burger Menu Drawer Navigation */
header.burger-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background-color: #0a0a0a;
  z-index: 2000;
}

.burger-container {
  position: relative;
  margin-bottom: 0;
}

/* Burger Icon - two lines only */
.burger-icon {
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-start;
  cursor: pointer;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1201;
  /* Reset native button look to avoid white overlay/background */
  background: transparent;
  border: none;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.burger-icon span {
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* 3-line open state: top/bottom become X, middle hides */
.burger-icon.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-icon.open span:nth-child(2) {
  opacity: 0;
}

.burger-icon.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Accessible custom focus ring without background fill */
.burger-icon:focus { outline: none; }
.burger-icon:focus-visible {
  outline: 2px solid var(--vh-yellow);
  outline-offset: 3px;
  border-radius: 8px;
  background: transparent;
}

.burger-nav {
  position: fixed;
  top: 0;
  left: -100vw;
  width: 100vw;
  height: 100vh;
  background-color: #131313;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.5);
  padding: 3rem 2rem;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: left 0.3s ease-in-out;
  z-index: 1200;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.burger-nav.active {
  left: 0;
}

/* Ensure burger-icon.open is visible above the drawer */
.burger-nav.active ~ .burger-icon.open,
.burger-icon.open {
  z-index: 1201;
}

  .burger-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .burger-nav li {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
  }

  .burger-nav li:last-child {
    margin-bottom: 0;
  }

  .has-sub-nav {
    position: relative;
    margin-bottom: 0.25rem;
  }

  .sub-nav {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    position: static;
    padding: 0 0 0 1rem;
    background: none;
  }

  .has-sub-nav:hover .sub-nav {
    max-height: 100px;
    display: block;
    animation: fadeIn 0.3s ease forwards;
  }

  .sub-nav li {
    font-size: 2rem;
    margin: 0;
  }

  .sub-nav a {
    display: block;
    padding: 6px 12px;
    font-size: 0.95em;
    padding-left: 10px;
    color: #ccc;
    background: none;
    padding-left: 10px;
  }

  .sub-nav a:hover {
    color: #d8ac0e;
    background: none;
  }

.burger-nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
}

.burger-nav a:hover {
  color: #d8ac0e;
}


.ai-innovation-flex {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.ai-text {
  flex: 1 1 60%;
}

.ai-gif {
  flex: 1 1 35%;
  max-width: 400px;
}

@media (max-width: 768px) {
  .ai-innovation-flex {
    flex-direction: column;
  }
  .ai-gif {
    max-width: 100%;
  }
}
.ai-gif-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.ai-gif-row img {
  max-width:100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: auto;
  border-radius: 8px;
  display: block;
}

@media (max-width: 768px) {
  .ai-gif-row {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .ai-gif-row img {
    max-width: 100%;
  }
}
/* ---------- Full‑Page Scroll Layout ---------- */
/* Disabled scroll snap for funnel */
/* html, body {
  /* Enable vertical scroll snap */
  /* scroll-snap-type: y mandatory;
} */

/* Each major content section fills the viewport and snaps cleanly */
.about-section,
.cta-section,
.contact-section {
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertically centre content */
  align-items: center;
  padding: 0 5vw;
  scroll-snap-align: none;
}


/* ---------- Heading Styling ---------- */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.2;
  margin: 2rem 0 1rem 0;
  text-transform: none;
  text-align: center;
}

/* Mobile heading size tweak */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
    margin: 1.5rem 0 1rem 0;
  }
}
/* Ensure first section scrolls correctly below the fixed header */
.intro-section {
  scroll-snap-align: start;
  scroll-margin-top: 90px;
  padding-top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.full-bleed-gif {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0;
  z-index: 0;
}
/* ---------- Parallax GIF layer ---------- */
.parallax-gif {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 0;           /* behind overlay text (which is z-index:2) */
}
.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
}
.text-overlay {
  position: relative;
  z-index: 2;
  padding: 5vw;
}

/* ---------- Intro Hero Refinements ---------- */
/* ---------- Parallax Section Containers ---------- */
.intro-section,
#about,
#work-with-us {
  position: relative;
  overflow: hidden;
}
.intro-section .hero-overlay {
  /* overlay spans full viewport */
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;      /* align text to the left */
  padding-left: 5vw;            /* left gutter */
  padding-right: 5vw;
  background: none;                            
  color: #fff;
  text-align: left;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(4rem, 8vw, 8rem);  /* ≈6× original size */
  line-height: 0.9;
  margin: 0 0 1rem 0;
  text-transform: none;
}

.hero-subtext {
  font-family: 'montserrat', sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem); /* roughly 2× previous */
  line-height: 1.6;
  max-width: 680px;
  margin: 0;
  color: #f1f1f1;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(2.8rem, 8vw, 4rem);
  }
  .hero-subtext {
    font-size: 1.15rem;
  }
}
/* ---------- Right-Aligned Stacked Section ---------- */
.right-align {
  height: auto;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 0 5vw;
  scroll-snap-align: start;
  position: relative;
  text-align: right;
}

.hero-title.right-align {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.9;
  top: 0;
  margin: 0 0 1rem 0;
  text-transform: none;
  text-align: right;
}

.hero-subtext.right-align {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.6;
  max-width: 680px;
  color: #f1f1f1;
  margin: 0;
  text-align: right;
  z-index: 1;
}

@media (max-width: 768px) {
  .right-align .hero-title {
    font-size: clamp(2.8rem, 8vw, 4rem);
  }
  .right-align .hero-subtext {
    font-size: 1.15rem;
  }
}


/* ---------- Contact Form Styling ---------- */
.contact-form-wrapper {
  width: 100%;
  max-width: 680px;
  padding: 40px 20px;
  margin: 0 auto;
  box-sizing: border-box;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  font-family: 'Satoshi', sans-serif;
  font-size: 1rem;
  border: 1px solid #444;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f2f2f2;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background: #d8ac0e; /* brand yellow */
  color: #000;
  padding: 12px 18px;
  width: 100%;
  align-self: stretch;
  border: none;
  font-weight: 800;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.contact-form button:hover { opacity: .9; }

/* Hover keeps brand color; reduce opacity only (set above) */
/* ---------- Work-With-Us hero (independent of intro) ---------- */
.work-section{
  position: relative;
  overflow: hidden;
  min-height: 100vh;          /* grows with form on tall screens */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 5vw;
  scroll-snap-align: start;
}

/* background GIF layer */
.work-section .full-bleed-gif{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* text + form overlay */
.work-section .hero-overlay{
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.work-section .hero-title{
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem,8vw,6rem);
  line-height: .9;
  margin: 0 0 1rem 0;
}

.work-section .hero-subtext{
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(1.2rem,2vw,1.4rem);
  line-height: 1.6;
  margin: 0 0 2rem 0;
  max-width: 680px;
}
.intro-text-box {
  background: rgb(0, 0, 0, 0.6); /* transparent white */
  padding: 2rem;
  border-radius: 12px 12px 12px 12px; /* rounded on visible side */
  margin-left: -5vw; /* stretch off-screen */
  max-width: 680px;
  z-index: 1;
  position: relative;
}
.intro-text-box-right {
  background: rgb(0, 0, 0, 0.6); /* transparent white */
  padding: 2rem;
  border-radius: 12px 12px 12px 12px; /* rounded on visible side */
  margin-right: -1vw; /* stretch off-screen */
  max-width: 680px;
  z-index: 1;
  position: relative;
}
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #fff;
  opacity: 0.7;
  animation: bounce 2s infinite;
  z-index: 10;
  pointer-events: none;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

details p {
  color: #d8ac0e; /* sub-text from drop down */
}

/* Utilities and brand accents for new layout */
:root{ --vh-yellow:#d8ac0e; }
.vh-center{ text-align:center; }
.vh-subtitle{ font-family:'Montserrat',sans-serif; font-weight:800; font-size:clamp(1.2rem,3.5vw,1.8rem); color:var(--vh-yellow); margin:0 0 12px 0; }
/* Card layout used on Services tiles */
.vh-card{ display:flex; flex-direction:column; align-items:center; text-align:center; }
.vh-card ul{ text-align:left; margin-left:18px; }
.vh-btn-cta{ background:var(--vh-yellow)!important; color:#000!important; border:none!important; }

/* --- Readability: add subtle text shadow to section titles --- */
.hero-title,
.hero-title.right-align,
.work-section .hero-title {
  text-shadow: 0 2px 6px rgba(0,0,0,0.55), 0 0 22px rgba(0,0,0,0.35);
}

.vh-title-xl,
.vh-subtitle {
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
