/* AMKOP.com — modern, simple travel page */
:root {
  --bg: #f4f6f8;
  --card: #ffffff;
  --ink: #1f2937;
  --muted: #6b7280;
  --accent: #0e7490;
  --accent-dark: #155e75;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

/* Scattered state names — subtle watermark behind everything */
#states-scatter {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.state-name {
  position: absolute;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.24;
  user-select: none;
  white-space: nowrap;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  text-align: center;
  padding: 48px 20px 40px;
  position: relative;
  z-index: 1;
}
.logo {
  font-size: 3.2rem;
  letter-spacing: 0.15em;
  font-weight: 800;
}
.logo span { color: #a5f3fc; }
.tagline {
  margin-top: 6px;
  font-size: 1.05rem;
  opacity: 0.9;
}

/* Main / cards — translucent so the watermark shows through, text stays solid */
main {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: -24px auto 40px;
  padding: 0 20px;
  display: grid;
  gap: 32px;
}
.card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(1px);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  padding: 32px;
}
.card h2 {
  font-size: 1.4rem;
  margin-bottom: 18px;
  color: var(--accent-dark);
}

/* Photo viewer */
.viewer {
  background: #0f172a;
  border-radius: 12px;
  min-height: 320px;
  max-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.viewer img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;   /* handles portrait & landscape */
  display: block;
}
.placeholder { color: #94a3b8; padding: 24px; text-align: center; }

.viewer-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.viewer-controls button {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.viewer-controls button:hover { background: var(--accent-dark); transform: scale(1.06); }

.photo-counter {
  text-align: center;
  color: var(--muted);
  margin-top: 10px;
  font-size: 0.9rem;
}

/* About */
.about-text { white-space: pre-wrap; }

/* Fullscreen mode */
.viewer:fullscreen {
  max-height: none;
  border-radius: 0;
}
.viewer:fullscreen img { max-height: 100vh; width: 100vw; }

/* Footer */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 28px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}
footer .small { font-size: 0.8rem; margin-top: 4px; }
