﻿/* ==========================================================================
   VisionCourt — Luxury Real Estate Footer
   ========================================================================== */

:root {
  /* Palette — Blue Luxury */
  --vcf-ink: #050b18; /* near-black blue */
  --vcf-deep: #090f1e; /* main footer bg */
  --vcf-surface: #0e1629; /* slightly lifted surface */
  --vcf-gold: #3b82f6; /* primary blue accent */
  --vcf-gold-light: #60a5fa; /* lighter blue for hover */
  --vcf-border: rgba(59, 130, 246, 0.15);
  --vcf-text: #b8c8e8; /* cool blue-tinted body text */
  --vcf-muted: #4a5f80; /* subdued text */
  --vcf-heading: #e8f0fc; /* column headings */
  --vcf-white: #f0f6ff;
  --vcf-green: #25d366; /* WhatsApp */
  --vcf-transition: 0.22s ease;
  --vcf-radius: 10px;
}

/* ==========================================================================
   Pre-footer CTA Strip
   ========================================================================== */
.vc-prefooter {
  background: linear-gradient(100deg, #060e22 0%, #090f1e 55%, #0b1530 100%);
  border-top: 1px solid var(--vcf-border);
  border-bottom: 1px solid rgba(59, 130, 246, 0.25);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}
/* subtle radial glow */
.vc-prefooter::before {
  content: "";
  position: absolute;
  top: -80px;
  right: 10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.14) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.vc-prefooter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.vc-prefooter__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vcf-gold);
  margin-bottom: 10px;
}
.vc-prefooter__headline {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--vcf-white);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.vc-prefooter__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}

/* Buttons */
.vc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--vcf-gold);
  color: var(--vcf-ink);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 6px;
  text-decoration: none;
  transition:
    background var(--vcf-transition),
    transform var(--vcf-transition),
    box-shadow var(--vcf-transition);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}
.vc-btn-primary:hover {
  background: var(--vcf-gold-light);
  color: var(--vcf-ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.5);
  text-decoration: none;
}
.vc-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--vcf-text);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  text-decoration: none;
  transition:
    border-color var(--vcf-transition),
    color var(--vcf-transition),
    background var(--vcf-transition);
}
.vc-btn-ghost:hover {
  border-color: var(--vcf-green);
  color: var(--vcf-green);
  background: rgba(37, 211, 102, 0.07);
  text-decoration: none;
}
.vc-btn-ghost .houzez-icon {
  font-size: 1.05rem;
}

/* ==========================================================================
   Footer shell
   ========================================================================== */
.vc-footer {
  background: var(--vcf-deep);
  color: var(--vcf-text);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ==========================================================================
   Contact Bar
   ========================================================================== */
.vc-footer__contact-bar {
  background: var(--vcf-surface);
  border-bottom: 1px solid var(--vcf-border);
}
.vc-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.vc-footer__contact-list li {
  flex: 1;
  min-width: 200px;
  border-right: 1px solid var(--vcf-border);
}
.vc-footer__contact-list li:last-child {
  border-right: none;
}
.vc-footer__contact-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  text-decoration: none;
  color: var(--vcf-text);
  transition:
    background var(--vcf-transition),
    color var(--vcf-transition);
}
.vc-footer__contact-list a:hover {
  background: rgba(59, 130, 246, 0.07);
  color: var(--vcf-gold-light);
  text-decoration: none;
}
.vc-footer__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  color: var(--vcf-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background var(--vcf-transition);
}
.vc-footer__contact-icon--wa {
  background: rgba(37, 211, 102, 0.1);
  color: var(--vcf-green);
}
.vc-footer__contact-list a:hover .vc-footer__contact-icon {
  background: rgba(59, 130, 246, 0.2);
}
.vc-footer__contact-list a:hover .vc-footer__contact-icon--wa {
  background: rgba(37, 211, 102, 0.2);
}
.vc-footer__contact-detail {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.vc-footer__contact-detail small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vcf-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

/* ==========================================================================
   Footer Body
   ========================================================================== */
.vc-footer__body {
  padding: 64px 0 56px;
}

/* Decorative rule with house icon */
.vc-footer__rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 52px;
}
.vc-footer__rule span {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(59, 130, 246, 0.2),
    transparent
  );
}
.vc-footer__rule-icon {
  width: 28px;
  height: 28px;
  color: var(--vcf-gold);
  opacity: 0.7;
  flex-shrink: 0;
}

/* Grid: brand 2.2fr + 4 × 1fr */
.vc-footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
  gap: 40px 36px;
  align-items: start;
}

/* ==========================================================================
   Brand Column
   ========================================================================== */
.vc-footer__logo {
  display: inline-block;
  margin-bottom: 18px;
}
.vc-footer__logo img {
  display: block;
  max-height: 100px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.88;
  transition: opacity var(--vcf-transition);
}
.vc-footer__logo:hover img {
  opacity: 1;
}
.vc-footer__site-name {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--vcf-white);
  text-decoration: none;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.vc-footer__tagline {
  font-size: 0.85rem;
  color: var(--vcf-muted);
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 280px;
}

/* Social icons */
.vc-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.vc-footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--vcf-muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    border-color var(--vcf-transition),
    background var(--vcf-transition),
    color var(--vcf-transition);
}
.vc-footer__social-btn:hover {
  border-color: var(--vcf-gold);
  background: rgba(59, 130, 246, 0.14);
  color: var(--vcf-gold);
  text-decoration: none;
}

/* Trust badge */
.vc-footer__trust {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vcf-gold);
  opacity: 0.75;
}
.vc-footer__trust svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   Menu Columns
   ========================================================================== */
.vc-footer__heading {
  display: flex;
  align-items: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vcf-gold);
  margin: 0 0 20px;
}
.vc-footer__heading span {
  position: relative;
  padding-bottom: 10px;
}
.vc-footer__heading span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--vcf-gold), var(--vcf-gold-light));
  border-radius: 2px;
}

.vc-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vc-footer__menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.vc-footer__menu li:last-child {
  border-bottom: none;
}
.vc-footer__menu a {
  display: flex;
  align-items: center;
  padding: 7px 0;
  color: var(--vcf-text);
  text-decoration: none;
  font-size: 0.855rem;
  transition:
    color var(--vcf-transition),
    padding-left var(--vcf-transition);
}
.vc-footer__menu a::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--vcf-gold);
  transition:
    width var(--vcf-transition),
    margin-right var(--vcf-transition);
  flex-shrink: 0;
}
.vc-footer__menu a:hover {
  color: var(--vcf-gold-light);
  padding-left: 4px;
  text-decoration: none;
}
.vc-footer__menu a:hover::before {
  width: 10px;
  margin-right: 8px;
  background: linear-gradient(90deg, var(--vcf-gold), var(--vcf-gold-light));
}

/* ==========================================================================
   Bottom Bar
   ========================================================================== */
.vc-footer__bottom {
  border-top: 1px solid var(--vcf-border);
  padding: 18px 0;
  background: var(--vcf-ink);
}
.vc-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.vc-footer__copyright {
  font-size: 0.78rem;
  color: var(--vcf-muted);
  margin: 0;
}
.vc-footer__credit {
  font-size: 0.78rem;
  color: var(--vcf-muted);
  opacity: 0.7;
  margin: 0;
  flex-shrink: 0;
}
.vc-footer__credit a {
  color: var(--vcf-gold-light);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--vcf-transition);
}
.vc-footer__credit a:hover {
  color: var(--vcf-white);
  text-decoration: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
/* ------------------------------------------------------------------
   1200px — collapse last menu col under brand
------------------------------------------------------------------ */
@media (max-width: 1200px) {
  .vc-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px 24px;
  }
  .vc-footer__col:last-child {
    grid-column: auto;
  }
}

/* ------------------------------------------------------------------
   960px — brand full-width, 3 cols
------------------------------------------------------------------ */
@media (max-width: 960px) {
  .vc-prefooter__headline {
    font-size: 1.4rem;
  }

  .vc-footer__body {
    padding: 48px 0 40px;
  }

  .vc-footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px 20px;
  }
  .vc-footer__brand {
    grid-column: 1 / -1;
    display: block;
  }
  .vc-footer__tagline {
    max-width: 560px;
  }
  .vc-footer__logo img {
    max-height: 80px;
  }
}

/* ------------------------------------------------------------------
   700px — 2-col menu, stack contact bar
------------------------------------------------------------------ */
@media (max-width: 700px) {
  .vc-prefooter {
    padding: 36px 0;
  }
  .vc-prefooter__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .vc-prefooter__headline {
    font-size: 1.3rem;
  }
  .vc-prefooter__actions {
    width: 100%;
  }
  .vc-btn-primary,
  .vc-btn-ghost {
    flex: 1;
    justify-content: center;
  }

  .vc-footer__contact-bar {
    display: none;
  } /* hide on small — shown via contact section */

  .vc-footer__rule {
    display: none;
  }

  .vc-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
  .vc-footer__brand {
    grid-column: 1 / -1;
  }
  .vc-footer__logo img {
    max-height: 70px;
  }
  .vc-footer__tagline {
    max-width: none;
  }

  .vc-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .vc-footer__copyright {
    flex-direction: column;
    gap: 4px;
  }
}

/* ------------------------------------------------------------------
   480px — single column, centred
------------------------------------------------------------------ */
@media (max-width: 480px) {
  /* brand full width, menu columns stay 2-up */
  .vc-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .vc-footer__brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .vc-footer__tagline {
    text-align: center;
  }

  .vc-footer__socials {
    justify-content: center;
  }

  .vc-footer__heading {
    justify-content: center;
  }
  .vc-footer__heading span {
    text-align: center;
  }
  .vc-footer__heading span::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .vc-footer__menu a {
    justify-content: center;
  }
  .vc-footer__menu a::before {
    display: none;
  }
  .vc-footer__menu a:hover {
    padding-left: 0;
  }

  .vc-footer__body {
    padding: 36px 0 32px;
  }

  .vc-footer__logo img {
    max-height: 115px;
  }

  .vc-prefooter__headline {
    font-size: 1.15rem;
  }

  .vc-footer__bottom-inner {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .vc-footer__copyright,
  .vc-footer__credit {
    font-size: 0.75rem;
    text-align: center;
  }
}
