/* ==========================================================================
   Block Stylesheet Source: src/components/Footer.css
   ========================================================================== */
/* Scoped styles for Footer component (Premium Dark Luxury Reference Design) */
.sld-footer {
  --ft-primary: #01183C;
  --ft-secondary: #001E3D;
  --ft-deep: #001129;
  --ft-gold: #C9A45C;
  --ft-gold-bright: #E4C582;
  --ft-white: #FFFFFF;
  --ft-ivory: #E4E9F2;
  --ft-border-gold: rgba(201, 164, 92, 0.38);
  --ft-font-serif: 'Cinzel', Georgia, serif;
  --ft-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ft-ease: cubic-bezier(0.16, 1, 0.3, 1);

  position: relative;
  width: 100%;
  background:
    radial-gradient(circle at 18% 22%, rgba(0, 38, 82, 0.45) 0%, transparent 52%),
    linear-gradient(180deg, var(--ft-primary) 0%, var(--ft-secondary) 58%, var(--ft-deep) 100%);
  border-top: 1px solid var(--ft-border-gold);
  font-family: var(--ft-font-sans);
  color: var(--ft-white);
  overflow: hidden;
}

/* ==========================================================================
   Architectural Background Effects (Lower-Left Skyline & Lower-Right Building)
   ========================================================================== */
.sld-footer__bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Subtle Gold Line-Art City Skyline Along Lower-Left Edge */
.sld-footer__skyline-left {
  position: absolute;
  left: -10px;
  bottom: 54px;
  width: clamp(360px, 44vw, 640px);
  height: auto;
  color: var(--ft-gold);
  opacity: 0.14;
}

/* Darkened Luxury Residential Building Illustration Toward Lower-Right Edge */
.sld-footer__building-right {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(320px, 38vw, 560px);
  height: 340px;
  background-image:
    linear-gradient(
      90deg,
      var(--ft-primary) 0%,
      rgba(1, 24, 60, 0.72) 38%,
      rgba(0, 17, 41, 0.58) 100%
    ),
    linear-gradient(
      180deg,
      var(--ft-primary) 0%,
      rgba(1, 24, 60, 0.55) 45%,
      var(--ft-deep) 100%
    ),
    url('../project-royale.jpg');
  background-size: cover;
  background-position: center bottom;
  opacity: 0.22;
  mix-blend-mode: luminosity;
  filter: contrast(1.1) brightness(0.85);
}

/* Main Footer Container */
.sld-footer__container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(4.25rem, 6.5vw, 5.75rem) 2.5rem 0;
}

/* Four-Column Layout on Desktop */
.sld-footer__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.28fr)
    minmax(0, 0.78fr)
    minmax(0, 0.98fr)
    minmax(0, 1.15fr);
  gap: clamp(1.85rem, 3.2vw, 3.25rem);
  align-items: start;
  padding-bottom: clamp(3.25rem, 5vw, 4.5rem);
}

.sld-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}

/* ==========================================================================
   Column 1 – Large White Logo, Short Gold Line, About Text & Social Icons
   ========================================================================== */
.sld-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--ft-white);
  margin-bottom: 1.15rem;
  transition: opacity 200ms var(--ft-ease);
}

.sld-footer__brand:hover {
  opacity: 0.92;
}

.sld-footer__brand:focus-visible {
  outline: 2px solid var(--ft-gold);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Prominent Pure-White Version of the Sree Laxmi Developers Logo Emblem */
.sld-footer__logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.sld-footer__brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  font-family: var(--ft-font-serif);
}

.sld-footer__brand-primary {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.14;
  color: var(--ft-white);
  white-space: nowrap;
}

.sld-footer__brand-secondary {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.2;
  color: var(--ft-ivory);
  margin-top: 0.16rem;
  white-space: nowrap;
}

/* Short Gold Decorative Line Beneath Logo */
.sld-footer__logo-rule {
  width: 68px;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    var(--ft-gold) 0%,
    rgba(201, 164, 92, 0.2) 100%
  );
  margin-bottom: 1.35rem;
}

.sld-footer__description {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 400px;
  margin-bottom: 1.75rem;
}

.sld-footer__desc-line {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.68;
  color: var(--ft-ivory);
}

/* Four Circular Gold-Outline Social Media Icons */
.sld-footer__social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.sld-footer__social-item {
  margin: 0;
  padding: 0;
}

.sld-footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(1, 20, 48, 0.65);
  border: 1px solid rgba(201, 164, 92, 0.62);
  color: var(--ft-gold);
  text-decoration: none;
  transition:
    background-color 240ms var(--ft-ease),
    border-color 240ms var(--ft-ease),
    color 240ms var(--ft-ease),
    transform 240ms var(--ft-ease),
    box-shadow 240ms var(--ft-ease);
}

.sld-footer__social-link:hover {
  background-color: rgba(201, 164, 92, 0.14);
  border-color: var(--ft-gold-bright);
  color: var(--ft-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 8, 22, 0.45);
}

.sld-footer__social-link:focus-visible {
  outline: 2px solid var(--ft-gold-bright);
  outline-offset: 3px;
}

.sld-footer__social-icon {
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   Column 2, Column 3 & Column 4 Shared Gold Serif Headings
   ========================================================================== */
.sld-footer__heading {
  position: relative;
  margin: 0 0 1.65rem 0;
  padding-bottom: 0.7rem;
  font-family: var(--ft-font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ft-gold);
}

.sld-footer__heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    var(--ft-gold) 0%,
    rgba(201, 164, 92, 0.25) 100%
  );
}

/* ==========================================================================
   Column 2 (Explore) & Column 3 (Projects) Navigation Lists
   ========================================================================== */
.sld-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.sld-footer__nav-item {
  margin: 0;
  padding: 0;
}

.sld-footer__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ft-white);
  text-decoration: none;
  transition:
    color 220ms var(--ft-ease),
    transform 220ms var(--ft-ease);
}

.sld-footer__nav-chevron {
  width: 15px;
  height: 15px;
  color: var(--ft-gold);
  flex-shrink: 0;
  transition:
    transform 220ms var(--ft-ease),
    color 220ms var(--ft-ease);
}

.sld-footer__nav-link:hover {
  color: var(--ft-gold-bright);
  transform: translateX(3px);
}

.sld-footer__nav-link:hover .sld-footer__nav-chevron {
  color: var(--ft-gold-bright);
  transform: translateX(2px);
}

.sld-footer__nav-link:focus-visible {
  outline: 2px solid var(--ft-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================================
   Column 4 – Contact Us (Three Rows with Circular Gold-Outline Icons)
   ========================================================================== */
.sld-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  width: 100%;
}

.sld-footer__contact-item {
  margin: 0;
  padding: 0;
}

.sld-footer__contact-row-link,
.sld-footer__contact-row-static {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.sld-footer__contact-row-link:focus-visible {
  outline: 2px solid var(--ft-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.sld-footer__contact-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(1, 20, 48, 0.72);
  border: 1px solid rgba(201, 164, 92, 0.62);
  color: var(--ft-gold);
  transition:
    background-color 240ms var(--ft-ease),
    border-color 240ms var(--ft-ease),
    color 240ms var(--ft-ease),
    transform 240ms var(--ft-ease);
}

.sld-footer__contact-row-link:hover .sld-footer__contact-icon-wrap {
  background-color: rgba(201, 164, 92, 0.14);
  border-color: var(--ft-gold-bright);
  color: var(--ft-gold-bright);
  transform: scale(1.04);
}

.sld-footer__contact-icon {
  width: 18px;
  height: 18px;
}

.sld-footer__contact-body {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}

.sld-footer__contact-label {
  font-size: 0.725rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ft-gold);
}

.sld-footer__contact-value {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ft-white);
  transition: color 220ms var(--ft-ease);
}

.sld-footer__contact-email {
  white-space: nowrap;
}

.sld-footer__contact-row-link:hover .sld-footer__contact-value {
  color: var(--ft-gold-bright);
}

/* ==========================================================================
   Main Horizontal Divider & Bottom Copyright / RERA Section
   ========================================================================== */
.sld-footer__divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(201, 164, 92, 0.18) 0%,
    rgba(201, 164, 92, 0.48) 50%,
    rgba(201, 164, 92, 0.18) 100%
  );
}

.sld-footer__bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 0 1.05rem;
}

.sld-footer__copyright {
  margin: 0;
  font-family: var(--ft-font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.025em;
  color: var(--ft-ivory);
  text-align: center;
}

/* ==========================================================================
   One-Line RERA Disclaimer Strip at Bottom of Footer
   ========================================================================== */
.sld-footer__rera-bar {
  width: 100%;
  padding: 0.95rem 0 1.45rem;
  border-top: 1px solid rgba(201, 164, 92, 0.18);
  text-align: center;
}

.sld-footer__rera-text {
  margin: 0 auto;
  font-family: var(--ft-font-sans);
  font-size: 0.775rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.015em;
  color: rgba(228, 233, 242, 0.78);
  text-align: center;
}

@media (min-width: 1180px) {
  .sld-footer__rera-text {
    white-space: nowrap;
  }
}

/* ==========================================================================
   Tablet Responsive Layout (Balanced Two-Column Grid)
   ========================================================================== */
@media (max-width: 1080px) {
  .sld-footer__container {
    padding: 3.75rem 1.75rem 0;
  }

  .sld-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .sld-footer__description {
    max-width: 440px;
  }
}

/* ==========================================================================
   Mobile Responsive Layout (Stack All Four Columns Vertically)
   ========================================================================== */
@media (max-width: 640px) {
  .sld-footer__container {
    padding: 3.25rem 1.25rem 0;
  }

  .sld-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.35rem;
    padding-bottom: 2.65rem;
  }

  .sld-footer__logo-img {
    height: 52px;
  }

  .sld-footer__brand-primary {
    font-size: 1.22rem;
  }

  .sld-footer__brand-secondary {
    font-size: 0.72rem;
  }

  .sld-footer__heading {
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
  }

  .sld-footer__contact-email {
    white-space: nowrap;
    font-size: clamp(0.82rem, 3.9vw, 0.95rem);
  }

  .sld-footer__skyline-left {
    width: 300px;
    opacity: 0.1;
  }

  .sld-footer__building-right {
    width: 240px;
    height: 220px;
    opacity: 0.14;
  }

  .sld-footer__bottom {
    padding: 1.25rem 0 0.95rem;
  }

  .sld-footer__copyright {
    font-size: 0.825rem;
  }

  .sld-footer__rera-bar {
    padding: 0.85rem 0 1.35rem;
  }

  .sld-footer__rera-text {
    font-size: 0.74rem;
    line-height: 1.6;
  }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .sld-footer__brand,
  .sld-footer__social-link,
  .sld-footer__nav-link,
  .sld-footer__nav-chevron,
  .sld-footer__contact-icon-wrap,
  .sld-footer__contact-value {
    transition: none !important;
    transform: none !important;
  }
}
