/* RezepteChef Child — reprise de « FOOTER » (Simple Custom CSS and JS n°294).
*/

/* ========================================
   REZEPTECHEF SIMPLE FOOTER
======================================== */

.rc-simple-footer {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 65px 20px 42px;
  color: #ffffff !important;
  background: #1d1d1d !important;
  text-align: center;
  box-sizing: border-box;
}

.rc-simple-footer::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -140px;
  left: 50%;
  width: 600px;
  height: 300px;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    rgba(255, 122, 24, 0.16),
    transparent 70%
  );
  filter: blur(60px);
  pointer-events: none;
}

.rc-simple-footer,
.rc-simple-footer * {
  box-sizing: border-box;
}

.rc-simple-footer > * {
  position: relative;
  z-index: 2;
}

/* ========================================
   SOCIAL ICONS
======================================== */

.rc-simple-footer .rc-footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0 0 36px;
  padding: 0;
}

.rc-simple-footer .rc-footer-socials a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0;
  padding: 0;
  color: #ffffff !important;
  background: linear-gradient(145deg, #292929, #141414);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-size: 24px;
  line-height: 1;
  text-decoration: none !important;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.rc-simple-footer .rc-footer-socials a i {
  display: block;
  margin: 0;
  color: #ffffff !important;
  font-size: inherit;
  line-height: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.rc-simple-footer .rc-footer-socials a:hover {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-6px) scale(1.05);
}

/* Pinterest */
.rc-simple-footer .rc-footer-socials .pinterest:hover,
.rc-simple-footer .rc-footer-socials .pinterest:active {
  background: #e60023 !important;
}

/* YouTube */
.rc-simple-footer .rc-footer-socials .youtube:hover,
.rc-simple-footer .rc-footer-socials .youtube:active {
  background: #ff0000 !important;
}

/* Facebook */
.rc-simple-footer .rc-footer-socials .facebook:hover,
.rc-simple-footer .rc-footer-socials .facebook:active {
  background: #1877f2 !important;
}

.rc-simple-footer .rc-footer-socials a:active {
  transform: translateY(-2px) scale(0.97);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow:
    0 6px 20px rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.rc-simple-footer .rc-footer-socials a:focus {
  outline: none;
}

.rc-simple-footer .rc-footer-socials a:focus-visible {
  outline: 3px solid rgba(255, 122, 24, 0.7);
  outline-offset: 4px;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

/* ========================================
   FOOTER LINKS
======================================== */

.rc-simple-footer .rc-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 22px;
  padding: 0;
  color: #cccccc !important;
  font-size: 16px;
  line-height: 1.8;
}

.rc-simple-footer .rc-footer-links span {
  display: inline-block;
  margin-right: 12px;
  color: #aaaaaa !important;
}

.rc-simple-footer .rc-footer-links a {
  position: relative;
  display: inline-block;
  padding: 0 10px;
  color: #dddddd !important;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 0.25s ease;
}

.rc-simple-footer .rc-footer-links a:visited {
  color: #dddddd !important;
}

.rc-simple-footer .rc-footer-links a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -2px;
  color: #666666 !important;
}

.rc-simple-footer .rc-footer-links a:hover,
.rc-simple-footer .rc-footer-links a:focus {
  color: #ff7a18 !important;
}

/* ========================================
   FOOTER NOTE
======================================== */

.rc-simple-footer .rc-footer-note {
  display: block;
  max-width: 560px;
  margin: 0 auto !important;
  padding: 0;
  color: #999999 !important;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

/* Orange separator */
.rc-simple-footer::after {
  content: "";
  position: relative;
  z-index: 2;
  display: block;
  width: 200px;
  height: 2px;
  margin: 30px auto 0;
  background: linear-gradient(
    to right,
    transparent,
    #ff7a18,
    transparent
  );
}

/* ========================================
   TABLET AND MOBILE
======================================== */

@media (max-width: 768px) {
  .rc-simple-footer {
    padding: 50px 16px 34px;
  }

  .rc-simple-footer::before {
    top: -120px;
    width: 430px;
    height: 260px;
  }

  .rc-simple-footer .rc-footer-socials {
    gap: 14px;
    margin-bottom: 30px;
  }

  .rc-simple-footer .rc-footer-socials a {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 20px;
  }

  .rc-simple-footer .rc-footer-links {
    font-size: 14px;
  }

  .rc-simple-footer .rc-footer-note {
    max-width: 340px;
    font-size: 13px;
  }
}

/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 520px) {
  .rc-simple-footer {
    padding: 44px 14px 30px;
  }

  .rc-simple-footer .rc-footer-links {
    flex-direction: column;
    gap: 4px;
  }

  .rc-simple-footer .rc-footer-links span {
    width: 100%;
    margin: 0 0 8px;
  }

  .rc-simple-footer .rc-footer-links a {
    padding: 3px 8px;
  }

  .rc-simple-footer .rc-footer-links a::after {
    display: none;
  }

  .rc-simple-footer::after {
    width: 160px;
    margin-top: 25px;
  }
}

/* ========================================
   ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {
  .rc-simple-footer *,
  .rc-simple-footer *::before,
  .rc-simple-footer *::after {
    transition: none !important;
    animation: none !important;
  }

  .rc-simple-footer .rc-footer-socials a:hover {
    transform: none;
  }
}
