/* 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: 50px 30px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 40px;
  margin-top: 80px;
  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: 250px;
  max-width: 400px;
  padding: 0 15px;
}

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

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

.footer-section p {
  margin-bottom: 15px;
  line-height: 1.6;
  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: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  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: 40px 20px 20px;
    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;
  }
}

