/* Footer CSS */
/* =====================================================================
   Top Auto Aesthetics — FOOTER CSS
   Site footer, lightbox overlay, floating steering-wheel contact dial.
   ===================================================================== */

/* ---------- Floating Steering-Wheel contact dial ---------- */
.ta-steer {
  position: fixed;
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  z-index: 90;
  width: 60px; height: 60px;
  opacity: .82;
}

.ta-steer__btn {
  position: relative;
  width: 100%; height: 100%;
  border: 0; padding: 0; margin: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
}
.ta-steer__btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(246, 228, 177, 0.45);
}

/* glowing halo behind the wheel — pulses */
.ta-steer__halo {
  position: absolute; inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(246, 228, 177, 0.55) 0%,
    rgba(230, 195, 120, 0.30) 30%,
    rgba(198, 146, 64, 0.08) 60%,
    transparent 75%);
  filter: blur(8px);
  z-index: 0;
  animation: steer-halo-pulse 2.6s ease-in-out infinite;
}
@keyframes steer-halo-pulse {
  0%, 100% { transform: scale(1);    opacity: 0.85; }
  50%      { transform: scale(1.12); opacity: 1; }
}

/* the rotating wheel face */
.ta-steer__wheel {
  position: relative;
  display: grid; place-items: center;
  width: 100%; height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.10), transparent 45%),
    linear-gradient(160deg, #1a1610 0%, #0c0a07 75%);
  border: 1px solid rgba(246, 228, 177, 0.35);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(230, 195, 120, 0.30),
    inset 0 0 18px rgba(230, 195, 120, 0.10);
  z-index: 1;
  overflow: hidden;
}
.ta-steer__wheel::after {
  content: ""; position: absolute; inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(246, 228, 177, 0.18);
  pointer-events: none;
}
.ta-steer__wheel svg {
  width: 70%; height: 70%;
  color: #f6e4b1;
  filter: drop-shadow(0 0 6px rgba(246, 228, 177, 0.55));
  animation: steer-rotate 14s linear infinite;
  transform-origin: 50% 50%;
}

/* faster spin while hovered or while menu open */
.ta-steer__btn:hover .ta-steer__wheel svg { animation-duration: 6s; }
.ta-steer[data-open="true"] .ta-steer__wheel svg { animation-duration: 3s; }

/* press feedback */
.ta-steer__btn:active .ta-steer__wheel { box-shadow: 0 0 28px rgba(230, 195, 120, 0.42), inset 0 0 18px rgba(230, 195, 120, 0.18); }

@keyframes steer-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* pop the wheel a bit when the menu is open */
.ta-steer[data-open="true"] .ta-steer__wheel {
  border-color: rgba(246, 228, 177, 0.6);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.6),
    0 0 36px rgba(230, 195, 120, 0.55),
    inset 0 0 22px rgba(230, 195, 120, 0.18);
}

/* contact options — vertical stack rising above the wheel */
.ta-steer__menu {
  position: absolute;
  bottom: 100%;
  right: 0;
  list-style: none;
  margin: 0; padding: 0 0 14px 0;
  display: flex; flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}
.ta-steer__item {
  opacity: 0;
  transform: translateY(14px) scale(0.85);
  transition:
    opacity .35s cubic-bezier(.22, .9, .26, 1),
    transform .45s cubic-bezier(.22, .9, .26, 1);
  /* close-direction stagger: top items fade first */
  transition-delay: calc((4 - var(--i)) * 30ms);
}
.ta-steer[data-open="true"] .ta-steer__item {
  opacity: 1;
  transform: translateY(0) scale(1);
  /* open-direction stagger: bottom item appears first */
  transition-delay: calc(var(--i) * 55ms);
}
.ta-steer[data-open="true"] .ta-steer__menu { pointer-events: auto; }

.ta-steer__item a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: #f7f1e3;
  background: linear-gradient(160deg, rgba(20, 18, 14, 0.92), rgba(10, 9, 7, 0.92));
  border: 1px solid rgba(246, 228, 177, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.ta-steer__item a svg {
  width: 18px; height: 18px;
  color: #f6e4b1;
  flex-shrink: 0;
}
.ta-steer__item a:hover {
  transform: translateX(-4px);
  border-color: rgba(246, 228, 177, 0.55);
  background: linear-gradient(160deg, rgba(38, 30, 18, 0.95), rgba(18, 14, 9, 0.95));
}

/* mobile — slightly smaller wheel */
@media (max-width: 680px) {
  .ta-steer { width: 54px; height: 54px; right: 12px; bottom: 12px; }
  .ta-steer__item a { font-size: 11px; padding: 9px 12px 9px 10px; letter-spacing: 0.14em; }
}

/* respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .ta-steer__wheel svg,
  .ta-steer__halo { animation: none !important; }
}

/* ---------- FOOTER ---------- */
.ta-footer {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0 0;
  background: linear-gradient(180deg, #08080c 0%, #060608 100%);
  border-top: 1px solid var(--line);
}
.ta-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(40px, 6vw, 64px);
}
.ta-footer__brand img {
  height: 76px; width: auto; margin-bottom: 22px;
  filter: drop-shadow(0 0 18px rgba(230, 195, 120, 0.18));
}
.ta-footer__brand p { color: var(--ink-2); font-size: 14px; max-width: 38ch; margin: 0 0 18px; }
.ta-footer__social { display: flex; gap: 10px; }
.ta-footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-1);
  border: 1px solid var(--line-soft);
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.ta-footer__social a:hover { color: var(--gold-100); border-color: rgba(246, 228, 177, 0.4); background: rgba(246, 228, 177, 0.06); }

.ta-footer h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-300); margin: 4px 0 18px;
}
.ta-footer ul li {
  padding: 6px 0; color: var(--ink-1); font-size: 14.5px;
}
.ta-footer ul li a { transition: color .3s var(--ease); }
.ta-footer ul li a:hover { color: var(--gold-100); }

.ta-hours li {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; border-bottom: 1px dashed var(--line-soft);
}
.ta-hours em { font-style: normal; color: var(--ink-0); font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 0.08em; }

.ta-footer__bar {
  border-top: 1px solid var(--line-soft);
  padding: 18px 0 24px;
}
.ta-footer__bar-inner {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: var(--ink-3); font-size: 12px;
}

@media (max-width: 900px) {
  .ta-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ta-footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .ta-footer__brand img { height: 64px; }
}
@media (max-width: 720px) {
  .ta-footer__brand img { height: 56px; }
}

/* ---------- Lightbox ---------- */
.ta-lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(4, 4, 6, 0.94);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.ta-lightbox.is-open { opacity: 1; visibility: visible; }
.ta-lightbox__stage {
  max-width: min(1100px, 92vw); max-height: 86vh; display: grid; place-items: center;
}
.ta-lightbox__stage img { max-width: 100%; max-height: 86vh; border-radius: 8px; box-shadow: var(--shadow-hi); }
.ta-lightbox__close,
.ta-lightbox__prev,
.ta-lightbox__next {
  position: absolute;
  color: var(--ink-0); font-size: 22px; line-height: 1;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(16,16,20,0.6);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.ta-lightbox__close:hover,
.ta-lightbox__prev:hover,
.ta-lightbox__next:hover { color: var(--gold-100); border-color: rgba(246,228,177,0.5); background: rgba(30, 24, 12, 0.7); }
.ta-lightbox__close { top: 22px; right: 22px; }
.ta-lightbox__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.ta-lightbox__next { right: 22px; top: 50%; transform: translateY(-50%); }
