/* ===== Yeisk Guide Media — Styles ===== */

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

:root {
  --color-sea: #2a7ab5;
  --color-sea-dark: #1d5a87;
  --color-sea-light: #e8f4fb;
  --color-sand: #f5f0e8;
  --color-warm: #e8a838;
  --color-ok: #2f9e6f;
  --color-ok-bg: #e6f5ee;
  --color-text: #2c2c2c;
  --color-text-light: #5a5a5a;
  --color-text-muted: #888;
  --color-bg: #fafafa;
  --color-white: #fff;
  --color-border: #e5e5e5;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1000px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--color-sea);
  text-decoration: none;
  transition: color .2s;
}

a:hover { color: var(--color-sea-dark); }

ul { list-style: none; }

h1, h2, h3 {
  line-height: 1.25;
  color: var(--color-text);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-sea);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-sea);
  background: var(--color-sea-light);
  padding: 4px 10px;
  border-radius: 20px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-sea) 0%, #3a9ad4 100%);
  color: var(--color-white);
  padding: 56px 0 48px;
}

.hero h1 {
  font-size: 2rem;
  color: var(--color-white);
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.05rem;
  opacity: .92;
  max-width: 620px;
}

/* Main */
main {
  flex: 1;
  padding: 40px 0 60px;
}

.section-title {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--color-text-light);
  font-weight: 600;
}

/* Status card */
.status-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-sea);
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
}

.status-card .label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  font-weight: 600;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-ok);
  background: var(--color-ok-bg);
  padding: 6px 14px;
  border-radius: 20px;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-ok);
  box-shadow: 0 0 0 3px rgba(47,158,111,.18);
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}

.category-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: box-shadow .2s, transform .2s;
}

.category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.category-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-sea-light);
  color: var(--color-sea);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-icon svg {
  width: 22px;
  height: 22px;
}

.category-name {
  font-weight: 600;
  font-size: 1rem;
}

/* Note */
.note {
  background: var(--color-sea-light);
  border-radius: var(--radius);
  padding: 18px 22px;
  color: var(--color-text);
  font-size: .95rem;
}

.note strong {
  color: var(--color-sea-dark);
}

/* Footer */
.site-footer {
  background: #1a2a3a;
  color: #6a7a8a;
  padding: 22px 0;
  text-align: center;
  font-size: .85rem;
}

@media (max-width: 600px) {
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: 1.55rem; }
  .hero p { font-size: 1rem; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .status-card { width: 100%; }
  .category-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .category-grid { grid-template-columns: 1fr; }
}
