/* ============================================
   FOOTER.CSS - NDIStress Footer
   Gradient purple bg, centered logo with glow,
   glassmorphic CTA pill, 4-column nav with
   accent lines, enhanced bottom bar
   ============================================ */

/* ----------------------------------------
   Footer Container
   ---------------------------------------- */
.site-footer {
  background: linear-gradient(135deg, #5B2D8E 0%, #3a1d5e 50%, #2D1B4E 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 0;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

/* Subtle texture overlay for depth */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(232, 135, 61, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 100%, rgba(91, 45, 142, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* ----------------------------------------
   Footer Top Section
   ---------------------------------------- */
.footer__top {
  padding: 70px 0 50px;
  position: relative;
  z-index: 1;
}

/* ----------------------------------------
   Brand Row - Centered logo with glow
   ---------------------------------------- */
.footer__brand-row {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.footer__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer__logo img {
  width: 80px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.15));
}

/* Glow effect underneath logo */
.footer__logo::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: radial-gradient(ellipse, rgba(232, 135, 61, 0.35) 0%, rgba(91, 45, 142, 0.15) 50%, transparent 80%);
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}

/* ----------------------------------------
   CTA Row - Glassmorphic pill container
   Email + vertical divider + Book button
   ---------------------------------------- */
.footer__cta-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 50px;
  /* Glassmorphic pill */
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 14px 36px;
  /* Center the pill */
  display: flex;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  transition: background var(--ease), border-color var(--ease);
}

.footer__cta-row:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Phone / email link */
.footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.2px;
  transition: opacity var(--ease-fast), transform var(--ease-fast);
}

.footer__phone:hover {
  opacity: 0.85;
  color: var(--color-white);
  transform: translateY(-1px);
}

.footer__phone .icon-circle {
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color var(--ease-fast);
}

.footer__phone:hover .icon-circle {
  background-color: rgba(255, 255, 255, 0.25);
}

.footer__phone .icon-circle svg {
  fill: var(--color-white);
}

/* Vertical divider line */
.footer__divider-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 30%,
    rgba(255, 255, 255, 0.25) 70%,
    transparent 100%
  );
  flex-shrink: 0;
}

/* ----------------------------------------
   4-Column Navigation Grid
   ---------------------------------------- */
.footer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.footer__nav-col {
  display: flex;
  flex-direction: column;
}

/* Column title with accent underline */
.footer__nav-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 22px;
  padding-bottom: 14px;
  position: relative;
}

/* Orange accent line under title */
.footer__nav-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Links with hover slide-right effect */
.footer__nav-list a {
  font-size: var(--body-size);
  color: var(--color-white);
  opacity: 0.55;
  transition: opacity var(--ease-fast), padding-left var(--ease-fast), color var(--ease-fast);
  padding-left: 0;
  position: relative;
}

.footer__nav-list a:hover {
  opacity: 1;
  padding-left: 8px;
  color: var(--color-primary-light);
}

/* Small arrow hint on hover */
.footer__nav-list a::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 4px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 50%;
  transition: transform var(--ease-fast);
}

.footer__nav-list a:hover::before {
  transform: translateY(-50%) scaleX(1);
}

/* ----------------------------------------
   Footer Bottom Bar
   Gradient separator, larger social icons
   ---------------------------------------- */
.footer__bottom {
  border-top: none;
  padding: 0;
  position: relative;
  z-index: 1;
}

/* Gradient line separator instead of plain border */
.footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(232, 135, 61, 0.3) 20%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(232, 135, 61, 0.3) 80%,
    transparent 100%
  );
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

/* Copyright - more subtle */
.footer__copyright {
  font-size: 12px;
  color: var(--color-white);
  opacity: 0.3;
  letter-spacing: 0.3px;
}

/* Terms links in center */
.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-white);
  opacity: 0.35;
}

.footer__bottom-links a {
  color: var(--color-white);
  transition: opacity var(--ease-fast), color var(--ease-fast);
}

.footer__bottom-links a:hover {
  opacity: 1;
  color: var(--color-primary-light);
}

.footer__bottom-links span {
  color: var(--color-white);
  opacity: 0.4;
}

/* Social icons - larger with purple-lighter bg */
.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--ease);
}

.footer__social a:active {
  transform: scale(0.9);
}

.footer__social a svg {
  width: 17px;
  height: 17px;
  fill: var(--color-white);
  stroke: var(--color-white);
  transition: all var(--ease);
}

.footer__social a:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(91, 45, 142, 0.3);
}

.footer__social a:hover svg {
  fill: var(--color-primary);
  stroke: var(--color-primary);
}
