/*=============== ABOUT PAGE IMAGES MEDIUM SIZE ===============*/
/* Make images in about.html medium size without changing layout */

.story__img {
  width: 100% !important;
  height: auto !important;
  max-width: 400px !important;
  max-height: 400px !important;
  object-fit: contain !important;
  border-radius: 0.75rem !important;
  transition: transform 0.3s ease !important;
}

.story__img:hover {
  transform: scale(1.05) !important;
}

/*=============== ABOUT PAGE SPACING ===============*/
/* Set proper spacing between images and text */

.story__container {
  gap: 2rem !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.story__content {
  padding: 1.5rem !important;
  margin: 0 !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

.story__image {
  padding: 1.5rem !important;
  margin: 0 !important;
  flex: 1 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.story__line {
  margin: 1rem 0 !important;
  padding: 0 0.5rem !important;
  flex: 0 0 auto !important;
}

.story__text {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.8 !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 400px !important;
}

.story__subtitle {
  margin: 0 0 1rem 0 !important;
  padding: 0 !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 400px !important;
}

/* Responsive adjustments for mobile */
@media screen and (max-width: 768px) {
  .story__img {
    max-width: 300px !important;
    max-height: 300px !important;
  }
  
  .story__container {
    gap: 1.5rem !important;
  }
  
  .story__content {
    padding: 1rem !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  .story__image {
    padding: 1rem !important;
  }
  
  .story__text {
    text-align: center !important;
    max-width: 300px !important;
  }
  
  .story__subtitle {
    text-align: center !important;
    max-width: 300px !important;
  }
  
  .story__line {
    margin: 0.75rem 0 !important;
  }
}

@media screen and (max-width: 480px) {
  .story__img {
    max-width: 250px !important;
    max-height: 250px !important;
  }
  
  .story__container {
    gap: 1rem !important;
  }
  
  .story__content {
    padding: 0.75rem !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  .story__image {
    padding: 0.75rem !important;
  }
  
  .story__text {
    text-align: center !important;
    max-width: 250px !important;
  }
  
  .story__subtitle {
    text-align: center !important;
    max-width: 250px !important;
  }
  
  .story__line {
    margin: 0.5rem 0 !important;
  }
}

/*=============== DI IMAGES ===============*/
.di-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  justify-items: center;
  align-items: center;
  margin: 2rem auto;
  padding: 1rem;
  max-width: 1200px;
}

.di-images img {
  width: 100%;
  max-width: 250px;
  height: 350px;
  border-radius: 0.75rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.di-images img:hover {
  transform: scale(1.05);
}

/* Responsive for tablets */
@media screen and (max-width: 768px) {
  .di-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1.5rem auto;
    padding: 0.75rem;
  }

  .di-images img {
    max-width: 200px;
  }
}

/* Responsive for mobile */
@media screen and (max-width: 480px) {
  .di-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem auto;
    padding: 0.5rem;
  }

  .di-images img {
    max-width: 150px;
  }
}

/*=============== DESIGNER NAME ===============*/
.designer-name {
  font-family: 'Sacramento', cursive;
  font-size: 4rem;
  text-align: center;
  margin: 2rem 0;
  color: #333;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive for smaller screens */
@media screen and (max-width: 768px) {
  .designer-name {
    font-size: 2.5rem;
    margin: 1.5rem 0;
  }
}

@media screen and (max-width: 480px) {
  .designer-name {
    font-size: 2rem;
    margin: 1rem 0;
  }
}

/*=============== FANCY LINE ===============*/
.fancy-line {
  text-align: center;
  margin: 0;
}

.fancy-line img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
