@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .custom-navbar {
    display: none;
    width: 100%;
    background-color: rgba(0, 0, 0);
    border-radius: 0;
    padding: 15px 0;
    position: absolute;
    top: 100%;
    left: 0;
    text-align: center;
    z-index: 5;
  }

  .custom-navbar.active {
    display: block;
  }

  .custom-navbar ul {
    flex-direction: column;
    gap: 15px;
  }

  .custom-navbar a {
    display: block;
    padding: 10px 0;
  }

  .button {
    padding: 8px 16px;
    font-size: 0.9rem;
    white-space: normal;
  }

  .header {
    padding: 10px 20px;
    justify-content: space-between;
  }

  .contact-mobile {
    display: inline-block;
    order: 1; 
  }

  .contact-desktop {
    display: none;
  }

  .logo {
    order: 0;
  }

  .right-section {
    order: 2;
  }

  .header {
    display: flex;
    align-items: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 15px;
  }

  .art-image {
    width: 100%;
    height: auto;
  }

  .art-showcase {
    gap: 20px;
  }

  .portfolio {
    margin: 0 30px;
  }

  .filters a {
    padding: 8px 16px;
    font-size: 14px;
  }

  .gallery-grid img {
    width: 100%;
    height: 400px;
  }

   .our-story {
    flex-direction: column;
    margin: 30px 20px;
    padding: 20px;
    gap: 10px;
  }

  .story-icon {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
  }

  .story-text h3 {
    font-size: 1.5rem;
  }

  .feature-box {
    width: 90%;
    max-width: 320px;
    margin: 0 20px;
  }

  .contact-info-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-info-block .icon {
    font-size: 28px;
  }

  .contact-right {
    min-width: 200px;
  }
  .contact-right input,
  .contact-right textarea {
    width: 90%;
    font-size: 15px;
  }

  .contact-right button {
    width: 100%;
    font-size: 16px;
    padding: 12px;
  }

  .contact-subtext {
    font-size: 13px;
  }
}

