/* 1) Variable ROMAN (normal) — dùng cho mọi trọng lượng 100–900 */
@font-face {
  font-family: "Alumni Sans";
  src: url("../fonts/AlumniSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 2) Variable ITALIC — dùng cho mọi trọng lượng 100–900 */
@font-face {
  font-family: "Alumni Sans";
  src: url("../fonts/AlumniSans-Italic-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --white: #fff;
  --dark-green: #0d1f17;
  --dark-gold: #865d3e;
  --gold: #b7947e;
  --light-gold: #e1c191;
  --light-green: #a8d9a8;
  --grad-start: #e8c4ab;
  --grad-end: #865c3d;

  --fw-thin: 100;
  --fw-extralight: 200;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a363f;
}

::-webkit-scrollbar-thumb {
  background: #c9a573;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b8945f;
}

/* ==== PC base (mặc định) = xxl ≥1400px ==== */
/* Viết style mặc định ở ngoài media (áp cho ≥1400px) */

.pc {
  display: block;

  @media (max-width: 767.98px) {
    display: none;
  }
}

.sp {
  display: none;

  @media (max-width: 767.98px) {
    display: block;
  }
}

.page-content {
  background-color: var(--white);
}

body {
  font-family: "Alumni Sans", sans-serif;
  background-color: var(--dark-green);
  color: var(--white);
  font-weight: var(--fw-light);
  font-size: 26px;
  letter-spacing: 0.01em;
}

strong {
  font-weight: var(--fw-semibold);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Section Styles */
.section-title {
  font-size: 42px;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  letter-spacing: 0.01em;
  text-align: left;
  background: linear-gradient(
    -45deg,
    var(--grad-start) 0%,
    var(--grad-end) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

@keyframes metallicShine {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Utility class */
.link-gradient {
  background: linear-gradient(
    -45deg,
    var(--grad-start) 0%,
    var(--grad-end) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-decoration: none;
  transition: opacity 0.2s, border-color 0.2s;
}

.link-gradient:hover {
  opacity: 0.9;
  border-bottom-color: rgba(230, 195, 159, 1);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--light-green);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a2e1f 0%, #1e3524 100%);
  padding: 2rem;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(232, 212, 160, 0.4);
  margin-bottom: 2rem;
}

.mobile-logo img {
  height: 60px;
}

.logo-text-1 {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--light-gold);
  margin-bottom: -5px;
}

.logo-text-2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--light-gold);
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s, opacity 0.3s;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-close-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s;
}

.mobile-menu-close:hover {
  transform: scale(1.1);
}

.mobile-menu-close:hover .mobile-close-icon {
  opacity: 0.8;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-list li {
  margin-bottom: 0.5rem;
}

.mobile-menu-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  color: var(--dark-gold);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-menu-list li a:hover {
  color: var(--white);
}

.mobile-menu-arrow {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s;
}

.mobile-menu-list li a:hover .mobile-menu-arrow {
  opacity: 0.8;
}

.section-description {
  color: #f5f5f5;
  font-family: "Alumni Sans", sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: left;
}

.content-section {
  padding: 4rem 0;
  background-color: var(--dark-green);
}

.category-card:hover {
  transform: scale(1.02);
}

.category-text-large {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  font-family: "Alumni Sans", sans-serif;
}

.category-text-small {
  color: var(--light-green);
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  font-family: "Alumni Sans", sans-serif;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.media-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.media-img-premium {
  width: 100%;
  object-fit: cover;
}

.play-btn svg {
  color: var(--dark-green);
}

.main-header {
  background-color: #0d2716;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 0;
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.navbar-brand img {
  height: 70px;
  object-fit: contain;
}

.navbar-brand-logo img {
  height: 60px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.nav-link {
  color: var(--gold);
  text-transform: none;
  font-size: 25px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.01em;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--light-gold);
}

.nav-item.dropdown .nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
}

.navbar-toggler {
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 24px;
}

.navbar-collapse {
  flex-grow: inherit;
  flex-basis: 100%;
  align-items: center;
}

.mobile-header-left {
  display: none;
}

.line {
  width: 100%;
  height: 1px;
  background-color: rgba(27, 54, 27, 0.5);
  border: none;
  margin: 3rem 0;
}

.hero-category {
  font-size: 20px;
  color: var(--white);
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  font-family: "Alumni Sans", sans-serif;
}

.main-footer {
  background-color: #c5cbc6;
  padding: 60px 0;
  text-align: center;
}

.footer-title {
  font-size: 32px;
  font-weight: 700;
  color: #1b2e1f;
  text-transform: uppercase;

  margin-bottom: 40px;
  letter-spacing: 0.01em;
}

.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  color: #1b2e1f;
  font-size: 18px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin: 0;
  gap: 12px;
  font-weight: 400;
  font-size: 24px;
}

.footer-contact i {
  background-color: var(--white);
  color: #1b2e1f;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 16px;
}

.footer-contact p::before {
  content: "";
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  background-color: var(--white);
  border-radius: 50%;
  margin-right: 10px;
}

.footer-contact p:nth-child(1)::before {
  content: "\f0e0";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 16px;
  color: #1b2e1f;
}

.footer-contact p:nth-child(2)::before {
  content: "\f095";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 16px;
  color: #1b2e1f;
}

.footer-contact p:nth-child(3)::before {
  content: "\f3c5";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 16px;
  color: #1b2e1f;
}

.carousel-control {
  width: 40px;
  height: 40px;
  background-color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-control:hover {
  background-color: var(--light-gold);
}

/* === LỚP CHUNG (down): ghi đè dần từ lớn → nhỏ === */
/* ≤1399.98 = xl & down */
@media (max-width: 1399.98px) {
  /* override chung cho ≤xl */
  .nav-link {
    font-size: 18px;
  }
}

/* ≤1199.98 = lg & down */
@media (max-width: 1199.98px) {
  /* override chung cho ≤lg */
  body {
    font-size: 24px;
  }

  .section-title {
    font-size: 38px;
  }
}

/* ≤991.98 = md & down (tablet & phone) */
@media (max-width: 991.98px) {
  /* override chung cho ≤md */

  .main-header .container {
    flex-wrap: nowrap;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-menu-overlay {
    display: block;
  }

  .navbar-collapse {
    display: none !important;
  }

  .navbar-brand {
    display: none;
  }

  .navbar-brand-logo {
    display: block;
    flex: 0 0 auto;
    order: 3;
  }

  .navbar-brand-logo img {
    height: 45px;
  }

  .main-header {
    padding: 10px 0;
  }

  .mobile-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    order: 1;
  }

  .navbar-toggler {
    color: var(--light-gold);
    padding: 0.5rem;
  }

  .mobile-lang-switch {
    display: flex;
    align-items: center;
  }

  .section-title {
    font-size: 34px;
  }
}

@media (min-width: 992px) {
  .navbar-collapse {
    display: flex !important;
  }

  /* hiện menu desktop */
  .navbar-toggler,
  .mobile-menu-overlay {
    display: none !important;
  }

  /* ẩn hamburger & overlay */
}

/* ≤767.98 = sm & down (phone) */
@media (max-width: 767.98px) {
  /* override chung cho ≤sm */
  body {
    font-size: 24px;
    font-weight: var(--fw-regular);
  }

  .main-header {
    padding: 12px 0;
  }

  .navbar-brand img {
    height: 45px;
  }

  .hero-section {
    height: 50vh;
  }

  .hero-category {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
  }

  .hero-title {
    font-size: 24px;
    letter-spacing: 1.5px;
  }

  .hero-subtitle {
    font-size: 14px;
    letter-spacing: 0.01em;
  }

  .hero-text-wrapper {
    bottom: 30px;
    width: 90%;
  }

  .section-title {
    font-size: 32px;
  }

  .content-section {
    padding: 2.5rem 0;
  }

  .category-card {
    height: 180px;
    margin-bottom: 1rem;
  }

  .category-text-large {
    font-size: 1rem;
  }

  .category-text-small {
    font-size: 0.7rem;
  }

  .play-btn {
    width: 50px;
    height: 50px;
  }

  .play-btn svg {
    width: 20px;
    height: 20px;
  }

  .footer-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .footer-contact p {
    font-size: 17px;
  }

  .footer-contact {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .main-footer {
    padding: 40px 5px;
  }
}

/* ≤575.98 = xs (phone nhỏ) */
@media (max-width: 575.98px) {
  /* override chung cho ≤xs */
  body {
    font-size: 22px;
    font-weight: var(--fw-regular);
  }

  .section-title {
    font-size: 28px;
  }

  .hero-category {
    font-size: 12px;
    letter-spacing: 0.01em;
  }

  .hero-title {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .category-card {
    height: 150px;
  }

  .hero-section {
    height: 45vh;
  }

  .content-section {
    padding: 2rem 0;
  }

  .content-section-profile {
    padding: 2rem 0;
  }
}

/* === LỚP RIÊNG (range): chỉ áp cho đúng 1 band === */
/* xxl only: ≥1400 */
@media (min-width: 1400px) {
  /* override riêng cho xxl nếu cần */
}

/* xl only: 1200–1399.98 */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  /* override chỉ xl */
}

/* lg only: 992–1199.98 */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* override chỉ lg (laptop phổ biến) */

  .navbar-brand img {
    height: 50px;
    object-fit: contain;
  }

  .navbar-nav {
    gap: 5px;
  }
}

/* md only: 768–991.98 */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* override chỉ md (tablet) */

  .site-header .container,
  .navbar .container,
  header .container {
    padding-left: 0px;
    padding-right: 16px;
  }
}

/* sm only: 576–767.98 */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* override chỉ sm (phone lớn) */
}
