﻿/**
 * Footer Styles
 * Matches live site footer structure using Tailwind-like utility classes
 */

 /* ============================================
   PAGINATION COMPONENT
   ============================================ */
.pagination-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .pagination-wrapper {
    flex-direction: row;
  }
}

.pagination-info {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.pagination {
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (min-width: 640px) {
  .pagination {
    width: auto;
  }
}

.pagination-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination-item {
  list-style: none;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  text-decoration: none;
  color: hsl(var(--foreground));
  background-color: transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  cursor: pointer;
}

.pagination-link:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.pagination-link.active {
  border: 1px solid hsl(var(--input));
  background-color: hsl(var(--background));
}

.pagination-link.active:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  height: 2.5rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  text-decoration: none;
  color: hsl(var(--foreground));
  background-color: transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  cursor: pointer;
}

.pagination-btn:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.pagination-btn.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.pagination-btn svg {
  width: 1rem;
  height: 1rem;
}

.pagination-prev {
  padding-left: 0.625rem;
}

.pagination-next {
  padding-right: 0.625rem;
}

.pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
}

.pagination-ellipsis svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--muted-foreground));
}


/* ============================================
   FOOTER - Matches live site HTML structure
   ============================================ */

/* Base footer styling */
footer.border-t {
    border-top-width: 1px;
}

.border-border {
    border-color: hsl(var(--border));
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.mt-20 {
    margin-top: 5rem;
}

/* Container centering */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

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

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

/* Flex utilities for footer links */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

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

.gap-6 {
    gap: 1.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

/* Footer link styling */
footer a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover,
footer a.hover\:text-foreground:hover {
    color: hsl(var(--foreground));
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}

/* Footer paragraph */
footer p {
    margin: 0;
    font-size: 0.875rem;
}

/* ============================================
   LEGACY CLASSES (for standalone HTML files)
   ============================================ */
.footer {
    background-color: hsl(var(--secondary));
    border-top: 1px solid hsl(var(--border));
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-link {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: hsl(var(--foreground));
}
