/* 
  kallar.site - Pequenos Registros
  Unique cool-teal modern minimalist design - completely different from previous
  Soft shadows, rounded elements, clean sans, generous spacing
*/

:root {
  --bg: #F7F3EB;
  --text: #222B2D;
  --text-light: #5A6A6D;
  --accent: #0D5C63;
  --accent-dark: #08474D;
  --gold: #C9A227;
  --card-bg: #FFFFFF;
  --border: #E8E0D5;
  --shadow: 0 4px 12px rgba(34, 43, 45, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: 3.4rem; letter-spacing: -0.02em; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header - clean with subtle border */
header {
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  font-size: 0.97rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a.active {
  color: var(--accent);
  font-weight: 600;
}

/* Hero - centered, bold, different from previous asymmetric */
.hero {
  background: linear-gradient(180deg, #F7F3EB 0%, #F0E9DC 100%);
  padding: 130px 0 110px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.6rem;
  margin-bottom: 28px;
  line-height: 1.15;
}

.hero p {
  font-size: 1.28rem;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto 42px;
}

/* Buttons - rounded soft, with lift */
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 15px 38px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.btn:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 92, 99, 0.2);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 13px 34px;
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

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

.section-alt {
  background-color: #F0E9DC;
}

/* Grid for recent notes - 3 columns, soft cards */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.note-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  border: 1px solid var(--border);
}

.note-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(34, 43, 45, 0.12);
}

.note-card .meta {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 14px;
  display: block;
  font-weight: 500;
}

.note-card h3 {
  font-size: 1.38rem;
  margin-bottom: 16px;
  line-height: 1.35;
}

.note-card p {
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* Intro text block - different style with gold accent line */
.intro-block {
  max-width: 820px;
  margin: 0 auto;
}

.intro-block h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 32px;
}

.intro-block h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 42px;
  height: 2.5px;
  background: var(--gold);
}

.intro-block p {
  margin-bottom: 24px;
  font-size: 1.12rem;
}

/* Reading layout - clean with accent */
.reading-container {
  max-width: 760px;
  margin: 0 auto;
}

.article-header {
  text-align: center;
  padding-bottom: 52px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  font-size: 2.9rem;
  margin-bottom: 14px;
}

.article-meta {
  color: var(--text-light);
  font-size: 0.95rem;
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.9;
}

.article-body p {
  margin-bottom: 28px;
}

.article-body h2 {
  margin-top: 56px;
  margin-bottom: 22px;
  font-size: 1.9rem;
  color: var(--accent);
}

.pullquote {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.55;
  color: var(--accent);
  border-left: 5px solid var(--gold);
  padding-left: 32px;
  margin: 52px 0;
  font-style: italic;
}

/* About page - unique narrative with timeline feel */
.about-hero {
  background: var(--accent);
  color: #F7F3EB;
  padding: 95px 0;
  text-align: center;
}

.about-hero h1 {
  color: #F7F3EB;
  font-size: 3.2rem;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.story-block {
  margin-bottom: 68px;
}

.story-block h2 {
  color: var(--accent);
  margin-bottom: 20px;
}

/* Contact form */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 26px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 0.96rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--border);
  background: white;
  font-size: 1.02rem;
  border-radius: 8px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 92, 99, 0.1);
}

.form-group textarea {
  min-height: 170px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 10px;
}

/* Thank you */
.thank-you {
  text-align: center;
  padding: 130px 20px;
  max-width: 640px;
  margin: 0 auto;
}

.thank-you h1 {
  font-size: 2.9rem;
  margin-bottom: 22px;
}

.thank-you p {
  font-size: 1.22rem;
  color: var(--text-light);
}

/* Footer - clean */
footer {
  background: #222B2D;
  color: #C8BDB0;
  padding: 62px 0 42px;
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 52px;
}

.footer-col h4 {
  color: #EDE4D8;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.footer-col a {
  color: #C8BDB0;
  display: block;
  margin-bottom: 9px;
}

.footer-col a:hover {
  color: var(--gold);
}

.address {
  line-height: 1.65;
}

.legal-links {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid #3A4345;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.legal-links a {
  color: #A38E7A;
  font-size: 0.86rem;
}

.copyright {
  text-align: center;
  margin-top: 42px;
  font-size: 0.82rem;
  color: #8C7663;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  
  h1 { font-size: 2.8rem; }
  .hero h1 { font-size: 3.1rem; }
  
  .nav-links {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
  
  .hero {
    padding: 90px 0 80px;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .nav-links {
    display: none; /* keep simple, no hamburger for this version */
  }
}