/* BLUU NEXT — Main Display */
@font-face {
  font-family: "Bluu Next";
  src: url("../fonts/bluu-next/BluuNext-Bold.woff2") format("woff2"),
       url("../fonts/bluu-next/BluuNext-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

/* ============================
RESET
============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #fff;
  line-height: 1.6;
  background-color: #111;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  font-family: "Bluu Next", serif;
}

.hero-title {
  font-family: "Bluu Next Titling", serif;
}

/* ============================
HEADER + HAMBURGER
============================ */
.site-header {
  height: 130px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: transparent;
  z-index: 9400;
}
.logo-svg {
  height: 100px;
  padding: 10px;
  width: auto;
  color: white;
}
.menu-open .logo-svg { color: black; }
.hamburger {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  z-index: 9500;
}
.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #FFF;
  border-radius: 2px;
  transition: 0.3s ease;
}
.menu-open .hamburger span { background:#111; }
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ============================
FULLSCREEN MENU OVERLAY
============================ */
.menu-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  z-index: 9000;
  transition: opacity 0.3s ease;
}
.menu-overlay.active {
  pointer-events: auto;
  opacity: 1;
}
.overlay-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.overlay-nav a {
  font-size: 28px;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  text-align: center;
}

/* =========================================================
HERO — FULL SCREEN BACKGROUND VIDEO (CLEAN)
========================================================= */
.video-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.vimeo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.vimeo-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  object-fit: cover !important;
  pointer-events: none;
  border: none;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.20) 40%,
    rgba(0,0,0,0.65) 100%
  );
}

/* Content overlay */
.hero-content {
  position: absolute;
  z-index: 5;
  width: 100%;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
  pointer-events: none;
}

.hero-title {
  font-family: "Bluu Next", serif;
  font-size: clamp(4rem, 9vw, 14rem);
  font-weight: 600;
  letter-spacing: -1px;
  color: #fff;
  line-height: 0.9;
}

.hero-sub {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(1rem, 2vw, 2rem);
  margin-top: 0.5em;  /* consistent spacing */
  color: #fff;
}


.hero-buttons {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  pointer-events: auto;
}

.btn-hero {
  background: transparent;
  border: 2px solid #fff;
  padding: .75rem 2.25rem;
  border-radius: 999px;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  letter-spacing: .5px;
  transition: .3s ease;
}
.btn-hero:hover {
  background: rgba(255,255,255,0.12);
}

/* =========================================================
INTRO SECTION
========================================================= */
.intro {
  padding: 5rem 0;
  text-align: center;
  font-size: 1.3rem;
  width: 70%;
  margin: auto;
  line-height: 1.9;
  opacity: .9;
}

.intro-wrapper {
  display: flex;
  gap: 3rem;
  padding: 6rem 0;
  align-items: center;
  flex-wrap: wrap;
}
.intro-img img {
  width: 350px;
  border-radius: 200px;
  object-fit: cover;
  box-shadow: 0 15px 40px rgba(0,0,0,.5);
}
.intro-text {
  flex: 1;
  font-size: 1.15rem;
  line-height: 1.9;
}
.intro-text h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

a.index-contact:link { color: #0098f8; }
a.index-contact:hover { color: #05f1ff; }
a.index-contact:active { color: #FFFFFF; }

/* =========================================================
SHOWREEL
========================================================= */
.video-wrapper-large {
  width: 80%;
  margin: 5rem auto;
  position: relative;
  padding-top: 56.25%;
}
.video-wrapper-large iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================================================
ABOUT PAGE
========================================================= */
.about-wrapper {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding-top: 120px;
}
.about-split {
  display: flex;
  gap: 3rem;
  padding: 5rem 0;
  align-items: center;
  flex-wrap: wrap;
}
.about-single {
  display: flex;
  gap: 3rem;
  padding: 5rem 0;
  align-items: center;
  flex-wrap: wrap;
}
.about-img img {
  width: 350px;
  border-radius: 200px;
  object-fit: cover;
  box-shadow: 0 15px 40px rgba(0,0,0,.5);
}
.about-text {
  flex: 1;
  font-size: 1.15rem;
  line-height: 1.9;
}
.about-text h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.about-image-break {
  justify-content: center;
  display: flex;
  overflow: hidden;
}

.about-image-break img {
  width: 70%;
  border-radius: 4px;
}

a.about-contact:link { color: #0098f8; }
a.about-contact:hover { color: #05f1ff; }
a.about-contact:active { color: #FFFFFF; }

/* =========================================================
VIDEO (GLOBAL)
========================================================= */
.video-wrapper {
  width: 70%;
  margin: 0 auto;
  position: relative;
  padding-top: 56.25%;
  z-index: 1;
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================================================
PORTFOLIO GALLERY
========================================================= */
.gallery {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 120px 10px 10px;
}
.row, .full {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.cell {
  position: relative;
  background: #111;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cell img, .full img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .8s ease;
  cursor: pointer;
  display: block;
}
img.loaded { opacity: 1; }
.title {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
  opacity: 0;
  transform: translateY(30%);
  transition: all .4s ease;
  pointer-events: none;
}
.cell:hover .title {
  opacity: 1;
  transform: translateY(0);
}
/* Gallery */
.project-gallery{
    display:grid;
    gap:20px;
    margin:6rem 0;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
}
.project-gallery img{
    width:100%;
    border-radius:8px;
}
/* --- Portfolio load animation --- */

/* Hide gallery until JS finishes building */
.gallery {
    opacity: 0;
    transition: opacity .8s ease;
}

/* Fade in gallery after JS completes */
.gallery.loaded {
    opacity: 1;
}

/* Stagger items — hidden by default */
.row, .full {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .6s ease, transform .6s ease;
}

.row.visible, .full.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
}

/* =========================================================
PROJECT PAGE
========================================================= */
.project-wrapper {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding-top: 120px;
}
.project-hero img,
.project-hero .hero-video iframe {
  width: 100%;
  border-radius: 4px;
}
.project-text {
  max-width: 800px;
  margin: 3rem auto;
  font-size: 1.2rem;
  line-height: 1.9;
}
.project-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.project-media {
  width: 100%;
  margin: 4rem 0;
}
.project-media img,
.project-media iframe {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Portrait video (9:16 like 1080×1920)
   Make it tall on desktops */
@media (min-width: 900px) {
  .project-media iframe[width="1080"][height="1920"] {
    height: 90vh !important;
    width: auto !important;
    aspect-ratio: 9 / 16;
    display: block;
    margin: 0 auto;
    object-fit: contain;
  }
}

/* ============================
FOOTER
============================ */

.site-footer {
  background: #111;           /* your cinematic dark background */
  color: #fff;                /* white text */
  padding: 4rem 2rem 2rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* Columns */
.footer-col h3 {
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.footer-contact p,
.footer-links a,
.footer-social a {
  color: #fff;
  opacity: 0.85;
  display: block;
  margin-bottom: .5rem;
  text-decoration: none;
  transition: opacity .3s ease;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity .3s ease;
}

.footer-contact a:hover {
  opacity: 1;
}


.footer-links a:hover,
.footer-social a:hover {
  opacity: 1;
}

/* Social icons minimalist style */
.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  font-size: 1.1rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease, opacity .3s ease, border-color .3s ease;
}

.social-icon:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* Bottom copyright bar */
.footer-bottom {
  text-align: center;
  opacity: .65;
  margin-top: 3rem;
  font-size: .9rem;
}

/* Responsive */
@media (max-width: 780px) {
  .footer-container {
    flex-direction: column;
    gap: 2rem;
    text-align: left;
  }
}

/* ============================
FOOTER LINKS — UNDERLINE ANIMATION
============================ */

.footer-link {
  position: relative;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  margin-bottom: .5rem;
  opacity: .85;
  transition: opacity .3s ease;
}

.footer-link:hover {
  opacity: 1;
}

/* Underline animation */
.footer-link::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  bottom: -2px;
  width: 0%;
  background: #fff;
  transition: width .32s cubic-bezier(0.25, 0.25, 0, 1);
}

.footer-link:hover::after {
  width: 100%;
}

.footer-social {
  display: flex;
  gap: 1.25rem;
}

.social-icon {
  color: #fff;
  opacity: .8;
  transition: opacity .3s ease, transform .3s ease;
}

.social-icon:hover {
  opacity: 1;
  transform: scale(1.12);
}

