/* Singapore Tourism — shared styles */
:root {
  --bg: #0f172a;
  --bg-card: #1e293b;
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.15);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --border: #334155;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}

main {
  flex: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.hero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 50%, #422006 100%);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  border-radius: 0;
}

.hero__overlay {
  position: relative;
  padding: 2rem 1.5rem;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.95));
  width: 100%;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 36ch;
}

h2 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.card__img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  border-radius: 0;
}

.card__body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.card__body p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.btn:hover {
  background: rgba(245, 158, 11, 0.25);
  text-decoration: none;
}

.split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.split__text p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.list-check li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
  color: var(--muted);
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--accent);
}

.page-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.subnav {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.subnav a {
  margin-right: 1rem;
}

.note {
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.15rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.photo-caption {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.photo-caption a {
  color: var(--muted);
  text-decoration: underline;
}

.photo-caption a:hover {
  color: var(--accent);
}

.content-section {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0 0;
}

.fact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.1rem;
}

.fact-card strong {
  display: block;
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.fact-card span {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.45;
}

.two-col-text {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .two-col-text {
    grid-template-columns: 1fr 1fr;
  }
}

.two-col-text p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.two-col-text p:last-child {
  margin-bottom: 0;
}

.inline-links {
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.inline-links a {
  font-weight: 600;
}
