/* ===============================
   FOOTER STREETWEAR – EIRVAN BRAND SYSTEM
================================ */

.sw-footer {
  background: #F5F5F2; /* Bone White */
  border-top: 1px solid rgba(17, 17, 17, 0.08); /* Carbon Black 8% opacity */
  padding: 60px 20px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #111111; /* Carbon Black */
  width: 100%;
}

/* ===============================
   CONTAINER GRID
================================ */

.sw-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: start;
}

/* ===============================
   BRAND COLUMN
================================ */

.footer-col.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  display: block;
}

/* ===============================
   COLUMN STYLES
================================ */

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  margin: 0 0 16px 0;
  padding: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  color: #111111; /* Carbon Black */
}

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

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(17, 17, 17, 0.7); /* Carbon Black 70% opacity */
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
}

.footer-col ul li a:hover {
  color: #2F3E34; /* Deep Forest Green */
}

/* ===============================
   TAGLINE & BOTTOM
================================ */

.sw-footer-tagline {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  color: rgba(17, 17, 17, 0.6); /* Carbon Black 60% opacity */
  letter-spacing: 0.2px;
  padding: 0 20px;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.sw-footer-bottom {
  border-top: 1px solid rgba(17, 17, 17, 0.08); /* Carbon Black 8% opacity */
  margin-top: 20px;
  padding-top: 15px;
  text-align: center;
  color: rgba(17, 17, 17, 0.5); /* Carbon Black 50% opacity */
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

/* ===============================
   TABLET RESPONSIVE (768px - 1024px)
================================ */

@media (max-width: 1024px) {
  .sw-footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .footer-col.brand {
    grid-column: span 2;
    align-items: center;
  }
}

/* ===============================
   MOBILE RESPONSIVE (0 - 768px)
================================ */

@media (max-width: 768px) {
  .sw-footer {
    padding: 40px 16px 15px;
    background: #F5F5F2; /* Bone White */
  }
  
  .sw-footer-container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-col.brand {
    grid-column: span 1;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .footer-logo {
    max-width: 160px;
    margin: 0 auto;
  }
  
  /* Accordion Styles for Mobile */
  .footer-col:not(.brand) {
    border-bottom: 1px solid rgba(17, 17, 17, 0.08); /* Carbon Black 8% opacity */
  }
  
  .footer-col:not(.brand):last-child {
    border-bottom: none;
  }
  
  .accordion-toggle {
    position: relative;
    padding: 15px 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #111111; /* Carbon Black */
  }
  
  .accordion-toggle::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: #111111; /* Carbon Black */
  }
  
  .footer-col.active .accordion-toggle::after {
    content: '−';
    color: #2F3E34; /* Deep Forest Green */
  }
  
  .footer-col.active .accordion-toggle {
    color: #2F3E34; /* Deep Forest Green */
  }
  
  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 0;
  }
  
  .footer-col.active .accordion-content {
    max-height: 500px;
    padding-bottom: 15px;
  }
  
  .footer-col ul li a {
    display: block;
    padding: 8px 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
  }
}

/* ===============================
   SMALL MOBILE (0 - 480px)
================================ */

@media (max-width: 480px) {
  .sw-footer {
    padding: 30px 12px 10px;
    background: #F5F5F2; /* Bone White */
  }
  
  .footer-logo {
    max-width: 140px;
  }
  
  .accordion-toggle {
    font-size: 14px;
    padding: 12px 0;
  }
  
  .footer-col ul li a {
    font-size: 13px;
  }
}

/* ===============================
   TOUCH FEEDBACK FOR MOBILE
================================ */

@media (max-width: 768px) {
    /* Instant response for touch */
    .accordion-toggle {
        -webkit-tap-highlight-color: rgba(47, 62, 52, 0.1); /* Deep Forest Green 10% opacity */
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
        transition: all 0.1s ease;
    }
    
    /* Visual feedback when touching */
    .accordion-toggle.touching {
        background-color: rgba(47, 62, 52, 0.05); /* Deep Forest Green 5% opacity */
    }
    
    .accordion-toggle.touch-active {
        transform: translateY(1px);
    }
    
    /* Faster animation */
    .accordion-content {
        transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .accordion-content.opening {
        animation: pulse 0.3s ease;
    }
    
    /* Make sure links are easily tappable */
    .footer-col ul li a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0;
    }
}

/* Quick pulse animation for feedback */
@keyframes pulse {
    0% { opacity: 0.9; }
    50% { opacity: 1; }
    100% { opacity: 1; }
}

/* Disable text selection on toggles */
.accordion-toggle {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}