body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #fff;
  color: #222;
  scroll-behavior: smooth;
}

.portfolio-container {
  display: flex;
  min-height: 100vh;
}

.profile-image {
  background: linear-gradient(135deg, #ff0000 0%, #ff5a00 40%, #ff9a00 70%, #ffce00 90%, #ffe808 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40vw;
  min-width: 270px;
  padding: 2em 0;
}

.profile-image img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 8px solid #fff;
  box-shadow: 0 4px 32px rgba(0,0,0,0.13);
  object-fit: cover;
}

.profile-details {
  flex: 1;
  padding: 3em 2em 2em 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-details header h1 {
  color: #ff0000;
  font-size: 2.5em;
  margin: 0 0 0.2em 0;
}
.profile-details header h2 {
  color: #ff5a00;
  font-size: 1.3em;
  margin: 0 0 1em 0;
  font-weight: 400;
}
.summary {
  font-size: 1.1em;
  margin-bottom: 1.2em;
}
.contact-info {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5em;
}
.contact-info li {
  margin-bottom: 0.5em;
}
.buttons {
  display: flex;
  gap: 1em;
}
#hireMeBtn {
  background: #ff9a00;
  color: #fff;
  border: none;
  padding: 0.8em 2em;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
#hireMeBtn:hover {
  background: #ff5a00;
}
.download-btn {
  background: #ffce00;
  color: #222;
  text-decoration: none;
  padding: 0.8em 2em;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  border: none;
  transition: background 0.2s;
  display: inline-block;
}
.download-btn:hover {
  background: #ffe808;
}
.social-links {
  position: fixed;
  top: 2em;
  right: 2em;
  display: flex;
  flex-direction: column;
  gap: 1em;
  z-index: 10;
}
.social-links a img {
  width: 36px;
  height: 36px;
  filter: grayscale(0.2) drop-shadow(0 1px 3px rgba(0,0,0,0.08));
  transition: filter 0.2s, transform 0.2s;
}
.social-links a:hover img {
  filter: grayscale(0) drop-shadow(0 2px 8px #ff9a00);
  transform: scale(1.12);
}
.color-palette {
  margin: 3em auto 1em auto;
  max-width: 500px;
  text-align: center;
}
.palette-row {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-bottom: 0.5em;
}
.palette-row div {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.palette-labels {
  display: flex;
  justify-content: center;
  gap: 2.2em;
  font-size: 0.95em;
  color: #555;
}
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  overflow: auto;
  background: rgba(0,0,0,0.45);
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: #fff;
  margin: auto;
  padding: 2em 2em 1em 2em;
  border-radius: 14px;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  position: relative;
}
.close {
  position: absolute;
  top: 0.8em;
  right: 1.2em;
  font-size: 1.8em;
  color: #ff0000;
  cursor: pointer;
}
#hireMeForm {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
#hireMeForm input, #hireMeForm textarea {
  padding: 0.7em;
  border: 1px solid #ffce00;
  border-radius: 6px;
  font-size: 1em;
  resize: none;
}
#hireMeForm button[type="submit"] {
  background: #ff5a00;
  color: #fff;
  border: none;
  padding: 0.8em 0;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
#hireMeForm button[type="submit"]:hover {
  background: #ff0000;
}
@media (max-width: 900px) {
  .portfolio-container {
    flex-direction: column;
    min-height: unset;
  }
  .profile-image {
    width: 100vw;
    min-width: unset;
    padding: 2em 0 1em 0;
  }
  .profile-image img {
    width: 180px;
    height: 180px;
  }
  .profile-details {
    padding: 2em 1em 1em 1em;
    align-items: center;
    text-align: center;
  }
  .social-links {
    flex-direction: row;
    top: unset;
    bottom: 1.5em;
    right: 50%;
    left: 50%;
    transform: translateX(-50%);
    gap: 1.5em;
    position: fixed;
  }
}

@media (max-width: 600px) {
  .portfolio-container {
    padding: 0;
  }
  .profile-image {
    padding: 1em 0 0.5em 0;
  }
  .profile-image img {
    width: 120px;
    height: 120px;
  }
  .profile-details {
    padding: 1.2em 0.5em 0.5em 0.5em;
    font-size: 0.97em;
  }
  .profile-details header h1 {
    font-size: 1.5em;
  }
  .profile-details header h2 {
    font-size: 1em;
  }
  .summary {
    font-size: 1em;
  }
  .buttons {
    flex-direction: column;
    gap: 0.7em;
    align-items: stretch;
  }
  #hireMeBtn, .download-btn {
    width: 100%;
    font-size: 1em;
    padding: 0.7em 0;
  }
  .contact-info li {
    font-size: 0.97em;
  }
  .social-links {
    gap: 1em;
    bottom: 0.7em;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    width: 98vw;
    max-width: 100vw;
    padding: 0.5em 0.5em 0.5em 0.5em;
    justify-content: center;
    background: rgba(255,255,255,0.95);
    border-radius: 12px 12px 0 0;
    box-sizing: border-box;
    z-index: 99;
    overflow-x: auto;
  }
  .social-links a img {
    width: 28px;
    height: 28px;
    margin: 0 2px;
  }
  .modal-content {
    padding: 1.2em 0.7em 0.7em 0.7em;
    max-width: 95vw;
  }
  #hireMeForm input, #hireMeForm textarea {
    font-size: 0.97em;
    padding: 0.5em;
  }
  #hireMeForm button[type="submit"] {
    font-size: 1em;
    padding: 0.7em 0;
  }
  .color-palette {
    margin: 1.5em auto 0.7em auto;
    max-width: 95vw;
  }
  .palette-row div {
    width: 22px;
    height: 22px;
  }
  .palette-labels {
    font-size: 0.8em;
    gap: 1em;
  }
}

