/* ============================================================
   THE CRIMSON BORIVALI — FOOTER SECTION
   ============================================================ */

.footer-section {
  background-color: #4A0707; /* Maroon background */
  color: #F2E3D3; /* Cream/gold text */
  padding: 30px 0 0; /* 0 bottom padding so copyright element touches the page bottom */
  width: 100%;
  border-top: 1.5px solid rgba(196, 158, 80, 0.2);
  position: relative;
  overflow: hidden;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  width: 100%;
}

.footer__right {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  max-width: 820px;
}

/* ── Left Column: Logo & Socials ── */
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center logo and socials relative to each other */
  gap: 16px; /* Reduced gap to bring socials closer to logo */
  width: 100%;
  max-width: 360px;
}

.footer__logo-img {
  max-height: 145px; /* Clean scale */
  width: auto;
  display: block;
  margin-top: -20px; /* Lift logo higher */
}

.footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px; /* Wide, clean gap matching the screenshot */
  margin-left: 0;
  margin-top: -12px; /* Lift socials up closer to the logo */
}

.footer__social-link {
  color: rgba(242, 227, 211, 0.7);
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer__social-link:hover {
  color: var(--color-gold);
  transform: translateY(-3px);
}

/* ── Right Column: RERA & Info Grid ── */
.footer__info-grid {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

/* MahaRERA Box */
.footer__rera-box {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 340px; /* Constrained to 340px to allow contact details to stay next to it */
  width: 100%;
}

.footer__rera-qr {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.footer__rera-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.footer__rera-label {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 1.125rem; /* Reduced by 5px (~18px total) */
  font-weight: 300; /* Light elegant weight */
  color: #E0C99E; /* Brand champagne gold */
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.footer__rera-number {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 1.2rem; /* Reverted to original size */
  font-weight: 700; /* Extra bold */
  color: #E0C99E; /* Brand champagne gold */
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin: 1px 0;
}

.footer__rera-website {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.58rem; /* Very small text for disclaimer */
  font-weight: 300; /* Light weight */
  color: rgba(242, 227, 211, 0.55); /* Translucent cream */
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* Contact & Address block */
.footer__contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
}

.footer__contact-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  color: rgba(242, 227, 211, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
}

.footer__contact-item:hover {
  color: #ffffff;
}

.footer__contact-item svg {
  width: 14px;
  height: 14px;
  fill: var(--color-gold);
}

.footer__address {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(242, 227, 211, 0.8);
  margin: 0;
}

/* Divider rule */
.footer__divider {
  width: 100%;
  height: 1px;
  background-color: rgba(242, 227, 211, 0.15);
  margin: 10px 0;
}

.footer__disclaimer {
  font-size: 0.62rem;
  line-height: 1.7;
  color: rgba(242, 227, 211, 0.45);
  text-align: left;
  margin: 0;
  max-width: 100%;
}

/* IM BUILDCON Stamp badge */
.footer__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(196, 158, 80, 0.25);
  transition: all 0.3s ease;
}

.footer__badge svg {
  width: 18px;
  height: 18px;
  fill: var(--color-gold);
}

.footer__badge:hover {
  border-color: #ffffff;
  background-color: rgba(0, 0, 0, 0.45);
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */

@media (max-width: 992px) {
  .footer-section {
    padding: 30px 0 15px;
  }

  .footer__container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .footer__brand {
    align-items: center;
  }

  .footer__socials {
    margin-left: 0;
  }

  .footer__right {
    align-items: center;
    width: 100%;
  }

  .footer__info-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer__contact-row {
    justify-content: center;
  }

  .footer__disclaimer {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer__contact-row {
    flex-direction: column;
    gap: 8px;
  }
}

/* Copyright line */
.footer__copyright {
  width: 100%;
  max-width: 1200px;
  margin: 25px auto 0; /* Reduced margin to bring divider line up further */
  padding: 25px 24px 18px; /* 18px (1 finger width) space from the absolute bottom of the page */
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 550;
  color: rgba(242, 227, 211, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1.5px solid rgba(242, 227, 211, 0.08);
}

.footer__copyright-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer__copyright-link:hover {
  color: rgba(242, 227, 211, 0.85); /* Premium highlight on hover */
}
