/* ==========================================================================
   Hextrategic — Custom Overrides
   Loaded after freelancer.min.css to refine the visual presentation.
   Colors derived from the logo hexagons: cyan #83DDFF, green #87EAC2, pink #F2849E
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. SELF-HOSTED FONTS
   ChicagoFLF — heading typeface, self-hosted for reliability across all devices.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'ChicagoFLF';
  src: url('../vendor/chicagoflf/ChicagoFLF.woff2') format('woff2'),
       url('../vendor/chicagoflf/ChicagoFLF.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   1. COLOR PALETTE
   Increase contrast between primary (#141422) and secondary (#242440) sections.
   -------------------------------------------------------------------------- */

html,
body {
  overflow-x: hidden;
  font-size: 1.125rem;   /* 18px — better readability on dark backgrounds */
}

.bg-primary {
  background-color: #141422 !important;
}

.bg-secondary {
  background-color: #242440 !important;
}

/* --------------------------------------------------------------------------
   2. LINKS
   Cyan accent from logo replaces plain white — identifiable and on-brand.
   -------------------------------------------------------------------------- */

a {
  color: #83DDFF;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: #a8e8ff;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   Fix tight line-heights on display headings, add letter-spacing for uppercase.
   -------------------------------------------------------------------------- */

.masthead-heading {
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.masthead-subheading {
  font-size: 1.4rem;
  color: #A0A0B8;
}

@media (min-width: 992px) {
  .masthead-subheading {
    font-size: 1.65rem;
  }
}

.lead {
  font-size: 1.3rem;
}

.page-section-heading {
  line-height: 1.2;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   4. MASTHEAD SPACING
   Remove navbar compensation padding (no navbar exists on this page).
   -------------------------------------------------------------------------- */

.masthead {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  .masthead {
    padding-top: 8rem;
    padding-bottom: 5rem;
  }
}

/* --------------------------------------------------------------------------
   5. MOBILE SIDE PADDING
   Bootstrap's default 15px container padding feels tight on small screens.
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   6. GALLERY / PORTFOLIO
   Visible borders with cyan tint, lift-on-hover with glow.
   -------------------------------------------------------------------------- */

.portfolio .portfolio-item {
  border: 2px solid rgba(131, 221, 255, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.portfolio .portfolio-item:hover {
  transform: translateY(-4px);
  border-color: rgba(131, 221, 255, 0.5);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.portfolio .portfolio-item img {
  transition: transform 0.3s ease;
}

.portfolio .portfolio-item:hover img {
  transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   6. DIVIDERS
   Gradient fade instead of solid line — softer, more polished.
   -------------------------------------------------------------------------- */

.divider-custom .divider-custom-line {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  border: none !important;
}

.divider-custom.divider-light .divider-custom-line {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

/* --------------------------------------------------------------------------
   7. FEATURE LIST
   Semantic list with Font Awesome caret markers in cyan.
   -------------------------------------------------------------------------- */

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.6em;
  line-height: 1.6;
}

.feature-list li::before {
  content: "\f0da";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #83DDFF;
}

/* --------------------------------------------------------------------------
   8. DOWNLOAD BUTTONS
   Subtle hover feedback on store badges.
   -------------------------------------------------------------------------- */

.download-button img {
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.9;
}

.download-button:hover img {
  transform: scale(1.05);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   9. FOOTER
   Compact padding, muted text, subtle top border.
   -------------------------------------------------------------------------- */

.footer {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  color: #A0A0B8;
  border-top: 1px solid rgba(131, 221, 255, 0.12);
}

.footer a {
  color: #83DDFF;
}

.footer a:hover,
.footer a:focus {
  color: #a8e8ff;
}

/* --------------------------------------------------------------------------
   10. UTILITY — INLINE STYLE REPLACEMENTS
   -------------------------------------------------------------------------- */

.download-button a {
  text-decoration: none;
}
