

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(178, 138, 82, 0.12), transparent 28%),
    linear-gradient(180deg, #fbf8f2 0%, var(--bg) 100%);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 243, 0.9);
  border-bottom: 1px solid rgba(110, 75, 47, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  margin: 0 0 10px;
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  margin: 0;
  color: var(--primary-dark);
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.subtitle {
  margin: 10px 0 0;
  max-width: 660px;
  color: var(--muted);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.main-nav a {
  font-weight: 600;
  color: var(--primary-dark);
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  padding: 68px 0 36px;
}

.hero-grid,
.two-col,
.footer-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: 1.55fr 0.95fr;
  align-items: stretch;
}

.hero-card,
.hero-panel,
.gallery-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card,
.hero-panel {
  padding: 28px;
}

.hero-card {
  background:
    linear-gradient(135deg, rgba(110, 75, 47, 0.96), rgba(58, 39, 24, 0.96)),
    url("https://images.unsplash.com/photo-1516542076529-1ea3854896e1?auto=format&fit=crop&w=1400&q=80") center/cover;
  color: #fdf7ef;
  overflow: hidden;
}

.hero-card h2,
.hero-card .section-label {
  color: #fff6e8;
}

.hero-card p {
  color: rgba(255, 247, 236, 0.92);
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #d7b06c, var(--secondary));
  color: #24170f;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(110, 75, 47, 0.22);
  color: var(--primary-dark);
}

.hero-panel {
  background: linear-gradient(180deg, #fffaf1 0%, #f7efe2 100%);
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(110, 75, 47, 0.18);
}

.info-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.info-list span {
  color: var(--muted);
}

.section {
  padding: 36px 0 42px;
}

.section-alt {
  background: linear-gradient(180deg, rgba(110, 75, 47, 0.04), rgba(110, 75, 47, 0.01));
  border-top: 1px solid rgba(110, 75, 47, 0.08);
  border-bottom: 1px solid rgba(110, 75, 47, 0.08);
}

.two-col {
  grid-template-columns: 1.3fr 0.9fr;
  align-items: start;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.gallery-grid {
  display: grid;
  gap: 16px;
}

.gallery-card {
  padding: 18px;
}

.gallery-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gallery-card {
  overflow: hidden;
}

.site-footer {
  padding: 32px 0 46px;
  background: #2d2118;
  color: rgba(255, 247, 236, 0.88);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.site-footer h3,
.site-footer h4 {
  color: #fff2df;
}

mark {
  background: rgba(215, 176, 108, 0.42);
  color: inherit;
  padding: 0 2px;
  border-radius: 4px;
}

@media (max-width: 960px) {
  .header-inner,
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-grid,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 40px;
  }

  .hero-card,
  .hero-panel {
    padding: 20px;
  }
}

/* =======================================================
   DASHBOARD TÙY CHỈNH (CHO INDEX.HTML MỚI)
   ======================================================= */
.dashboard-main {
  background: #f4f0e6;
  min-height: 100vh;
}

.dashboard-banner {
  position: relative;
  background: url('../Assets/banner-trangchu.png') center/cover no-repeat;
  padding: 80px 20px 60px 20px;
  text-align: center;
  /* border-bottom: 3px solid var(--secondary); - Không cần border vì có footer bar */
}
.banner-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* Lớp mờ rất nhẹ để tôn màu ảnh gốc */
  background: rgba(255, 255, 255, 0.5); 
}
.banner-content {
  position: relative;
  z-index: 2;
  color: #333;
}

/* --- HERO LOGO & TITLE --- */
.hero-logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 15px auto;
  border-radius: 50%;
  background: #fffdf9;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--secondary);
}
.hero-title {
  font-family: 'Lora', serif;
  font-size: 4rem;
  color: var(--primary);
  margin: 0;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
  line-height: 1.1;
  letter-spacing: 2px;
}

/* --- HERO SUBTITLES --- */
.hero-subtitle-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 15px 0 10px 0;
  letter-spacing: 1px;
}
.hero-subtitle-1 .line {
  height: 1px;
  background: #666;
  width: 100%;
  max-width: 100px;
}
.hero-subtitle-2 {
  font-size: 1.05rem;
  font-style: italic;
  color: #555;
  margin-bottom: 35px;
}

/* --- HERO FEATURE ICONS --- */
.hero-features-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hf-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 120px;
}
.hf-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
  background: #fffdf9;
  width: 60px; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: 1px solid #e6dec5;
  color: var(--primary);
}
.hf-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
}

/* --- HERO BUTTON --- */
.hero-btn-primary {
  display: inline-block;
  background: #6B0F1A;
  color: #fff;
  padding: 16px 45px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(107, 15, 26, 0.4);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
}
.hero-btn-primary:hover {
  transform: translateY(-3px);
  background: var(--primary);
  box-shadow: 0 12px 30px rgba(139, 0, 0, 0.5);
  border-color: #f8b500;
  color: #fff;
}

/* --- HERO FOOTER BAR --- */
.hero-footer-bar {
  background: #4A0004; /* Đỏ cực sậm */
  border-bottom: 4px solid var(--primary);
  border-top: 2px solid var(--secondary);
  padding: 20px 0;
  color: #fff;
}
.hf-bar-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.hfb-item {
  display: flex;
  align-items: center;
  gap: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 30px;
}
.hfb-item:last-child {
  border-right: none;
  padding-right: 0;
}
.hfb-icon {
  font-size: 1.8rem;
}
.hfb-text-group {
  display: flex;
  flex-direction: column;
}
.hfb-title {
  font-size: 1rem;
  font-weight: 600;
  color: #f8b500;
  margin-bottom: 3px;
}
.hfb-desc {
  font-size: 0.85rem;
  color: #eee;
  opacity: 0.9;
}


.dashboard-columns {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 30px;
  padding: 40px 20px;
}
.dash-col {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid #e6dec5;
}
.col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--bg);
  padding-bottom: 10px;
}
.col-header h3 {
  margin: 0;
  color: var(--primary);
  font-family: 'Lora', serif;
  font-size: 1.4rem;
}
.view-all {
  font-size: 0.9rem;
  color: var(--secondary);
  text-decoration: none;
  font-weight: bold;
}
.view-all:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .banner-content h1 { font-size: 2rem; }
  .dashboard-stats { margin-top: 20px; }
}
