:root {
  --primary: #1a1e26;
  --accent: #4169e1;
  --text: #2d3436;
  --text-light: rgba(255, 255, 255, 0.9);
  --text-muted: rgba(255, 255, 255, 0.7);
  --background-light: rgba(255, 255, 255, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.modern-footer {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 4rem 2rem 0;
  margin-top: auto;
  opacity: 1;
  transform: translateY(0);
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-section {
  opacity: 0;
  transform: translateY(20px);
}

.footer-section h3,
.footer-section h4 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after,
.footer-section h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}


.footer-section,
.social-icon,
.footer-link,
.contact-item,
.hours-item,
.footer-bottom {
  opacity: 1;
  transform: none;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--background-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  opacity: 0;
  transform: scale(0.5);
}

.social-icon:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* Links Section */
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  opacity: 0;
  transform: translateX(-20px);
}

.footer-link:hover {
  color: var(--accent);
  transform: translateX(5px);
}

/* Contact Section */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-20px);
}

.contact-item i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.contact-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--accent);
}

/* Hours Section */
.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--background-light);
  opacity: 0;
  transform: translateX(-20px);
}

.hours-item span:last-child {
  color: var(--text-muted);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--background-light);
  padding: 2rem 0;
  opacity: 0;
}

.footer-bottom-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: var(--text-muted);
}

.bottom-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

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

.separator {
  color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-footer {
    padding: 3rem 1.5rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-section h3::after,
  .footer-section h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-section {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .links-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .hours-item {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .bottom-links {
    justify-content: center;
  }
}

