/**
 * Enhanced Footer Styles
 * Custom styling for the main site footer (home, store, product pages)
 */

.enhanced-footer {
  width: 100%;
  background-color: var(--bg-dark, #0F172A);
  color: var(--text-muted, #94A3B8);
  font-size: 14px;
  position: relative;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Theme support */
.theme-light .enhanced-footer {
  background-color: #F1F5F9;
  color: #64748B;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Footer Top Section */
.enhanced-footer .footer-top {
  padding: 60px 0 40px;
  position: relative;
}

.theme-light .enhanced-footer .footer-top {
  background-color: #F8FAFC;
}

/* Footer Widget Styling */
.enhanced-footer .footer-widget {
  margin-bottom: 30px;
}

.enhanced-footer .footer-widget-title {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.theme-light .enhanced-footer .footer-widget-title {
  color: #1E293B;
}

.enhanced-footer .footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color, #6C5CE7);
}

/* About Widget */
.enhanced-footer .about-widget .footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.enhanced-footer .about-widget .brand-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color, #6C5CE7);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  margin-right: 12px;
}

.enhanced-footer .about-widget .brand-text {
  font-size: 22px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
  line-height: 1;
}

.theme-light .enhanced-footer .about-widget .brand-text {
  color: #1E293B;
}

.enhanced-footer .about-widget .brand-tag {
  font-size: 10px;
  text-transform: uppercase;
  background-color: var(--primary-color, #6C5CE7);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.enhanced-footer .about-widget .footer-about-text {
  color: var(--text-muted, #94A3B8);
  margin-bottom: 20px;
  line-height: 1.7;
}

.theme-light .enhanced-footer .about-widget .footer-about-text {
  color: #64748B;
}

/* Social Links */
.enhanced-footer .social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.enhanced-footer .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-muted, #94A3B8);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.theme-light .enhanced-footer .social-link {
  background-color: rgba(0, 0, 0, 0.03);
  color: #64748B;
}

.enhanced-footer .social-link:hover {
  background-color: var(--primary-color, #6C5CE7);
  color: white;
  transform: translateY(-3px);
}

/* Footer Links */
.enhanced-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.enhanced-footer .footer-links li {
  margin-bottom: 12px;
}

.enhanced-footer .footer-links a {
  color: var(--text-muted, #94A3B8);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
  display: block;
}

.theme-light .enhanced-footer .footer-links a {
  color: #64748B;
}

.enhanced-footer .footer-links a::before {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  transition: all 0.3s ease;
  opacity: 0.5;
}

.enhanced-footer .footer-links a:hover {
  color: var(--primary-color, #6C5CE7);
  padding-left: 18px;
}

.enhanced-footer .footer-links a:hover::before {
  opacity: 1;
  color: var(--primary-color, #6C5CE7);
}

/* Newsletter Widget */
.enhanced-footer .newsletter-widget .newsletter-text {
  margin-bottom: 15px;
  line-height: 1.7;
}

.enhanced-footer .newsletter-form .form-group {
  position: relative;
  margin-bottom: 10px;
}

.enhanced-footer .newsletter-form .form-control {
  height: 46px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 0 50px 0 15px;
  transition: all 0.3s ease;
}

.theme-light .enhanced-footer .newsletter-form .form-control {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #1E293B;
}

.enhanced-footer .newsletter-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color, #6C5CE7);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.theme-light .enhanced-footer .newsletter-form .form-control:focus {
  background-color: #FFFFFF;
  border-color: var(--primary-color, #6C5CE7);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.enhanced-footer .newsletter-form .btn-subscribe {
  position: absolute;
  right: 5px;
  top: 5px;
  height: 36px;
  width: 36px;
  background-color: var(--primary-color, #6C5CE7);
  color: white;
  border: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.enhanced-footer .newsletter-form .btn-subscribe:hover {
  background-color: var(--primary-hover, #5B51D6);
  transform: translateX(2px);
}

.enhanced-footer .newsletter-form .form-check-label {
  font-size: 12px;
  color: var(--text-muted, #94A3B8);
}

.theme-light .enhanced-footer .newsletter-form .form-check-label {
  color: #64748B;
}

.enhanced-footer .newsletter-form .form-check-input {
  width: 16px;
  height: 16px;
}

.enhanced-footer .newsletter-form .form-check-input:checked {
  background-color: var(--primary-color, #6C5CE7);
  border-color: var(--primary-color, #6C5CE7);
}

/* Footer Middle Section - Features */
.enhanced-footer .footer-middle {
  padding: 30px 0;
  background-color: rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.theme-light .enhanced-footer .footer-middle {
  background-color: rgba(0, 0, 0, 0.02);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.enhanced-footer .footer-feature {
  display: flex;
  align-items: center;
  gap: 15px;
}

.enhanced-footer .feature-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background-color: rgba(108, 92, 231, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color, #6C5CE7);
  font-size: 20px;
}

.enhanced-footer .feature-content h5 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 3px;
}

.theme-light .enhanced-footer .feature-content h5 {
  color: #1E293B;
}

.enhanced-footer .feature-content p {
  color: var(--text-muted, #94A3B8);
  font-size: 13px;
  margin-bottom: 0;
}

.theme-light .enhanced-footer .feature-content p {
  color: #64748B;
}

/* Footer Bottom Section */
.enhanced-footer .footer-bottom {
  padding: 25px 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.theme-light .enhanced-footer .footer-bottom {
  background-color: rgba(0, 0, 0, 0.03);
}

.enhanced-footer .copyright p {
  margin-bottom: 0;
  font-size: 14px;
}

.enhanced-footer .footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.enhanced-footer .footer-nav a {
  color: var(--text-muted, #94A3B8);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.theme-light .enhanced-footer .footer-nav a {
  color: #64748B;
}

.enhanced-footer .footer-nav a:hover {
  color: var(--primary-color, #6C5CE7);
}

/* Payment Methods */
.enhanced-footer .payment-methods {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.enhanced-footer .payment-method {
  width: 40px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border-radius: 4px;
  font-size: 16px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.theme-light .enhanced-footer .payment-method {
  background-color: rgba(0, 0, 0, 0.04);
  color: #1E293B;
}

.enhanced-footer .payment-method:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .enhanced-footer .footer-top {
    padding: 40px 0 20px;
  }
  
  .enhanced-footer .footer-middle {
    padding: 20px 0;
  }
  
  .enhanced-footer .footer-feature {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .enhanced-footer .footer-nav {
    justify-content: center;
    margin-top: 15px;
  }
  
  .enhanced-footer .copyright p {
    text-align: center;
  }
  
  .enhanced-footer .footer-middle {
    padding: 10px 0;
  }
  
  .enhanced-footer .footer-feature {
    margin-bottom: 15px;
  }
}

@media (max-width: 575px) {
  .enhanced-footer .footer-top {
    padding: 30px 0 10px;
  }
  
  .enhanced-footer .footer-widget-title {
    margin-bottom: 15px;
  }
  
  .enhanced-footer .footer-nav {
    gap: 10px;
  }
  
  .enhanced-footer .footer-nav a {
    font-size: 13px;
  }
  
  .enhanced-footer .payment-methods {
    gap: 8px;
  }
  
  .enhanced-footer .payment-method {
    width: 36px;
    height: 22px;
    font-size: 14px;
  }
}
