/* ==========================================================================
   Redfox Theme Footer Redesign Stylesheet
   Background Color: rgb(172, 4, 1)
   ========================================================================== */

/* Main Footer Container */
.site-footer {
  background-color: rgb(172, 4, 1) !important;
  color: #ffffff;
  padding: 60px 0 40px;
  font-family: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border-top: 4px solid rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Base text color overrides inside footer */
.site-footer p,
.site-footer div,
.site-footer li,
.site-footer span {
  color: #ffffff;
}

/* Layout adjustments for Drupal region columns */
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin: 0;
}

/* Drupal Section/Region columns reset */
.site-footer__top .region {
  flex: 1 1 300px;
  margin: 0;
  padding: 0 15px;
  display: block;
}

/* Layout container for mobile viewports */
@media (max-width: 991px) {
  .site-footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .site-footer__top .region {
    flex: 1 1 100%;
    padding: 0;
  }
}

/* Headings in Footer */
.site-footer h2,
.site-footer h3,
.site-footer__top h2.block-title,
.site-footer__top .block h2:first-child {
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
  display: block;
}

/* ==========================================================================
   Column 1: Logo, Bio & Social media
   ========================================================================== */

/* Outer wrapper */
.footer-logo-wrapper {
  margin-bottom: 12px;
}

.footer-logo-wrapper a {
  display: block;
}

.footer-logo-wrapper img {
  max-width: 115px;
  height: auto;
  display: block;
}

/* Bio description text styling */
.footer-bio-wrapper p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 5px;
}

/* Row of social icons at the bottom */
.footer-social-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 15px;
}

/* Clean up individual social logo items */
.footer-social-wrapper .field {
  display: inline-block;
  margin: 0;
  padding: 0;
}

/* Base style for social icon image links */
.footer-social-wrapper img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  /* Inverts icon to clean solid white */
  cursor: pointer;
}

/* Social icon hover effects */
.footer-social-wrapper img:hover {
  transform: scale(1.15);
  filter: brightness(1) invert(0);
  opacity: 1;
  /* Restores original brand colors on hover */
}



/* ==========================================================================
   Column 2: Footer Navigation Links / Company Menu
   ========================================================================== */

/* Section title */
.menu--footer h3.footer-section-title {
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
  display: block;
}

/* Menu list style resets */
.menu--footer ul.footer-links-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Link list spacing */
.menu--footer .footer-menu__item {
  margin-bottom: 12px;
  list-style: none !important;
}

/* Interactive link transitions */
.menu--footer a {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
  padding-left: 16px;
}

.menu--footer a::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

/* Text links hover state */
.menu--footer a:hover {
  color: #ffffff !important;
  transform: translateX(6px);
  /* Micro-interaction slide right */
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.menu--footer a:hover::before {
  color: #ffffff;
}



/* ==========================================================================
   Column 3: Store Locations Address list
   ========================================================================== */

/* Header block style correction */
.block-content-footer_third .field--name-body>p:first-child {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
  display: block;
}

/* Hide default H2 if it duplicates the visual header */
#block-redfox-addressblock h2 {
  display: none !important;
}

/* Address List styling */
.block-content-footer_third ul {
  list-style: none;
  padding: 0 !important;
  margin: 0;
}

.block-content-footer_third li {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.88);
}

/* SVG Location Pin Prefix */
.block-content-footer_third li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 15px;
  height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10zm0-7a3 3 0 1 1 0-6 3 3 0 0 1 0 6z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  opacity: 0.9;
}

/* Remove border boxes, backgrounds, and shadows from footer blocks */
.site-footer .block,
.site-footer .footer-block,
.site-footer [class*="block-redfox-"],
.site-footer__top .card {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  margin: 0px;
  padding: 0px;

}

/* Contact Block styling and micro-icons */
.site-footer a[href^="mailto:"],
.site-footer a[href^="tel:"] {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  display: inline-block;
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-footer a[href^="mailto:"]:hover,
.site-footer a[href^="tel:"]:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* Mail/envelope prefix icon */
.site-footer a[href^="mailto:"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2zm13 2.383-4.758 2.855L15 11.114V5.383zm-.03 5.642L10.28 8.163 8 9.53l-2.28-1.367-4.69 2.862A1 1 0 0 0 2 12h12a1 1 0 0 0 .97-.975zM1 11.114l4.758-2.876L1 5.383v5.731z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  opacity: 0.9;
}

/* Phone prefix icon */
.site-footer a[href^="tel:"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  opacity: 0.9;
}

/* Unify body text sizing and colors in footer */
.site-footer p,
.site-footer div,
.site-footer li,
.site-footer span,
.site-footer__top .region p,
.site-footer__top .region li,
.site-footer__top .region div,
.footer-bio-wrapper p,
.block-content-footer_third li,
.site-footer a[href^="mailto:"],
.site-footer a[href^="tel:"] {
  font-size: 0.92rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
}