@import url("https://fonts.googleapis.com/css2?family=Inria+Sans:wght@400;700&display=swap");

/* =========================
   HEADER – My_Web_Ver2 (DÙNG CHUNG)
   ========================= */
/* #region Side Gallery */
:root {
  --header-height: 70px;
  --header-bg: rgba(3, 32, 10, 0.5);
  --header-blur: 10px;

  --text-main: #ffffff;
  --text-sub: #c4c4c4;
  --text-accent: #ffffff;

  --font-family-main: "Inria Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  --transition-fast: 0.2s ease;
}

/* Reset cơ bản + font dùng chung */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-main);
  background: #ffffff;
  color: #111111;
  line-height: 1.6;
  font-size: 16px;
}

/* ===== Header (overlay trên banner) ===== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-height);

  display: flex;
  justify-content: center;
  align-items: center;

  background-color: var(--header-bg);
  backdrop-filter: blur(var(--header-blur));
  -webkit-backdrop-filter: blur(var(--header-blur));
}

.header-container {
  width: 100%;
  max-width: 2560px;
  height: 100%;
  margin: 0 auto;
  padding: 0 56px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
}

/* Brand */

.brand {
  font-size: 25px;
  letter-spacing: 0.1em;
  font-weight: 400;
  color: var(--text-main);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Nav */

.primary-nav {
  display: flex;
  gap: 40px;
  align-items: center;
  font-size: 16px;
}

.nav-item {
  position: relative;
  color: var(--text-sub);
  text-decoration: none;
  font-weight: 400;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-item.active,
.nav-item:hover,
.nav-item:focus-visible {
  color: var(--text-accent);
}

.nav-item.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background-color: rgba(213, 133, 72, 0.8);
}

/* Language switch */

.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-family-main);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  padding: 4px 0;
}

.lang-btn .arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--text-main);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  min-width: 80px;

  background-color: rgba(3, 32, 10, 0.9);
  border-radius: 4px;

  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.lang-menu li a {
  display: block;
  padding: 6px 14px;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
}

.lang-menu li a:hover,
.lang-menu li a:focus-visible {
  color: var(--text-accent);
  background-color: rgba(255, 255, 255, 0.06);
}

.lang-switch.open .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Responsive */

@media (max-width: 1024px) {
  .header-container {
    padding: 0 24px;
  }

  .primary-nav {
    gap: 24px;
    font-size: 15px;
  }

  .brand {
    font-size: 16px;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 768px) {
  .primary-nav {
    display: none;
  }

  .brand {
    font-size: 15px;
  }
}
#header_tomo {
  color: #ffffff;
}

/* #endregion */

/* ===== FOOTER divider ===== */
/* #region Side Gallery */
#tomo-project_footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
}
.footer__divider {
  margin: 60px 0 24px; /* cách phần nội dung phía trên */
  border: none;
  border-top: 1px solid #cfcfcf;
}

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

.site-footer {
  width: 100%;
  padding-bottom: 32px;
  /* background: #ffffff; */
  color: #ffffff;
  font-family: "Inria Sans", system-ui, sans-serif;
}

/* KHÔNG căn giữa – text nằm trái */
.footer__inner {
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start; /* Lệch trái */
  text-align: left; /* Lệch trái */
}

/* Dòng 1 – italic */
.footer__credit {
  margin: 0;
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
}

/* Dòng 2 – light italic */
.footer__language {
  margin: 0;
  font-size: 13px;
  font-weight: 300; /* Light */
  font-style: italic;
}

.footer__lang-link {
  color: #cccccc;
  text-decoration: none;
  margin-left: 4px;
}

.footer__lang-link:hover {
  text-decoration: underline;
}
/* #endregion */

/* #region Side Gallery */
/* #endregion */

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}
body {
  min-height: 100vh;
  min-width: 100vh;
  background-image: url("../image/MangaC/BigImage1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.tomo-project_text-block {
  max-width: 800px;
  text-align: justify;
  color: #ffffff;
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.tomo-project_conten {
  color: #d6d6d6;
}
