/* ============================= */
/* MOBILE FIX ONLY (max 768px)  */
/* ============================= */

@media (max-width: 768px) {

  /* Prevent horizontal overflow */
  html, body {
    overflow-x: hidden;
  }

  /* Fix hero section padding */
  section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Fix logo size on mobile */
  nav img {
    height: 40px !important;
    max-height: 40px !important;
  }

  /* Fix giant SVG purple background */
  section svg {
    display: none !important;
  }

  /* Fix hero heading size */
  h1 {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }

  /* Stack hero buttons vertically */
  section .flex.items-center.gap-4 {
    flex-direction: column !important;
    width: 100%;
  }

  section .flex.items-center.gap-4 a {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Fix image cards section */
  #creations .grid {
    grid-template-columns: 1fr !important;
  }

  #creations img {
    height: 220px !important;
  }

  /* Fix perspective image */
  figure img {
    width: 100% !important;
    height: auto !important;
  }

  /* Fix newsletter form layout */
  .newsletter-form {
    flex-direction: column !important;
    height: auto !important;
    gap: 12px !important;
    padding: 12px !important;
    border-radius: 16px !important;
  }

  .newsletter-form input {
    width: 100% !important;
  }

  .newsletter-form button {
    width: 100% !important;
  }

  /* Fix footer spacing */
  footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

}
