import React from 'react'
import { Link } from 'react-router-dom'
import '../styles/global.css'

export default function Footer() {
  return (
    <footer className="footer">
      <div className="footer-container">
        <div className="footer-section">
          <div className="footer-brand">
            <span className="footer-logo">👟</span>
            <h3>Brand Master</h3>
          </div>
          <p>Your ultimate destination for fashion and footwear.</p>
          <div className="social-links">
            <a href="https://instagram.com" target="_blank" rel="noopener noreferrer" title="Instagram">📷</a>
            <a href="https://wa.me/972532441361" target="_blank" rel="noopener noreferrer" title="WhatsApp">💬</a>
          </div>
        </div>

        <div className="footer-section">
          <h4>Shop</h4>
          <ul>
            <li><Link to="/products?category=shoes">Shoes</Link></li>
            <li><Link to="/products?category=shirts">Shirts</Link></li>
            <li><Link to="/products?category=pants">Pants</Link></li>
            <li><Link to="/products?category=hats">Hats</Link></li>
            <li><Link to="/products?category=accessories">Accessories</Link></li>
          </ul>
        </div>

        <div className="footer-section">
          <h4>Company</h4>
          <ul>
            <li><Link to="/about">About Us</Link></li>
            <li><Link to="/contact">Contact</Link></li>
            <li><a href="#">Privacy Policy</a></li>
            <li><a href="#">Terms of Service</a></li>
          </ul>
        </div>

        <div className="footer-section">
          <h4>Contact</h4>
          <p>Email: info@brandmaster.com</p>
          <p>Phone: +972 53-244-1361</p>
        </div>
      </div>

      <div className="footer-bottom">
        <p>&copy; 2026 Brand Master. All rights reserved.</p>
      </div>
    </footer>
  )
}
