:root {
  --accent-color: #eab1d3;
  --border-radius: 12px;
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-hover: rgba(0, 0, 0, 0.15);
}



.layout-main {
    display: flex
;
    justify-content: center;
    align-items: center;
    gap: 2em;
    max-width: 100%;
    margin: 0 auto;
    padding: 2em 1em;
    flex-wrap: wrap;
    /* text-align: center; */
}

.layout-main.layout-reverse {
  flex-direction: row-reverse;
}

.studio-intro {
  max-width: 50%;
  margin: 0 auto 3em auto;
  text-align: center;
}

.service-detail {
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  box-shadow: 0 0 20px var(--shadow-light);
  margin-bottom: 3em;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.service-detail:hover {
  box-shadow: 0 0 30px var(--shadow-hover);
}

.content-text {
  flex: 1;
  padding: 1.5em 2em;
  min-width: 300px;
}

.content-text ul {
  margin-top: 1em;
  padding-left: 1.2em;
  list-style-type: disc;
  color: #555;
}

.content-image {
  flex: 1;
  padding: 1.5em 2em;
  min-width: 1em;
  /* transition: transform 0.3s ease;
  cursor: pointer; */
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 20px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .content-image:hover img {
  transform: scale(1.05);
  box-shadow: 0 14px 30px var(--shadow-hover);
} */

.line-break {
  height: 4px;
  width: 80px;
  background-color: var(--secondary-color);
  margin: 3em auto;
  border-radius: 3px;
 
}

@media (max-width: 1024px) {
  .service {
    width: 50%; /* Still 2 cards per row */
  }
}

/* Tablets and smaller */
@media (max-width: 768px) {
  .service {
    width: 100%; /* Stack cards vertically */
  }

  .first-paragraph h2 {
    font-size: var(--headertwo-mobile);
    width: 100%;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .service {
    padding: 1.5em;
    margin-bottom: 1.5em;
  }

  .first-paragraph h2 {
    font-size: var(--headertwo-mobile);
    width: 95%;
  }
}