﻿/* OttaMoney custom overrides */
:root {
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --dark: #1a0533;
}

body {
  background: #f5f3ff;
}

/* Override navbar color */
section.navbar.custom-navbar {
  background: #1a0533 !important;
}

section.navbar.custom-navbar .navbar-brand {
  color: #fff !important;
  font-weight: 700;
  font-size: 1.4em;
}

section.navbar.custom-navbar .nav > li > a {
  color: #d4b8ff !important;
}

section.navbar.custom-navbar .nav > li > a:hover,
section.navbar.custom-navbar .nav > li.active > a {
  color: #fff !important;
  background: transparent !important;
}

/* Hero section */
section#home {
  background: linear-gradient(135deg, rgba(26,5,51,0.88) 0%, rgba(76,29,149,0.82) 50%, rgba(124,58,237,0.78) 100%), url(../images/hero-bg.jpg) center/cover no-repeat !important;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
}

section#home .home-info h3 {
  color: #d4b8ff;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.8em;
}

section#home .home-info h1 {
  color: #fff;
  font-size: 2.4em;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1em;
}

.online-form input[type=email] {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 4px 0 0 4px;
  padding: 0.7em 1em;
}

.online-form input[type=email]::placeholder {
  color: rgba(255,255,255,0.6);
}

.online-form button[type=submit] {
  background: #fff;
  color: #7c3aed;
  border-radius: 0 4px 4px 0;
  font-weight: 700;
  border: none;
}

/* Features section */
section#feature {
  background: #fff;
  padding: 5em 0;
}

section#feature .section-title h1 {
  color: #1a0533;
  font-weight: 700;
  font-size: 2em;
  margin-bottom: 0.5em;
}

.nav-tabs > li > a {
  color: #7c3aed !important;
  border-radius: 4px 4px 0 0;
}

.nav-tabs > li.active > a {
  background: #7c3aed !important;
  color: #fff !important;
  border-color: #7c3aed;
}

.tab-pane-item h2 {
  color: #1a0533;
  font-size: 1.1em;
  font-weight: 700;
}

.tab-pane-item p {
  color: #555;
}

/* About / team */
section#about {
  background: #f5f3ff;
  padding: 5em 0;
}

section#about .section-title h1 {
  color: #1a0533;
  font-weight: 700;
}

.team-thumb .team-info h2 {
  color: #1a0533;
  font-size: 1.2em;
}

.team-thumb .team-info small {
  color: #7c3aed;
  font-weight: 600;
}

/* Pricing */
section#pricing {
  background: #0f1a2e;
  padding: 5em 0;
}

section#pricing .section-title h1 {
  color: #fff;
}

.pricing-thumb {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5em;
}

.pricing-title {
  background: #7c3aed;
  padding: 1.2em;
  text-align: center;
}

.pricing-title h2 {
  color: #fff !important;
  font-size: 1.3em;
  margin: 0;
}

.pricing-info p {
  color: #c4b5fd !important;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0.6em 1.5em;
  margin: 0;
}

.pricing-bottom {
  padding: 1.5em;
  text-align: center;
}

.pricing-dollar {
  display: block;
  color: #fff;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 0.8em;
}

.pricing-btn {
  background: #7c3aed !important;
  color: #fff !important;
  border-radius: 4px;
  padding: 0.6em 1.5em;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

/* Testimonial */
section#testimonial {
  background: #fff;
  padding: 5em 0;
}

section#testimonial .section-title h1 {
  color: #1a0533;
  font-weight: 700;
}

section#testimonial .testimonial-info h3 {
  color: #555;
  font-size: 1em;
  line-height: 1.8;
  font-style: italic;
}

section#testimonial .testimonial-item h4 {
  color: #7c3aed;
  font-size: 0.9em;
}

.testimonial-image {
  background: url('../images/about-hero.jpg') center/cover no-repeat;
  min-height: 350px;
  border-radius: 8px;
}

/* Contact */
section#contact {
  background: #f5f3ff;
  padding: 5em 0;
}

section#contact .section-title h1 {
  color: #1a0533;
  font-weight: 700;
}

/* Section btn */
.section-btn {
  background: #7c3aed;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.7em 1.5em;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.section-btn:hover {
  background: #5b21b6;
  color: #fff;
}

/* Footer */
footer#footer {
  background: #0f0420 !important;
  padding: 2.5em 0;
}

footer#footer p {
  color: #888 !important;
}

footer#footer a {
  color: #a78bfa !important;
}

/* Blog styles */
.blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5em;
  border: 1px solid #e9e3ff;
  box-shadow: 0 2px 12px rgba(124,58,237,0.06);
  transition: box-shadow 0.2s;
}

.blog-card:hover {
  box-shadow: 0 4px 24px rgba(124,58,237,0.15);
}

.blog-card .card-body {
  padding: 1.3em;
}

.blog-card .card-date {
  color: #7c3aed;
  font-size: 0.78em;
  display: block;
  margin-bottom: 0.4em;
}

.blog-card .card-title {
  color: #1a0533;
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 0.5em;
  line-height: 1.4;
}

.blog-card .card-excerpt {
  color: #666;
  font-size: 0.85em;
  line-height: 1.6;
  margin-bottom: 0.8em;
}

.blog-card .read-more {
  color: #7c3aed;
  font-size: 0.82em;
  text-decoration: none;
  font-weight: 600;
}

.pinned-badge {
  background: #7c3aed;
  color: #fff;
  font-size: 0.72em;
  padding: 0.2em 0.6em;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 0.5em;
  vertical-align: middle;
}

/* Article body */
.article-body {
  color: #444;
  line-height: 1.9;
  font-size: 1.02em;
}

.article-body h2, .article-body h3 {
  color: #1a0533;
  margin-top: 2em;
  margin-bottom: 0.7em;
}

.article-body ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.article-body li {
  display: list-item;
  line-height: 2;
}

/* Legal pages */
.legal-content {
  background: #fff;
  border-radius: 10px;
  padding: 2.5em;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.legal-content h2 {
  color: #1a0533;
  font-size: 1.2em;
  margin-top: 2em;
}

.legal-content h3 {
  color: #4c1d95;
  font-size: 1em;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5em;
}

.legal-content li {
  display: list-item;
  line-height: 2;
  color: #555;
}

/* Page header */
.page-header-section {
  background: linear-gradient(135deg, #1a0533, #7c3aed);
  padding: 4em 0 3em;
}

.page-header-section h1 {
  color: #fff;
  font-size: 2.2em;
  font-weight: 700;
}

.page-header-section p {
  color: #d4b8ff;
}

/* Fix testimonial contrast - dark #202020 background needs light text */
.testimonial-info .section-title h1 {
  color: #ffffff !important;
}
.testimonial-info h3 {
  color: #e0e0e0 !important;
  font-size: 1em !important;
  line-height: 1.8 !important;
}
.testimonial-info .testimonial-item h4 {
  color: #a78bfa !important;
}
.testimonial-info .owl-dots .owl-dot span {
  background: #a78bfa !important;
}

/* Fix: body padding-top for fixed navbar + funding bar */
body {
  padding-top: calc(var(--funding-bar-h, 36px) + 75px) !important;
}

/* Fix: navbar position below funding bar */
section.navbar.custom-navbar.navbar-fixed-top {
  top: var(--funding-bar-h, 36px) !important;
}
