/* Shared styles for rasilagnam.com static content pages (About, Contact, FAQ).
   Mirrors the look of templates-static/privacy_policy.html: warm brown + gold
   astrology theme on a cream background. */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: linear-gradient(135deg, #fffbf0 0%, #fff8e1 100%);
  min-height: 100vh;
}

.container { max-width: 900px; margin: 0 auto; padding: 20px; }

header {
  background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}
header h1 { font-size: 2.5em; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); }
.site-name { font-size: 1.2em; color: #d4a017; font-weight: 600; margin-bottom: 10px; }
.tagline {
  background: rgba(255, 255, 255, 0.2);
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9em;
  margin-top: 10px;
}

/* Simple top nav so the content pages link to each other and to the app */
.topnav { text-align: center; margin-bottom: 24px; }
.topnav a {
  color: #8b4513;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  margin: 0 10px;
}
.topnav a:hover { color: #d4a017; text-decoration: underline; }

.content {
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

h2 {
  color: #8b4513;
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 3px solid #d4a017;
}
h2:first-of-type { margin-top: 0; }
h3 { color: #5a2d0c; font-size: 1.3em; margin-top: 20px; margin-bottom: 10px; }
p { margin-bottom: 15px; }
.intro {
  background: #fff8e1;
  padding: 20px;
  border-left: 4px solid #d4a017;
  border-radius: 5px;
  margin-bottom: 25px;
  font-size: 1.05em;
}
ul { margin: 15px 0; padding-left: 30px; }
li { margin-bottom: 10px; }
strong { color: #8b4513; font-weight: 600; }
a { color: #a0522d; }

.callout {
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
  border: 2px solid #d4a017;
  border-radius: 10px;
  padding: 20px;
  margin: 24px 0;
  text-align: center;
}
.callout a { color: #8b4513; text-decoration: none; font-weight: 600; }
.callout a:hover { color: #d4a017; text-decoration: underline; }

.cta {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(139, 69, 19, 0.4); }

footer { text-align: center; padding: 30px 20px; color: #5a2d0c; }
footer a {
  color: #8b4513;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  background: #fff;
  border-radius: 5px;
  display: inline-block;
  margin-top: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
footer a:hover {
  background: #8b4513;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(139, 69, 19, 0.3);
}

@media (max-width: 768px) {
  header h1 { font-size: 2em; }
  .content { padding: 25px; }
  h2 { font-size: 1.5em; }
  h3 { font-size: 1.2em; }
}

/* ---- SEO content library (/blog) ---- */
.breadcrumbs {
  max-width: 900px;
  margin: 12px auto 0;
  padding: 0 20px;
  font-size: 0.85em;
  color: #7a6a55;
}
.breadcrumbs a { color: #8b4513; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { margin: 0 4px; color: #bbb; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95em;
}
.data-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  color: #8b4513;
  margin-bottom: 8px;
}
.data-table th, .data-table td {
  border: 1px solid #e6ddce;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.data-table thead th { background: #f6efe4; }
.data-table tbody tr:nth-child(even) { background: #faf6ef; }
.muted { color: #9a8b73; font-weight: 400; }

.related-links { list-style: none; padding: 0; }
.related-links li { margin: 8px 0; }
.related-links a { color: #8b4513; text-decoration: none; }
.related-links a:hover { text-decoration: underline; }
.pillar-index li {
  border: 1px solid #e6ddce;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 12px 0;
  transition: box-shadow 0.2s ease;
}
.pillar-index li:hover { box-shadow: 0 3px 12px rgba(139, 69, 19, 0.12); }

.faq-item { margin: 14px 0; }
.faq-item h3 { margin-bottom: 4px; }

@media (max-width: 768px) {
  .data-table { font-size: 0.85em; }
  .data-table th, .data-table td { padding: 6px 7px; }
  .breadcrumbs { padding: 0 15px; }
}
