/* Footer Styles */
.site-footer {
  background-color: #1a1a1a;
  color: #e0e0e0;
  padding: 3rem 0 2rem;
  margin-top: 5rem;
  font-size: 0.95rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Newsletter Section */
.newsletter-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #333;
}

.newsletter-form {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-input {
  display: inline-block;
  width: calc(100% - 120px);
  max-width: 400px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 1px solid #444;
  background-color: #2a2a2a;
  color: #fff;
  border-radius: 4px 0 0 4px;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: #20c997;
  background-color: #333;
}

.newsletter-input::placeholder {
  color: #888;
  font-size: 0.9rem;
}

.newsletter-submit {
  display: inline-block;
  width: 100px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  background-color: #20c997;
  color: #fff;
  border: 1px solid #20c997;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: -4px;
  font-weight: 500;
  vertical-align: top;
}

.newsletter-submit:hover {
  background-color: #1ba882;
  border-color: #1ba882;
  transform: translateY(-1px);
}

/* Footer Links */
.footer-links {
  text-align: center;
  margin: 1.5rem 0;
}

.footer-links.main-link {
  margin: 2rem 0;
}

.footer-links.main-link a {
  color: #20c997;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid #20c997;
  border-radius: 4px;
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-links.main-link a:hover {
  background-color: #20c997;
  color: #fff;
  transform: translateY(-2px);
}

.footer-links.social-links {
  margin: 2rem 0;
}

.footer-links.social-links a {
  color: #b0b0b0;
  text-decoration: none;
  margin: 0 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links.social-links a:hover {
  color: #20c997;
  transform: translateY(-2px);
}

/* Copyright */
.footer-copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #888;
  font-size: 0.9rem;
}

.footer-copyright a {
  color: #20c997;
  text-decoration: none;
  font-weight: 500;
}

.footer-copyright a:hover {
  color: #1ba882;
  text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .site-footer {
    padding: 2rem 0 1.5rem;
    margin-top: 3rem;
  }
  
  .footer-content {
    padding: 0 1rem;
  }
  
  .footer-links.social-links a {
    display: block;
    margin: 0.5rem 0;
  }
}

/* Only on very narrow screens */
@media screen and (max-width: 400px) {
  .newsletter-input {
    width: 100%;
    max-width: none;
    margin-bottom: 0.5rem;
    border-radius: 4px;
  }
  
  .newsletter-submit {
    width: 100%;
    margin-left: 0;
    border-radius: 4px;
  }
}

@media screen and (max-width: 480px) {
  .footer-links.social-links a {
    margin: 0.75rem 0;
    font-size: 1rem;
  }
}

/* Utility class for screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}