/* ================================================
   FOOTER SECTION
   ================================================ */

.footer {
  position: relative;
  width: 100%;
  min-height: 530px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* gap: 48px; */
  overflow: hidden;
  background-color: #000000;
}

/* Footer Background Image */
.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Footer Overlay (for better text readability) */
.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

/* Footer Container */
.footer-container {
  position: relative;
  z-index: 3;
  width: 100%;
  /* max-width: 1200px; */
  padding: 80px 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer Content Card */
.footer-content {
  background: rgba(255, 255, 255, 0.1);

  border: 1px solid rgba(224, 224, 224, 0.4);
  border-radius: 20px;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  /* max-width: 1800px; */
  width: 100%;
}

/* Footer Heading */
.footer-heading {
  font-family: var(--font-family);
  font-size: 48px;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.5px;
  color: var(--color-outline-button-text);
  margin-bottom: 4px;
  line-height: 120%;
}

/* Footer Subheading */
.footer-subheading {
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: var(--font-weight-regular);
  color: var(--color-outline-button-text);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
  max-width: 600px;
  line-height: 1.5;
}

/* Footer Button */
.footer-button {
  display: inline-block;
  background-color: var(--color-outline-button-text);
  color: var(--color-heading);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.5px;
  padding: 14px 48px;
  border: transparent;
  border-radius: 42px;
  transition: all 0.3s ease;
  text-decoration: none;
  text-transform: none;
}

.footer-button:hover {
  background-color: var(--color-heading);
  color: var(--color-outline-button-text);
  transform: translateY(-2px);
  /* box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2); */
}

.footer-button:active {
  transform: translateY(0);
}

.footer-lower {
  position: relative;
  z-index: 3;
  width: 100%;
  background-color: #121212;

  padding: 80px 64px 40px;
}

.footer-lower-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  /* color: #e5e7eb; */
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 100px;
  align-items: flex-start;
  width: 100%;
}

.footer-brand {
  display: flex;
  align-items: center;

  width: 180px;
}

.footer-logo {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.footer-column {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer-column-title {
  margin: 0 0 8px;
  color: var(--color-outline-button-text);
  font-size: var(--font-size-b2-desktop);
  font-weight: var(--font-weight-semibold);
  /* letter-spacing: 0.08em; */
  /* text-transform: uppercase; */
}

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

.footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: var(--font-size-b2-desktop);
  font-weight: var(--font-weight-medium);
  line-height: 150%;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-outline-button-text);
}

/* .footer-newsletter-copy {
  margin: 0 0 16px;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
} */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #333333;
  /* color: var(--color-text-secondary); */
  text-align: left;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: var(--font-size-b2-desktop);
  line-height: 150%;
  line-height: 150%;
  color: #bbbbbb; /* Darker gray requested */
}
.footer-copy span {
  color: #bbbbbb;
}

.footer-legal-link {
  color: #bbbbbb;
  text-decoration: none;
  font-size: var(--font-size-b2-desktop);
  margin-left: 24px;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: var(--color-outline-button-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom-left,
.footer-bottom-right {
  display: flex;
  align-items: center;
}

/* ================================================
   TABLET STYLES
   ================================================ */

@media (max-width: 1024px) and (min-width: 768px) {
  .footer-lower {
    padding: 60px 48px 40px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 48px 32px;
  }

  .footer-brand {
    /* height: 28px; */
    width: 160px;
  }
  .footer-container {
    padding: 40px;
  }
}

@media (max-width: 767px) {
  .footer {
    min-height: 500px;
    display: flex;
    align-items: center;
  }

  .footer-overlay {
    background: rgba(0, 0, 0, 0.7);
  }

  .footer-container {
    max-width: 100%;
    padding: 40px;
  }

  .footer-lower {
    padding: 40px 24px 32px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .footer-brand {
    grid-column: span 2;
    /* height: 25px; */
    width: 150px;
  }

  .footer-column {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-content {
    padding: 60px 40px;
    border-radius: 20px;
  }

  .footer-heading {
    font-size: 40px;
    margin-bottom: 12px;
  }

  .footer-subheading {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .footer-button {
    padding: 14px 48px;
    font-size: 14px;
  }
}

/* ================================================
   MOBILE STYLES
   ================================================ */

@media (max-width: 480px) {
  .footer {
    min-height: 400px;
  }

  .footer-overlay {
    background: rgba(0, 0, 0, 0.7);
  }

  .footer-container {
    padding: 24px 24px;
  }

  .footer-lower {
    padding: 40px 24px 32px;
  }

  .footer-lower-inner {
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-column {
    grid-column: span 1;
  }

  .footer-column {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-column > div {
    width: 100%;
  }

  /* .footer-logo {
    height: 22px;
    width: auto;
  } */
  .footer-brand {
    display: flex;
    align-items: center;
    /* height: 25px; */
    width: 150px;
  }

  .footer-column-title {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .footer-links {
    gap: 8px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .footer-bottom {
    padding-top: 20px;
    flex-direction: column;
    gap: 16px;
  }

  .footer-bottom-left,
  .footer-bottom-right {
    justify-content: center;
    width: 100%;
  }

  .footer-copy {
    font-size: 14px;
  }

  .footer-content {
    padding: 40px 24px;
    border-radius: 12px;
    border: 1px solid rgba(200, 200, 200, 0.2);
  }

  .footer-heading {
    font-size: 24px;
    margin-bottom: 4px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0;
  }

  .footer-subheading {
    font-size: 12px;
    margin-bottom: 24px;
    line-height: 150%;
  }

  .footer-button {
    padding: 16px 54px;
    font-size: 12px;
    border-radius: 24px;
  }
}

/* ================================================
   ACCESSIBILITY & PRINT STYLES
   ================================================ */

@media (prefers-reduced-motion: reduce) {
  .footer-button {
    transition: none;
  }

  .footer-button:hover {
    transform: none;
  }
}

@media print {
  .footer {
    min-height: auto;
  }
}
