*{
    margin: 0;
    padding: 0;
    scrollbar-width: 0;
}

body{
    background-color: black;
    color: white;
}

a {
  text-decoration: none; /* remove underline */
  color: white;          /* your color */
}
html {
  scroll-behavior: smooth;
}

.left img {
    height: 80px;
    width: auto;
    user-select: none;
}
nav {
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, #3b3b3b 0.2%, #000000 100%);
    padding: 15px 20px;
    justify-content: space-between;
    box-shadow: 0 4px 100px rgba(255, 0, 0, 0.6);
}
.right ul {
    display: flex;
    gap: 30px;
    list-style: none;
    user-select: none;
    font-family: "Sour Gummy", sans-serif;
}
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-title {
    font-size: 260px;
    font-family: "Shojumaru", system-ui;
    color: rgb(100, 100, 100);
    position: absolute;
    top: 20%;
    transform: translateY(-55%);
    text-align: center;
     user-select: none
}
.hero img {
  width: 600px;
  position: absolute;
  top: 25%;
  border-radius: 5%;
}

css/* ================= GRAIN EFFECT ON HERO TITLE ================= */

.hero-title {
  position: relative;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-title::before {
  content: "PORTFOLIO";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 150px 150px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 260px;
  font-family: "Shojumaru", system-ui;
  text-align: center;
  animation: grain 0.4s steps(1) infinite;
  opacity: 0.90;
  mix-blend-mode: overlay;
  pointer-events: none;
}

@keyframes grain {
  0%   { background-position: 0% 0%; }
  10%  { background-position: -5% -10%; }
  20%  { background-position: -15% 5%; }
  30%  { background-position: 7% -25%; }
  40%  { background-position: -5% 25%; }
  50%  { background-position: -15% 10%; }
  60%  { background-position: 15% 0%; }
  70%  { background-position: 0% 15%; }
  80%  { background-position: 3% 35%; }
  90%  { background-position: -10% 10%; }
  100% { background-position: 0% 5%; }
}



.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  margin-top: 80px;
}

/* Moving track */
.track {
  display: flex;
  width: max-content;
  animation: scroll 60s linear infinite;
  user-select: none;
}

/* Text styling */
.track span {
  font-size: 50px;
  padding-right: 0px;
  letter-spacing: 0px;
  font-family: "Bruno Ace SC", sans-serif;
}

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

/* ================= GALLERY SECTION ================= */

/* ================= GALLERY SECTION ================= */

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 10vw;
  gap: 0;
}

.col-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-right: 20px;
}

.col-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-left: 20px;
  margin-top: 100px;
}

/* CARD BASE */
.card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease;
}

.col-left .card {
  align-self: flex-start;
}

.col-right .card {
  align-self: flex-end;
}

/* IMAGE SIZING VIA ASPECT RATIO */
.portrait img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

.landscape {
  max-width: 520px !important;
}

.landscape img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit:fit;
  display: block;
}

.small img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* NUMBER LABEL */
.num {
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  z-index: 2;
  letter-spacing: 1px;
}

/* HOVER EFFECT */
.card:hover {
  transform: translateY(-8px) scale(1.02);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: 0.3s;
}

.card:hover::after {
  opacity: 1;
}

/* GALLERY TEXT BLOCK */
.gallery-text,
.gallery-text2 {
  padding: 5px 0;
}

.gallery-text p,
.gallery-text2 p {
  font-size: 14px;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.gallery-text sup,
.gallery-text2 sup {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin-right: 6px;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  display: none;
}




/* DIVIDER LINE */
.divider {
  width: 100%;
  height: 1px;
  background: #535353;
  margin: 1px 0;
}

/* VIDEO SECTION */
.video-section {
  position: relative;
  width: 100%;
  padding: 0px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* VIDEO */
.video-section video {
  width: 50%;
  border-radius: 0px;
  object-fit: fill;
  user-select: none;
}

/* CAPTION */
.video-caption {
  position: absolute;
  bottom: 565px;
  left: 44.5%;
  font-size: 40px;
  color: white;
  font-weight: 600;
  user-select: none;
}




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

.footer {
  background: #111;
  color: white;
  padding: 100px 120px 40px;
  margin-top: 150px;
}

/* TOP TEXT */
.footer-top {
  text-align: center;
  margin-bottom: 80px;
}

.footer-top .small-text {
  opacity: 0.5;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-top h1 {
  font-size: 60px;
  font-weight: bold;
}

/* CONTENT */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

/* LEFT */
.footer-left p {
  font-size: 22px;
  border-bottom: 1px solid #555;
  padding-bottom: 5px;
}

/* CENTER BUTTON */
.footer-center button {
  padding: 15px 35px;
  border-radius: 30px;
  border: 1px solid #555;
  background: transparent;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.footer-center button:hover {
  background: white;
  color: black;
}

/* RIGHT */
.footer-right p {
  font-size: 18px;
}

.footer-right span {
  font-size: 12px;
  opacity: 0.6;
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
}
.footer-left p:hover {
  color: #aaa;
}
























/* ================= MOBILE RESPONSIVE ================= */
/* ================= MOBILE FIX ================= */
/* ================= ULTRA PREMIUM MOBILE ================= */
@media (max-width: 768px) {

  /* GENERAL RESET */
  body {
    overflow-x: hidden;
    line-height: 1.6;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  section {
    margin-bottom: 70px;
  }

  /* NAVBAR */
  nav {
    flex-direction: column;
    gap: 10px;
    padding: 15px 20px;
    text-align: center;
  }

  .left img {
    height: 50px;
  }

  .right ul {
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    letter-spacing: 1px;
  }

  /* HERO */
  .hero {
    height: auto;
    padding: 80px 20px;
  }

  .hero-title {
    font-size: 52px;
    top: 20%;
    transform: translateY(-50%);
    letter-spacing: 2px;
  }

  .hero img {
    width: 230px;
    top: 35%;
  }

  /* MARQUEE */
  .marquee {
    margin-top: 40px;
    padding: 0 20px;
  }

  .track span {
    font-size: 18px;
    padding: 10px;
    letter-spacing: 1px;
  }

  /* 🔥 GALLERY (SWIPE STYLE PREMIUM) */
  .gallery {
    display: flex !important;
    flex-direction: row;
    overflow-x: auto;
    gap: 20px;
    padding: 40px 20px;
    scroll-snap-type: x mandatory;
  }

  .gallery::-webkit-scrollbar {
    display: none;
  }

  .col-left,
  .col-right {
    display: contents;
  }

  .card {
    min-width: 85%;
    flex-shrink: 0;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
  }

  .card img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
  }

  /* TEXT BELOW CARDS */
  .gallery-text,
  .gallery-text2 {
    padding: 0 5px;
    margin-top: 10px;
  }

  .gallery-text p,
  .gallery-text2 p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
  }

  .gallery-text sup,
  .gallery-text2 sup {
    font-size: 10px;
    margin-right: 6px;
    color: rgba(255,255,255,0.4);
  }

  /* DIVIDER */
  .divider {
    margin: 40px 20px;
  }

  /* 🎬 VIDEO SECTION (CLEAN + CINEMATIC) */
  .video-section {
    padding: 40px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .video-section video {
    width: 100%;
    border-radius: 14px;
  }

  .video-caption {
    position: static;
    margin-top: 15px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
  }

  /* FOOTER */
  .footer {
    padding: 60px 20px;
  }

  .footer-top h1 {
    font-size: 40px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-left p {
    font-size: 18px;
  }

  .footer-right p {
    font-size: 16px;
  }

  .footer-bottom {
    font-size: 12px;
  }

}