/* Mobile styles for header */
@media (max-width: 768px) {
  .main-nav {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }

  /* Hide the menu initially */
  .nav-menu {
    flex-direction: column;
    width: 100%;
    background-color: #111;
    display: none;
    margin-top: 1rem;
    padding: 1rem 0;
  }

  /* Show menu when toggled */
  .nav-menu.show {
    display: flex;
  }

  /* Hamburger menu toggle button */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
  }

  /* Logo adjustments */
  .logo img {
    max-height: 50px;
  }

  /* Nav menu links */
  .nav-menu li {
    padding: 0.5rem 1rem;
  }

  .nav-menu li a {
    font-size: 1.2rem;
    display: block;
  }
}
/* Mobile adjustments */
/* Mobile adjustments */
@media (max-width: 768px) {
  .logo img {
    width: auto;
    max-width: 120px;  /* limit max width on mobile */
    max-height: 40px;  /* limit max height on mobile */
    display: block;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .hero {
    height: auto; /* Let height be flexible */
    min-height: 60vh; /* Ensure some visible height */
    padding-top: 80px; /* Reduce padding on top */
    background-position: center top; /* Show top of image better */
    background-image: url('http://alloyx.co.uk/wp-content/uploads/2025/05/output-1.png');
  }

  .hero::before {
    background: rgba(0, 0, 0, 0.35); /* Lighter overlay so image shows better */
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .cta-buttons a {
    padding: 10px 18px;
    margin: 5px;
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .site-footer {
    background-color: #000; /* keep consistent with your black theme */
    color: #fff;
    padding: 20px 15px;
    text-align: center;
  }

  .footer-logo img {
    max-width: 150px;
    height: auto;
    margin: 0 auto 15px;
    display: block;
  }

  .footer-tagline p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .footer-links ul,
  .footer-social-media ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .footer-links li,
  .footer-social-media li {
    margin: 0;
  }

  .footer-links a,
  .footer-social-media a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 12px;
    display: inline-block;
    transition: color 0.3s ease;
  }

  .footer-links a:hover,
  .footer-social-media a:hover {
    color: #c0c0c0; /* silver-ish hover */
  }

  .footer-social-media ul img {
    width: 24px;
    height: 24px;
  }

  .footer-social-media ul {
    justify-content: center;
  }

  .footer-copyright {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #bbb;
    margin-top: 10px;
  }

  .footer-copyright a {
    color: #bbb;
    text-decoration: underline;
  }

  .footer-copyright a:hover {
    color: #fff;
  }
}
/* --- General Responsive Setup --- */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  /* Hero Section */
  .hero {
    background: #000; /* Assuming black background */
    color: #fff;
    padding: 40px 20px;
    text-align: center;
  }
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
  }
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 400;
  }
  .hero .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
  }
  .hero .button {
    width: 80%;
    max-width: 250px;
    padding: 12px 0;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
  }
  .hero .button.secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
  }
  .hero .button.secondary:hover {
    background-color: #ccc;
    color: #000;
    border-color: #ccc;
  }

  /* Brands Section */
  .brands-section {
    background: #000;
    color: #fff;
    padding: 30px 15px;
    text-align: center;
  }
  .brands-section .section-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 700;
  }
  .brands-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .brand-box {
    flex: 1 1 100px;
    max-width: 100px;
  }
  .brand-icon {
    max-width: 100%;
    height: auto;
    filter: brightness(1) contrast(1);
  }

  /* Filters Section */
  .filter-section {
    background: #000;
    padding: 15px 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
  }
  .filter-dropdown {
    background: #000;
    color: #fff;
    border: 1.5px solid #c0c0c0;
    padding: 10px 12px;
    font-size: 1rem;
    border-radius: 4px;
    min-width: 150px;
    max-width: 220px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }

  /* Product Section */
  .product-section {
    background: #000;
    color: #fff;
    padding: 30px 15px;
    text-align: center;
  }
  .product-section .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
  }
  .products-wrapper {
    display: flex;
    justify-content: center;
  }
  .products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 400px;
  }
  .product-card {
    background: #111;
    padding: 15px;
    border-radius: 8px;
  }
  .product-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
  }
  .woocommerce-loop-product__title {
    margin: 15px 0 8px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
  }
  .price {
    color: #ccc;
    margin-bottom: 12px;
  }
  .product-card .button {
    width: 100%;
    background-color: #444;
    border: none;
    padding: 10px 0;
    font-weight: 600;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .product-card .button:hover {
    background-color: #666;
  }

  /* Newsletter Signup */
  .newsletter-signup {
    background: #000;
    color: #fff;
    padding: 25px 20px;
    text-align: center;
    max-width: 400px;
    margin: 40px auto;
    border-radius: 8px;
  }
  .newsletter-signup h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
  }
  .newsletter-signup p {
    font-size: 1rem;
    margin-bottom: 18px;
  }
  .newsletter-signup form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
  }
  .newsletter-signup input[type="email"] {
    flex: 1;
    padding: 10px 12px;
    font-size: 1rem;
    border: 1.5px solid #c0c0c0;
    border-radius: 4px;
    background: #000;
    color: #fff;
  }
  .newsletter-signup input[type="email"]::placeholder {
    color: #ccc;
  }
  .newsletter-signup button {
    padding: 10px 18px;
    font-size: 1rem;
    font-weight: 600;
    background: #444;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .newsletter-signup button:hover {
    background-color: #666;
  }
  .newsletter-signup small {
    color: #bbb;
    font-size: 0.8rem;
  }

  /* Gradient Separator */
  .filter-gradient-separator {
    height: 5px;
    width: 80%;
    max-width: 400px;
    margin: 30px auto;
    background: linear-gradient(90deg, #c0c0c0, #888, #c0c0c0);
    border-radius: 2.5px;
  }
}