.hero-photo {
  flex: 1;
  min-width: 260px;
  max-width: 320px;
}

.hero-image {
  width: 100%;
  border-top-left-radius: 200px;
  border-top-right-radius: 200px;
  border-bottom-left-radius: 200px;
  border-bottom-right-radius: 0;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.gradient-button {
  position: relative;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 32px;
  background-color: transparent;
  color: #111;
  z-index: 1;
  overflow: hidden;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.gradient-button::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(90deg, #ff8a00, #e52e71, #9b00ff, #00e0ff);
  border-radius: inherit;
  z-index: -1;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: animateGlow 5s linear infinite;
}

@keyframes animateGlow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* === TAG PILL === */
.tech-tag,
.project-pill {
  display: inline-block;
  background: #f0f3f7;
  color: #222;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 16px;
  margin: 6px 6px 0 0;
  border: 1px solid #dfe3e8;
  white-space: nowrap;
}

/* === SKILL CARD === */
.skill-card {
  scroll-snap-align: start;
  width: 200px;
  height: 60px;
  padding: 1rem;
  border: 2px solid #dfe3e8;
  border-radius: 20px;
  background: white;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.skill-card strong {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
}

.skill-card small {
  font-size: 14px;
  color: #666;
}

/* === APPSHOWCASE BLOCK === */
.appshowcase-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.appshowcase-title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.appshowcase-title-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
}

.appshowcase-title-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.appshowcase-type {
  font-size: 1rem;
  color: #666;
}

.appshowcase-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* === DESCRIPTION === */
.appshowcase-description {
  text-align: justify;
}

/* === PREVIEW IMAGES === */
.appstore-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 0;
  gap: 16px;
  -webkit-overflow-scrolling: touch;
}

.image-modal-img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* === TAGS === */
.appshowcase-tags-row {
  flex-wrap: wrap;
  gap: 10px;
}

.appshowcase-tag {
  background: #f0f3f7;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #dfe3e8;
  font-size: 14px;
  color: #222;
  white-space: nowrap;
}

/* === FOOTER === */
.gama-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 40px 20px;
  border-top: 1px solid #eee;
  background-color: #f9f9f9;
  flex-wrap: wrap;
}

.gama-logo {
  height: 90px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  padding-left: 20px;
}

/* === COLLAPSIBLE DESCRIPTION === */
.collapsible-text {
  max-height: 7.5em;
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}

.collapsible-text.expanded {
  max-height: 1000px;
}

.read-more-toggle {
  background: none;
  color: #1d3557;
  font-weight: 600;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  padding: 0;
  font-size: 1rem;
}

.read-more-toggle:hover {
  text-decoration: underline;
}

/* === SECTION TITLES === */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 24px 0 12px;
  position: relative;
  padding-top: 20px;
}

.section-title::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #ddd;
  position: absolute;
  top: 0;
  left: 0;
}

/* === GLOWING FOOTER BUTTON === */
.glow-button {
  position: relative;
  display: inline-block;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  background-color: transparent;
  border-radius: 36px;
  text-decoration: none;
  z-index: 1;
  overflow: hidden;
  transition: color 0.3s ease;
}

.glow-button::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(90deg, #ff8a00, #e52e71, #9b00ff, #00e0ff);
  border-radius: inherit;
  z-index: -1;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: glowMove 5s linear infinite;
}

@keyframes glowMove {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* === GAMA ABOUT SNIPPET === */
.gama-about-snippet {
  padding: 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  backdrop-filter: blur(6px);
  font-size: 1rem;
}

.gama-snippet-logo {
  width: 120px;
  height: auto;
  margin-bottom: 12px;
}

.gama-about-snippet h4 {
  margin: 0 0 10px 0;
  font-weight: 700;
  font-size: 1.2rem;
}



/* === MORE ABOUT ME === */
.more-about-me-wrapper {
  padding: 60px 20px;
  text-align: center;
}

/* 🧱 Layout */
.more-about-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}



.more-about-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* 📸 Photos left */
.photo-stack {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 280px;
  max-width: 33%;
  position: relative;
  height: 420px;
}

.tilted-img {
  position: absolute;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.img-1 { top: 0; left: 0; transform: rotate(-6deg); }
.img-2 { top: 80px; left: 100px; transform: rotate(4deg); }
.img-3 { top: 180px; left: 40px; transform: rotate(-3deg); }


/* 💊 Pills right */
.pills-wrapper {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  gap: 12px;
  padding-top: 20px;
}

/* 🎯 Pill style */
.pill {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.75rem !important;  /* Force override */
  font-weight: 600;
  color: #fff;
  border-radius: 999px;
  transform: rotate(var(--tilt));
  transition: transform 0.3s ease;
  white-space: nowrap;
}

.pill:hover {
  transform: rotate(0deg) scale(1.05);
}

.btn-pill-link,
.btn-go-back {
  display: inline-block;
  padding: 10px 20px;
  background: #111;
  color: white;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-pill-link:hover,
.btn-go-back:hover {
  background: #444;
  transform: scale(1.05);
}


/* EVEN MORE BUTTON */

.even-more-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 999px;
  background-color: #111;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s;
}
.even-more-btn:hover {
  background-color: #444;
}

.even-more-wrapper {
  text-align: center;
  margin-top: 30px;
}

.even-more-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 999px;
  background-color: #111;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.even-more-btn:hover {
  background-color: #444;
}

/* FORCE MODAL PREVIEW TO FIT IN THGE SCREEN*/
.image-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 0; /* ✅ remove padding so image can go full height */
}

.image-modal-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh; /* 👈 take full screen height */
  max-width: 100vw;
  max-height: 100vh;
  overflow: visible; /* 👈 allow children to grow naturally */
  background: transparent; /* optional: remove background */
  border-radius: 0; /* optional: full-screen look */
  padding: 0;
}

.image-modal-img {
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #111;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  padding: 4px 10px;
  cursor: pointer;
  z-index: 10000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: background 0.2s ease;
}

.image-modal-close:hover {
  background: #eee;
}

#emojiModalOverlay {
  animation: fadeAndHide 1s ease-out 5s forwards;
}

@keyframes fadeAndHide {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}



/* === Let's Work Together Page Styles === */
.lets-work-together-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.lwt-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.lwt-subtext {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #444;
}

.lwt-subtext-small {
    font-size: 1rem;
    color: #666;
    margin-bottom: 3rem;
}

.lwt-icons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.lwt-icon-item {
    flex: 0 1 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
    color: #222;
}

.lwt-icon-item span {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.lwt-final-text {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.lwt-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, orange, purple, blue) 1;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    color: #111;
    transition: background 0.3s, color 0.3s;
}

.lwt-button:hover {
    background: linear-gradient(45deg, orange, purple, blue);
    color: #fff;
}