/* =========================================
   SIMPLE FOOTER
   Dark theme matching home-section.css bg
   Fonts: Orbitron / Michroma / Outfit
========================================= */

.sf_footer {
  background: url('../img/bg-2.png') no-repeat center center;
  background-size: cover;
  border-top: 1px solid rgba(96, 165, 250, 0.12);
  padding: 60px 0 28px;
  font-family: 'Outfit', sans-serif;
  color: rgba(255, 255, 255, 0.75);
}

.sf_inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* ── THREE-COLUMN GRID ─────────────────── */
.sf_grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

/* ── BRAND COL ─────────────────────────── */
.sf_brand_header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.sf_brand_logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(96, 165, 250, 0.35);
  box-shadow: 0 0 14px rgba(96, 165, 250, 0.25);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sf_brand_header:hover .sf_brand_logo {
  transform: scale(1.06);
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.45);
}

.sf_brand_name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: #e2e8f0;
  text-transform: uppercase;
  margin-bottom: 0;
}

.sf_brand_desc {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  font-weight: 300;
  margin: 0 0 22px 0;
  max-width: 300px;
}

.sf_social_row {
  display: flex;
  gap: 10px;
}

.sf_social_btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  background: rgba(96, 165, 250, 0.06);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sf_social_btn:hover {
  border-color: #60a5fa;
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.12);
  transform: translateY(-2px);
}

/* ── LINK COLUMNS ──────────────────────── */
.sf_col_title {
  font-family: 'Michroma', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 20px;
}

.sf_links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sf_link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.sf_link:hover {
  color: #e2e8f0;
  transform: translateX(5px);
}

/* ── DIVIDER ───────────────────────────── */
.sf_divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

/* ── BOTTOM BAR ────────────────────────── */
.sf_bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
}

.sf_copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.3px;
}

.sf_back_to_top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 999px;
  padding: 6px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sf_back_to_top:hover {
  background: rgba(96, 165, 250, 0.18);
  border-color: #60a5fa;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(96, 165, 250, 0.25);
}

.sf_back_to_top svg {
  transition: transform 0.25s ease;
}

.sf_back_to_top:hover svg {
  transform: translateY(-2px);
}

/* ── RESPONSIVE ────────────────────────── */
@media (max-width: 768px) {
  .sf_footer {
    padding: 48px 0 24px;
  }

  .sf_grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* Brand spans full width on mobile */
  .sf_grid .sf_col:first-child {
    grid-column: span 2;
  }

  .sf_brand_desc {
    max-width: 100%;
  }
}

/* =========================================
   MOBILE RESPONSIVE (PRO OPTIMIZED)
========================================= */
@media (max-width: 576px) {
  .sf_footer {
    padding: 40px 0 24px;
  }

  /* Fixed Edge Padding Alignment */
  .sf_inner {
    width: 100%;
    padding: 0 6vw;
    box-sizing: border-box;
  }

  /* Stacks layout vertically with balanced margins */
  .sf_grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .sf_grid .sf_col:first-child {
    grid-column: span 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sf_brand_header {
    justify-content: center;
  }

  .sf_brand_desc {
    text-align: center;
    margin: 0 auto 18px auto;
    max-width: 100%;
    font-size: 0.85rem;
  }

  .sf_social_row {
    justify-content: center;
  }

  /* Centers secondary columns cleanly */
  .sf_col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sf_col_title {
    margin-bottom: 12px;
    font-size: 0.68rem;
  }

  .sf_links {
    align-items: center;
    gap: 8px;
  }

  .sf_link {
    font-size: 0.84rem;
  }

  .sf_link:hover {
    transform: none;
    /* Disables slide effect on touch displays */
  }

  /* Stack bottom bar items neatly */
  .sf_bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding-top: 18px;
  }

  .sf_copy {
    font-size: 0.74rem;
  }

  .sf_back_to_top {
    font-size: 0.74rem;
    padding: 6px 14px;
  }
}