/* ===================================
   FOOTER FIX - FORCE HORIZONTAL LAYOUT
   =================================== */

/* Override the grid layout with flex */
.site-footer .footer-main {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 40px !important;
  margin-bottom: 40px !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 15px !important;
}

.site-footer .footer-widget {
  flex: 1 1 0 !important;
  min-width: 220px !important;
}

/* Force 4 columns on desktop (wider than 992px) */
@media (min-width: 993px) {
  .site-footer .footer-widget {
    flex: 0 0 calc(25% - 30px) !important;
    max-width: calc(25% - 30px) !important;
  }
}

/* 2 columns on tablet (768px to 992px) */
@media (min-width: 768px) and (max-width: 992px) {
  .site-footer .footer-widget {
    flex: 0 0 calc(50% - 20px) !important;
    max-width: calc(50% - 20px) !important;
  }
}

/* 1 column on mobile (less than 768px) */
@media (max-width: 767px) {
  .site-footer .footer-main {
    flex-direction: column !important;
  }
  
  .site-footer .footer-widget {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
  }
}

/* Footer widget heading */
.site-footer .footer-widget h3 {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Footer links */
.site-footer .footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-widget ul li {
  margin-bottom: 10px;
}

.site-footer .footer-widget ul li a {
  color: #B0B0B0;
  font-size: 14px;
  transition: color 0.3s ease;
}

.site-footer .footer-widget ul li a:hover {
  color: #FF6600;
}

/* Social icons in footer */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #424242;
  color: #FFFFFF;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #FF6600;
  transform: translateY(-2px);
}

/* Newsletter form in footer */
.footer-widget .newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.footer-widget .newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #424242;
  border-radius: 4px;
  background: #000000;
  color: #FFFFFF;
  font-size: 13px;
}

.footer-widget .newsletter-form button {
  padding: 10px 20px;
  background: #FF6600;
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.footer-widget .newsletter-form button:hover {
  background: #E55A00;
}

/* Mobile optimization for newsletter */
@media (max-width: 767px) {
  .footer-widget .newsletter-form {
    flex-direction: column;
  }
  
  .footer-widget .newsletter-form button {
    width: 100%;
  }
}
