* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  background-color: black;  /* ⬅️ Added */
  color: white;             /* ⬅️ Added */
}

/* Ensure the hero section is a positioning context */
.hero {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Make the video cover the full section */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay the text on top of the video */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.3); /* optional dark layer for readability */
  padding: 0 20px;
}

/* Optional styles for text and button */
.hero-overlay h1 {
  font-family: "Bangers", system-ui;
  font-size: 2rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  color: white;  /* ⬅️ Ensures override if inherited styles change */
}

.hero-overlay p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: white;  /* ⬅️ Same as above */
}

.hero-logo {
  max-width: 60%;
  margin-bottom: 20px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

.btn {
  padding: 12px 24px;
  background-color: white;
  color: black;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.btn-outline {
  padding: 12px 24px;
  border: 1px solid white;
  background: transparent;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: white;
  color: black;
}

.split-section {
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 40px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.split-text {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
  font-family: "Zilla Slab Highlight", serif;
  color: white; /* ⬅️ Explicit for text areas */
}

.split-text h2 {
  font-family: "Bangers", system-ui;
  letter-spacing: 2px;
  font-size: 2rem;
  margin-top: 150px;
  margin-bottom: 20px;
  color: white;
}

.split-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: white;
}

.split-video {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  margin-top: -100px;
}

.section-video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
.page-wrapper {
  position: absolute;
  max-width: 100%;
  margin: 0 auto;
}


/* The blur element */
.blur-at-bottom {
  position: fixed;     /* not fixed */
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  pointer-events: none;
  z-index: 100;

  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);

  mask-image: linear-gradient(to top, black 0%, black 20%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 0%, black 20%, transparent 100%);
  opacity: 0;

  transition: opacity 0.5s ease;
}

.overlay-video-wrapper {
  position: relative;
  width: 100%;
  margin-top: 60px; /* Adjust this to control overlap */
  display: flex;
  justify-content: flex-start; /* Align right */
  z-index: 2;
}

.vertical-video {
  flex: 1;
  min-width: 300px;
  max-width: 600px;

  border-radius: 8px;
  object-fit: cover;
}


.content-section {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px; /* more breathing room */
}

.content-text {
  max-width: 600px;
  width: 100%;
  font-family: "Zilla Slab Highlight", serif;
  color: white;
}

.content-text h2 {
  font-family: "Bangers", system-ui;	
  letter-spacing: 3px;
  font-size: 2rem;
  margin-top: 0px;
  margin-bottom: 20px;
  color: white;
    text-align: center;
}

.content-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: white;
    text-align: center;
}

.content-video {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  margin-top: -100px;
}
.work-section {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px; /* more breathing room */
}

.work-text {
  max-width: 600px;
  width: 100%;
  font-family: "Zilla Slab Highlight", serif;
  color: white;
}

.work-text h2 {
  font-family: "Bangers", system-ui;	
  letter-spacing: 3px;
  font-size: 2rem;
  margin-top: 0px;
  margin-bottom: 20px;
  color: white;
    text-align: center;
}

.work-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: white;
    text-align: center;
}

.work-video {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  margin-top: 0px;
}

.gallery-section {
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  width: 90%;               /* Match video section width */
  /*max-width: 1400px;         Optional cap */
}
.gallery-item {
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.gallery-item-off img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
.gallery-item-off {
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item-off:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: black;
  border-radius: 8px;
  overflow: hidden;
}

.video-modal iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  z-index: 10;
}
.gallery-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-caption {
  position: absolute;
  bottom: 10px; 
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1rem;
  text-align: center;
  font-family: 'Merriweather', serif;
  pointer-events: none;
  white-space: normal;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  font-size: 1.3 rem;
  font-family: "Bangers", system-ui;
  letter-spacing: 3px;
  pointer-events: none;
}

.work-hero-wrapper {
  width: 90%;
  height: 100%;
  margin: 0 auto;
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  display: flex;              
  align-items: center;         
  justify-content: center;  
}

.work-hero-section {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  border-radius: 60px; /* Basic rounded corners */
  isolation: isolate; /* ensures the pseudo-element overlays only inside */
}

/* Dark rounded vignette edge mask */
.work-hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: 40px;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.4) 100%);
}

.work-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .7;
}

.work-overlay-text {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
  padding: 0 20px;
}

.work-overlay-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: "Bangers", system-ui;
    letter-spacing: 3px;
}

.work-overlay-text p {
  font-size: 1.2rem;
  line-height: 1.5;
  font-family: "Zilla Slab Highlight", serif;
}
footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: black; /* Optional: solid background */
}

footer a {
  font-family: "Bangers", system-ui;
  font-size: 0.5rem;
  letter-spacing: 2px;
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .overlay-video-wrapper {
    margin-top: 20px; /* Or 0 — lets it stack naturally on mobile */
  }

  .vertical-video {
    width: 100%;      /* Full width on small screens */
    max-width: 400px; /* Optional: limit so it doesn't stretch too much */
    margin: 0 auto;
    display: block;
  }
  .split-video {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  margin-top: 0px;
}
.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .gallery-item {
    width: 100%;
    max-width: 95%;
  }
 .blur-at-bottom {
  position: fixed;     /* not fixed */
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  pointer-events: none;
  z-index: 100;

  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);

  mask-image: linear-gradient(to top, black 0%, black 20%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 0%, black 20%, transparent 100%);
  opacity: 0;

  transition: opacity 0.5s ease;
}
.hero-overlay h1 {
  font-family: "Bangers", system-ui;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  color: white;  /* ⬅️ Ensures override if inherited styles change */
}
.gallery-caption {
  font-size: 0.7rem;
  letter-spacing: 2px;

}
.split-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: white;
}
}