/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

/* ROOT */
body {
  background: #000;
  color: #fff;
  height: 100vh;
  overflow: hidden;
}

/* =========================
   HEADER / NAVBAR
========================= */
.navbar {
  height: 70px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  width: 26px;
  height: 26px;
  background: #d4af37;
  border-radius: 6px;
}

.logo-text {
  color: #d4af37;
  font-weight: 600;
  font-size: 16px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-btn {
  background: none;
  border: none;
  color: #7a7a7a;
  font-size: 14px;
  cursor: pointer;
}

.nav-btn.active {
  color: #ffffff;
}

/* DROPDOWN STYLES */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-btn {
  position: relative;
}

.nav-dropdown-btn::after {
  content: '▼';
  font-size: 8px;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.nav-dropdown.open .nav-dropdown-btn::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 4px;
  min-width: 150px;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  color: #7a7a7a;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: #262626;
  color: #d4af37;
}

.dropdown-item:first-child {
  border-radius: 4px 4px 0 0;
}

.dropdown-item:last-child {
  border-radius: 0 0 4px 4px;
}

/* =========================
   PAGE SLIDER WRAPPER
========================= */
.page-wrapper {
  height: calc(100vh - 140px);
  overflow: hidden;
  position: relative;
}

.pages {
  display: flex;
  height: 100%;
  width: 800vw;
}

/* =========================
   PAGE BASE
========================= */
.page {
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   HOME – HERO SECTION
========================= */
.hero {
  text-align: center;
  max-width: 900px;
}

/* TITLE */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.05;
}

.hero-title span {
  display: block;
}

/* SUBTITLE */
.hero-subtitle {
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: 2px;
  color: #9a9a9a;
}

/* BUTTONS */
.hero-actions {
  margin-top: 42px;
  display: flex;
  gap: 22px;
  justify-content: center;
}

.btn {
  padding: 14px 32px;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: #d4af37;
  color: #000;
  border: none;
}

.btn-outline {
  background: transparent;
  color: #d4af37;
  border: 1px solid #d4af37;
}

/* =========================
   ABOUT PAGE
========================= */
.about-wrapper {
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-image img {
  width: 320px;
  height: 420px;
  border-radius: 10%;
  object-fit: cover;
}

/* ABOUT TEXT */
.about-content {
  max-width: 420px;
}

.about-title {
  display: flex;
  flex-direction: column;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  color: #2f3338;
}

.about-title #name {
  color: #d4af37;
}

.about-title #about {
  font-size: 32px;
}


.about-tagline {
  margin: 12px 0 18px;
  font-size: 14px;
  color: #cfcfcf;
}

.about-description {
  font-size: 14px;
  line-height: 1.7;
  color: #8a8a8a;
}

/* =========================
   FOOTER
========================= */
.footer {
  height: 70px;
  padding: 0 60px;
  border-top: 1px solid #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
}

.footer-center {
  display: flex;
  gap: 20px;
}

.footer-right {
  opacity: 0.6;
}
.pages {
  display: flex;
  height: 100%;
  width: 700vw;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}

/* =========================
   IMAGES PAGE (SCROLLABLE)
========================= */

.page.images {
  align-items: flex-start;
}

/* Scroll container */
.images-wrapper {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 80px 80px 140px;
}

/* Hide scrollbar but keep scrolling */
.images-wrapper {
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE & Edge */
}

.images-wrapper::-webkit-scrollbar {
  display: none;                /* Chrome, Safari */
}


/* CATEGORY */
.image-category {
  margin-bottom: 100px;
}

.category-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #ffffff;
}

/* BENTO LAYOUT GRID */
.image-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 20px;
  grid-auto-flow: dense;
}

/* Default: 1x1 items */
.image-grid img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  cursor: pointer;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  animation: imageLoad 0.6s ease-out backwards;
}

/* Stagger animation for images */
.image-grid img:nth-child(1) { animation-delay: 0.05s; }
.image-grid img:nth-child(2) { animation-delay: 0.1s; }
.image-grid img:nth-child(3) { animation-delay: 0.15s; }
.image-grid img:nth-child(4) { animation-delay: 0.2s; }
.image-grid img:nth-child(5) { animation-delay: 0.25s; }
.image-grid img:nth-child(6) { animation-delay: 0.3s; }
.image-grid img:nth-child(7) { animation-delay: 0.35s; }
.image-grid img:nth-child(8) { animation-delay: 0.4s; }
.image-grid img:nth-child(9) { animation-delay: 0.45s; }
.image-grid img:nth-child(10) { animation-delay: 0.5s; }

@keyframes imageLoad {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Bento pattern: Vary item sizes */
.image-grid img:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.image-grid img:nth-child(4) {
  grid-column: span 2;
}

.image-grid img:nth-child(7) {
  grid-column: span 2;
  grid-row: span 2;
}

.image-grid img:nth-child(10) {
  grid-column: span 2;
}

.image-grid img:nth-child(13) {
  grid-column: span 2;
  grid-row: span 2;
}

.image-grid img:nth-child(16) {
  grid-column: span 2;
}

.image-grid img:nth-child(19) {
  grid-column: span 2;
  grid-row: span 2;
}

/* Hover effects */
.image-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
}

/* =========================
   FULLSCREEN LIGHTBOX
========================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  animation: slideUp 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.lightbox-close:hover {
  color: #d4af37;
  transform: rotate(90deg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* =========================
   IMAGES PAGE HEADER
========================= */
.page.images {
  display: block !important;
  align-items: unset !important;
  justify-content: unset !important;
}

.images-page-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;   /* THIS is the key */
  text-align: center;
  margin-bottom: 100px;
}


.images-page-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 1px;
}

.images-page-tagline {
  margin-top: 12px;
  font-size: 14px;
  color: #9a9a9a;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* =========================
   STORYBOARD PAGE
========================= */

.page.storyboard {
  display: block !important;
  align-items: unset !important;
  justify-content: unset !important;
}

.storyboard-wrapper {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 80px 80px 140px;
}

.storyboard-wrapper::-webkit-scrollbar {
  display: none;
}

.storyboard-page-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 100px;
}

.storyboard-page-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 1px;
}

.storyboard-page-tagline {
  margin-top: 12px;
  font-size: 14px;
  color: #9a9a9a;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.storyboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.storyboard-card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.storyboard-card:hover {
  transform: scale(1.02);
}

.storyboard-card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 20px;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.3s ease;
}

.storyboard-card img:hover {
  transform: scale(1.05);
}

.storyboard-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-transform: capitalize;
}

/* =========================
   CHARACTER DESIGN CARDS
========================= */

.character-subcategory {
  margin-bottom: 80px;
}

.character-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.character-card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.character-card:hover {
  transform: scale(1.02);
}

.character-card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 16px;
  object-fit: cover;
  aspect-ratio: 3/4;
  transition: transform 0.3s ease;
}

.character-card img:hover {
  transform: scale(1.05);
}

.character-card-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-transform: capitalize;
}

/* =========================
   VIDEOS PAGE
========================= */

.page.videos {
  display: block;
}

/* Scrollable wrapper */
.videos-wrapper {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 80px 80px 140px;
}

/* Hide scrollbar */
.videos-wrapper {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.videos-wrapper::-webkit-scrollbar {
  display: none;
}

/* HEADER */
.videos-header {
  text-align: center;
  margin-bottom: 80px;
}

.videos-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 1px;
}

.videos-tagline {
  margin-top: 12px;
  font-size: 14px;
  color: #9a9a9a;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* GRID */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* CARD */
.video-card {
  background: #0a0a0a;
  border-radius: 10px;
  overflow: hidden;
}

/* VIDEO */
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* TEXT */
.video-name {
  font-size: 16px;
  font-weight: 600;
  padding: 16px 16px 4px;
}

.video-type {
  font-size: 13px;
  color: #9a9a9a;
  padding: 0 16px 16px;
}
/* =========================
   SKILLS & TOOLS PAGE
========================= */

.page.skills {
  display: block;
}

.skills-wrapper {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 80px 80px 140px;
  scrollbar-width: none;
}

.skills-wrapper::-webkit-scrollbar {
  display: none;
}

/* HEADER */
.skills-header {
  text-align: center;
  margin-bottom: 100px;
}

.skills-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 1px;
}

.skills-tagline {
  margin-top: 12px;
  font-size: 14px;
  color: #9a9a9a;
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.6;
}

/* =========================
   SECTION BLOCKS
========================= */

.skills-section {
  position: relative;
  margin-bottom: 160px; /* controls spacing BETWEEN sections */
}

.skills-section:last-child {
  margin-bottom: 0;
}

/* SECTION TITLE */
.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* SUBTLE DIVIDER */
.skills-section::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -80px;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.12),
    transparent
  );
}

.skills-section:last-child::after {
  display: none;
}

/* =========================
   AI TOOLS GRID
========================= */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* TOOL CARD */
.tool-card {
  height: 140px;
  background: #0a0a0a;
  border-radius: 12px;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

/* ICON */
.tool-card i {
  font-size: 28px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

/* HOVER */
.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 26px currentColor;
}

.tool-card:hover i {
  opacity: 1;
}

/* BORDER COLORS */
.border-gold   { border-color: #d4af3755; color: #d4af37; }
.border-blue   { border-color: #4fa3ff55; color: #4fa3ff; }
.border-green  { border-color: #4cff8855; color: #4cff88; }
.border-purple { border-color: #9b6cff55; color: #9b6cff; }
.border-cyan   { border-color: #4fdfff55; color: #4fdfff; }
.border-red    { border-color: #ff5c5c55; color: #ff5c5c; }
.border-teal   { border-color: #3ddad755; color: #3ddad7; }
.border-orange { border-color: #ff9f4355; color: #ff9f43; }
.border-pink   { border-color: #ff6fae55; color: #ff6fae; }
.border-lime   { border-color: #a6ff4f55; color: #a6ff4f; }
.border-indigo { border-color: #6f7cff55; color: #6f7cff; }

/* =========================
   ADDITIONAL SKILLS
========================= */

.text-skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.text-skill h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.text-skill p {
  font-size: 14px;
  color: #9a9a9a;
  line-height: 1.6;
}

/* =========================
   TOOLS USED
========================= */

.tools-used {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.tools-used h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.tools-used p {
  font-size: 14px;
  color: #9a9a9a;
  line-height: 1.6;
}
/* =========================
   EXPERIENCE PAGE
========================= */

.page.experience {
  display: block;
}

/* SCROLLABLE WRAPPER */
.experience-wrapper {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 80px 80px 140px;

  /* Hide scrollbar */
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE / Edge */
}

.experience-wrapper::-webkit-scrollbar {
  display: none;                /* Chrome / Safari */
}

/* HEADER */
.experience-header {
  text-align: center;
  margin-bottom: 120px;
}

.experience-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* EXPERIENCE CONTENT */
.experience-section {
  max-width: 800px;
  margin: 0 auto;
}

/* EXPERIENCE CARD */
.experience-card {
  position: relative;
  padding-bottom: 100px;
  margin-bottom: 100px;
}

/* DIVIDER */
.experience-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.12),
    transparent
  );
}

/* REMOVE LAST DIVIDER */
.experience-card:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.experience-card:last-child::after {
  display: none;
}

/* TEXT STYLES */
.company-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.experience-duration {
  font-size: 13px;
  color: #9a9a9a;
}

.experience-role {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #d4af37;
}

.experience-description {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #8a8a8a;
}
/* =========================
   CONTACT PAGE
========================= */

.page.contact {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-wrapper {
  text-align: center;
  max-width: 720px;
  padding: 0 20px;
}

/* TITLE */
.contact-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 32px;
}

/* TAGLINE */
.contact-tagline {
  font-size: 14px;
  color: #9a9a9a;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* EMAIL */
.contact-email {
  font-size: 32px;
  font-weight: 700;
  color: #2f3338;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 50px;
}

.contact-email i {
  font-size: 28px;
}

/* SOCIAL ICONS */
.contact-socials {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-bottom: 60px;
}

.contact-socials i {
  font-size: 20px;
  color: #6b6b6b;
  cursor: pointer;
  transition: color 0.3s ease;
}

.contact-socials i:hover {
  color: #d4af37;
}

/* BACK TO HOME BUTTON */
.contact-home-btn {
  padding: 14px 38px;
  font-size: 14px;
  letter-spacing: 0.5px;
  background: transparent;
  color: #d4af37;
  border: 1px solid #d4af37;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-home-btn:hover {
  background: #d4af37;
  color: #000;
}
/* =========================
   HOME BACKGROUND VIDEO
========================= */

.page.home {
  position: relative;
  overflow: hidden;
}

/* VIDEO CONTAINER */
.home-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* DARK CINEMATIC OVERLAY */
.home-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.85)
  );
  z-index: 1;
}

/* CONTENT ABOVE VIDEO */
.page.home .hero {
  position: relative;
  z-index: 2;
}

/* =========================
   CONTACT BACKGROUND VIDEO
========================= */

.page.contact {
  position: relative;
  overflow: hidden;
}

/* VIDEO */
.contact-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */
.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.9)
  );
  z-index: 1;
}

/* CONTENT ABOVE VIDEO */
.page.contact .contact-wrapper {
  position: relative;
  z-index: 2;
}
