/* ==========================================================================
   Theme Festival Thăng Long 2026 - Exact Home-1.jpg Design System
   ========================================================================== */

:root {
  --ftl-blue: #0067b1;
  --ftl-blue-dark: #004b82;
  --ftl-blue-header: #005596;
  --ftl-gold: #f8d568;
  --ftl-gold-btn: #d4b574;
  --ftl-gold-text: #93743c;
  --ftl-bg-body: #ece3cb;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #ece3cb;
  color: #1a1a1a;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Master Composite Background Matching Home-1.jpg */
body.ftl-page-bg {
  background-color: #ece3cb;
  background-image: 
    url('../images/house-left-1.webp'),
    url('../images/house-right-1.webp'),
    url('../images/house-left-2.webp'),
    url('../images/house-right-2.webp'),
    linear-gradient(to bottom, rgba(236, 227, 203, 0.3) 0%, rgba(236, 227, 203, 0.65) 40%, rgba(236, 227, 203, 0.85) 100%),
    url('../images/cloud-bg.webp');
  background-repeat: 
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat,
    repeat-y,
    repeat-y;
  background-position: 
    left -40px top 140px,
    right -40px top 140px,
    left -20px bottom 750px,
    right -20px bottom 750px,
    top center,
    top center;
  background-size: 
    360px auto,
    380px auto,
    280px auto,
    300px auto,
    100% auto,
    100% auto;
}

@media (max-width: 1200px) {
  body.ftl-page-bg {
    background-size: 
      240px auto,
      260px auto,
      200px auto,
      220px auto,
      100% auto,
      100% auto;
  }
}

@media (max-width: 768px) {
  body.ftl-page-bg {
    background-image: 
      linear-gradient(to bottom, rgba(236, 227, 203, 0.5) 0%, rgba(236, 227, 203, 0.85) 100%),
      url('../images/cloud-bg.webp');
    background-repeat: repeat-y;
    background-position: top center;
    background-size: 100% auto;
  }
}

/* Section Title with Flourishes matching Home-1.jpg */
.ftl-title-wrap {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.ftl-section-title {
  color: #0067b1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .ftl-section-title {
    font-size: 1.95rem;
  }
}

.ftl-title-flourish {
  width: 32px;
  height: 10px;
  background: radial-gradient(circle, #0067b1 2px, transparent 2.5px);
  background-size: 8px 8px;
  opacity: 0.85;
}

/* Royal Blue Table Styling Matching Home-1.jpg exactly */
.ftl-table-blue {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0px;
  overflow: hidden;
  background-color: #0067b1;
  color: #ffffff;
  font-size: 13.5px;
}

.ftl-table-blue th {
  background-color: #004b82;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  padding: 11px 16px;
  font-size: 13px;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.ftl-table-blue th:last-child {
  border-right: none;
}

.ftl-table-blue td {
  padding: 10px 16px;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  vertical-align: middle;
}

.ftl-table-blue td:last-child {
  border-right: none;
}

.ftl-table-blue tbody tr:last-child td {
  border-bottom: none;
}

.ftl-table-blue tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

/* Golden Button Pill matching Home-1.jpg */
.ftl-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #d4b574;
  color: #4a340e !important;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 28px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ftl-btn-gold:hover {
  background-color: #e2c68a;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* Header Background */
.ftl-header-bg {
  background-color: #005596;
  background-image: url('../images/bg-header.webp');
  background-repeat: repeat-x;
  background-position: top center;
}

/* Footer Background with dragon-bg-pattern.webp */
.ftl-footer-bg {
  background-color: #004b82;
  background-image: url('../images/dragon-bg-pattern.webp');
  background-repeat: repeat;
  background-position: center;
}
