/* ============================================================
   ASHWA RACING — FOOTER
   System: Barlow Condensed + Barlow · dark motorsport
   ============================================================ */

/* ─── Base ──────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,1);
  font-family: var(--font-body);
  border-top: 2px solid var(--red);
}

/* ─── Top section ───────────────────────────────────────────── */
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  padding: 80px 6% 64px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ─── Brand column ──────────────────────────────────────────── */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  width: fit-content;
}

.footer-logo {
  height: 42px;
  width: auto;
  filter: invert(1) brightness(1);
  transition: opacity 0.2s ease;
}
/* FIX: removed no-op .footer-brand-link:hover .footer-logo { opacity: 1 }
   — base opacity is already 1, the hover rule had no effect */
.footer-brand-link:hover .footer-logo { opacity: 0.85; }

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  padding-left: 4px;
  border-left: 2px solid var(--red);
}

.footer-ashwa {
  font-family: 'Samarkan', serif;
  font-size: 24px;
  color: var(--red);
  letter-spacing: 1px;
  line-height: 1.05;
}

.footer-racing {
  font-family: 'Xenotron', sans-serif;
  font-size: 12px;
  color: #ffffff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 3px;
}

.footer-tagline {
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
}

/* Socials */
.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-3px);
}

/* ─── Nav columns ───────────────────────────────────────────── */
.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li {
  font-size: 0.82rem;
  line-height: 1.5;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.18s ease, padding-left 0.18s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--red);
  padding-left: 4px;
}

/* "Soon" items */
.footer-link-soon {
  color: rgba(255,255,255,0.2);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
  user-select: none;
}

.soon-tag {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1px 6px;
  border-radius: 2px;
}

/* ─── Contact column ────────────────────────────────────────── */

/* FIX: wrapper div for each contact entry — groups the link and its
   subtitle label into a structured container */
.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-contact-link {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.18s ease;
}

.footer-contact-link:hover { color: #fff; }

.footer-contact-link i,
.footer-location i {
  color: var(--red);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* FIX: explicit class for contact subtitle labels — was unstyled bare <span> */
.footer-contact-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  padding-left: 20px; /* aligns under the text, past the icon */
  line-height: 1.4;
}

.footer-location {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.55;
}

/* ─── Divider ───────────────────────────────────────────────── */
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  max-width: 1400px;
  margin: 0 6%;
}

/* ─── Bottom bar ────────────────────────────────────────────── */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 6%;
  max-width: 1400px;
  margin: 0 auto;
}

/* FIX: .footer-copy and .footer-credit had identical declarations —
   merged into a single rule */
.footer-copy,
.footer-credit {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-nav-cols { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 6% 48px;
  }
  .footer-brand-col { max-width: 360px; }
}

@media (max-width: 560px) {
  .footer-nav-cols { grid-template-columns: 1fr 1fr; gap: 28px; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .footer-nav-cols { grid-template-columns: 1fr; }
  .footer-top { padding: 48px 5% 40px; }
}