
/* Common styling with Zero-Blank-Screen Protection */
:root {
  --primary: #059669;
  --primary-accent: #10b981;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
}

/* ZERO-BLANK-SCREEN MANDATE */
.animate-on-scroll {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}
.lang-toggle {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Section styling */
.section { padding: 60px 0; }
.bg-light { background-color: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-badge {
  display: inline-block;
  background: rgba(5, 150, 105, 0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.section-title { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.section-desc { color: var(--text-muted); font-size: 16px; max-width: 680px; margin: 0 auto; }

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.stat-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-number { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* Cards Grid */
.cards-grid, .food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.landmark-card, .food-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card-img-wrap, .food-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.card-img-wrap img, .food-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-badge, .food-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.card-body, .food-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; flex: 1; }
.card-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}
.card-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

/* Detail Card in landmarks.html */
.landmark-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: 400px 1fr;
  box-shadow: var(--shadow);
}
.detail-img-wrap {
  position: relative;
  height: 100%;
  min-height: 280px;
}
.detail-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
}
.detail-content {
  padding: 28px;
}
.detail-content h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.info-pills { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.pill {
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.detail-desc { font-size: 15px; color: var(--text-dark); margin-bottom: 16px; line-height: 1.7; }

/* Timeline in history.html */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 20px;
  width: 3px;
  background: var(--primary);
}
.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 50px;
}
.timeline-dot {
  position: absolute;
  left: 14px;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-content {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.timeline-year {
  color: var(--primary);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 4px;
}

/* Quick Card */
.travel-quick-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.quick-card-header h3 { font-size: 20px; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; color: var(--primary); }
.quick-card-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.transit-item { display: flex; gap: 14px; align-items: flex-start; }
.transit-item i { font-size: 20px; color: var(--primary); margin-top: 4px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { opacity: 0.9; }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 20px;
  margin-top: 60px;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; font-weight: 700; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 20px; text-align: center; font-size: 13px; }

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-content {
  background: #fff;
  border-radius: var(--radius);
  max-width: 550px;
  width: 90%;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.modal-close { background: none; border: none; font-size: 24px; cursor: pointer; }

/* Responsive */
@media (max-width: 768px) {
  .landmark-detail-card { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 24px; }
  .nav-links { display: none; }
}
