/* Sørg for at html og body fylder hele højden */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Gør body til en flex-container med kolonne-layout */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Footer Styles */
:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --accent-color: #f39c12;
  --text-color: #333333;
  --light-bg: #f8f9fa;
  --transition: all 0.3s ease;
}

footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 30px 20px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 25px;
  margin-top: 50px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer-section {
  flex: 1;
  min-width: 200px;
  max-width: 350px;
  padding: 0 10px;
}

.footer-section h3 {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-section p {
  margin-bottom: 8px;
  line-height: 1.5;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-section a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  width: 100%;
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: white;
}

.footer-bottom p {
  color: white !important;
}

/* Social Icons (if needed) */
.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    padding: 25px 15px 15px;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    width: 100%;
    max-width: 100%;
  }

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

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

