/* Site-wide typography and polish layered over the theme (style.css). */
:root {
  --rc-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rc-ink: #0f1f33;
  --rc-body: #3d4b5c;
  --rc-muted: #6b7a8c;
  --rc-teal: #04c1a7;
  --rc-teal-2: #02a58f;
  --rc-navy: #001935;
  --rc-line: #e6ebf1;
}

/* Base type: 16px / 1.65, 400 body, 600 headings */
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--rc-font) !important;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--rc-body) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
body, button, input, select, textarea, .btn, .form-control,
h1, h2, h3, h4, h5, h6, .navbar .navbar-nav .nav-link {
  font-family: var(--rc-font) !important;
}
p { line-height: 1.7; }
strong, b { font-weight: 600; }
label { font-weight: 500; }

h1, h2, h3, h4, h5, h6 {
  color: var(--rc-ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
h1 { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; }
h2 { font-size: 32px; line-height: 1.2; }
h3 { font-size: 26px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; letter-spacing: -0.01em; }
h6 { font-size: 16px; letter-spacing: -0.005em; }

/* Section titles: brand accent instead of the red bar */
.section-title .title { letter-spacing: -0.02em; }
.section-title .title:before { background: var(--rc-teal) !important; height: 3px; width: 40px; border-radius: 3px; }
.section-title p { color: var(--rc-muted); font-size: 16px; }

/* Header */
.navbar .navbar-nav .nav-link { font-size: 15px; font-weight: 500; letter-spacing: -0.005em; }
.header .add-listing .btn,
.header .loginShow .btn {
  text-transform: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  border-radius: 10px;
  padding: 10px 16px !important;
}
.header .add-listing .btn i,
.header .loginShow .btn i { color: var(--rc-teal); margin-right: 6px; }

/* Buttons */
.btn {
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0;
  border-radius: 10px;
}
.btn-primary { background: var(--rc-teal); border-color: var(--rc-teal); }
.btn-primary:hover, .btn-primary:focus { background: var(--rc-teal-2); border-color: var(--rc-teal-2); }

/* Form fields */
.form-control { font-size: 15px; border-radius: 10px; }
.form-control:focus { border-color: var(--rc-teal); box-shadow: 0 0 0 3px rgba(4, 193, 167, .15); }

/* Cards used across inner pages */
.blog-post { border-radius: 16px; overflow: hidden; }
.blog-post .blog-post-title h5 { font-weight: 600; line-height: 1.4; }

/* Footer */
.footer { font-size: 15px; }
.footer h5, .footer .footer-link h5 { font-size: 16px; font-weight: 600; letter-spacing: -0.005em; }
.footer .footer-link ul li a { font-weight: 400; }

/* Inner page title band: navy to match the homepage hero */
.header-inner {
  position: relative;
  padding: 64px 0 !important;
  background:
    radial-gradient(700px 260px at 85% 0%, rgba(4, 193, 167, .18), transparent 60%),
    linear-gradient(180deg, #00132a, var(--rc-navy)) !important;
}
.header-inner h1, .header-inner h2, .header-inner .text-primary {
  color: #fff !important;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.header-inner .breadcrumb { justify-content: center; background: transparent; font-size: 14px; }
.header-inner .breadcrumb-item, .header-inner .breadcrumb-item a { color: rgba(255, 255, 255, .6); }
.header-inner .breadcrumb-item a:hover { color: #fff; }
.header-inner .breadcrumb-item.active, .header-inner .breadcrumb-item.active span { color: var(--rc-teal); }
.header-inner .breadcrumb-item i { color: rgba(255, 255, 255, .35); font-size: 10px; margin: 0 8px; }

/* Box the header to the page container width on desktop; mobile keeps the theme's container-fluid rules */
@media (min-width: 1200px) {
  .header .navbar > .container-fluid {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
  }
}

@media (max-width: 991.98px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
}
@media (max-width: 575.98px) {
  body { font-size: 15px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 22px; }
  h4 { font-size: 20px; }
}

/* Sticky header on scroll */
.header .navbar.header-sticky { transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease; }
.header .navbar.is-sticky {
  background: rgba(0, 25, 53, .9) !important;
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 12px 32px -14px rgba(0, 0, 0, .5) !important;
  padding-top: 6px;
  padding-bottom: 6px;
}
@media (max-width: 991.98px) {
  .header .navbar.is-sticky { padding-top: 0; padding-bottom: 0; }
}
