/* ══════════════════════════════════════════════════════════════════════════
   Footer Component — footer.css
   Dark background #0a0a0a, gold accents #A8862E
   Depends on: main.css (for --font-sans, --font-serif)
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --footer-bg:     #0a0a0a;
  --footer-gold:   #A8862E;
  --footer-white:  #ffffff;
  --footer-muted:  rgba(255, 255, 255, 0.5);
  --footer-border: rgba(255, 255, 255, 0.12);
}

[class*="elfsight-app"],
[class*="eapps-"] {
  max-width: 100% !important;
  overflow: hidden !important;
}

.site-footer {
  background-color: var(--footer-bg);
  border-top: 3px solid var(--footer-gold);
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
}


/* ══════════════════════════════════════════════════════════════════════════
   SECTION 1 — Hours & Contact + Google Map
   ══════════════════════════════════════════════════════════════════════════ */

.footer-top {
  padding: 120px 0;
}

.footer-top__grid {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 4rem;
  align-items: start;
}

/* ── Info column ─────────────────────────────────────────────────────────── */
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-info__block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-info__label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--footer-gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0;
}

/* Hours */
.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 280px;
}

.footer-hours__row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  color: var(--footer-white);
}

.footer-hours__row dt {
  opacity: 0.5;
  font-weight: 300;
}

.footer-hours__row dd {
  margin: 0;
  font-weight: 300;
}

/* Contact */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-contact__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact__sub {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--footer-muted);
  margin: 0;
}

.footer-contact__value {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  color: var(--footer-white);
  font-style: normal;
  margin: 0;
  line-height: 1.6;
}

.footer-contact__link {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact__link:hover {
  color: var(--footer-gold);
}

.footer-contact__link:focus-visible {
  outline: 2px solid var(--footer-gold);
  outline-offset: 2px;
}

/* ── Map ─────────────────────────────────────────────────────────────────── */
.footer-map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  border-radius: 4px;
}

.footer-map__canvas {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: block;
  border-radius: 4px;
  cursor: grab;
  outline: none;
}

.footer-map__canvas:active {
  cursor: grabbing;
}

/* Tone down the default Google zoom control on dark background */
.footer-map__canvas .gm-bundled-control {
  filter: invert(1) opacity(0.7);
}

/* Placeholder when no map configured */
.footer-map__placeholder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--footer-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-map__placeholder-inner {
  text-align: center;
  color: var(--footer-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-map__placeholder-inner svg {
  color: var(--footer-gold);
  opacity: 0.5;
}

.footer-map__placeholder-inner strong {
  color: var(--footer-gold);
  font-weight: 400;
}


/* ══════════════════════════════════════════════════════════════════════════
   SECTION 2 — Social Feed
   ══════════════════════════════════════════════════════════════════════════ */

.footer-social {
  border-top: 1px solid var(--footer-border);
  padding: 80px 0;
}

.footer-social__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-social__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--footer-white);
  margin: 0;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}

.footer-social__heading em {
  font-style: italic;
  color: var(--footer-gold);
}

.footer-social__icons {
  display: flex;
  gap: 12px;
}

.footer-social__icon-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--footer-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-gold);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.footer-social__icon-link:hover {
  background: var(--footer-gold);
  color: var(--footer-white);
}

.footer-social__icon-link:focus-visible {
  outline: 2px solid var(--footer-gold);
  outline-offset: 2px;
}

/* Elfsight widget wrapper */
.footer-social__widget {
  width: 100%;
}

/* Placeholder when no widget code set */
.footer-social__widget--placeholder {
  padding: 3rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--footer-border);
  border-radius: 4px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--footer-muted);
  line-height: 1.7;
}

.footer-social__widget--placeholder strong {
  color: var(--footer-gold);
  font-weight: 400;
}


/* ══════════════════════════════════════════════════════════════════════════
   SECTION 3 — Bottom bar
   ══════════════════════════════════════════════════════════════════════════ */

.footer-bottom {
  border-top: 1px solid var(--footer-border);
  background: rgba(0, 0, 0, 0.12);
}

.footer-bottom__inner {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom__copy {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--footer-white);
  margin: 0;
  opacity: 0.5;
  letter-spacing: 0.05em;
}

.footer-bottom__links {
  display: flex;
  gap: 2rem;
}

.footer-bottom__link {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--footer-white);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

a.footer-bottom__link:hover {
  opacity: 1;
}

a.footer-bottom__link:focus-visible {
  outline: 2px solid var(--footer-gold);
  outline-offset: 2px;
  opacity: 1;
}


/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .footer-container {
    padding: 0 1.5rem;
  }

  .footer-top {
    padding: 80px 0;
  }

  .footer-top__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-map,
  .footer-map__canvas,
  .footer-map__placeholder {
    min-height: 280px;
  }

  .footer-social {
    padding: 60px 0;
  }

  .footer-bottom__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-bottom__links {
    gap: 1.5rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .footer-contact__link,
  .footer-social__icon-link,
  a.footer-bottom__link {
    transition: none;
  }
}
