/* Define Color Variables */
:root {
	--primary-color: #e7c292; /* Màu chính - Xanh đậm */
	--secondary-color: #baff00; /* Màu phụ - Cam */
	--accent-color: #ffff00; /* Màu nhấn - Đỏ */
	--background-light: #1e0d00; /* Màu nền sáng */
	--background-medium: #1a0b00; /* Màu nền trung bình */
	--background-dark: #a04000; /* Màu nền tối */
	--footer-border: #127a9d; /* Màu đường viền footer */
	--text-color: #eeeeee; /* Màu văn bản */
	--text-light: #777777; /* Màu chữ sáng */
	--link-hover-color: #baff00; /* Màu khi hover lên link */
}

html {
	font-family: 'Lexend Deca', sans-serif!important;
}

/* Begin Global Font */
body {
	font-family: "Lexend Deca", sans-serif!important;
	background: #1e0d00; /* Fallback color */
	background: linear-gradient(0, #1e0d00, #1a0b00 41.32%, #f5fbff); /* Gradient */
}

.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.h1,h1 {
    font-size: 2rem;
}

.h2,h2 {
    font-size: 1.6rem;
}

.h3,h3 {
    font-size: 1.4rem;
}

.h4,h4 {
    font-size: 1.25rem;
}

.h5,h5 {
    font-size: 1.1rem;
}

.h6,h6 {
    font-size: .9rem;
}

p {
    margin-bottom: 1.5rem
}

b,strong {
    font-weight: 600
}

/* End Global Font */

/* ============================
   DARK MODE OVERRIDES
   (Không phá layout hiện tại)
============================ */

html[data-theme="dark"] {
  /* Text */
  --text-color: #17120c;
  --text-light: #655b4d;

  /* Brand colors (dịu hơn trong dark) */
  --primary-color: #000000;
  --secondary-color: #85ba00;
  --accent-color: #949400;

  /* Backgrounds */
  --background-light: #f4f0eb;
  --background-medium: #f0eadf;
  --background-dark: #ebe4d2;

  /* Link hover */
  --link-hover-color: #4c7500;
}

/* Body background cho dark */
html[data-theme="dark"] body {
  background: #f4f0eb !important;
}

/* Headings trong dark */
html[data-theme="dark"] 
.h1,html[data-theme="dark"] h1,
.h2,html[data-theme="dark"] h2,
.h3,html[data-theme="dark"] h3,
.h4,html[data-theme="dark"] h4,
.h5,html[data-theme="dark"] h5,
.h6,html[data-theme="dark"] h6 {
  color: var(--primary-color);
}

/* Paragraph & text */
html[data-theme="dark"] p {
  color: var(--text-color);
}
