/* ============================================
   Footer Section - Dog Refuge Website
   ============================================ */

.footer {
  background-color: var(--footer-background-color);
  color: var(--footer-text-color);
  padding: var(--spacing-5xl) 0 var(--spacing-2xl);
}

.footer .container {
    width: var(--container-2xl);
    margin: 0 auto;
}


/* ============================================
   Footer Main
   ============================================ */

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-4xl);
  padding-bottom: var(--spacing-4xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   Footer About
   ============================================ */

.footer-about {
  padding-right: var(--spacing-2xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  text-decoration: none;
  margin-bottom: var(--spacing-lg);
  font-family: var(--font-secondary);
}

.footer-logo-container img {
  max-height: 120px;
  width: auto;
  display: block;
  border-radius: var(--radius-lg);
}



.footer-description {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-xl);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--social-icon-size);
  height: var(--social-icon-size);
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-size: var(--font-size-base);
}

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

/* ============================================
   Footer Links
   ============================================ */

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  margin-bottom: var(--spacing-lg);
  font-family: var(--font-secondary);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  list-style: none;
}

.footer-links-list a {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--color-white);
  transform: translateX(5px);
}

h3.footer-site-title > a {
    color: var(--color-primary-light) !important;

}

.footer-social > a {
	color: var(--color-white);
	text-decoration: none;
	transition: color var(--transition-fast);
  font-size: var(--font-size-xl);
  background-color: var(--color-primary-light);
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
}

/* ============================================
   Footer Contact
   ============================================ */

.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.footer-contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-primary-light);
  font-size: var(--font-size-lg);
}

.footer-contact-text {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--line-height-relaxed);
}

.footer-contact-text a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-text a:hover {
  color: var(--color-white);
}

/* ============================================
   Footer Bottom
   ============================================ */

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-2xl);
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.footer-copyright {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
  display: flex;
  gap: var(--spacing-xl);
  list-style: none;
}

.footer-bottom-links a {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-white);
}


/* ============================================
Back to Top Button 
============================================ */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--color-primary-light);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1150; /* above contact FAB (1100), below modal (>=1200) */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--color-black);
  color: var(--color-white);
  transform: translateY(-3px);
}

.back-to-top .arrow-up {
  font-size: var(--lubinik-footer-back-to-top-font-size);
  line-height: 1;
}


/* ============================================
   shape divider above footer
   ============================================ */


#lubinik-shape-divider-shape_1763467487 {}


/* ============================================
   Responsive Styles
   ============================================ */

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-3xl);
  }
  
  .footer-about {
    grid-column: span 3;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: var(--spacing-4xl) 0 var(--spacing-xl);
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    padding-bottom: var(--spacing-3xl);
  }
  
  .footer-about {
    grid-column: span 1;
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }
  
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .footer-logo {
    font-size: var(--font-size-lg);
  }
  
  .footer-logo img {
    height: 32px;
  }
  
  .footer-links-title {
    font-size: var(--font-size-base);
  }
  
  .footer-social-link {
    width: 36px;
    height: 36px;
    font-size: var(--font-size-sm);
  }
}
