@charset "UTF-8";

/* ==========================================================================
   Minimal Footer Section - KotMaurycy.pl (2025)
   Professional, elegant footer matching premium hero design
   ========================================================================== */

.km-footer-minimal {
  background: linear-gradient(180deg, 
    #FFFFFF 0%, 
    #FAFBFC 50%, 
    #F8FAFC 100%
  );
  border-top: 1px solid rgba(11, 37, 69, 0.08);
  padding: clamp(2.25rem, 4vw, 3rem) 0 clamp(1.25rem, 2.5vw, 2rem);
  position: relative;
}

/* Full-width modifier: remove top gap; allow 100% width content within footer */
.km-footer-minimal.km-footer-full {
  padding-top: 0;
}

.km-footer-minimal.km-footer-full > .km-container {
  max-width: none;
  width: 100%;
}

.km-footer-minimal.km-footer-full .km-footer-content-minimal {
  max-width: none;
  width: 100%;
}

.km-footer-minimal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(245, 158, 11, 0.15) 50%, 
    transparent 100%
  );
}

.km-footer-content-minimal {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
}

/* Brand Area */
.km-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}

.km-footer-logo {
  font-family: var(--km-font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--km-navy);
  letter-spacing: -0.02em;
  display: inline-block;
  background: linear-gradient(135deg, 
    var(--km-navy) 0%, 
    var(--km-blue) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.km-footer-tagline {
  font-size: 0.9375rem;
  color: var(--km-gray-600);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 36ch;
  margin: 0 auto;
}

/* Links Area */
.km-footer-links-minimal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  flex-wrap: wrap;
}

.km-footer-links-minimal a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--km-gray-600);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0.35rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.km-footer-links-minimal a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    var(--km-orange) 0%, 
    var(--km-blue) 100%
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
}

.km-footer-links-minimal a:hover {
  color: var(--km-navy);
}

.km-footer-links-minimal a:hover::after {
  transform: scaleX(1);
}

/* Legal Area */
.km-footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  flex-wrap: wrap;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(11, 37, 69, 0.06);
  font-size: 0.95rem;
  color: var(--km-gray-600);
}

.km-footer-legal span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.km-footer-legal a {
  color: var(--km-gray-500);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.km-footer-legal a:hover {
  color: var(--km-navy);
}

/* Signature */
.km-footer-signature {
  text-align: center;
  margin-top: clamp(1.5rem, 3vw, 2rem);
  padding-top: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid rgba(11, 37, 69, 0.04);
}

.km-footer-maurycy {
  font-size: 0.9375rem;
  font-weight: 600;
  font-style: italic;
  background: linear-gradient(135deg, 
    var(--km-orange) 0%, 
    #EA580C 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
  display: inline-block;
  position: relative;
}

.km-footer-maurycy::before {
  content: '🐾';
  position: absolute;
  left: -1.5em;
  opacity: 0.7;
  animation: paw-wave 2s ease-in-out infinite;
}

@keyframes paw-wave {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-2px) rotate(-5deg);
  }
  75% {
    transform: translateY(-2px) rotate(5deg);
  }
}

/* ========================================================================== 
   Responsive Design 
   ========================================================================== */

@media (max-width: 768px) {
  .km-footer-minimal {
    padding: 2rem 0 1.5rem;
  }
  
  .km-footer-content-minimal {
    gap: 2rem;
  }
  
  .km-footer-links-minimal {
    flex-direction: column;
    gap: 1rem;
  }
  
  .km-footer-legal {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  
  .km-footer-signature {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }
}

@media (max-width: 640px) {
  .km-footer-logo {
    font-size: 1.25rem;
  }
  
  .km-footer-tagline {
    font-size: 0.875rem;
  }
  
  .km-footer-links-minimal a {
    font-size: 0.875rem;
  }
  
  .km-footer-legal {
    font-size: 0.8125rem;
  }
  
  .km-footer-maurycy {
    font-size: 0.875rem;
  }
}

/* ========================================================================== 
   Accessibility & Performance 
   ========================================================================== */

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .km-footer-maurycy::before {
    animation: none;
  }
  
  .km-footer-links-minimal a::after {
    transition: none;
  }
}

/* Focus states for accessibility */
.km-footer-links-minimal a:focus-visible,
.km-footer-legal a:focus-visible {
  outline: 2px solid rgba(245, 158, 11, 0.6);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Print styles */
@media print {
  .km-footer-minimal {
    background: white;
    border-top: 1px solid #ccc;
    padding: 1rem 0;
  }
  
  .km-footer-minimal::before {
    display: none;
  }
  
  .km-footer-maurycy::before {
    display: none;
  }
}

