/* ============================================
   FOOTER STYLES
   ============================================ */

/* ============================================
   COLOR CUSTOMIZATION
   Change these colors to customize the footer
   ============================================ */
:root {
  --footer-bg: #0b1a2e;                    /* Footer background - dark blue */
  --footer-text: #b8c5d6;                  /* Footer text - light gray blue */
  --footer-heading: #ffffff;               /* Footer headings - white */
  --footer-link-hover: #006efe;            /* Footer link hover - bright blue */
  --footer-border: rgba(255, 255, 255, 0.1); /* Footer border - transparent white */
  --footer-social-bg: rgba(255, 255, 255, 0.08); /* Social icon background */
  --footer-social-hover: #006efe;          /* Social icon hover - bright blue */
}

/* ============================================
   FOOTER CONTAINER
   ============================================ */
.footer {
  position: relative;
  width: 100%;
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 80px 40px 0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ============================================
   FOOTER CONTENT
   ============================================ */
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--footer-border);
}

/* ============================================
   FOOTER BRAND COLUMN
   ============================================ */
.footer-brand {
  max-width: 380px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background-color: #ffffff;
  border-radius: 50px;
  margin-bottom: 24px;
  transition: all 300ms ease-out;
}

.footer-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--footer-text);
  margin: 0 0 32px 0;
}

/* ============================================
   SOCIAL LINKS
   ============================================ */
.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--footer-social-bg);
  color: var(--footer-text);
  transition: all 300ms ease-out;
}

.social-link:hover {
  background-color: var(--footer-social-hover);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ============================================
   FOOTER COLUMNS
   ============================================ */
.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--footer-heading);
  margin: 0 0 24px 0;
  letter-spacing: 0.02em;
}

/* ============================================
   FOOTER LINKS
   ============================================ */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  font-size: 15px;
  line-height: 1.6;
  color: var(--footer-text);
  text-decoration: none;
  transition: all 300ms ease-out;
  display: inline-block;
}

.footer-links li a:hover {
  color: var(--footer-link-hover);
  transform: translateX(4px);
}

/* ============================================
   FOOTER CONTACT
   ============================================ */
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--footer-link-hover);
}

.footer-contact li span,
.footer-contact li a {
  font-size: 15px;
  line-height: 1.6;
  color: var(--footer-text);
  text-decoration: none;
  transition: color 300ms ease-out;
}

.footer-contact li a:hover {
  color: var(--footer-link-hover);
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */
.footer-bottom {
  padding: 32px 0;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 14px;
  color: var(--footer-text);
  margin: 0;
}

/* ============================================
   FOOTER LEGAL LINKS
   ============================================ */
.footer-legal {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 14px;
  color: var(--footer-text);
  text-decoration: none;
  transition: color 300ms ease-out;
}

.footer-legal a:hover {
  color: var(--footer-link-hover);
}

.footer-legal .divider {
  color: var(--footer-border);
  user-select: none;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Large Tablet */
@media (max-width: 1199px) {
  .footer {
    padding: 70px 32px 0;
  }

  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

/* Tablet */
@media (max-width: 767px) {
  .footer {
    padding: 60px 20px 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-legal {
    gap: 12px;
  }

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

  .footer-links,
  .footer-contact {
    gap: 10px;
  }

  .footer-links li a,
  .footer-contact li span,
  .footer-contact li a {
    font-size: 14px;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .footer {
    padding: 50px 20px 0;
  }

  .footer-social {
    gap: 10px;
  }

  .social-link {
    width: 36px;
    height: 36px;
  }

  .social-link svg {
    width: 16px;
    height: 16px;
  }

  .footer-logo img {
    height: 36px;
  }

  .footer-description {
    font-size: 14px;
    margin-bottom: 24px;
  }
}

/* ============================================
   REDUCED MOTION SUPPORT
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .footer-logo:hover,
  .social-link:hover,
  .footer-links li a:hover {
    transform: none;
  }
}
