/*
|==========================================================================
| FOOTER STYLES
|==========================================================================
| Defines the layout, typography, and responsive behavior for the site footer.
*/

footer {
  /* Colors & Background */
  background-color: var(--secondary-color);
  color: var(--white);
  
  /* Positioning & Spacing */
  margin-top: 4rem; 
  
  /* Visual: Subtle separation from the main content */
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15); 
}

.footer-container {
  /* Layout */
  max-width: 1200px;
  margin: 0 auto;
  
  /* Spacing & Padding */
  padding: 3rem 2rem;
}

.footer-grid {
  /* Layout - Responsive Grid */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  
  /* Spacing */
  gap: 2rem;
  margin-bottom: 2rem;
}

/* --- SECTION HEADINGS --- */
.footer-section h4 {
  /* Typography & Colors */
  color: var(--primary-color); /* Brand color for headings */
  font-weight: 700; 
  text-transform: uppercase; 
  
  /* Spacing & Visual Separator */
  margin-bottom: 1.25rem; 
  padding-bottom: 0.5rem; 
  border-bottom: 2px solid rgba(255, 255, 255, 0.1); /* Subtle line */
}

/* --- TEXT CONTENT (Info Section) --- */
.footer-subtitle, 
.footer-date-loc {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

/* --- LISTS & LINKS --- */
.footer-list {
  /* List Reset */
  list-style: none;
  margin-left: 0; 
  padding-left: 0;
}

.footer-section li {
  /* Typography & Spacing */
  font-size: 0.9rem;
  margin-bottom: 0.75rem; 
  
  /* Visual */
  opacity: 0.85; 
  
  /* Alignment for custom bullet point */
  position: relative;
  padding-left: 1rem;
}

/* Custom bullet point for list items */
.footer-section li:before {
    content: "•"; 
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Link Styles (A-tags inside list items) */
.footer-section a {
  /* Typography & Color */
  color: inherit; 
  text-decoration: none; /* Removes underline/default blue color */
  
  /* Effects */
  transition: opacity 0.2s, padding-left 0.2s; 
}

.footer-section a:hover {
  /* Hover effects */
  opacity: 1; 
  padding-left: 2px; /* Subtle movement */
  text-decoration: underline; 
}

/* --- BOTTOM COPYRIGHT SECTION --- */
.footer-bottom {
  /* Layout & Alignment */
  text-align: center;
  
  /* Spacing & Border */
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  
  /* Typography & Visual */
  font-size: 0.85rem; 
  opacity: 0.7; 
}

/*
|--------------------------------------------------------------------------
| MEDIA QUERIES
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {
  .footer-container {
    padding: 2.5rem 1rem;
  }
}