/* ===== Yeisk Guide App — 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-warm-dark: #c48a1a;
  --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: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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: 14px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.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;
}

.header-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-text-light);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-sea) 0%, #3a9ad4 100%);
  color: var(--color-white);
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--color-bg), transparent);
}

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

.hero p {
  font-size: 1.1rem;
  opacity: .92;
  max-width: 620px;
  margin: 0 auto 28px;
}

.hero-btn {
  display: inline-block;
  background: var(--color-warm);
  color: var(--color-text);
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  font-family: inherit;
}

.hero-btn:hover {
  background: var(--color-warm-dark);
  color: var(--color-text);
  transform: translateY(-1px);
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--color-sand);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--color-text-light);
}

.intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.02rem;
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  display: block;
  color: var(--color-text);
  border: 1px solid transparent;
  position: relative;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--color-text);
  border-color: var(--color-sea-light);
}

.feature-card:hover .feature-arrow {
  color: var(--color-sea-dark);
  transform: translateX(2px);
}

.feature-arrow {
  display: inline-block;
  margin-top: 12px;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--color-sea);
  transition: transform .2s, color .2s;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--color-sea-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-sea);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: .92rem;
  color: var(--color-text-light);
}

/* Lite block */
.lite-block {
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 44px 24px;
  box-shadow: var(--shadow-sm);
  max-width: 720px;
  margin: 0 auto;
  border-top: 4px solid var(--color-sea);
}

.lite-block h2 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.lite-block p {
  color: var(--color-text-light);
  max-width: 520px;
  margin: 0 auto 22px;
}

.lite-btn {
  display: inline-block;
  background: var(--color-sea);
  color: var(--color-white);
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: .95rem;
  transition: background .2s, transform .15s;
}

.lite-btn:hover {
  background: var(--color-sea-dark);
  color: var(--color-white);
  transform: translateY(-1px);
}

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

.site-footer a { color: #a0aab4; }
.site-footer a:hover { color: var(--color-white); }

@media (max-width: 768px) {
  .hero { padding: 56px 0 50px; }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 1rem; }
  .section { padding: 44px 0; }
  .section-head h2 { font-size: 1.4rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}
