/* Custom styles for Echilibru Ocular - Amelia Lewis | Unique sage + warm neutral design */
:root {
  --accent: #2d5a4a;
  --accent-light: #e8f0e9;
  --accent-dark: #1f3d33;
  --bg: #f9f6f1;
  --card-bg: #ffffff;
  --text: #1f2a24;
  --text-muted: #4a5c52;
  --border: #d4d9d4;
  --radius: 14px;
}

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

/* Header - clean with subtle border */
header {
  background: rgba(249, 246, 241, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent-dark);
}

/* Nav */
.nav-link {
  position: relative;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
}

/* Hero - centered minimalist with warm tone */
.hero {
  background: linear-gradient(180deg, #f9f6f1 0%, #f1ede4 100%);
}

/* Cards - clean with left accent border, minimal shadow */
.blog-card, .feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  transition: all 0.25s cubic-bezier(0.4, 0.0, 0.2, 1);
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.03);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgb(0 0 0 / 0.06);
  border-left-color: var(--accent-dark);
}

/* Buttons - rounded with thin border + hover fill */
.btn-primary {
  background-color: var(--accent);
  color: white;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  border: 2px solid var(--accent);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
}

/* Form inputs */
.form-input {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 90, 74, 0.1);
}

textarea.form-input {
  min-height: 130px;
  resize: vertical;
}

/* Article content */
.article-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-top: 2.25rem;
  margin-bottom: 0.9rem;
  color: var(--text);
}

.article-content p {
  margin-bottom: 1.15rem;
  color: var(--text-muted);
}

.article-content ul {
  margin: 1.1rem 0 1.5rem 1.1rem;
}

.article-content li {
  margin-bottom: 0.45rem;
  color: var(--text-muted);
}

/* Sticky side nav for articles page - unique for this site */
.sticky-nav {
  position: sticky;
  top: 90px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.sticky-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: all 0.2s;
}

.sticky-nav a:hover,
.sticky-nav a.active {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 500;
}

/* Footer */
footer {
  background: #1f2a24;
  color: #a8b5a8;
}

footer a {
  color: #a8b5a8;
  transition: color 0.2s;
}

footer a:hover {
  color: white;
}

/* Misc */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.meta {
  font-size: 0.875rem;
  color: #6b7a70;
}

.category-tag {
  display: inline-block;
  padding: 3px 13px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-card {
    border-left-width: 4px;
  }
}