html, body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont,
               "Apple SD Gothic Neo", "Noto Sans KR",
               "Malgun Gothic", sans-serif;
  background-color: #1b1b1b;
  overflow-x: hidden;
}

/* HOME HERO SECTION */
.home {
  position: relative;
  height: 100dvh;
  overflow: hidden; /* ensures video doesn't overflow */
  /* remove background-image since we'll use video */
}

/* Video background */
.home-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* cover entire hero section */
  z-index: 0;
}

.home-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10vh; /* covers top 10% of viewport */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6),  /* dark at very top */
    rgba(0, 0, 0, 0)     /* fade to transparent */
  );
  z-index: 1; /* above video, below content */
}

.home-content {
  position: relative;
  padding: 20px;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;  /* pushes content to bottom */
  align-items: center;
  padding-bottom: 150px;       /* space above footer */
  color: #cccccc;
  letter-spacing: 0.15em;
  text-align: center;
}

.home-content a {
  text-decoration: none;
  color: inherit;   /* inherit white from parent */
}

.home-content a:visited {
  color: inherit;
}

.home-content a:hover {
  color: inherit;
}


/* NAVBAR */
.hybrid-logo img.logo-img {
  height: 62px;
  width: auto;
  filter: brightness(1.2) contrast(1.2);
}



/* Mobile adjustments */
@media (max-width: 900px) {
  .navbar-nav {
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
  }

  .nav-link {
    padding: 4px 0;
  }
}

.nav-menu a {
  text-decoration: none;
  color: #fff; /* or your theme color */
  font-size: 0.9rem;
  letter-spacing: 3px;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.nav-menu a:hover {
  opacity: 0.6;
  scale: 110%;
}



/* Navbar */
.hybrid-navbar {
  position: fixed;
  z-index: 2000; /* higher than Bootstrap offcanvas */
  top: 0;
  width: 100%;
  left: 0;
  background: transparent;
  color: #fff;
  transition: 0.2s;
}

.hybrid-icons {
  position: fixed;
  left: 40px;          /* same spacing feel as navbar px-4 */
  bottom: 40px;
  gap: 18px;
  z-index: 1500;

}
.hybrid-icons i {
  font-size: 1.3rem;
  color: #fff;
  transition: 0.2s;
}

.hybrid-icons a:hover {
  opacity: 0.6;
  scale: 110%;
}



.other-page{
  background: #1b1b1b;
}



/* Language */
.language-switch {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* Custom Hamburger */
/* Hamburger stays top-right */
.menu-toggle {
  width: 30px;
  height: 20px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
}

.menu-toggle span {
  position: absolute;
  height: 2px;
  width: 100%;
  background: white;
  left: 0;
  transition: 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 9px;
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

/* ACTIVE STATE (when offcanvas is open) */

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 9px;
}




/* Fullscreen Offcanvas */
.full-menu {
  position: fixed;
  height: 100vh !important;
  width: 100vw !important;
  background: #1b1b1b;
  color: #fff;
  border: none;
  z-index: 1500;     /* below navbar if you want logo on top */
}

.full-menu a {
  color: #fff;
  font-size: 1.5rem;
  margin: 20px 0;
  letter-spacing: 0.30em;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: bolder;
}

.full-menu a:hover {
  color: #7046b4;
}

/* PROFILE CSS */

.profile-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  color:#cccccc;
  margin-top:5rem;
}

.profile-image-wrapper {
  aspect-ratio: 3/4; /* Keeps image square */
  overflow: hidden;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 2px;
  color:#fff;
}

.kr-name {
  font-size: 1.5rem;
  font-weight: 400;
  vertical-align: middle;
}

.profile-divider {
  width: 100%;
  height: 1px;
  background-color: #a0a0a0;
  margin: 20px 0;
  z-index: 500;
}

.profile-description {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 500px;
}

.label {
  font-weight: 600;
  margin-right: 6px;
}

.section-title {
  font-weight: 700;
  margin-top: 16px;
}
.profile-description ul {
  list-style: none;   /* remove default bullets */
  padding-left: 0;
  margin: 6px 0 12px 20px;
}

.profile-description li::before {
  content: "– ";
}

.intro{
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.15rem;
}

.intro-date{
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.15rem;
}
.intro-date .album-date{
  font-size: 0.8rem;
  font-weight: 200;
  color: #fff;
  letter-spacing: 0.1rem;
}
/*--------- DISCOGRAPHY -------------*/

.album-section{
  color: #cccccc;
}
.album-card{
  cursor: pointer;
}
.album-card-info {
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 2px; /* small space between title and date */
}

.album-title{
  color:#fff;
  font-weight: 700;
  letter-spacing: 0.2rem;
  font-size: 2.2rem;
}

.album-title-sm {
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
}

.album-date-sm {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
}

/* optional spacing for DISCOGRAPHY title */
.discography-section {
  padding-top: 10%;
  padding-bottom: 10%;
}
.discography-section h1 {
  letter-spacing: 0.5rem;
  padding-top: 5%;
  font-weight: 700;
}
.discography-section h3 {
  letter-spacing: 0.3rem;
  font-weight: 600;
}

/* Mobile: list layout */
@media (max-width: 900px) {
  .discography-section {
    padding-top: 96px;
  }
  .album-title-sm{
    font-weight: 500;
    color: #fff;
    font-size: 0.85rem;
  }
  .album-date-sm {
  font-size: 0.7rem;
  }
  .discography-section h3 {
  letter-spacing: 0.3rem;
  font-weight: 600;
  font-size: 1.1rem;
}
}

/*--------- GALLERY -------------*/
.gallery-section{
  padding-top: 96px; /* so navbar doesn't cut off */
  padding-bottom: 10%;
}

.gallery-section button{
  letter-spacing: 0.2rem;
  padding-left: 20px;
  padding-right: 20px;
}

.gallery-section button:hover{
  color:#fff;
  background-color: transparent;
}

.gallery-section h1 {
  letter-spacing: 0.5rem;
  font-weight: 700;
}

/* Gallery Grid */
.gallery-card {
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* ensures 1:1 square */
  cursor: pointer;
  margin-bottom: 0;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill the square nicely */
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.1); /* zoom in image */
}

.modal {
  z-index: 5000 !important;
}

.modal-backdrop {
  z-index: 4990 !important;
}

body.modal-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
} 

.modal-backdrop.show {
  opacity: 0.70;
}

.modal {
  touch-action: none;
}

.gallery-modal .modal-content {
  background: transparent;
  border: none;
}

.gallery-modal .modal-body {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#galleryCarousel {
  width: 100%;
  height: 90vh;
}

.gallery-carousel-img {
  width: 100%;
  height: 80vh;
  padding-top:5%;
  object-fit: contain;
  object-position: center;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;

  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  opacity: 0.5;
  transition: 0.25s;
}

.gallery-arrow:hover {
  opacity: 1;
}

.gallery-arrow.left {
  left: 30px;
}

.gallery-arrow.right {
  right: 30px;
}

.gallery-close {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  color: #fff;
  border-color: #fff;
  background: transparent;
  border: 1;
  padding: 7px 16px;
  font-weight: 600;
}

.gallery-close:hover{
  color: #fff;
}

.mobile-full-image {
  width: 90%;
  height: 60vh;
  object-fit: contain;
  object-position: center;
}

.modal-content{
  background-color: rgba(0,0,0,.75);
}


/* ================= VIDEO PAGE ================= */

.video-date{
  font-size: 0.9rem;
}
.video-section {
  padding-top: 96px; /* so navbar doesn't cut off */
  padding-bottom: 10%;
}
/* Main preview: responsive 16:9 like YouTube */
.video-active-frame {
  width: 100%;
  max-width: 960px;    /* “normal YouTube embed size” 느낌 */
  margin: 0 auto;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

.video-active-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Thumbnails (no black bars because it's an image thumb) */
.video-section h1 {
  letter-spacing: 0.5rem;
  font-weight: 700;
}

.video-section h3 {
  letter-spacing: 0.3rem;
  font-weight: 600;
}


.video-card {
  cursor: pointer;
  margin-bottom:20px;
}

.video-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills perfectly, no excess black */
  display: block;
  transition: transform 0.35s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.02);
}

.video-card-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.video-card-date {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}


/* Mobile: list layout */
@media (max-width: 900px) {
  .video-section {
    padding-top: 96px;
  
  }

  .video-active-frame {
    max-width: 100%;
    border-radius: 8px;
  }

  /* Make each “card” a row: thumb left, text right */
  .video-list-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }

  .video-thumb {
    width: 140px;
    flex: 0 0 140px;
    border-radius: 5px;
  }

  .video-card-title {
    font-size: 0.85rem;

  }

}

/* ================= ARCHIVE PAGE ================= */

.archive-section{
  padding-top: 96px; /* navbar safe */
  padding-bottom: 10%;
  color: #cccccc;
}

.archive-section h1{
  letter-spacing: 0.5rem;
  font-weight: 700;
}

.archive-subtitle{
  letter-spacing: 0.20rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  margin-bottom: 16px;
}

/* ---- Legend ---- */
.archive-legend{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.12rem;
  color: rgba(255,255,255,0.75);
  margin: 12px 0 18px;
}

.legend-item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
  opacity: 0.95;
}

/* category colors tuned for #1b1b1b */
.dot-woobin{ background: #7046b4 }   /* gold */
.dot-luminous{ background: #4377b7; } /* desat blue */
.dot-anniv{ background: #D4AF37; }    /* muted purple */
.dot-live{ background: #797979; }     /* gray */
.dot-showcase { background: #6fa89c;}
.dot-concert { background: #a87b6f;}

/* calendar coloring */
.calendar-day.type-showcase {
  color: #6fa89c;
}
.calendar-day.type-showcase::before {
  background: #6fa89c;
}

.calendar-day.type-concert {
  color: #a87b6f;
}
.calendar-day.type-concert::before {
  background: #a87b6f;
}

/* ---- Timeline ---- */
.archive-card{
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 18px;
}

.archive-era{
  margin-bottom: 22px;
}

.archive-era-title{
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.25rem;
  font-size: 1rem;
  margin-bottom: 14px;
}

.archive-era-title .sub-date{
  color: #ffffff67;
  font-weight: 400;
  font-size: .8rem;
}

.archive-year{
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.2rem;
  font-weight: 700;
  font-size: 0.85rem;
  margin: 18px 0 10px;
}

.archive-item{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.archive-date{
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
}

/* title only, no pills */
.archive-tags{ display:none; }

.archive-title{
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  line-height: 1.4;
}

/* Minimal calendar cells (no boxes) */
.calendar-day{
  height: auto;
  border: none;
  background: transparent;
  border-radius: 0;
  position: relative;
  padding: 0;
  cursor: default;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  letter-spacing: 0.08rem;
}

/* muted leading blanks */

/* clickable only when has event */
.calendar-day.has-event{
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  z-index: 2;
}

/* the number itself */
.calendar-day .day-num{
  color: rgba(255,255,255,0.55);
  position: relative;
  z-index: 20;
}

.calendar-day.has-event .day-num {
  color: #fff;
}

/* circle behind the number */
.calendar-day.has-event::before{
  content:"";
  width: 34px;
  height: 34px;
  border-radius: 999px;
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: .60; /* controls how “soft” the circle is */
  color:#fff;
}

/* category coloring (circle + number) */

.calendar-day.type-woobin::before{ background:#7046b4; }
.calendar-day.type-luminous::before{ background:#4377b7; }
.calendar-day.type-anniv::before{ background:#D4AF37; }
.calendar-day.type-anniversary::before{ background:#D4AF37; }
.calendar-day.type-live::before{ background:#797979; }

/* If multiple types collide, show a ring for “secondary” */
.calendar-day.multi::after{
  content:"";
  width: 36px;
  height: 36px;
  border-radius: 999px;
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  border: 1px solid rgba(255,255,255,0.18);
}

/* remove dots row */
.day-dots{ display:none !important; }

.day-dots .legend-dot{
  width: 6px;
  height: 6px;
}

/* ---- Calendar wrapper ---- */
.calendar-card{
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 18px;
}

.calendar-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.calendar-month{
  color: #fff;
  letter-spacing: 0.25rem;
  font-weight: 700;
  font-size: 0.90rem;
  margin: 0;
}

.cal-btn{
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.85);
  padding: 6px 10px;
  transition: 0.2s;
}

.cal-btn:hover{
  opacity: 0.7;
}

/* Grid */
.calendar-grid{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-weekday{
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.18rem;
  color: rgba(255, 255, 255, 0.900);
  padding: 6px 0 8px;
}


.archive-link{
  color: rgb(255, 255, 255);
  text-decoration: none;
  cursor: pointer;
  font-weight: 400;
}
.archive-link:hover{
  opacity: 0.75;
  letter-spacing: 0.05rem;
}

/* Mobile */
@media (max-width: 900px){
  .archive-card, .calendar-card{
    padding: 16px;
    border-radius: 10px;
  }
  .archive-item{
    grid-template-columns: 86px 1fr;
  }
}

#cal-days {
  height: 330px;          /* fixed calendar height */
  grid-auto-rows: 1fr;    /* each row fills evenly */
}

#cal-weekdays {
  grid-auto-rows: 24px;
}

.archive-legend { justify-content: flex-start; }

/* ====== CURRENT LANG ======== */
/* Language dropdown styling (dark theme) */
.lang-menu {
  background: #1b1b1b;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 8px;
  min-width: 60px;
}

.lang-menu .dropdown-item {
  color: transparent;
  letter-spacing: 0.12rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
}

.lang-menu .dropdown-item:hover,
.lang-menu .dropdown-item:focus {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

/* remove Bootstrap caret spacing weirdness if needed */
.language-switch.dropdown-toggle::after {
  margin-left: 8px;
  opacity: 0.7;
}

/* ============== FOOTER =====================*/
.site-footer {
  padding: 60px 20px 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.192);
  font-size: .70rem;
  letter-spacing: 0.06rem;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

.footer-link {
  color: rgba(255, 255, 255, 0.363);
  text-decoration: none;
  transition: 0.25s ease;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.164);
}