/* ---------- RESET ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: url("/img/body.png") no-repeat center top;
  background-size: cover;
  background-attachment: scroll;
  color: #111;
}

/* ---------- NAVBAR BIGGER ---------- */
.mobile-header {
  height: 80px;
  /* bigger */
  padding: 0 30px;
  font-size: 18px;
  /* bigger text */
}

.mobile-nav a {
  font-size: 18px;
  margin: 0 20px;
  /* bigger spacing */
}

/* Desktop adjustments */
@media (min-width: 1024px) {
  .mobile-nav a {
    font-size: 20px;
    margin: 0 25px;
  }
}
/* ---------- LANGUAGE SWITCHER ---------- */
.language-switcher {
  display: flex;
  gap: 10px;
}

.lang-btn {
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 14px;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.3s;
}

.lang-btn.active,
.lang-btn:hover {
  background: #fff;
  color: #000;
}

/* ---------- HEADER / NAV ---------- */

.mobile-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  background: #96936e;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
}

.logo {
  font-weight: bold;
  letter-spacing: 2px;
}
.logo a {
  text-decoration: none;
  font-weight: bold;
  color: white;
}

/* Burger */
.burger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* Mobile menu */
.mobile-nav {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  background: #96936e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: 0.4s;
}

.mobile-nav a {
  color: #fff;
  font-size: 22px;
  margin: 15px 0;
  text-decoration: none;
}

.mobile-nav.active {
  transform: translateX(0);
}

/* Desktop nav */
@media (min-width: 1024px) {
  .burger {
    display: none;
  }

  .mobile-nav {
    position: static;
    transform: none;
    height: auto;
    flex-direction: row;
    background: none;
    gap: 30px;
  }

  .mobile-nav a {
    font-size: 14px;
    position: relative;
  }

  .mobile-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: #fff;
    transition: 0.3s;
  }

  .mobile-nav a:hover::after {
    width: 100%;
  }
}

/* ---------- SECTIONS ---------- */

section {
  padding-top: 350px;
  padding-bottom: 400px;
  /* margin-top: 100px; */
}

/* ---------- SECTION TITLES ---------- */

.section-title {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
  text-align: left !important;
  display: block;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 6px;
  text-align: left !important;
}

.section-title p {
  font-weight: bold;
  font-size: 14px;
  color: #95936d;
  letter-spacing: 1px;
  text-align: left !important;
}

@media (max-width: 600px) {
  .section-title h2 {
    font-size: 22px;
  }

  .section-title p {
    font-size: 13px;
  }
}

/* ---------- FILTER BUTTONS ---------- */

.filter-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 80px;
}

.filter-btns button {
  border: none;
  background: #eee;
  padding: 8px 16px;
  cursor: pointer;
}

.filter-btns button.active {
  background: #000;
  color: #fff;
}

/* ---------- GALLERY ---------- */
/* ---------- GALLERY GRID ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* mobile = 2 images */
  gap: 20px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

/* tablet */
@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* desktop */
@media (min-width: 1200px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* each work card */
.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* image */
.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;   /* square — change if you want */
  object-fit: cover;     /* crop to fill */
  border-radius: 6px;
  cursor: zoom-in;
  transition: 0.3s ease;
}


.gallery-item img:hover {
  transform: scale(1.03);
}

/* text under image */
.gallery-item .info h3 {
  font-size: 16px;
  margin-top: 6px;
}

.gallery-item .info .year {
  font-size: 13px;
  color: #888;
}

.gallery-item .info p {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

/* Filter animation */
.item {
  transition: 0.4s ease;
}

.item.hide {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

.item.show {
  opacity: 1;
  transform: scale(1);
}

/* ---------- COLLAB CAROUSEL ---------- */
#collaborations {
  margin-top: 500px;
}

.collab-section-text {
  margin-top: 50px;
  padding-bottom: 50px;
}

.collab-section {
  overflow: hidden;
  padding: 80px 0;
  opacity: 0;
  transform: translateY(40px);
  transition: 1s ease;
}

.collab-section.show {
  opacity: 1;
  transform: translateY(0);
}

.carousel-wrapper {
  position: relative;
  max-width: 100%;
  margin: auto;
  padding: 0 50px;
}

.carousel {
  overflow: hidden;
}

.track {
  display: flex;
  width: max-content;
  animation: scroll 18s linear infinite;
}

.track img {
  width: 220px;
  /* base size */
  height: 220px;
  /* uniform height */
  object-fit: cover;
  margin-right: 24px;
  /* border-radius: 10px; */
  transition: 0.3s ease;
  cursor: zoom-in;
}

.track img:hover {
  transform: scale(1.05);
}

/* responsive sizes */
/* mobile */
@media (max-width: 600px) {
  .track img {
    width: 180px;
    height: 180px;
  }
  #news {
    margin-top: 0px;
  }
}

/* tablet */
@media (min-width: 768px) {
  .track img {
    width: 240px;
    height: 240px;
  }
}

/* desktop */
@media (min-width: 1200px) {
  .track img {
    width: 300px;
    height: 300px;
  }
}

/* auto scroll */
@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* pause on hover */
.carousel:hover .track {
  animation-play-state: paused;
}

/* ---------- NEWS ---------- */

#news {
  margin-top: 200px;
}

.news {
  max-width: 800px;
  /* narrower width */
  margin: 0 auto;
  /* center horizontally */
  padding: 100px 20px;
  /* keep vertical spacing */
  text-align: center;
  /* center titles and text */
}

.news-card {
  display: flex;
  /* make children horizontal */
  justify-content: space-between;
  /* put h3 left, p right */
  align-items: center;
  /* vertically center them */
  padding: 35px;
  /* border-bottom: 1px solid black; */
  background-color: white;
  opacity: 0.9;
  gap: 20px;
  cursor: pointer;
  margin-bottom: 20px;
  /* optional space between h3 and p */
}

.news-card:hover {
  /* border-bottom: 1px solid white; */
  background-color: white;
  opacity: 1;
  color: black;
  /* transform: translateY(-2px); */
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  /* lifts the card slightly */
  /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); */
  /* subtle shadow */
  /* border-color: #aaa; */
  /* optional: darken the bottom border */
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
}

.hero-video video {
  width: 100%;
  height: 100%;
  padding-left: 80px;
  padding-right: 80px;
  object-fit: cover;
  /* video covers hero */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.r-top-leaf {
  position: absolute;
  top: 0px;
  /* distance from top */
  right: 0px;
  /* distance from right corner */
  width: 200px;
  /* adjust size */
  z-index: 5;
  /* above video */
}

.l-top-leaf {
  position: absolute;
  top: 0px;
  /* distance from top */
  left: 0px;
  /* distance from right corner */
  width: 200px;
  /* adjust size */
  z-index: 5;
  /* above video */
}

.r-b-leaf {
  position: absolute;
  top: 450px;
  /* distance from top */
  right: 0px;
  /* distance from right corner */
  width: 200px;
  /* adjust size */
  z-index: 9;
  /* above video */
}

.l-b-leaf {
  position: absolute;
  top: 450px;
  /* distance from top */
  left: 0px;
  /* distance from right corner */
  width: 200px;
  /* adjust size */
  z-index: 9;
  /* above video */
}

.hero-center-img {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1500px;
  /* adjust as needed */
  z-index: 8;
  /* between video and leaf */
  pointer-events: none;
  /* so it doesn't block clicks on text */
}

.hero-content {
  position: relative;
  z-index: 5;
  /* above both video and leaf */
  text-align: center;
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.3)
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  text-align: center;
  color: white;
  z-index: 5;
}

.hero-content h1 {
  font-size: 42px;
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 16px;
  letter-spacing: 2px;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  /* above everything */
  font-family: sans-serif;
  color: #fff;
}

.scroll-down span {
  display: block;
  width: 2px;
  height: 40px;
  margin: 0 auto 6px;
  background: #fff;
  border-radius: 1px;
  animation: scrollLine 1.2s infinite;
}

.scroll-down p {
  font-size: 12px;
  letter-spacing: 1px;
}

/* Line animation — moves down and fades */
@keyframes scrollLine {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(8px);
    opacity: 0.5;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Optional: adjust for mobile */
@media (max-width: 600px) {
  .scroll-down span {
    height: 20px;
  }

  .scroll-down p {
    font-size: 10px;
  }
  .hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
  }

  .hero-content {
    text-align: left;
  }
  .hero-video video {
    width: 100%;
    height: 100%;
    padding-left: 0px;
    padding-right: 0px;
    object-fit: cover;
    /* video covers hero */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }

  section {
    padding-top: 500px;
  }

  .work-section {
    margin-top: 100px;
  }
  .profile-section {
    margin-top: 100px;
  }

  .news {
    margin-bottom: 100px !important;
  }
}

/* Desktop hero */
@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 64px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .l-top-leaf,
  .r-top-leaf,
  .r-b-leaf,
  .l-b-leaf {
    visibility: visible;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .l-top-leaf,
  .r-top-leaf,
  .r-b-leaf,
  .l-b-leaf {
    visibility: hidden;
  }
  section {
    padding: 250px 0px;
  }
  .profile-section {
    padding-top: 0px;
    margin-top: 0;
  }
}

/* ---------- PROFILE LAYOUT ---------- */
.profile-section {
  padding-top: 200px;
}

.profile-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  gap: 50px;
  align-items: center;
}

/* image */
.profile-image {
  flex: 1;
}

.profile-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  display: block;
}

/* text */
.profile-text {
  flex: 1;
}

.profile-text h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.profile-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 12px;
}

/* ---------- PROFILE ---------- */

.profile {
  background: transparent;
}

.profile-wrap {
  max-width: 1000px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.profile-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.profile-text p {
  line-height: 1.8;
  font-size: 15px;
}

.profile-image img {
  width: 100%;
  border-radius: 8px;
}

/* Desktop layout */
@media (min-width: 768px) {
  .profile-wrap {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* lightbox background */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

/* show when active */
.lightbox.active {
  display: flex;
}

/* popup box */
.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  background: none;
  padding: 0px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* big image */
.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

/* info */
.lightbox-info {
  text-align: left;
}

.lightbox-info h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.lightbox-info span {
  font-size: 13px;
  color: #fff;
  display: block;
  margin-bottom: 6px;
}

.lightbox-info p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* close button */
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

/* ---------- FOOTER ---------- */

.footer {
  margin-top: 200px;
  text-align: center;
  padding: 40px 0;
  font-size: 12px;
  color: black;
}

/* ---------- MOBILE BACKGROUND SWITCH ---------- */

/* Mobile background */
@media (max-width: 768px) {
  body {
    background: url("/img/ph-body.png") repeat-y center top;
    background-size: cover;
  }
  .profile-section {
    padding-top: 0px;
  }
}

/* ---------- VIEW MORE BUTTON ---------- */

.view-more {
  text-align: center;
  margin-top: 40px;
}

.view-more a {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid #111;
  color: #111;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.view-more a:hover {
  background: #111;
  color: #fff;
}

.carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
  padding: 20px 0;
}

.carousel {
  overflow: hidden;
}

.track {
  display: flex;
  gap: 24px;
  /* space between cards */
  transition: transform 0.4s ease;
}

/* ---------- EVENTS---------- */

.events-track {
  display: flex;
  gap: 24px;
  /* space between cards */
  transition: transform 0.4s ease;
}

.event-card {
  flex: 0 0 33.33%;
  /* 3 cards per view */
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.event-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.event-info {
  padding: 12px;
}

.event-info h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.event-info p {
  font-size: 14px;
  color: #555;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 30px;
  padding: 10px 14px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.arrow.left {
  left: -20px;
}

.arrow.right {
  right: -20px;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Responsive: 2 cards on tablet, 1 on mobile */
@media (max-width: 1024px) {
  .event-card {
    flex: 0 0 50%;
  }
}

@media (max-width: 600px) {
  .event-card {
    flex: 0 0 100%;
  }

  .arrow {
    font-size: 24px;
    padding: 8px 10px;
  }
}

/* Traditional Myanmar Art Section */

.traditional-corner {
  margin-bottom: 50px !important;
}

.traditional-corner {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  /* background-color: #fff8f0; */
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  line-height: 1.7;
  font-family: "Noto Sans JP", sans-serif;
  /* background-image: url(myan-art.png); */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.traditional-corner .section-title {
  text-align: center;
  margin-bottom: 24px;
}

.traditional-corner .section-title h2 {
  font-size: 26px;
  margin-bottom: 8px;
  color: #333;
}

.traditional-corner .section-title p {
  font-size: 16px;
  color: #666;
}

.traditional-content .t-corner {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
  display: block;
  color: #2e2e2e;
}

.about-myan-art {
  font-size: 15px;
  color: #4d4d4d;
  white-space: pre-line;
  /* preserve line breaks */
}

/* Optional: make it responsive */
@media (max-width: 768px) {
  .traditional-corner {
    padding: 20px;
    margin: 40px 20px;
  }

  .traditional-corner .section-title h2 {
    font-size: 22px;
  }

  .traditional-content .t-corner {
    font-size: 18px;
  }

  .about-myan-art {
    font-size: 14px;
  }
}

/* ---------- SOCIAL SECTION ---------- */

.social-section {
  padding: 60px 20px;
  text-align: center;
}

.social-container h2 {
  font-size: 28px;
  margin-bottom: 16px;
  font-weight: 700;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: white;
  /* color: #fff; */
  font-size: 24px;
  transition: 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  background-color: #555;
  transform: scale(1.1);
}
#scrollTopBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  border: none;
  outline: none;
  cursor: pointer;
  background: transparent;
  /* transparent button background */
  padding: 0;
}

#scrollTopBtn img {
  width: 100px;
  /* adjust size */
  height: auto;
  /* adjust size */
  transition: transform 0.3s ease;
}

#scrollTopBtn:hover img {
  transform: scale(1.1);
  /* small zoom effect on hover */
}

.social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
}
.news-card a {
  text-decoration: none;
  font-size: normal;
  color: #111;
}
[data-mm] {
  line-height: 1.8;
}
.profile-caption {
  color: white !important;
}
/* ---------- FADE SCROLL ANIMATION ---------- */

.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.fade-section.show {
  opacity: 1;
  transform: translateY(0);
}

/* Extra elegance for captions */
.profile-caption {
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.collab-section {
  padding-top: 150px;
}
.events-carousel {
  margin-top: 100px;
}