body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: black;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: white;
  line-height: 1.6;
}

/* Container for better layout */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.abt_me_header {
  background: linear-gradient(lightblue, blue);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header style- for booth section*/
h1 {
  text-align: center;
  background: linear-gradient(to right, rgba(255, 255, 170, 1), goldenrod);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Paragraph styles*/
p {
  color: white;
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 1.5rem;
}

/* Profile section */
.profile-section {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

/* GOLD PULSE GLOW */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.2),
      0 0 30px rgba(255, 215, 0, 0.1);
    transform: scale(1.03);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.4),
      0 0 60px rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.2),
      0 0 30px rgba(255, 215, 0, 0.1);
    transform: scale(1.03);
  }
}

#Me {
  display: block;
  margin: auto;
  border-radius: 30%;
  padding: 5px;
  background: linear-gradient(45deg, blue, lightblue) border-box;
  width: 300px;
  height: 300px;
  object-fit: cover;

  animation: pulse-glow 1.5s ease-in-out infinite;
}

#IntroP {
  color: lightyellow;
  margin-left: 30px;
  margin-right: 30px;
  flex: 1;
}

/* Booth section */
.booth-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  margin: 4rem 0;
}

.booth-image {
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(45deg, blue, lightblue);
  width: 20%;
  max-width: 500px;
  height: auto;
  flex-shrink: 0;

  transition: box-shadow 0.3s ease;
}

.booth-image:hover {
  box-shadow: 0 0 15px 5px gold;
}

#boothP {
  color: rgba(255, 255, 170, 1);
  margin-left: 50px;
  margin-right: 50px;
  flex: 1;
}

/* Image gallery */
.image-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

figure {
  text-align: center;
  margin: 0;
  transition: transform 0.3s ease;
}

figure:hover {
  transform: translateY(-3px);
}

figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Specific img styles cuz why not */
#open-sauce-projects {
  border-radius: 100px;
}

#strandbeest {
  border-radius: 100px;
}

#robotic-arm {
  width: 90%;
  height: auto;
  border-radius: 200px;
}

#robotic-arm:hover {
  opacity: 0.5;
}

.yolo {
  width: 80%;
  height: auto;
  border-radius: 10px;
}

#EV {
  border-radius: 30px;
}

#lidar-bot-img {
  border-radius: 30px;
}

.ROSLidar {
  border-radius: 20px;
}

/* Ppl photos */
.people_photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  padding: 10px;
  box-sizing: border-box;
}

.people-met-photos {
  width: 100%;
  aspect-ratio: 1/1;
  padding: 3px;
  background: linear-gradient(45deg, blue, red);
  background-clip: padding-box;
  object-fit: cover;
  display: block;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/*Pop out effect*/
.people-met-photos:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 0, 100, 0.6),
    0 0 20px rgba(255, 0, 100, 0.4), 0 0 30px rgba(255, 0, 100, 0.3);
}

figcaption {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-style: italic;
  padding: 0.5rem;
  margin-top: 0.5rem;
  border-radius: 10px;
}

/* Button styles */
.button-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

button {
  margin-left: 20px;
  background: linear-gradient(45deg, #00a8ff, #007bff);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
  transform: translateY(-2px);
  opacity: 0.7;
}

button:active {
  background: linear-gradient(45deg, #007bff, #0056b3);
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Media queries */
@media (max-width: 992px) {
  .profile-section,
  .booth-section {
    flex-direction: column;
    text-align: center;
  }

  #Me {
    width: 200px;
    height: 200px;
  }

  .booth-image {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .image-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .container {
    width: 95%;
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .image-container {
    grid-template-columns: 1fr;
  }

  #Me {
    width: 150px;
    height: 150px;
  }

  h1 {
    font-size: 1rem;
  }
}
