/**
 * Footer styles for LeanPress theme
 * @package LeanPress
 */

/* Main Footer Styles */
.site-footer {
  background-color: rgba(0, 0, 0, 1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3.5rem 0 0;
  color: #fff;
}

/* Footer Layout */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.footer-middle-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Footer Columns */
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-title {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  font-weight: 600;
}

.footer-description {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.7;
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom-left p {
  margin-bottom: 0rem;
}

/* Brand Column */
.footer-brand {
  margin-bottom: 1rem;
}

.footer-logo {
  margin-bottom: 0.5rem;
}

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

/* LinkedIn Connect Button */
.linkedin-connect {
  margin-top: 0.5rem;
}

.linkedin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem 0.5rem;
  background-color: rgba(125, 237, 6, 0.15);
  border: 1px solid rgba(125, 237, 6, 0.3);
  border-radius: 4px;
  color: var(--c-accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  line-height: 1;
}

.linkedin-icon {
  width: 18px;
  height: 18px;
  display: block;
  position: relative;
  top: -1px;
  transition: filter 0.3s ease; 
}

.linkedin-button:hover {
  background-color: var(--c-accent);
  border-color: var(--c-accent);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(125, 237, 6, 0.4);
}

.linkedin-button:hover .linkedin-icon {
  filter: brightness(0);
  /* This filter turns the icon black */
}

/* Footer Navigation */
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.75rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
  opacity: 0.7;
}

.footer-nav a:hover {
  color: var(--c-accent);
  opacity: 1;
}

/* Ecologi Badge Row */
.footer-ecologi-row {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.ecologi-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ecologi-badge {
  flex-shrink: 0;
}

.ecologi-text {
  flex: 1;
}

.ecologi-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}

.ecologi-text p:last-child {
  margin-bottom: 0;
}

/* Responsive styling for Ecologi badge row */
@media (max-width: 767px) {
  .ecologi-content {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .ecologi-badge {
    align-self: flex-start;
  }
}

/* Copyright Bar */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--c-accent);
}

/* Responsive Styles */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
  }
  
  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
  
  .footer-links {
    margin-left: auto;
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 0.7fr 1.1fr;
    gap: 2rem 3rem;
  }
  
  /* Add right padding to the first column for better visual balance */
  .footer-brand {
    padding-right: 1.5rem;
  }
}
