/* Magazine Footer Styles */

.site-footer {
  background: #1a1a1a;
  color: var(--white);
  margin-top: 4rem;
}

/* Footer content uses common container from main.css */

/* Newsletter Section */
.footer-newsletter {
  background: #000;
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 1px solid #333;
}

.newsletter-content {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-title {
  font-family: serif;
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 0.5rem 0;
  color: var(--white);
}

.newsletter-description {
  font-family:  sans-serif;
  font-size: 1.125rem;
  color: #cccccc;
  margin: 0 0 2rem 0;
  line-height: 1.5;
}

.newsletter-form .form-group {
  display: flex;
  gap: 0;
  margin-bottom: 1rem;
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}

.newsletter-input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: none;
  font-size: 1rem;
  outline: none;
  background: var(--white);
  color: #333;
}

.newsletter-input::placeholder {
  color: #666;
}

.newsletter-button {
  background: #e74c3c;
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.newsletter-button:hover {
  background: #c0392b;
}

.newsletter-privacy {
  font-size: 0.875rem;
  color: #999;
  margin: 0;
  font-style: italic;
}

/* Main Footer Content */
.footer-main {
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

/* Brand Section */
.footer-brand {
  max-width: 300px;
}

.brand-logo img {
  max-width: 200px;
  height: auto;
  filter: brightness(0) invert(1);
}

.brand-name {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 400;
  margin: 0 0 1rem 0;
  color: #ffffff;
}

.brand-tagline {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  color: #cccccc;
  line-height: 1.6;
  margin: 0 0 2rem 0;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #333;
  color: #ffffff;
  border-radius: 50%;
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-link:hover {
  background: #555;
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Footer Sections */
.footer-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-section {
  min-width: 0;
}

.footer-section-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e74c3c;
  display: inline-block;
}

/* Footer Navigation */
.footer-menu,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li,
.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-menu a,
.footer-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: color 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.footer-menu a:hover,
.footer-links a:hover {
  color: #ffffff;
}

/* Footer Widgets */
.footer-widgets .widget {
  margin-bottom: 2rem;
}

.footer-widgets .widget:last-child {
  margin-bottom: 0;
}

.footer-widgets .widget-title {
  font-family: sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e74c3c;
  display: inline-block;
}

/* Footer Bottom */
.footer-bottom {
  padding: 2rem;
  border-top: 1px solid #333;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  color: #999;
  margin: 0;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.footer-separator {
  opacity: 0.5;
}

.footer-location,
.footer-established {
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-newsletter {
    padding: 2rem 1rem;
  }

  .newsletter-form .form-group {
    flex-direction: column;
  }

  .newsletter-button {
    border-radius: 0 0 4px 4px;
  }

  .newsletter-input {
    border-radius: 4px 4px 0 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .footer-sections {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-bottom {
    padding: 1.5rem 1rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-sections {
    grid-template-columns: 1fr;
  }

  .newsletter-title {
    font-size: 1.5rem;
  }

  .footer-info {
    flex-direction: column;
    gap: 0.25rem;
  }

  .footer-separator {
    display: none;
  }
}

/* Dark mode considerations */
@media (prefers-color-scheme: dark) {
  .newsletter-input {
    background: #2a2a2a;
    color: #ffffff;
    border: 1px solid #444;
  }

  .newsletter-input::placeholder {
    color: #aaa;
  }
}