/* 
 * Footer Section Styles for Jan Gessenhardt Website
 * Enhanced for professional presentation and usability
 */

:root {
  --primary-color: #1A365D;     /* Deep blue */
  --secondary-color: #3182CE;   /* Medium blue */
  --accent-color: #D69E2E;      /* Gold */
  --text-dark: #2D3748;         /* Dark gray for text */
  --text-light: #FFFFFF;        /* White for text on dark backgrounds */
  --background-light: #FFFFFF;  /* White background */
  --background-dark: #1A365D;   /* Dark blue background */
  --background-gray: #F7FAFC;   /* Light gray background */
  --shadow-soft: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition-standard: all 0.3s ease-in-out;
}

/* Footer Section */
.footer {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 80px 0 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.95) 0%, rgba(26, 54, 93, 0.98) 100%);
  z-index: 1;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.footer-logo {
  flex: 1;
  max-width: 300px;
}

.footer-logo a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--text-light);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 15px;
}

.footer-logo a span {
  color: var(--accent-color);
}

.footer-logo p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  flex: 2;
  display: flex;
  justify-content: space-around;
}

.footer-column {
  flex: 1;
  padding: 0 20px;
}

.footer-column h3 {
  font-size: 1.125rem;
  margin-bottom: 20px;
  color: var(--accent-color);
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-standard);
}

.footer-column ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .footer {
    padding: 60px 0 30px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-logo {
    max-width: 100%;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
  }
  
  .footer-column {
    flex: 1 0 50%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 50px 0 20px;
  }
  
  .footer-column {
    flex: 1 0 100%;
    text-align: center;
    padding: 0;
  }
  
  .footer-column ul li a:hover {
    padding-left: 0;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer-logo a {
    font-size: 1.5rem;
  }
  
  .footer-logo p {
    font-size: 0.9rem;
  }
  
  .footer-column h3 {
    font-size: 1rem;
  }
  
  .footer-column ul li a {
    font-size: 0.85rem;
  }
  
  .footer-bottom p {
    font-size: 0.8rem;
  }
}

/* High-contrast mode for accessibility */
@media (prefers-contrast: high) {
  .footer {
    background-color: #000;
  }
  
  .footer-logo a, .footer-logo p, .footer-column h3, .footer-column ul li a, .footer-bottom p {
    color: #fff;
  }
  
  .footer-logo a span {
    color: #fff;
    text-decoration: underline;
  }
  
  .footer-bottom {
    border-top: 1px solid #fff;
  }
}
