/* J.J.Barton webpage on Netlify — styles.css file */

/* =========================
   GLOBAL RESET / BASE
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: rgb(5, 5, 5);
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.4;
}

/* =========================
   PAGE WRAPPER
   ========================= */

.jjb-page {
  max-width: 480px;          /* matches Elementor mobile box */
  margin: 0 auto;
  padding: 32px 16px 48px;
}

/* =========================
   LOGO
   ========================= */

.jjb-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.jjb-logo {
  width: 200px;              /* same as Elementor */
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   LINKS CONTAINER
   ========================= */

.jjb-links {
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
}

/* =========================
   INDIVIDUAL LINK BLOCK
   ========================= */

.jjb-link {
  display: block;
  width: 100%;
  text-decoration: none;
  padding: 14px 10px;
  border-radius: 8px;
  color: inherit;
}

/* Hover / tap feedback — subtle, Gen-Z friendly */
@media (hover: hover) and (pointer: fine) {
  .jjb-link:hover {
    background-color: rgba(255, 255, 255, 0.06);
  }
}

.jjb-link:active {
  background-color: rgba(255, 255, 255, 0.06);
}

/* Keyboard accessibility */
.jjb-link:focus {
  outline: none;
}

.jjb-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 4px;
  border-radius: 8px;
}

/* =========================
   TITLE (ICON + TEXT)
   ========================= */

.jjb-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
}

/* =========================
   DESCRIPTION
   ========================= */

.jjb-desc {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: #bdbdbd;
}

/* =========================
   ICONS
   ========================= */

.jjb-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
}

.jjb-icon svg {
  width: 100%;
  height: 100%;
  fill: #ffffff;
}

/* =========================
   DIVIDER BETWEEN SECTIONS
   ========================= */

.jjb-divider {
  margin: 40px 0;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.25),
    rgba(255, 255, 255, 0)
  );
}

/* =========================
   RESPONSIVE TUNING
   ========================= */

/* Mobile-first defaults already applied */

@media (min-width: 768px) {
  .jjb-title {
    font-size: 24px;
  }

  .jjb-desc {
    font-size: 16px;
  }
}
/* Push Venmo section further down the page + give bottom breathing room */
.jjb-venmo {
  margin-top: 420px;
  padding-bottom: 120px;
}

@media (min-width: 768px) {
  .jjb-venmo {
    margin-top: 840px;
    padding-bottom: 200px;
  }
}