* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* for hiding the tab*/
.tab-menu.is-hidden {
  display: none !important;
}

.tab-menu.open {
  display: flex;
}
/*----------------*/

body {
  background-color: black;
  color: white;
  font-family: "Arial", sans-serif;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

a.back-button {
  color: inherit;
  text-decoration: none;
}

.top-bar {
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 20px;
}

.top-bar span {
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.main-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.text-content {
  flex: 1;
  min-width: 300px;
  max-width: 25%;
}

.title {
  text-transform: uppercase;

  font-size: 42px;
  font-weight: bold;
  line-height: 1.2;
}

.subtitle {
  font-size: 20px;
  color: #aaa;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.tags {
  margin-bottom: 10%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 400px; /* adjust if needed */
}

.tag {
  font-family: "Roboto Mono", monospace;

  text-transform: uppercase;
  background: white;
  color: black;
  padding: 6px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
  flex: 1 1 calc(50% - 10px); /* 👈 2 per row with 10px gap */
}
/* tag active button */

.tag.active {
  background: #ff4081 !important; /* subtle white glow */
  border: 1px solid #ffffff55;
  color: #fff;
}

/* Optional: Different background for dark tags */
.tag.dark {
  background: #222;
  color: white;
}

.tag.dark {
  background: #222;
  color: white;
}

.about {
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: bold;
  letter-spacing: 1px;
}

.description {
  font-size: 12px;
  line-height: 1.5;
  color: #aaa;
  max-width: 400px;
}

.image-section {
  height: 81vh;
  flex: 1;
  min-width: 300px;
  position: relative;
  z-index: 1;
}

.main-image {
  width: 100%;
  border-radius: 25px;
  object-fit: cover;
  height: 81vh;
}

button#main-git-button {
  background: rgb(64, 230, 255);
}
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }
}

/* go back -----------------*/
.bracket-left {
  font-size: 20px;
  margin: 6px;
}
.bracket-right {
  font-size: 20px;
  margin: 6px;
}
.nav-right {
  cursor: pointer;
  position: relative;
  display: inline-block;
  font-size: 24px;
  text-decoration: none;
  text-transform: uppercase;
  color: #ccc;
  font-family: "Roboto Mono", monospace;
}
.nav-right:hover {
  text-underline-position: under;
}

.nav-right::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #ff4081;
  transition: width 0.3s ease-in-out;
}

.nav-right:hover::after {
  width: 100%;
}

.nav-left {
  cursor: pointer;
  position: relative;
  display: inline-block;
  font-size: 24px;
  text-decoration: none;
  text-transform: uppercase;
  color: #9d9c9c;
  font-family: "Roboto Mono", monospace;
}
.nav-left:hover {
  text-underline-position: under;
}

.nav-left::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #ff4081;
  transition: width 0.3s ease-in-out;
}

.nav-left:hover::after {
  width: 100%;
}
.bracket-container {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}

/*menu tab-------------------------*/
.tab-menu {
  width: 28%;
  position: fixed;
  top: 75px;
  right: 20px;
  background: black;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 20;
}
#menu-options:hover {
  font-size: 24px !important;
}
.tab-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
#menu-options {
  font-size: 14px !important;
  color: white;
}
.tab-menu a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-family: "Roboto Mono", monospace;

  padding: 5px 0;
}

.tab-menu a:last-child {
  border-bottom: none;
}

.image-section {
  position: relative;
}

.tab-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2;
  border-radius: 20px;
}

.tab-overlay.active {
  display: flex;
}

.tab-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.tab-options a {
  color: white;
  font-size: 49px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 1px;
  transition: opacity 0.3s;
  text-transform: uppercase;
}

.tab-options a:hover {
  /* opacity: 0.7; */
  color: #ff4081;
}
/* scroll in image----------------------------------------*/
/* 👇 Add these to override current scroll-box */
/* This makes sure only one image is visible at a time */
.scroll-box {
  /* Adjust this height to match your image height */
  height: 81vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory; /* Enable vertical snap */
  border-radius: 20px;
  position: relative;
  scrollbar-width: none;
}

.scroll-box::-webkit-scrollbar {
  display: none;
}

.scroll-inner {
  display: flex;
  flex-direction: column;
}

.main-image {
  height: 81vh; /* match scroll-box height */
  width: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  border-radius: 20px;
  transition: transform 0.3s;
}

/* .main-image:hover {
  transform: scale(1.03);
} */
.image-wrapper {
  position: relative;
  height: 81vh;
  scroll-snap-align: start;
}
/*experince description card -----*/
.experience-cards {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
  height: 58vh;
  scrollbar-color: #ff4081 black;
}

.card {
  background: #111;
  padding: 15px 20px;
  border-radius: 10px;
  color: white;
  font-family: "Roboto Mono", monospace;
  font-size: 13px;
  border: 1px solid #444;
  text-transform: uppercase;
}
/* Metric / tag pills */
.metric {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
  border: 1px solid rgba(124, 58, 237, 0.4); /* violet-ish */
  background: rgba(124, 58, 237, 0.15);
}

/* Optional: make cards breathe a bit and read cleanly */
.experience-cards .card {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.55); /* adjust to theme */
  backdrop-filter: saturate(1.1) blur(2px);
  line-height: 1.55;
}
.experience-cards .card + .card {
  margin-top: 10px;
}
.experience-cards .card strong {
  font-weight: 700;
}
.more-cards {
  margin-top: 8px;
  font-family: "Roboto Mono", monospace;

  text-transform: uppercase;
}
.more-cards > summary {
  cursor: pointer;
  color: #c7d2fe; /* tweak to your theme */
  font-weight: 600;
  list-style: none;
  margin: 6px 0 8px;
}
.more-cards > summary::-webkit-details-marker {
  display: none;
}
