/* ═══════════════════════════════════════════════════════════════
   FOOTER.CSS — Europale Basket Club
   Design : sombre, sportif, premium
═══════════════════════════════════════════════════════════════ */

/* ══ BANDE SPONSORS ══════════════════════════════════════════ */

.sponsor-bar {
  background: #000;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  height: 120px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.sponsor-bar::before,
.sponsor-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.sponsor-bar::before {
  left: 0;
  background: linear-gradient(to right, #000, transparent);
}
.sponsor-bar::after {
  right: 0;
  background: linear-gradient(to left, #000, transparent);
}

.wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  height: 120px;
  overflow: hidden;
}

@keyframes scrollLeft {
  to { left: -200px; }
}

.item {
  width: 200px;
  height: 120px;
  position: absolute;
  animation-name: scrollLeft;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
}

.item img {
  max-width: 150px;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%) brightness(0.9);
  transition: filter 0.4s ease, transform 0.3s ease;
}

.item img:hover {
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1.08);
}

/* ══ FOOTER PRINCIPAL ════════════════════════════════════════ */

.site-footer {
  background: #0a0a0a;
  color: #e0e0e0;
  font-family: 'Poppins', sans-serif;
  border-top: 3px solid #097eeb;
}

/* ══ SECTION CARTE ═══════════════════════════════════════════ */

.footer-map {
  background: #000;
  padding: 50px 0 0 0;
  text-align: center;
}

.footer-map h4 {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.footer-map h4::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #097eeb;
  margin: 10px auto 30px;
  border-radius: 2px;
}

.map-container {
  width: 100%;
  line-height: 0;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
  filter: grayscale(15%) contrast(1.05);
}

/* ══ CONTENU FOOTER ══════════════════════════════════════════ */

.footer-content {
  background: #0a0a0a;
  width: 100%;
  padding: 60px 4% 40px;
  box-sizing: border-box;
}

.footer-columns {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  padding: 0;
}

/* Séparateur | entre les colonnes */
.footer-sep {
  color: #2a2a2a;
  font-size: 2rem;
  font-weight: 100;
  padding: 0 20px;
  line-height: 1;
  user-select: none;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.footer-column {
  flex: 1;
}

.footer-column:first-child {
  padding-right: 0;
  border-right: none;
  flex: 1.8;
}

.footer-column h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 12px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: #097eeb;
  border-radius: 2px;
}

.footer-column p {
  font-size: 0.9rem;
  color: #999;
  line-height: 2;
  margin: 0;
}

.footer-column p strong {
  color: #ddd;
  font-weight: 600;
}

.footer-column p a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.25s;
}

.footer-column p a:hover {
  color: #097eeb;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li a {
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 2.2;
  display: block;
  transition: color 0.25s;
}

.footer-column ul li a:hover {
  color: #fff;
}

/* ── Logos partenaires ── */
.partner-logos {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.partner-logos a {
  display: block;
}

.partner-logos img {
  height: 36px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.partner-logos a:hover img {
  opacity: 1;
}
.social-icons {
  display: flex;
  gap: 18px;
  margin-top: 4px;
}

.social-icons a {
  color: #aaa;
  font-size: 1.3rem;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  background: #0a0a0a;
  max-width: 100%;
  padding: 20px 2rem;
  text-align: center;
  border-top: 1px solid #1a1a1a;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #444;
  margin: 0;
}

.footer-bottom p span {
  color: #097eeb;
  font-weight: 600;
}

.footer-admin-link {
  color: #2a2a2a;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s;
  letter-spacing: 1px;
}

.footer-admin-link:hover {
  color: #555;
}

/* ══ RESPONSIVE footer.css ════════════════════════════════════ */
@media (max-width: 992px) {
    .footer-content    { padding: 50px 6% 30px !important; }
    .footer-columns    { flex-wrap: wrap !important; gap: 36px !important; }
    .footer-column     { flex: 1 1 calc(50% - 18px) !important; min-width: 180px !important; }
    .footer-column:first-child { flex: 1 1 100% !important; }
    .footer-sep        { display: none !important; }
    .sponsor-bar       { height: 100px !important; }
}
@media (max-width: 768px) {
    .footer-logo-box   { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; }
    .footer-desc       { font-size: 0.85rem !important; }
    .social-icons      { gap: 10px !important; }
}
@media (max-width: 600px) {
    .footer-content    { padding: 40px 5% 24px !important; }
    .footer-column     { flex: 1 1 100% !important; }
    .footer-bottom     { padding: 14px 5% !important; font-size: 0.75rem !important; text-align: center !important; }
    .footer-bottom p   { flex-direction: column !important; gap: 4px !important; }
    .sponsor-bar       { height: 80px !important; }
    .item              { height: 80px !important; }
    .item img          { max-height: 50px !important; max-width: 100px !important; }
    .map-container iframe { height: 200px !important; }
}
@media (max-width: 360px) {
    .footer-content    { padding: 30px 4% 20px !important; }
    .footer-column h4  { font-size: 0.85rem !important; }
    .footer-column ul li a { font-size: 0.8rem !important; }
}
