/* ==== VINTAGE RETRO STYLE FOR ທິບເຕັ້ນວຽງຈັນ ==== */
/* CSS RESET + NORMALIZE */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.56;
  background-color: #F9F7F2;
  color: #21266C;
  font-family: 'Noto Sans Lao', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #2C437C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #b57e2a;
  text-decoration: underline;
}
ul, ol {
  margin-left: 32px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans Lao', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.2rem;
  letter-spacing: 0.01em;
  color: #D47A3B; /* retro orange-brown for hero headings */
}
h2 {
  font-size: 1.65rem;
  color: #21266C;
}
h3 {
  font-size: 1.22rem;
  color: #AB8436;
}
p {
  margin-bottom: 18px;
}
strong {
  color: #BF3B1D;
  font-weight: 700;
}
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFBE8;
  border-radius: 24px;
  box-shadow: 0 2px 12px 0 rgba(33,38,108,0.07);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
}
.hero {
  background: #EFD358;
  border-bottom: 2px dashed #BF3B1D;
  margin-bottom: 60px;
  border-radius: 0 0 36px 36px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero .content-wrapper {
  align-items: flex-start;
}

/* NAVIGATION STYLES */
header {
  background: #21266C;
  color: #FFF9E2;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
header nav a {
  font-family: 'Noto Sans Lao', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #EFD358;
  border-radius: 6px;
  padding: 5px 12px;
  letter-spacing: 0.01em;
  outline: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #BF3B1D;
  color: #FFF;
}
.cta-primary {
  background: #D47A3B;
  color: #FFFBE8;
  border-radius: 28px;
  font-family: 'Noto Sans Lao', Arial, sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.03em;
  padding: 11px 32px;
  margin-left: 18px;
  border: none;
  display: inline-block;
  box-shadow: 0 4px 16px 0 rgba(212,122,59,0.12);
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
  cursor: pointer;
  text-align: center;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #21266C;
  color: #EFD358;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px 0 rgba(33,38,108,0.15);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 520;
  background: #EFD358;
  border: 2px solid #21266C;
  border-radius: 50%;
  font-size: 2.2em;
  padding: 8px 16px 8px 12px;
  box-shadow: 0 2px 8px 0 rgba(33,38,108,0.07);
  color: #21266C;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:active {
  background: #F7D095;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFBE8;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.8,-0.01,.37,0.98);
  box-shadow: -6px 0 30px 0 rgba(33,38,108,.14);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2.25em;
  color: #d24721;
  padding: 22px 26px 8px 8px;
  cursor: pointer;
  margin: 0;
  border-radius: 50%;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F9E3C0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding: 38px 32px;
}
.mobile-nav a {
  color: #BF3B1D;
  font-family: 'Noto Sans Lao', Arial, sans-serif;
  font-weight: 700;
  font-size: 21px;
  text-shadow: 0 2px 0 #EFD358;
  padding: 10px 0;
  transition: color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #21266C;
  background: #EFD358;
  border-radius: 8px;
  padding: 10px 12px;
}

@media (max-width: 1024px) {
  header .container, footer .container {
    flex-wrap: wrap;
    gap: 20px;
  }
}
/* Show/Hide hamburger menu and nav on mobile */
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: block;
  }
  header nav {
    display: none;
  }
  .cta-primary {
    margin-left: 0;
  }
}

/* ==== FLEXBOX LAYOUTS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  align-items: stretch;
}
.card {
  margin-bottom: 20px;
  background: #FFFBE8;
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(33,38,108,0.07);
  padding: 30px 22px;
  flex: 1 1 240px;
  position: relative;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.23s;
}
.card:hover, .card:focus-within {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 32px 0 rgba(212,122,59,0.17);
  z-index: 1;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  background: #FFF;
  box-shadow: 0 2px 10px 0 rgba(33,38,108,0.09);
  font-size: 17px;
  color: #2E210C;
  margin-bottom: 20px;
  min-width: 210px;
  max-width: 560px;
  transition: box-shadow 0.2s, background 0.2s;
}
.testimonial-card strong {
  color: #AB8436;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  background: #FEF6DA;
  box-shadow: 0 6px 24px rgba(223,199,110,0.18);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6EFE2;
  border-radius: 12px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(154, 131, 68, 0.08);
  font-size: 16px;
}

/* ===== BUTTON STYLES ===== */
button, .button {
  font-family: 'Noto Sans Lao', Arial, sans-serif;
  font-weight: 700;
  font-size: 17px;
  background: #BF3B1D;
  color: #FFFBE8;
  border-radius: 16px;
  border: none;
  padding: 10px 28px;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(191,59,29,.12);
  transition: background 0.18s, color 0.14s, box-shadow 0.2s, transform 0.2s;
}
button:hover, button:focus, .button:hover, .button:focus {
  background: #EFD358;
  color: #21266C;
  transform: scale(1.04);
  box-shadow: 0 7px 20px rgba(239,211,88,0.15);
}


/* ======= LIST/STYLED ====== */
ul, ol {
  font-size: 16px;
  color: #2E210C;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 7px;
  position: relative;
}
ul li::before {
  content: '\2022';
  color: #D47A3B;
  font-size: 1.2em;
  position: absolute;
  left: -20px;
  top: 0.4em;
}
ol li::marker {
  color: #BF3B1D;
}

/* ===== FOOTER ===== */
footer {
  background: #2C437C;
  color: #FFFBE8;
  font-size: 15px;
  padding-top: 30px;
  padding-bottom: 16px;
  border-top: 5px dotted #EFD358;
  margin-top: 70px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 6px 0;
}
footer nav a {
  color: #FFE5A7;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 15px;
  transition: color 0.2s;
}
footer nav a:hover,footer nav a:focus {
  color: #EFD358;
  text-decoration: underline;
}
footer .footer-contact, .footer-hours {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer .footer-contact img, footer .footer-hours img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  width: 22px;
}
footer .footer-hours {
  color: #EFD358;
  font-weight: 600;
  gap: 8px;
}
footer img[alt*='logo'] {
  width: 44px;
  margin-bottom: 10px;
}

/* ===== COOKIE CONSENT ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #D47A3B;
  color: #FFFBE8;
  font-family: 'Noto Sans Lao', Arial, sans-serif;
  font-size: 1rem;
  padding: 28px 16px 16px 16px;
  box-shadow: 0 -4px 24px 0 rgba(33,38,108,0.24);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-banner .button,
.cookie-banner button {
  border-radius: 20px;
  background: #EFD358;
  color: #BF3B1D;
  border: none;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 22px;
  margin: 0 0 6px 0;
  transition: background 0.17s, color 0.14s, box-shadow 0.2s;
  box-shadow: 0 2px 7px rgba(64,42,3,0.09);
}
.cookie-banner .button:hover,
.cookie-banner button:hover, .cookie-banner .button:focus {
  background: #BF3B1D;
  color: #EFD358;
}

/* Cookie modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 11000;
  inset: 0;
  background: rgba(33,38,108,0.46);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal {
  background: #FFFBE8;
  color: #21266C;
  border-radius: 22px;
  padding: 32px 18px 24px 24px;
  box-shadow: 0 8px 48px 12px rgba(33,38,108,0.14);
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookiePopIn .28s ease;
}
@keyframes cookiePopIn {
  from { opacity: 0; transform: scale(.9); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal-close {
  background: transparent;
  border: none;
  font-size: 2.0em;
  color: #BF3B1D;
  align-self: flex-end;
  cursor: pointer;
  padding: 0 0 12px 0;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal .category-label {
  font-size: 16px;
  font-weight: 600;
  color: #D47A3B;
}
.cookie-modal input[type=checkbox] {
  accent-color: #BF3B1D;
  width: 18px;
  height: 18px;
}
.cookie-modal .category-always {
  color: #777;
  font-size: 13px;
  margin-left: 7px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 9px;
}
.cookie-modal-actions button {
  font-size: 15px;
  border-radius: 13px;
  padding: 7px 18px;
  background: #D47A3B;
  color: #FFFBE8;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #EFD358;
  color: #21266C;
}

/* ======= RESPONSIVE DESIGN ======= */
/* Mobile-first. Most styles already mobile. */
@media (min-width: 768px) {
  h1 { font-size: 2.9rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.4rem; }
  .card-container { gap: 32px; }
  .card { max-width: 410px; }
  .testimonial-card { max-width: 600px; }
  .content-wrapper { gap: 26px; }
}
/* Align text-image sections desktop: row */
@media (min-width: 769px) {
  .text-image-section {
    flex-direction: row;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .section { padding: 28px 4px; }
  .hero { padding-top: 23px; padding-bottom: 23px; }
  .footer-contact, .footer-hours {
    font-size: 15px;
  }
  footer .container {
    gap: 18px;
  }
}
@media (max-width: 540px) {
  .container { padding: 0 6px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.01rem; }
}

/* Ensure enough white space all around */
main > section {
  margin-bottom: 60px;
}

/* ==== VINTAGE PATTERNS/FLAIR ==== */
.hero:after {
  content: '';
  display: block;
  width: 80px;
  height: 10px;
  background: repeating-linear-gradient(90deg,#EFD358,#EFD358 10px,#D47A3B 10px,#D47A3B 20px);
  border-radius: 7px;
  margin: 36px 0 0 0;
}
.section {
  position: relative;
}
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: 22px; top: 18px;
  width: 32px; height: 32px;
  background: repeating-linear-gradient(135deg,#BF3B1D 0px,#BF3B1D 7px,#FFFBE8 7px,#FFFBE8 14px);
  opacity: .11;
  border-radius: 6px;
  z-index: 0;
}

/* Subtle decor for testimonials */
.testimonial-card:after {
  content: '\275D';
  display: inline-block;
  color: #EFD358;
  font-size: 2.5em;
  font-family: serif;
  opacity: 0.17;
  margin-left: 12px;
  vertical-align: middle;
}

/* ====== FORM FIELDS ====== */
input, textarea, select {
  font-family: 'Noto Sans Lao', Arial, sans-serif;
  font-size: 1em;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1.5px solid #EFD358;
  background: #FFFBE8;
  margin-bottom: 18px;
  color: #21266C;
  transition: border 0.2s;
  outline: none;
  box-shadow: 0 1px 6px 0 rgba(212,122,59,0.06);
}
input:focus, textarea:focus, select:focus {
  border-color: #D47A3B;
  background: #FFFFFF;
}
label {
  font-family: 'Noto Sans Lao', Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
  color: #21266C;
}

/* ==== Z-INDEX/LAYERING ==== */
header, .mobile-menu, .cookie-banner, .cookie-modal-backdrop {
  z-index: 1000;
}

/* ==== Misc Spacing / Shadows / Borders ==== */
main, .main-content {
  margin-top: 37px;
}

/* Hide scroll on open mobile menu (works when js toggles body class) */
body.no-scroll {
  overflow: hidden !important;
}

/* ===== PRINT ========== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-backdrop {
    display: none !important;
  }
}
