/* ==========================================================================
   RACHEL'S PALM BEACH - LUXURY MINIMALIST FOOTER SECTION
   Inspired by clean typographic reference (footer-example-rachels.png)
   Top Row: Rachel's Links (Left) + Condensed Square Slider (Right)
   Middle: Horizontal Venue & Connect Strip
   Bottom: Horizontal Copyright & House Policies Bar
   Anchored at the bottom of the panoramic building facade finale.
   ========================================================================== */

.website-footer-section {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 20;
  box-sizing: border-box;
  padding: clamp(18px, 2.5vh, 28px) clamp(16px, 3.5vw, 44px) clamp(12px, 1.8vh, 18px) clamp(16px, 3.5vw, 44px);
  background: linear-gradient(180deg, 
    rgba(6, 7, 9, 0) 0%, 
    rgba(6, 7, 9, 0.42) 20%, 
    rgba(6, 7, 9, 0.88) 52%, 
    #060709 100%
  );
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #FFFFFF;
}

/* Reveal smoothly when Crane facade finale mode is active */
.crane-tracking-stage.is-facade-mode .website-footer-section {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.footer-inner-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vh, 14px);
  box-sizing: border-box;
  width: 100%;
}

/* TOP SPLIT: SERVICES DIRECTORY (LEFT) & CONDENSED SQUARE SLIDER (RIGHT) */
.footer-main-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(16px, 2.5vw, 36px);
  width: 100%;
  box-sizing: border-box;
}

/* ==========================================================================
   LEFT SIDE: RACHEL'S PALM BEACH SERVICES DIRECTORY
   ========================================================================== */
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.footer-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E6002E;
  margin: 0 0 2px 0;
  user-select: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 7px rgba(0, 0, 0, 0.75);
}

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

.footer-link-item {
  margin: 0;
  padding: 0;
  line-height: 1.15;
}

.footer-text-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(11.5px, 1.05vw, 12.5px);
  line-height: 1.15;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  cursor: pointer;
  background: none;
  border: none;
  padding: 1px 0;
  margin: 0;
  text-align: left;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 7px rgba(0, 0, 0, 0.75);
}

.footer-text-link:hover {
  color: #FFFFFF;
  transform: translateX(2px);
}

/* ==========================================================================
   RIGHT SIDE: SOCIAL MEDIA SECTION (SLIDES IN FROM RIGHT)
   ========================================================================== */
.footer-social-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  box-sizing: border-box;
  opacity: 0;
  transform: translateX(90px);
  will-change: transform, opacity;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 8px 0;
}

.crane-tracking-stage.is-facade-mode .footer-social-col,
.footer-social-col.animate-in {
  opacity: 1;
  transform: translateX(-15px);
}

.footer-social-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  margin-bottom: clamp(12px, 1.5vh, 16px);
  text-align: center;
  user-select: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 2px 8px rgba(0, 0, 0, 0.8);
}

.footer-social-icons-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.4vw, 20px);
}

/* White square / squircle boxes */
.footer-social-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(56px, 4.4vw, 66px);
  height: clamp(56px, 4.4vw, 66px);
  border-radius: clamp(13px, 1.1vw, 16px);
  background: #FFFFFF;
  border: 2.5px solid rgba(255, 255, 255, 0.95);
  color: #0E1114;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65), inset 0 1px 2px #FFFFFF;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, color 0.2s ease;
  position: relative;
  flex-shrink: 0;
}

/* Playful alternating tilt angles matching the style */
.footer-social-badge.badge-fb {
  transform: rotate(-6deg);
  z-index: 1;
}

.footer-social-badge.badge-ig {
  transform: rotate(4.5deg);
  z-index: 2;
}

.footer-social-badge.badge-yt {
  transform: rotate(-5deg);
  z-index: 3;
}

.footer-social-badge.badge-tt {
  transform: rotate(7deg);
  z-index: 4;
}

/* Pop, scale, straighten, and glow on hover */
.footer-social-badge:hover {
  transform: translateY(-4px) scale(1.18) rotate(0deg) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.7), 0 0 14px rgba(255, 255, 255, 0.9);
  color: #E6002E;
  z-index: 10 !important;
}

.footer-social-badge svg {
  width: clamp(28px, 2.3vw, 34px);
  height: clamp(28px, 2.3vw, 34px);
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.footer-empty-spot {
  flex: 1;
  min-width: 0;
  pointer-events: none;
}

.footer-slider-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
}

.footer-slider-header-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.footer-slider-crest {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(230, 0, 46, 0.15);
  border: 1px solid rgba(230, 0, 46, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #E6002E;
  flex-shrink: 0;
}

.footer-slider-crest svg {
  width: 11px;
  height: 11px;
  display: block;
}

.footer-slider-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E6002E;
  margin: 0;
  user-select: none;
}

/* STACKED CONDENSED ITEMS */
.footer-slider-items-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5px;
  width: 100%;
  margin-bottom: 5px;
}

.footer-slide-item-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(13px, 1.25vw, 15.5px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: color 0.3s ease, font-weight 0.2s ease, opacity 0.3s ease;
  user-select: none;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  display: block;
  width: 100%;
}

.footer-slide-item-title:hover {
  color: rgba(255, 255, 255, 0.65);
}

.footer-slide-item-title.is-active {
  color: #FFFFFF;
  font-weight: 700;
  opacity: 1;
}

/* MINIMALIST PROGRESS PILL INDICATORS */
.footer-slider-progress-track {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
  user-select: none;
}

.footer-progress-dot {
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  padding: 0;
  border: none;
}

.footer-progress-dot:hover {
  background-color: rgba(255, 255, 255, 0.45);
}

.footer-progress-dot.is-active {
  width: 16px;
  background-color: #E6002E;
}

/* SHORT ONE-SENTENCE NARRATIVE */
.footer-slider-desc-wrap {
  min-height: 24px;
  width: 100%;
}

.footer-slider-description {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(11px, 1vw, 12px);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  letter-spacing: 0.01em;
  transition: opacity 0.25s ease;
}

/* ==========================================================================
   MIDDLE: HORIZONTAL VENUE & CONNECT STRIP (ORGANIZED LIKE BOTTOM BAR)
   ========================================================================== */
.footer-info-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 3px 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: clamp(6px, 1vh, 8px);
  width: 100%;
  box-sizing: border-box;
}

.footer-info-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(10.5px, 0.95vw, 11.5px);
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 7px rgba(0, 0, 0, 0.75);
}

.footer-info-label {
  color: #E6002E;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-info-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-info-link:hover {
  color: #FFFFFF;
}

.footer-info-text {
  color: rgba(255, 255, 255, 0.6);
}

.footer-info-sep {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 1px;
  user-select: none;
}

/* ==========================================================================
   BOTTOM BAR (COPYRIGHT, 21+, LEGAL POLICIES)
   ========================================================================== */
.footer-bottom-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: clamp(5px, 0.8vh, 7px);
  width: 100%;
  box-sizing: border-box;
  gap: 8px;
}

.footer-copyright-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 7px rgba(0, 0, 0, 0.75);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-legal-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 7px rgba(0, 0, 0, 0.75);
}

.footer-legal-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE OPTIMIZATION)
   Side-by-side links & slider to keep vertical height minimal and open
   ========================================================================== */
@media (max-width: 768px) {
  .website-footer-section {
    padding: clamp(10px, 1.4vh, 14px) 12px 8px 12px;
    background: linear-gradient(180deg, 
      rgba(6, 7, 9, 0) 0%, 
      rgba(6, 7, 9, 0.45) 18%, 
      rgba(6, 7, 9, 0.88) 48%, 
      #060709 100%
    );
  }

  .footer-inner-container {
    gap: 6px;
  }

  .footer-main-row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
  }

  .footer-nav-col {
    flex: 1;
    min-width: 0;
    gap: 1.5px;
  }

  .footer-col-title {
    font-size: 8.5px;
    margin-bottom: 1px;
  }

  .footer-link-list {
    gap: 1px;
  }

  .footer-text-link {
    font-size: 10px;
    line-height: 1.15;
    padding: 0.5px 0;
  }

  .footer-slider-column {
    flex: 1;
    min-width: 0;
  }

  .footer-slider-header-row {
    margin-bottom: 3px;
    gap: 4px;
  }

  .footer-slider-crest {
    width: 15px;
    height: 15px;
  }

  .footer-slider-crest svg {
    width: 9px;
    height: 9px;
  }

  .footer-slider-label {
    font-size: 8.5px;
  }

  .footer-slider-items-stack {
    gap: 2px;
    margin-bottom: 3px;
  }

  .footer-slide-item-title {
    font-size: 12px;
    line-height: 1.2;
  }

  .footer-slide-item-title.is-active {
    font-size: 13px;
  }

  .footer-slider-progress-track {
    margin-bottom: 3px;
    gap: 3.5px;
  }

  .footer-progress-dot {
    width: 5px;
    height: 5px;
  }

  .footer-progress-dot.is-active {
    width: 14px;
  }

  .footer-slider-desc-wrap {
    min-height: 24px;
  }

  .footer-slider-description {
    font-size: 9.5px;
    line-height: 1.3;
  }

  .footer-info-bar {
    gap: 2px 5px;
    padding-top: 5px;
    padding-bottom: 2px;
  }

  .footer-info-item {
    font-size: 9.5px;
    gap: 2.5px;
  }

  .footer-info-label {
    font-size: 8.5px;
  }

  .footer-info-sep {
    font-size: 8px;
    margin: 0;
  }

  .footer-bottom-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding-top: 4px;
  }

  .footer-copyright-text,
  .footer-legal-link {
    font-size: 8.5px;
  }

  .footer-social-col {
    padding: 2px 0;
    align-self: center;
    transform: translateX(60px);
  }

  .footer-social-title {
    font-size: clamp(15px, 4.2vw, 18px);
    margin-bottom: 8px;
  }

  .footer-social-icons-group {
    gap: clamp(7px, 2vw, 10px);
  }

  .footer-social-badge {
    width: clamp(40px, 10.5vw, 46px);
    height: clamp(40px, 10.5vw, 46px);
    border-radius: 10px;
    border-width: 2px;
  }

  .footer-social-badge svg {
    width: clamp(20px, 5.2vw, 24px);
    height: clamp(20px, 5.2vw, 24px);
  }
}
