/* ==========================================================================
   Footer Styles - Verdanisse Dark Theme
   ========================================================================== */

/* Footer Base */
.footer {
  background-color: #1f3a2e;
  color: #ffffff;
  margin-top: auto;
}

/* ==========================================================================
   Expert Quote Section
   ========================================================================== */

.footer-expert {
  background-color: #242424;
  border-bottom: 1px solid #333;
  padding: 2rem 0;
}

.footer-expert__content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.footer-expert__avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #c7642f;
}

.footer-expert__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-expert__quote {
  flex: 1;
}

.footer-expert__text {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-expert__author {
  font-size: 0.9rem;
  color: #1a1a1a;
  font-weight: 600;
}

/* ==========================================================================
   Trust Badges Section
   ========================================================================== */

.footer-trust {
  background-color: #1f3a2e;
  border-bottom: 1px solid #333;
  padding: 1.5rem 0;
}

.footer-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.footer-trust__item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-trust__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  color: #10b981;
  flex-shrink: 0;
}

.footer-trust__icon svg {
  width: 24px;
  height: 24px;
}

.footer-trust__text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.footer-trust__text strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-trust__text span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Main Footer Content
   ========================================================================== */

.footer-main {
  padding: 3rem 0 2rem;
}

.footer-main .footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer__section h4 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.footer__section ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__section a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer__section a:hover {
  color: #ffffff;
}

.footer__section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Newsletter Section */
.footer__newsletter {
  max-width: 320px;
}

.footer__newsletter p {
  margin-bottom: 1rem;
}

.footer-newsletter__form {
  display: flex;
  gap: 0;
  margin-bottom: 1.25rem;
}

.footer-newsletter__input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  background-color: #2d2d2d;
  border: 1px solid #444;
  border-right: none;
  border-radius: 4px 0 0 4px;
  color: #ffffff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.footer-newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter__input:focus {
  outline: none;
  border-color: #1f3a2e;
  background-color: #333;
}

.footer-newsletter__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  background-color: #c7642f;
  border: none;
  border-radius: 0 4px 4px 0;
  color: #1a1a1afff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.footer-newsletter__btn:hover {
  background-color: #a31830;
}

.footer-newsletter__btn svg {
  width: 20px;
  height: 20px;
}

/* Social Links */
.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__social-link:hover {
  color: #c7642f;
  transform: translateY(-2px);
}

.footer__social-link svg {
  width: 22px;
  height: 22px;
}

/* Contact Info */
.footer__contact {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
}

.footer__contact p {
  margin-bottom: 0.375rem;
}

.footer__contact strong {
  color: #ffffff;
  font-weight: 600;
}

.footer__contact a {
  color: #1a1a1a;
}

.footer__contact a:hover {
  color: #ff4d6a;
  text-decoration: underline;
}

/* ==========================================================================
   Footer Bottom Bar
   ========================================================================== */

.footer-bottom {
  background-color: #111111;
  padding: 1.5rem 0;
  border-top: 1px solid #333;
}

.footer-bottom__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.footer-bottom__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom__legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.footer-bottom__legal a:hover {
  color: #ffffff;
}

.footer-bottom__payments {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom__payments-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom__payment-icons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.payment-icon {
  display: inline-flex;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.payment-icon:hover {
  opacity: 1;
}

.payment-icon svg {
  border-radius: 3px;
}

.footer-bottom__copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media screen and (max-width: 1024px) {
  .footer-trust__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .footer-main .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer__newsletter {
    max-width: 100%;
    grid-column: span 2;
    order: -1;
    margin-bottom: 1rem;
  }

  .footer-newsletter__form {
    max-width: 400px;
  }
}

@media screen and (max-width: 768px) {
  .footer-expert__content {
    flex-direction: column;
    text-align: center;
  }

  .footer-expert__avatar {
    width: 70px;
    height: 70px;
  }

  .footer-expert__text {
    font-size: 1rem;
  }

  .footer-trust__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .footer-trust__item {
    gap: 0.75rem;
  }

  .footer-trust__icon {
    width: 40px;
    height: 40px;
  }

  .footer-trust__icon svg {
    width: 20px;
    height: 20px;
  }

  .footer-trust__text strong {
    font-size: 0.85rem;
  }

  .footer-trust__text span {
    font-size: 0.75rem;
  }

  .footer-main {
    padding: 2rem 0 1.5rem;
  }

  .footer-main .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer__newsletter {
    grid-column: span 1;
  }

  .footer__section h4 {
    margin-bottom: 1rem;
  }

  .footer__section ul {
    gap: 0.5rem;
  }

  .footer__social {
    justify-content: center;
  }

  .footer-bottom__content {
    gap: 1rem;
  }

  .footer-bottom__legal {
    gap: 1rem;
  }

  .footer-bottom__payments {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media screen and (max-width: 480px) {
  .footer-trust__grid {
    grid-template-columns: 1fr;
  }

  .footer-trust__item {
    justify-content: flex-start;
  }

  .footer__contact {
    text-align: center;
  }

  .footer__newsletter {
    text-align: center;
  }

  .footer-newsletter__form {
    max-width: 100%;
  }

  .footer__social {
    justify-content: center;
  }
}
