/* ================= Footer Styles ================= */

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card-bg);
  box-shadow: 0 -2px 24px rgba(155, 89, 182, 0.10);
  border-radius: 18px 18px 0 0;
  padding: clamp(8px, 1.5vw, 12px) clamp(12px, 3vw, 20px) clamp(10px, 2vw, 14px);
  font-family: 'Segoe UI', 'Lora', 'Georgia', serif;
  font-size: clamp(0.92rem, 1vw + 0.5rem, 1.05rem);
  color: var(--text-secondary);
  margin-bottom: 0;
  margin-top: 0;
}

/* This is the key change to center the YouTube link and its content */

.youtube-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 14px);
  margin: clamp(10px, 1.5vw, 14px) 0 clamp(6px, 1vw, 8px) 0;
  padding: 0;
  transition: transform 0.2s ease;
}
.youtube-link:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

/* Encouraging text above the button */
.youtube-text {
  margin: 0;
  font-size: clamp(0.9rem, 0.9vw + 0.4rem, 1rem);
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.youtube-link:hover .youtube-text {
  color: var(--accent-color);
}

.youtube-text .paw-icon-footer {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.youtube-link:hover .paw-icon-footer {
  transform: scale(1.1) rotate(-5deg);
}

.youtube-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.youtube-link a:hover {
  text-decoration: none;
  transform: scale(1.15);
}

.social-icon {
  width: clamp(24px, 4vw, 28px);
  height: clamp(24px, 4vw, 28px);
  filter: drop-shadow(0 2px 4px rgba(255, 0, 0, 0.3));
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.youtube-link a:hover .social-icon {
  filter: drop-shadow(0 4px 8px rgba(255, 0, 0, 0.5));
}

/* YouTube text label inside button */
.youtube-label {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-color);
}

/* Styling for the horizontal separator line */

.footer-separator {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, var(--border-color) 0%, var(--accent-color-dark) 100%);
  margin: 32px auto 0 auto;
  width: 80%;
  max-width: 900px;
}

/* Footer text row styles */
.footer-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 2vw, 14px);
  justify-content: center;
  align-items: center;
  margin: clamp(6px, 1vw, 8px) 0 0 0;
  font-size: clamp(0.88rem, 0.85vw + 0.4rem, 1rem);
  color: var(--text-secondary);
  opacity: 0.95;
}
.footer-info-row p {
  margin: 0;
  font-size: inherit;
  color: var(--text-secondary);
}
.footer-info-row span {
  color: var(--text-secondary);
  opacity: 0.6;
  font-weight: 300;
}

.footer-email {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-email:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Tablet and medium screens */
@media (max-width: 768px) {
  .footer-content {
    border-radius: 12px 12px 0 0;
  }
  
  .youtube-link {
    flex-direction: row;
    gap: 12px;
  }
  
  .youtube-text {
    font-size: clamp(0.88rem, 1.2vw, 0.95rem);
  }
  
  .footer-info-row {
    gap: 10px;
    font-size: clamp(0.9rem, 1.2vw, 0.96rem);
  }
}

/* Mobile devices */
@media (max-width: 600px) {
  .footer-content {
    padding: 12px 4vw 10px;
    border-radius: 8px 8px 0 0;
  }
  
  .footer-separator {
    width: 90%;
    margin-top: 24px;
  }
  
  .youtube-link {
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
  }
  
  .youtube-text {
    font-size: 0.92rem;
  }
  
  .social-icon {
    width: 28px;
    height: 28px;
  }
  
  .footer-info-row {
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
    font-size: 0.92rem;
  }
  
  .footer-info-row span {
    display: none;
  }
}

/* Footer Legal Links */
.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 0.85rem;
}

.footer-legal-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer-legal-links span {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* Very small screens */
@media (max-width: 400px) {
  .youtube-text {
    font-size: 0.88rem;
  }
  
  .footer-info-row {
    font-size: 0.88rem;
  }

  .footer-legal-links {
    font-size: 0.8rem;
  }
}
