/* ============================================
   RESET + BASE STYLES
============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'JetBrainsMono', monospace;
  background-color: #fefae0;
  color: #111;
  overflow-x: hidden;
}

body {
  position: relative;
  padding-top: 10vh;
  padding-bottom: 10vh;
}

/* ============================================
   HEADER
============================================ */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 10vh;
  min-height: 60px;
  background-color: #fefae0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  z-index: 10;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header-icons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  flex-wrap: nowrap;
}

.header-icons img {
  height: 55.5px;
  width: auto;
  display: block;
}

.header-icons a {
  display: block;
  line-height: 0;
}

.header-icons a img {
  display: block;
  height: 55.5px;
}

.blck-logo {
  height: 50px;
  max-height: 100%;
  display: block;
}

.header-right {
  margin-left: auto;
}

.menu-text {
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
}

.header-left a {
  display: block;
  line-height: 0;
}

.header-left a img {
  display: block;
}

/* ============================================
   HERO SECTIONS (GLOBAL)
============================================ */
.hero {
  height: calc(100vh - 20vh);
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
}

.hero-img {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero-text {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'JetBrainsMono', monospace;
  text-align: center;
  width: 100vw;
  padding: 0 2vw;
}

.hero-text.white-text {
  color: white;
  font-size: clamp(.9rem, 3.5vw, 2rem);
  line-height: 1.2;
}

.hero-text.black-text {
  line-height: 1.2;
  font-size: clamp(0.9rem, 3vw, 1.5rem);
  padding: 0 2vw;
  width: 60vw;
  max-width: none;
  text-align: center;
  color: black;
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
}

.hero-text.black-text p {
  margin-bottom: 0.3em;
}

.horizontal-scroll {
  width: 100vw;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.horizontal-scroll .hero-img {
  width: auto;
  min-width: 100%;
  height: 100%;
  display: block;
}

/* ============================================
   FOOTER
============================================ */
.footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10vh;
  min-height: 60px;
  background-color: #fefae0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  z-index: 10;
}

.footer-logo {
  height: 60px;
  max-height: 100%;
  display: block;
}

.footer-icons-left,
.footer-icons-right {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
}

.footer-icons-left a,
.footer-icons-right a {
  display: block;
  line-height: 0;
}

.footer-icons-left {
  left: 32px;
}

.footer-icons-right {
  right: 32px;
}

.footer-icons-left img,
.footer-icons-right img {
  height: clamp(20px, 5vw, 55px);
  width: auto;
  object-fit: contain;
}

/* ============================================
   RESPONSIVE BEHAVIOR
============================================ */
@media (max-width: 1065px) {
  .header-icons {
    display: none;
  }

  .footer-icons-left,
  .footer-icons-right {
    display: flex;
  }
}

@media (max-width: 500px) {
  .footer-logo {
    height: 32px;
  }

  .footer-icons-left {
    left: 16px;
  }

  .footer-icons-right {
    right: 16px;
  }

  .footer-icons-left img,
  .footer-icons-right img {
    height: 24px;
  }
}

/* ============================================
   BACKGROUND MUSIC PLAYER (Fixed UI)
============================================ */
#bg-music {
  position: fixed;
  bottom: 80px;
  right: 32px;
  z-index: 999;
  width: 200px;
  opacity: 0.8;
}

/* ============================================
   SIDEBAR
============================================ */
.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: #fefae0;
  box-shadow: -4px 0 10px rgba(0,0,0,0.1);
  transition: right 0.4s ease;
  z-index: 999;
  padding: 60px 24px;
  display: none;
  flex-direction: column;
  align-items: flex-start;
}

.sidebar.show {
  display: flex;
  right: 0;
}

.close-btn {
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 40px;
  align-self: flex-end;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
  margin-bottom: auto;
}

.sidebar-menu li {
  font-family: 'JetBrainsMono', monospace;
  font-size: 1.1rem;
  margin-bottom: 20px;
  cursor: pointer;
}

.sidebar-menu a {
  color: inherit;
  text-decoration: none;
}

.sidebar-footer {
  font-size: 0.9rem;
  color: #555;
  margin-top: auto;
  padding-top: 40px;
}

/* ============================================
   SIDEBAR DROPDOWN
============================================ */
.has-dropdown {
  position: relative;
}


.dropdown-toggle {
  cursor: pointer;
  display: inline-block;
  color: inherit; /* default color */
}

/* Default state: keep normal text color */
.dropdown-menu {
  display: none;
  position: relative;
  list-style: none;
  margin-top: 10px;
  padding-left: 12px;
  color: inherit; /* use sidebar default color */
}

.dropdown-menu li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: inherit; /* default color */
}

/* Only turn red on hover for dropdown menu links */
.dropdown-menu a {
  text-decoration: none;
  color: inherit; /* default color */
  transition: color 0.3s ease;
}

.dropdown-menu,
.sub-dropdown-menu {
  display: none;
}

.sidebar-footer {
  position: absolute;
  bottom: 2vh;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.6rem;
  line-height: 1.2;
  color: #888;
  max-width: 80%;
}

/* ============================================
   NESTED DROPDOWN (PROJECTS submenu)
============================================ */
.has-sub-dropdown {
  position: relative;
}

.sub-dropdown-menu {
  display: none;
  list-style: none;
  margin-top: 6px;
  margin-left: 14px;
  padding-left: 12px;
  position: relative;
  color: inherit;
}


.sub-dropdown-menu li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

/* Nested dropdown links color */
.sub-dropdown-menu a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.has-dropdown.open .dropdown-menu,
.has-sub-dropdown.open .sub-dropdown-menu {
  display: block;
}

.has-dropdown.open > .dropdown-toggle,
.has-sub-dropdown.open > .sub-toggle {
  color: #c1272d;
}

/* ============================================
   ABOUT PAGE SPECIFIC OVERRIDES
============================================ */
body .about-page .main-header,
body .about-page .footer-bar {
  background-color: #ffc755;
  color: #fefae0;
}

body[data-page="about"] .menu-text {
  color: #fefae0;
}

body[data-page="about"] .main-header a:hover img,
body[data-page="about"] .footer-bar img:hover,
body[data-page="about"] .footer-icons-left img:hover,
body[data-page="about"] .footer-icons-right img:hover,
body[data-page="about"] .main-header .header-icons a:hover img {
  filter: brightness(0) saturate(100%) invert(17%) sepia(90%) saturate(5707%) hue-rotate(345deg) brightness(90%) contrast(85%);
  transition: filter 0.3s ease;
}

body[data-page="about"] .main-header .menu-text:hover,
body[data-page="about"] .sidebar-menu li:hover,
body[data-page="about"] .sidebar-menu a:hover,
body[data-page="about"] .sidebar-footer:hover {
  color: #c1272d;
  transition: color 0.3s ease;
}

/* About Page Hero Section 2 */
.about-hero2 {
  position: relative;
  width: 100vw;
  height: calc(100vh - 20vh);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero2 .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-hero2 .hero-text.black-text {
  z-index: 2;
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: black;
  text-align: center;
  font-family: 'JetBrainsMono', monospace;
  padding: 0 5vw;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
}

/* ============================================
   VIDEO HERO (Global Reuse)
============================================ */
.video-hero {
  position: relative;
  width: 100vw;
  height: calc(100vh - 20vh);
  overflow: hidden;
}

.video-hero .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-hero .hero-text {
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'JetBrainsMono', monospace;
  color: white;
  font-size: clamp(1.2rem, 4vw, 3rem);
  text-align: center;
}

/* ============================================
   VIDEO HERO BLOCK - LOCKED TEXT BOX STYLE
============================================ */
.video-hero .hero-text.black-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 520px;
  padding: 40px 30px;
  background-color: rgba(255, 255, 255, 0.65);
  border-radius: 6px;
  color: black;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.03em;
  font-family: 'JetBrainsMono', monospace;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================
   MUSIC HERO SECTION
============================================ */
.music-hero {
  position: relative;
  width: 100vw;
  height: calc(100vh - 20vh);
  overflow: hidden;
}

.music-hero video.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ============================================
   MEDIA HERO SCROLL GALLERY
============================================ */
.media-hero {
  height: calc(100vh - 20vh);
  width: 100vw;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 0 20px;
}

.media-scroll-wrapper {
  display: flex;
  gap: 20px;
}

.media-scroll-wrapper img {
  height: 80vh;
  width: auto;
  object-fit: contain;
  scroll-snap-align: center;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.media-scroll-wrapper img:hover {
  transform: scale(1.05);
}

.media-hero {
  -webkit-overflow-scrolling: touch;
}

/* ============================================
   MUSIC CAROUSEL
============================================ */
.music-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 20vh);
  width: 100vw;
  overflow: hidden;
}

.music-slide-wrapper {
  position: relative;
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-slide {
  display: none;
  max-height: 80%;
  max-width: 90vw;
  object-fit: contain;
}

.music-slide.active {
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: white;
  font-size: 3rem;
  border: none;
  cursor: pointer;
  z-index: 5;
  opacity: 0.7;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  opacity: 1;
}

.carousel-btn.left {
  left: 5vw;
}

.carousel-btn.right {
  right: 5vw;
}

@media (max-width: 768px) {
  .carousel-btn.left {
    left: 14px;
  }

  .carousel-btn.right {
    right: 14px;
  }
}

/* ============================================
   STREAMING ICON + APPLE EMBED
============================================ */
.streaming-icon {
  position: absolute;
  top: 3vh;
  left: 24px;
  z-index: 10;
}

.streaming-icon img {
  height: 32px;
  cursor: pointer;
}

.apple-embed {
  display: none;
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  z-index: 99;
  background: #fff;
  border-radius: 0px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 12px;
  max-width: 375px;
  width: 90vw;
}

.apple-embed .close-embed {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #c1272d;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 1rem;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
  z-index: 100;
}

/* ============================================
   IDMNS HERO
============================================ */
.idmns-hero .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  object-fit: fill;
  z-index: 0;
}

/* ============================================
   CONTACT PAGE
============================================ */
.contact-hero {
  width: 100vw;
  height: calc(100vh - 20vh);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5vw;
  background-color: #fefae0;
}

.contact-container {
  width: 100%;
  max-width: 600px;
  text-align: center;
  font-family: 'JetBrainsMono', monospace;
}

.contact-container h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 2rem;
  color: #111;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #999;
  border-radius: 6px;
  font-family: 'JetBrainsMono', monospace;
  font-size: 1rem;
  background-color: #fff;
  color: #111;
}

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

.contact-form button {
  padding: 12px;
  background-color: #c1272d;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #a11e24;
}

/* ============================================
   SERVICES : HERO SECTION STRUCTURE (CLEANED)
============================================ */


/* TITLE IMAGE (Top-Left Corner) */
.hero-title-img {
  position: absolute;
  top: 30px;
  left: 30px;
  max-width: 300px;
  height: auto;
  z-index: 2;
}

/* TEXT BOX: Positioned below title, aligned left */
.hero-overlay-box {
  margin-top: 80px; /* Space below title image */
  align-self: flex-start;
  background-color: rgba(240, 240, 240, 0.6);
  padding: 2.5em 3em;
  border-radius: 20px;
  max-width: 1500px;
  width: 90%;
  backdrop-filter: blur(5px);
  color: #111;
  font-family: 'JetBrainsMono', monospace;
  line-height: 1.6;
}

/* Text Styling */
.hero-overlay-box strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4em;
}

.hero-overlay-box p {
  font-size: 1rem;
  margin-bottom: 1.5em;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hero {
    padding: 5vh 4vw 6vh;
  }

  .hero-title-img {
    max-width: 80%;
    top: 20px;
    left: 20px;
  }

  .hero-overlay-box {
    margin-top: 100px;
    padding: 1.5em 1.8em;
    max-width: 100%;
    font-size: 0.95rem;
  }

  .hero-overlay-box strong {
    font-size: 1.15rem;
  }

  .hero-overlay-box p {
    font-size: 0.92rem;
  }
}

#production {
  color: #111;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

.hero-overlay-box p {
  margin-bottom: 1.2em; /* spacing between paragraphs */
  line-height: 1.5;
}

.hero-overlay-box strong {
  display: inline;
  font-weight: 600;
  margin-right: 0.35em;
}

.paragraph-text {
  display: inline;
}

.hero-overlay-box {
  background-color: rgba(200, 200, 200, 0.4);
  padding: 2em;
  border-radius: 20px;
  max-width: 1500px;
  margin-top: 100px;
  color: #000;
  font-family: 'JetBrainsMono', monospace;
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.scroll-box {
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 0.5em; /* avoids clipping text from scroll bar */
}

/* Optional: Custom scrollbar style */
.scroll-box::-webkit-scrollbar {
  width: 8px;
}
.scroll-box::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.3);
  border-radius: 4px;
}

@media screen and (max-width: 768px) {
  .scroll-box {
    max-height: 40vh;
  }
}

/* ============================================
   CONTACT PAGE — VIDEO BACKGROUND
============================================ */
.video-bg-hero {
  position: relative;
  width: 100vw;
  height: calc(100vh - 20vh);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-bg-hero .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-bg-hero .contact-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.video-bg-hero .contact-container h1 {
  color: #111;
}

/* ============================================
   MUSIC PLAYER PANEL
============================================ */
.some-luv-player {
  position: absolute;
  top: 10vh;
  left: 24px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 16px;
  border-radius: 8px;
  color: white;
  font-family: 'JetBrainsMono', monospace;
  width: 270px;
  min-width: 270px;
  max-width: 270px;
  z-index: 2;
}

.some-luv-player h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

.tracklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tracklist li {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.tracklist button {
  margin-right: 8px;
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.3s;
}

.tracklist button:hover {
  opacity: 0.7;
}

.tracklist-container {
  max-height: 300px; /* Customize height as needed */
  overflow-y: auto;
  margin-top: 10px;
  padding-right: 6px;
}

.tracklist-container::-webkit-scrollbar {
  width: 6px;
}

.tracklist-container::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}

.tracklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tracklist li {
  margin: 6px 0;
  display: flex;
  align-items: center;
}

.tracklist button {
  margin-right: 10px;
  font-size: 14px;
}

/* ============================================
   HOVER EFFECTS (Icons + Text)
============================================ */
.main-header a:hover img,
.footer-bar img:hover,
.footer-icons-left img:hover,
.footer-icons-right img:hover {
  filter: brightness(0) saturate(100%) invert(17%) sepia(90%) saturate(5707%) hue-rotate(345deg) brightness(90%) contrast(85%);
  transition: filter 0.3s ease;
}

.main-header .menu-text:hover,
.sidebar-menu li:hover,
.sidebar-menu a:hover,
.sidebar-footer:hover {
  color: #c1272d;
  transition: color 0.3s ease;
}

