:root {
  /* Colors */
  --color-primary: #667eea;
  --color-secondary: #ea9966;
	--color-accent: #66ea99;
  --color-background: #f3f4f6;
	--color-navigation: #111827;
  --color-surface: #ffffff;
  --color-text-main: #374151;
  --color-text-muted: #6b7280;
	--color-border: #e0e0e0;

  /* Typography */
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --content-width: 1400px;
}

/* Base styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-base);
  background-color: var(--color-background);
  color: var(--color-text-main);
  line-height: 1.2;
}

/* Headings & text hierarchy */
h1, h2, h3 {
  margin-top: 0;
  line-height: 1.3;
}

h1 {
  font-size: 2.2rem;
  margin: 0 0 1.25rem 0;
}

h2 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem 0;
}

h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  margin: 0 0 0.5rem 0;
}

.small,
.text-muted {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

strong {
  font-weight: 600;
}

em {
  color: var(--color-text-muted);
}

/* Header & navigation */
header {
  background-color: var(--color-primary);
  color: white;
  padding: 1rem 1rem;
  text-align: center;
}

header h1 {
  color: white;
}

header p {
  color: white;
	font-size: 1.5rem;
}

ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem 0;
}

li {
  margin: 0 0 0.5rem 0;
}

nav a {
  text-decoration: none;
  color: var(--color-text-main);
  padding: 0.5rem 0.75rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

nav a:hover,
nav a:focus-visible {
  background-color: var(--color-primary);
  color: var(--color-navigation);
}

nav a.active {
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
}

.main-nav {
  background-color: var(--color-navigation);
}

.main-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
	margin: 0;
}

.main-nav a {
  display: block;
  padding: 1rem 1.25rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* Main content & sections */
main {
	width: 100%;
  max-width: var(--content-width);
  margin: 1rem auto;
  padding: 0 1rem;
}

main h1,
main h2,
main h3 {
  color: var(--color-primary);
}

section {
  background-color: var(--color-surface);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 0 0 1.5rem 0; /* more breathing room */
	border: 1px solid var(--color-border);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

section h2:not(:first-child) {
  margin-top: 2rem;
}

/* Footer */
footer {
	background-color: var(--color-primary);
  text-align: center;
  padding: 1.5rem 1rem;
  color: white;
  font-size: 0.9rem;
}

/* Info */
.info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin: 1rem 0;
}

.info-item {
	background: white;
	padding: 15px;
	border-radius: 8px;
	border: 1px solid var(--color-border);
}

.info-label {
	font-weight: bold;
	color: var(--color-text-main);
	margin-bottom: 5px;
}

/* Chips */
.group-france {
	background: #e3f2fd !important;
}

.group-philippines {
	background: #f3e5f5 !important;
}
				
.chip {
	display: inline-block;
	padding: 0 25px;
	width: 150px;
	height: 50px;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 50px;
	border: 1px solid var(--color-border);
	border-radius: 25px;
	color: var(--color-text-main);
	margin: 0 0 10px 0;
}

.chip img {
	float: left;
	margin: 0 10px 0 -25px;
	height: 50px;
	width: 50px;
	border-radius: 50%;
}

/* Destinations */
.country-tab {
	padding: 5px 40px 5px 10px;
}

.country-bar {
	font-size: 1.2em;
	background: white;
	border: none;
	color: var(--color-text-main);
	font-weight: normal;
	cursor: pointer;
}

.country-bar.active {
	background: white;
	border-bottom: 3px solid var(--color-primary);
	color: var(--color-primary);
	font-weight: bold;
}

.country-flag {
	font-size: 1.2em;
	margin-right: 10px;
}

.country-section {
	
}

.country-section.hide {
	display: none;
}

.city-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	border-bottom: 2px solid #667eea;
	padding-bottom: 10px;
}

.city-name {
	font-size: 1.2em;
	color: #764ba2;
}

.city-dates {
	color: #666;
	font-size: 0.8em;
}

.city-description {
	margin: 20px 0;
	line-height: 1.2;
}

.highlight-box {
	background: #fff3cd;
	border-left: 4px solid #ffc107;
	padding: 15px;
	margin: 15px 0;
	border-radius: 5px;
}

.highlight-box ul {
list-style: none;
}

.highlight-box li {
	padding-left: 25px;
	position: relative;
}

.highlight-box li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #667eea;
	font-weight: bold;
}

.tip-box {
	background: #d1ecf1;
	border-left: 4px solid #0c5460;
	padding: 15px;
	margin: 15px 0;
	border-radius: 5px;
}

.tip-title {
	font-weight: bold;
	color: #0c5460;
	margin-bottom: 5px;
}

label {
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  display: inline-block;
  color: inherit;
  transition: border 0.2s;
  border-bottom: 5px solid rgba(#8e44ad, 0.2);
  padding: 3px 2px;
  &:hover{
    border-bottom-color: #9b59b6;
  }
}

label.country-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-background);
  user-select: none;
  transition: background 0.4s, padding-left 0.2s;
  padding-left: 0;
  input[type="radio"].country-nav:checked + .page + &{
    background: var(--color-primary);
		border-bottom: 1px solid var(--color-primary);
    color: #ffffff;
  }
  span{
    padding-left: 0px;
    position: relative;
  }
}

.layout {
  display: grid;
  height: 100%;
  width: 100%;
  overflow: hidden;
  grid-template-rows: 50px 1fr;
  grid-template-columns: 1fr 1fr;
}

input[type="radio"] {
  display: none;
}

.page{
  grid-column-start: 1;
  grid-row-start: 2;
  grid-column-end: span 2;
  display: none;
	background-color: var(--color-surface);
}

input[type="radio"].country-nav:checked + .page{
	display: flex;
}

.page-contents{
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

label.city-nav {
	font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  user-select: none;
  transition: background 0.4s, padding-left 0.2s;
  padding-left: 0;
  input[type="radio"].city-nav:checked + .vietnam-city + &{
    background: var(--color-secondary);
		border-bottom: 1px solid var(--color-secondary);
    color: #ffffff;
  }
	input[type="radio"].city-nav:checked + .laos-city + &{
    background: var(--color-secondary);
		border-bottom: 1px solid var(--color-secondary);
    color: #ffffff;
  }
  span{
    padding-left: 0px;
    position: relative;
  }
}

.nav5 {
	background-color: var(--color-surface);
  display: grid;
  height: 100%;
  width: 100%;
  overflow: hidden;
  grid-template-rows: 50px 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	margin-bottom: 10px;
}

input[type="radio"].city-nav:checked + .vietnam-city{
	display: block;
}

input[type="radio"].city-nav:checked + .laos-city{
	display: block;
}

.vietnam-city{
  grid-column-start: 1;
  grid-row-start: 2;
  grid-column-end: span 5;
  padding: 1.5rem;
  display: none;
	background-color: var(--color-surface);
}

.nav3 {
	background-color: var(--color-surface);
  display: grid;
  height: 100%;
  width: 100%;
  overflow: hidden;
  grid-template-rows: 50px 1fr;
  grid-template-columns: 1fr 1fr 1fr;
	margin-bottom: 10px;
}

.laos-city{
  grid-column-start: 1;
  grid-row-start: 2;
  grid-column-end: span 3;
  padding: 1.5rem;
  display: none;
	background-color: var(--color-surface);
}