/* 
  Yardonali - Dau Phu Gyvenimo užrašai
  Unique warm-neutral editorial design - 2026
  Strictly text + color, no stock images
*/

:root {
  --cream: #FDF8F3;
  --warm-white: #FFFFFF;
  --text-dark: #2D2525;
  --text-muted: #6B5F5A;
  --terracotta: #B76E4A;
  --terracotta-light: #D4A58A;
  --sand: #E8DFD4;
  --border: #E8DFD4;
  --accent-gold: #C9A87C;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
}

.serif {
  font-family: "Playfair Display", Georgia, serif;
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--terracotta);
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--terracotta);
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.card {
  background-color: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 9999px;
  border: 2px solid var(--terracotta);
  color: var(--terracotta);
  background: transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

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

.btn-primary {
  background-color: var(--terracotta);
  color: white;
  border-color: var(--terracotta);
}

.btn-primary:hover {
  background-color: #A05D3A;
  border-color: #A05D3A;
}

.article-body {
  font-size: 1.05rem;
  max-width: 72ch;
  margin: 0 auto;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-size: 1.65rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.quote {
  border-left: 4px solid var(--terracotta);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 2rem 0;
}

.legal-text {
  max-width: 72ch;
  margin: 0 auto;
  font-size: 0.98rem;
}

.legal-text h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-text p, .legal-text li {
  margin-bottom: 1rem;
}

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

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

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

.footer {
  border-top: 1px solid var(--border);
  background: #F9F4ED;
}

.section-title {
  font-size: 2.1rem;
  letter-spacing: -0.025em;
}

@media (max-width: 768px) {
  .article-body {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
}

/* Unique decorative elements */
.decor-line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--terracotta-light), transparent);
}

.note-number {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--terracotta);
  font-weight: 600;
}