/**
 * TradeVault — site-wide design enhancements
 */

/* ── Dark mode only (locked) ──────────────────────────── */
html {
  color-scheme: dark;
}

html,
html[data-bs-theme="dark"] {
  background-color: #00150f;
}

body {
  background-color: var(--body-color, #00150f);
  color: var(--text-color, rgba(255, 255, 255, 0.72));
}

/* ── Typography ───────────────────────────────────────── */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6,
.section-header h2,
.page-header__content h2,
.banner__content-heading,
.brand-logo__text {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

/* ── Header ───────────────────────────────────────────── */
.header-section--style2 .header-bottom {
  border-bottom: 1px solid rgba(0, 208, 148, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-wrapper .menu > li > a {
  font-weight: 500;
  transition: color 0.25s ease;
}

/* ── Section headers ──────────────────────────────────── */
.section-header h2 span,
.section-header h2 .style2 {
  background: linear-gradient(135deg, var(--brand-color) 0%, #0A4FD5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ── Page headers (inner pages) ───────────────────────── */
.page-header {
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9, 61, 71, 0.9) 0%, rgba(14, 53, 42, 0.78) 50%, rgba(10, 79, 213, 0.35) 100%);
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header__content h2 {
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.page-header .breadcrumb-item a {
  transition: color 0.2s ease;
}

.page-header .breadcrumb-item a:hover {
  color: var(--brand-color) !important;
}

/* ── Hero / Banner ────────────────────────────────────── */
.banner__content-heading span {
  color: var(--brand-color);
}

.banner__content-moto {
  line-height: 1.75;
  font-size: 1.05rem;
}

.banner__thumb img {
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}

/* ── Cards & interactive blocks ───────────────────────── */
.service__item-inner,
.pricing__item,
.blog__item-inner,
.team__item-inner,
.testimonial__item-inner,
.counter__item-inner,
.feature--style1 .feature__item-inner,
.feature--style2 .feature__item-inner {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.service__item-inner:hover,
.pricing__item:hover,
.blog__item-inner:hover,
.team__item-inner:hover,
.testimonial__item-inner:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.service__item-thumb img,
.blog__thumb img,
.team__item-thumb img,
.about__thumb-image img,
.story__thumb-inner img {
  border-radius: 14px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog__item-inner:hover .blog__thumb img,
.team__item-inner:hover .team__item-thumb img,
.service__item-inner:hover .service__item-thumb img {
  transform: scale(1.03);
}

/* ── Buttons ──────────────────────────────────────────── */
.trk-btn {
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.trk-btn--primary:hover,
.trk-btn--secondary:hover,
.trk-btn--secondary2:hover,
.trk-btn--tertiary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 208, 148, 0.28);
}

/* ── FAQ accordion ────────────────────────────────────── */
.accordion--style1 .accordion__item {
  border-radius: 14px !important;
  margin-bottom: 10px;
  border: 1px solid var(--border-color-5) !important;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.accordion--style1 .accordion__item:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 208, 148, 0.25) !important;
}

.accordion--style1 .accordion__button {
  font-weight: 600;
  padding: 18px 24px;
}

.accordion--style1 .accordion__body {
  padding: 0 24px 20px;
  line-height: 1.7;
}

/* ── Newsletter / CTA ─────────────────────────────────── */
.cta__newsletter-inner {
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 208, 148, 0.2);
  overflow: hidden;
}

.cta__thumb img {
  border-radius: 16px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.cta__subscribe h2 span {
  color: var(--brand-color);
}

/* ── Roadmap ──────────────────────────────────────────── */
.roadmap--style1 .roadmap__item-inner,
.roadmap--style2 .roadmap__item-inner {
  border-radius: 14px;
  transition: box-shadow 0.3s ease;
}

.roadmap--style1 .roadmap__item-inner:hover,
.roadmap--style2 .roadmap__item-inner:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* ── Forms ────────────────────────────────────────────── */
.form-control {
  border-radius: 12px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
  border-color: var(--brand-color);
  box-shadow: 0 0 0 3px rgba(0, 208, 148, 0.18);
}

.account__content {
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.account__social-btn {
  border-radius: 12px;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.account__social-btn:hover {
  transform: translateY(-1px);
}

/* ── Contact ──────────────────────────────────────────── */
.contact__item-inner {
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact__item-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* ── Footer ───────────────────────────────────────────── */
.footer__top {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__linklist-item a {
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer__linklist-item a:hover {
  padding-left: 4px;
}

/* ── Partners ─────────────────────────────────────────── */
.partner__item img {
  opacity: 0.75;
  filter: grayscale(40%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.partner__item:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* ── Pagination ───────────────────────────────────────── */
.paginations ul li a {
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* ── Sidebar (blog) ───────────────────────────────────── */
.sidebar__head,
.sidebar__categorie,
.sidebar__recentpost {
  border-radius: 16px;
}

/* ── Preloader ────────────────────────────────────────── */
.preloader {
  background: linear-gradient(160deg, #0e352a 0%, #093d47 50%, #0a2d4a 100%);
}

/* ── Hide theme toggle (dark mode only) ───────────────── */
.lightdark-switch {
  display: none !important;
}

/* ── Hide decorative overlay shapes ───────────────────── */
.page-header__shape,
.feature__shape,
.pricing__shape,
.service__shape,
.blog__shape,
.account__shape,
.contact__shape,
.footer__shape-item--4,
.footer__shape-item--5 {
  display: none !important;
}

/* ── Responsive polish ────────────────────────────────── */
@media (max-width: 767px) {
  .section-header h2 {
    font-size: 1.75rem;
  }

  .banner__content-heading {
    font-size: 2rem;
  }

  .page-header__content h2 {
    font-size: 1.75rem;
  }
}
