* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: url("images/home-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero {
  background: url("images/header-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 32px 80px;
  color: #fff;

  h1 {
    text-align: center;
    font-size: 60px;
    font-weight: 800;

    span {
      font-weight: 700;
      opacity: 0.8;
      font-size: 18px;
      display: block;
      width: 70%;
      margin: 0 auto;
      margin-top: 16px;
      line-height: 30px;
    }
  }
}

header {
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    ul {
      display: flex;
      gap: 52px;
      list-style: none;

      a {
        color: #fff;
        text-decoration: none;
      }
    }
  }
}

button,
.button {
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;

  &:hover {
    transform: translateY(-4px);
    opacity: 0.9;
  }
}

.about-artist {
  display: flex;
  gap: 28px;

  .about-artist-content {
    padding: 70px;
    display: flex;
    flex-direction: column;
    gap: 45px;
    width: 60%;
  }

  .about-artist-images {
    width: 40%;
    width: min(576px, 100%);
    aspect-ratio: 1/1;
    display: grid;
    place-items: center;
  }

  .about-artist-images > img {
    grid-area: 1 / 1;
    width: 350px;
    border-radius: 16px;
  }

  .about-artist-images > img:nth-child(1) {
    transform: translate(-60%, -20%) scale(0.92);
    z-index: 1;
  }
  .about-artist-images > img:nth-child(2) {
    transform: translate(-30%, 8%) scale(0.96);
    z-index: 2;
  }
  .about-artist-images > img:nth-child(3) {
    transform: translate(0%, 45%) scale(1.06);
    z-index: 3;
  }

  .chip {
    font-size: 18px;
    line-height: 20px;
    font-weight: 500;
    background-color: #fce7f3;
    color: #9d174d;
    border-radius: 50px;
    width: fit-content;
    padding: 3px 24px 3px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  h2 {
    font-size: 62px;
    font-weight: 700;
    line-height: 70px;
  }

  p {
    font-size: 22px;
    line-height: 28px;
  }

  .buttons-container {
    display: flex;
    gap: 32px;
  }

  .explore-magic-button {
    color: white;
    background: linear-gradient(90deg, #e15cc7 0%, #3da0d9 100%);
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1),
      0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 14px 16px 14px 24px;
    border-radius: 50px;
    border: none;
    font-size: 18px;
    line-height: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .contact-us-button {
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid #fbcfe8;
    background-color: white;
    color: #db2777;
    font-size: 18px;
    font-weight: 500;
    gap: 10px;
    display: flex;
    align-items: center;
  }
}

.art-and-music {
  .music-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    width: fit-content;
    margin: 52px auto;
  }
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 75px;

  h2 {
    font-size: 60px;
    font-weight: 900;
    text-transform: uppercase;
  }

  svg {
    width: 65px;
  }
}

.contact-us {
  padding: 30px;
  margin-top: 50px;
  margin-bottom: 50px;

  .content-container {
    background: rgba(209, 98, 200, 0.4);
    padding: 86px 68px 68px 68px;
    border-radius: 48px;
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: space-between;

    .content-col {
      max-width: 468px;
      .chip {
        background: #f3e8ff;
        color: #6b21a8;
        line-height: 20px;
        padding: 6px 16px;
        font-weight: 500;
        font-size: 12px;
        border-radius: 20px;
        width: fit-content;
      }

      h3 {
        font-size: 30px;
        padding: 8px 20px;
        background: linear-gradient(90deg, #ec4899 0%, #9333ea 100%);
        border-radius: 12px;
        color: white;
        width: fit-content;
        margin-top: 35px;
        margin-bottom: 30px;
      }

      p {
        font-size: 16px;
        line-height: 28px;
        color: #4b5563;
      }

      .work-modal-contact-artist-content {
        margin-top: 48px;
        margin-bottom: 40px;
      }

      .contact-us-email-cotainer {
        display: flex;
        flex-direction: column;
        gap: 5px;
      }

      .reach-us-title {
        font-size: 16px;
        font-weight: 500;
        text-transform: uppercase;
      }

      .contact-us-email {
        font-size: 14px;
        color: #4b5563;
      }

      .follow-art-title {
        font-size: 28px;
        line-height: 28px;
        font-weight: 500;
      }

      .follow-art-instagram-container {
        background: white;
        color: #ec4899;
        margin-top: 16px;

        i {
          color: #ec4899;
        }
      }
    }
  }

  .form-col {
    background: #ffffff;
    box-shadow: 0px 8px 10px -6px rgba(0, 0, 0, 0.1),
      0px 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 32px;
    flex: 1;
    max-width: 468px;

    h3 {
      font-size: 20px;
      font-weight: bold;
      line-height: 28px;
    }

    form {
      display: flex;
      flex-direction: column;
      gap: 25px;
      margin-top: 25px;
    }

    input,
    textarea {
      font-size: 16px;
      line-height: 24px;
      padding: 12px 16px;
      border: 3px solid #fbcfe8;
      border-radius: 8px;
    }

    input::placeholder,
    textarea::placeholder {
      color: #cccccc;
      font-size: 16px;
      line-height: 24px;
      font-family: "inter";
    }

    .input-container {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    button {
      color: #e8479c;
      border: none;
      background: white;
      font-size: 14px;
      font-weight: medium;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      text-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1),
        0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
  }
}

footer {
  padding: 36px 32px 36px 32px;
  background: linear-gradient(
    93.48deg,
    #c467ca 0.77%,
    #435ae3 46.2%,
    #439dd8 99.04%
  );

  .footer-columns-container {
    display: flex;
    align-items: start;
    gap: 144px;
  }

  .footer-first-column-container {
    display: flex;
    flex-direction: column;
    gap: 11px;
  }

  ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 42px;

    li {
      color: #fbcfe8;
      font-size: 22px;
      font-weight: 600;
      line-height: 28px;
    }
  }

  p {
    color: #fbcfe8;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    margin-top: 11px;
  }

  .copyright {
    color: #fbcfe8;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    margin-top: 46px;
  }

  .instagram-icon {
    font-size: 29px;
    color: #f9a8d4;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 24px;

    header {
      img {
        width: 70px;
      }
    }

    h1 {
      font-size: 20px;
      margin-top: 60px;
      span {
        width: 100%;
      }
    }
  }

  .about-artist {
    flex-direction: column-reverse;
    padding: 0;

    .about-artist-content {
      padding: 16px;
      width: 100%;
      gap: 0px;
      margin-top: -70px;

      .chip {
        font-size: 10px;
      }

      h2 {
        font-size: 20px;
      }

      p {
        font-size: 10px;
        line-height: 19px;
      }

      .buttons-container {
        margin-top: 40px;
      }

      button {
        font-size: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
        line-height: 20px;
      }
    }

    .about-artist-images {
      padding-right: 21px;
      place-items: center end;
      width: fit-content;
      margin-left: auto;
    }

    .about-artist-images > img {
      width: 110px;
    }
  }

  footer {
    padding: 24px 22px 24px 22px;

    .footer-columns-container {
      gap: 62px;
      justify-content: space-between;
    }

    .footer-first-column-container {
      gap: 5px;
    }

    p {
      font-size: 10px;
    }

    ul {
      gap: 22px;
      padding-top: 20px;

      li {
        font-size: 14px;
        line-height: 20px;
      }
    }

    .instagram-icon {
      margin-top: 16px;
    }

    .copyright {
      margin-top: 16px;
    }
  }
}

/* Footer button styling */
.modal-trigger {
  background: none;
  border: none;
  color: #fbcfe8;
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
  cursor: pointer;
  padding: 0;
}

.modal-trigger:hover {
  color: #fff;
}

.our-work {
  padding: 78px;
}

.our-work-container {
  display: flex;
  flex-wrap: wrap;
  gap: 45px 30px;
  justify-content: center;
  padding: 0 20px;
  margin: 0 auto;
  margin-top: 40px;
}

.work-item {
  width: 300px;
}

.work-divider {
  width: 100%;
  height: 1px;
  background-color: black;
  margin-top: 22px;
  margin-bottom: 22px;
  border: none;
}

.work-info {
  border-radius: 8px;
  border: none;
  width: fit-content;
  padding: 6px 18px;
  background: linear-gradient(90deg, #d162c8 0%, #5b93d5 100%);
  color: white;
  line-height: 24px;
  font-weight: 500;
}

.work-image {
  width: 100%;
  height: 315px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.work-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}

/* Base Modal Styles (shared by all modals) */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fff;
  border-radius: 20px;
  width: 70vw;
  max-width: 600px;
  max-height: 80vh;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
  display: flex;
  flex-direction: column;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal header (non-scrollable) */
.modal-header {
  padding: 30px 30px 0 30px;
  flex-shrink: 0;
}

.modal-header h2 {
  color: #000;
  margin-bottom: 10px;
  font-size: 42px;
  font-weight: 700;
  margin: 0;
}

.modal-header p {
  color: #000;
  font-size: 16px;
  line-height: 1.6;
  margin: 10px 0 0 0;
}

.modal-body {
  padding: 34px;
  overflow-y: auto;
}

.modal-body h2 {
  color: #000;
  margin-bottom: 10px;
  font-size: 42px;
  font-weight: 700;
}

.modal-body p {
  color: #000;
  font-size: 16px;
  line-height: 1.6;
}

.close {
  font-size: 24px;
  font-weight: bold;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  background: white;
  border: none;
  color: #636060;
  z-index: 1000;
  flex-shrink: 0;
  padding: 8px;
  border-radius: 50%;
}

.close:hover,
.close:focus {
  color: #000;
  cursor: pointer;
}

.work-modal-body {
  display: flex;
  gap: 30px;
}

.work-modal-image-container {
  flex: 0 0 35%; /* Fixed 35% width */
}

.work-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.work-modal-info {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.work-modal-info h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 12px;
}

.work-modal-content-title {
  font-size: 24px;
  margin-bottom: 4px;
  font-weight: 800;
}

.contact-artist-title {
  color: #9b35e3;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 10px;
}

.work-modal-contact-artist-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.work-modal-contact-icon {
  font-size: 20px;
  color: white;
  background: linear-gradient(96.22deg, #de45a6 7.93%, #9934e5 97.48%);
  border-radius: 100%;
  padding: 12px;
  width: fit-content;
}

.work-modal-contact-artist-email {
  text-decoration: underline;
  font-weight: 900 !important;
}

.work-modal-info p {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 500;
  margin-bottom: 6px;
}

.work-modal-details {
  margin-top: 12px;
}

.work-modal-details p {
  font-size: 14px;
  margin-bottom: 8px;
}

.work-modal-form-container {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.work-modal-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.work-modal-input-icon {
  position: absolute;
  left: 18px;
  color: #636060;
  font-size: 18px;
  z-index: 1;
}

.work-modal-form-container input {
  width: 400px;
  padding: 15px 18px 15px 45px;
  border: none;
  border-radius: 12px;
  background: #ecebeb;
  font-size: 16px;

  &::placeholder {
    color: #636060;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
  }
}

.work-modal-form-button {
  font-size: 22px;
  font-weight: 600;
  background: linear-gradient(96.22deg, #de45a6 7.93%, #9934e5 97.48%);
  padding: 15px 18px;
  border: none;
  border-radius: 12px;
  color: white;
}

/* Responsive modal styles */
@media (max-width: 768px) {
  .modal-content {
    width: 90vw;
    max-width: none;
    margin: 10% auto;
    border-radius: 16px;
    padding: 20px;
  }

  .modal-header {
    padding: 20px 20px 0;
  }

  .modal-header h2 {
    font-size: 32px;
  }

  .modal-body {
    padding: 20px;
  }

  /* Work modal specific */
  .work-modal-body {
    flex-direction: column;
    gap: 20px;
  }

  .work-modal-image-container {
    flex: none;
    max-width: 100%;
  }

  .work-modal-image {
    height: auto;
    max-height: 300px;
  }

  .work-modal-form-container {
    flex-direction: column;
    margin-top: 20px;
  }

  .work-modal-input-wrapper input {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 95vw;
    padding: 15px;
  }

  .modal-header h2 {
    font-size: 28px;
  }

  .modal-body p {
    font-size: 14px;
  }

  .close {
    top: 10px;
    right: 10px;
    font-size: 20px;
  }
}

#work-email-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  display: 100%;
}

/* Work Modal Specific Styles */
#workModal .modal-content {
  max-width: 90vw;
  width: 900px;
  max-height: 85vh;
}

#workModal .work-modal-image {
  border-radius: 20px;
}

/* Form message styles */
.form-message {
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.form-message.info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.image-collage {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 60px auto;
  max-width: 1200px;
  height: 450px; /* space for center image */
  overflow: hidden;
}

.collage-item {
  position: absolute;
  border-radius: 0px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  transition: all 0.8s ease; /* smooth resize + move */
}

/* Edges (smallest) */
.item-1 {
  width: 185px;
  height: 185px;
  opacity: 0.8;
  transform: translateX(-450px);
  z-index: 1;
}

.item-5 {
  width: 185px;
  height: 185px;
  opacity: 0.8;
  transform: translateX(450px);
  z-index: 1;
}

/* Next to center (medium) */
.item-2 {
  width: 225px;
  height: 225px;
  opacity: 0.9;
  transform: translateX(-280px);
  z-index: 2;
}

.item-4 {
  width: 225px;
  height: 225px;
  opacity: 0.9;
  transform: translateX(280px);
  z-index: 2;
}

/* Center (largest) */
.item-3 {
  width: 400px;
  height: 400px;
  opacity: 1;
  transform: translateX(0);
  z-index: 3;
  margin: 0 12px;
}

/* Responsive adjustments for image collage */
@media (max-width: 1024px) {
  .image-collage {
    gap: 0;
    margin: 40px auto;
  }

  .item-1,
  .item-5 {
    width: 150px;
    height: 150px;
  }

  .item-2,
  .item-4 {
    width: 180px;
    height: 180px;
  }

  .item-3 {
    width: 320px;
    height: 320px;
    margin-right: 8px;
    margin-left: 8px;
  }
}

@media (max-width: 768px) {
  .image-collage {
    justify-content: center;
    margin: 20px auto;
  }

  .item-1,
  .item-5 {
    width: 100px;
    height: 100px;
  }

  .item-1 {
    transform: translateX(-100px);
  }

  .item-5 {
    transform: translateX(100px);
  }

  .item-2 {
    transform: translateX(-140px);
  }
  .item-4 {
    transform: translateX(140px);
  }

  .item-2,
  .item-4 {
    width: 140px;
    height: 140px;
  }

  .item-3 {
    width: 240px;
    height: 240px;
    margin: 8px 4px;
  }

  .about-artist {
    margin-top: 20px;
  }

  .section-title {
    h2 {
      font-size: 32px;
    }
  }

  .our-work {
    padding: 36px;
  }

  .music-logos {
    img {
      width: 50px;
    }
  }

  .our-work-container {
    margin-top: 30px;
  }

  .contact-us {
    padding: 18px;

    .content-container {
      padding: 36px 18px;

      .content-col {
        h3 {
          font-size: 20px;
        }
      }
    }
  }
}

@media (max-width: 576px) {
  .image-collage {
    gap: 8px;
    margin: 20px auto;
  }

  .collage-item {
    margin: 0;
  }

  .item-1,
  .item-5 {
    width: 80px;
    height: 80px;
  }

  .item-2,
  .item-4 {
    width: 100px;
    height: 100px;
  }

  .item-3 {
    width: 200px;
    height: 200px;
    margin: 8px 0;
  }

  .section-title {
    h2 {
      font-size: 26px;
    }
    img {
      width: 35px;
    }
  }

  .our-work {
    padding: 24px;
  }
}

/* Enhanced responsive styles for work modal */
@media (max-width: 1024px) {
  #workModal .modal-content {
    max-width: 95vw;
    width: 95vw;
    max-height: 95vh;
    border-radius: 16px;
  }
}

@media (max-width: 768px) {
  #workModal .work-modal-body {
    flex-direction: column;
    gap: 24px;
  }

  #workModal .work-modal-info h2 {
    font-size: 24px;
  }

  #workModal .work-modal-info p {
    font-size: 16px;
  }

  #workModal .work-modal-content-title {
    font-size: 20px;
  }

  #workModal .work-modal-form-container {
    flex-direction: column;
    gap: 12px;
  }

  #workModal .work-modal-input-wrapper input {
    padding: 15px 18px 15px 45px;
    font-size: 14px;
  }

  .work-modal-content-title.contact-artist-title {
    text-align: left;
  }

  #workModal .work-modal-form-button {
    font-size: 18px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  #workModal .modal-content {
    padding: 12px;
    max-height: 95vh;
    width: 95vw;
  }

  #workModal .work-modal-info h2 {
    font-size: 20px;
  }

  #workModal .work-modal-info p {
    font-size: 14px;
  }

  #workModal .work-modal-content-title {
    font-size: 18px;
  }

  #workModal .work-modal-contact-artist-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
