/* Elara Ventures CSS - Premium Dark Theme */

:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #131a26;
  --bg-tertiary: #1b2433;
  --accent: #d4af37; /* Warm Gold */
  --accent-glow: rgba(212, 175, 55, 0.15);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border: rgba(255, 255, 255, 0.08);
  --font-display: 'Outfit', sans-serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  --radius: 12px;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Badges & Buttons */
.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  background-color: #e5be3b;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: var(--border);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Header & Navigation */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 25, 0.8);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.logo-text .dot {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-item:hover {
  color: #ffffff;
}

.nav-item.contact-btn {
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 50px;
}

.nav-item.contact-btn:hover {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}

/* Main Layout */
.main-content {
  flex: 1;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.text-center {
  text-align: center;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08), transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(19, 26, 38, 0.8), transparent 50%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  max-width: 760px;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Info Section (Grid Cards) */
.info-section {
  background-color: var(--bg-secondary);
}

.grid-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .grid-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.card h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.services-list {
  list-style: none;
}

.services-list li {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  position: relative;
}

.services-list li::before {
  content: "→";
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 0;
}

.services-list strong {
  color: #ffffff;
}

/* Insights Listing */
.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.insight-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}

.insight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.insight-date, .post-date, .related-date {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.insight-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.insight-card h3 a:hover {
  color: var(--accent);
}

.insight-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.read-more {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
}

.view-all-container {
  margin-top: 3rem;
  text-align: center;
}

/* Markets Section */
.markets-section {
  background-color: var(--bg-tertiary);
  border-top: 1px solid var(--border);
}

.lead-text {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.regions-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.region-pill {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 50px;
}

.region-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Blog Page Header */
.blog-header-section {
  padding: 6rem 2rem 3rem;
  background: radial-gradient(circle at 50% 100%, rgba(212, 175, 55, 0.05), transparent 60%);
  border-bottom: 1px solid var(--border);
}

.blog-header-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.blog-posts-section {
  background: var(--bg-primary);
}

.posts-list-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.blog-list-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: var(--transition);
}

.blog-list-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateX(4px);
}

.blog-list-card h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.blog-list-card h2 a:hover {
  color: var(--accent);
}

.post-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Single Post Section */
.single-post-section {
  padding: 6rem 2rem 4rem;
}

.post-container {
  max-width: 800px;
  margin: 0 auto;
}

.post-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.back-to-blog {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.back-to-blog:hover {
  color: var(--accent);
}

.post-published-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.post-header h1 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.post-category-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  color: #ffffff;
}

.post-divider {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 2.5rem 0;
}

/* Markdown post content styling */
.post-content {
  font-size: 1.1rem;
  color: #d1d5db;
  line-height: 1.8;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
}

.post-content h3 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
}

.post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-secondary);
}

.post-content code {
  font-family: monospace;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.post-tags-container {
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.tags-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.tag-pill {
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 50px;
}

/* Related Articles Section */
.related-articles-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 5rem 2rem;
}

.related-articles-section h3 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.related-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.3);
}

.related-card h4 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  flex: 1;
}

.related-card h4 a:hover {
  color: var(--accent);
}

.related-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  align-self: flex-start;
}

/* Error Pages */
.error-page-section {
  padding: 10rem 2rem;
}

.error-code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 6rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}

.error-page-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Footer styling */
.site-footer {
  border-top: 1px solid var(--border);
  background-color: var(--bg-secondary);
  padding: 5rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.link-group h4 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.link-group a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.link-group a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
