/* ==========================================================================
   SWARAJ MHE INDIA — PREMIUM STICKY INDUSTRIAL FOOTER
   Matches user specification & shared reference mockup:
   - Scissor lift machine on left with floor reflection & amber glow
   - Dark elevated central panel with 4 distinct columns & vertical divider lines
   - Gold circular badges (Compass, Forklift, Mail)
   - Gold accent bars under column headings
   - Contact rows with gold SVG icons
   - Sticky curtain-reveal mechanism (reveals as content scrolls away)
   ========================================================================== */

/* Enable Sticky Curtain Reveal Footer on home page */
.home-footer {
  position: relative;
  background-color: #08090a;
  background-image: 
    linear-gradient(180deg, rgba(8, 9, 10, 0.45) 0%, rgba(8, 9, 10, 0.75) 100%),
    url('../images/footer-warehouse-backdrop.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 42px 0 20px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Desktop & Global Footer Styling */
@media (min-width: 901px) {
  body.home-page .home-footer,
  body.inner-page .home-footer {
    position: relative !important;
    z-index: 10 !important;
    width: 100%;
    min-height: auto !important;
    display: block !important;
    box-sizing: border-box;
    padding: 42px 0 18px;
  }
}

/* Scissor lift underglow atmosphere */
.home-footer::before {
  content: '';
  position: absolute;
  left: 3%;
  bottom: 0;
  width: 320px;
  height: 180px;
  background: radial-gradient(ellipse at center bottom, rgba(255, 198, 41, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Right-side warehouse accent reflection */
.home-footer::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 250px;
  background: linear-gradient(90deg, transparent 0%, rgba(8, 9, 10, 0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Elevated Floating Center Card Panel */
.footer-card-panel {
  position: relative;
  z-index: 3;
  max-width: 1220px;
  margin: 0 auto 24px;
  background: rgba(12, 14, 16, 0.94);
  border: 1px solid rgba(255, 198, 41, 0.16);
  border-radius: 14px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.75),
    0 0 28px rgba(255, 198, 41, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.05fr 1.3fr;
  padding: 38px 36px 34px;
  gap: 0;
}

/* Column Dividers */
.footer-col {
  padding: 0 28px;
  display: flex;
  flex-direction: column;
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  padding-right: 0;
}

.footer-col:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   COLUMN 1: BRAND
   ========================================================================== */
.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-logo-link {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-brand-img {
  max-width: 215px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: opacity 200ms ease;
}

.footer-brand-img:hover {
  opacity: 0.95;
}

.footer-brand-divider {
  width: 32px;
  height: 2px;
  background: #ffc629;
  border-radius: 1px;
  margin: 14px 0 16px;
}

.footer-tagline {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #9aa1a9;
  margin: 0 0 24px;
  max-width: 260px;
}

/* Social Media Pill Badges */
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #c4c8ce;
  text-decoration: none;
  transition: all 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: fill 200ms ease;
}

.footer-social-btn:hover {
  background: rgba(255, 198, 41, 0.12);
  border-color: #ffc629;
  color: #ffc629;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 198, 41, 0.25);
}

/* ==========================================================================
   COLUMNS 2 & 3: EXPLORE & EQUIPMENT
   ========================================================================== */
.footer-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 198, 41, 0.08);
  border: 1px solid rgba(255, 198, 41, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #ffc629;
}

.footer-badge-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-col-title {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0;
}

.footer-title-bar {
  width: 26px;
  height: 2.5px;
  background: #ffc629;
  border-radius: 1px;
  margin: 8px 0 18px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 13.5px;
  color: #9aa1a9;
  text-decoration: none;
  transition: color 200ms ease, transform 200ms ease;
  display: inline-block;
  width: fit-content;
}

.footer-nav-list a:hover {
  color: #ffc629;
  transform: translateX(4px);
}

/* ==========================================================================
   COLUMN 4: GET IN TOUCH
   ========================================================================== */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  color: #9aa1a9;
}

.footer-contact-item svg {
  width: 17px;
  height: 17px;
  fill: #ffc629;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: #9aa1a9;
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-contact-item a:hover {
  color: #ffc629;
}

.footer-address {
  color: #9aa1a9;
  font-style: normal;
}

/* ==========================================================================
   BOTTOM BAR (COPYRIGHT & BACK TO TOP)
   ========================================================================== */
.footer-bottom-bar {
  width: calc(100% - 64px);
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px 0 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  box-sizing: border-box;
}

.footer-copyright-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 13px;
  color: #8b929c;
  text-align: center;
}

.footer-credit-link {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  text-decoration: none;
  transition: transform 200ms ease, opacity 200ms ease;
  line-height: 1;
}

.footer-credit-link:hover {
  transform: translateY(-1px) scale(1.03);
  opacity: 0.95;
}

.footer-credit-logo {
  height: 24px;
  width: auto;
  display: block;
  border-radius: 4px;
  object-fit: contain;
}

.footer-back-top {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #8b929c;
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 12px;
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-back-top:hover {
  color: #ffc629;
}

/* ==========================================================================
   RESPONSIVE ADAPTATIONS
   ========================================================================== */
@media (max-width: 1100px) {
  .footer-card-panel {
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    padding: 34px 24px;
  }
  .footer-col {
    padding: 0 18px;
  }
}

@media (max-width: 900px) {
  .home-footer {
    position: relative !important;
    padding: 50px 0 25px;
  }

  .footer-card-panel {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding: 32px 24px;
    margin: 0 16px 25px;
  }

  .footer-col {
    padding: 0 !important;
    border-right: none !important;
  }

  .footer-bottom-bar {
    margin: 0 16px;
    width: calc(100% - 32px);
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-bottom: 12px;
  }

  .footer-back-top {
    position: static;
    transform: none;
    margin-top: 4px;
  }
}

@media (max-width: 600px) {
  .footer-card-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 18px;
  }
}
