.project-showcase {
  position: relative;
  display: flex;
  flex-flow: row nowrap;
  gap: 40px;
  margin: 60px auto;
  align-items: stretch;
  max-width: clamp(300px, 95vw, 1000px);
}

/* Left Column */
.project-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tech-stack {
  color: #ff9800; /* Example accent color, maybe use your orange! */
  font-family: monospace;
  font-size: 0.9rem;
}

/* The Tab Buttons */
.tab-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  background-color: rgba(254, 246, 226);
  border-radius: 15px;
}

.tab-btn {
  background: transparent;
  border: 3px solid rgba(255, 200, 200, .5);
  padding: 15px;
  padding-right: 40px;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .2);
  position: relative;
}

.tab-btn::after {
  content: " ❯"; /* Standard Unicode right arrow */
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease; /* Bonus: allows for animation! */
}

/* Fun interaction: make the arrow move on hover */
.tab-btn:hover::after {
  transform: translateY(-50%) translateX(5px);
}

.tab-btn span {
  display: block;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 5px;
}

/* Active Tab State */
.tab-btn.active, .tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 0, 255, 0.3);
  transform: translateX(5px); /* Nice little bump effect */
}

/* Right Column: The Glass Display */
.project-display {
  flex: 1.5; /* Takes up a bit more room than the text */
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Reusing your glassmorphism! */
  background-color: rgba(40, 40, 40, 0.1);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  backdrop-filter: blur(10px) saturate(180%);
  box-shadow: 0 4px 15px rgba(0,0,0, 0.3);
}

.project-display img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: opacity 0.3s ease; /* For the crossfade */
}

/* Mobile Stacking */
@media (max-width: 640px) {
  .project-showcase {
    max-width: 95vw;
    flex-flow: column nowrap;
    padding: 0 20px;
  }
}

/* TOOLTIP */
/* 2. Create the hover hint using CSS */
.project-display::after {
  content: "🔍 Click to enlarge"; /* You can use an emoji or just text */
  position: absolute;
  bottom: 30px;
  right: 30px;
  background-color: rgba(20, 20, 20, 0.7);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-family: inherit;
  opacity: 0; /* Hidden by default */
  transition: opacity 0.3s ease;
  pointer-events: none; /* CRITICAL: Ensures the hint doesn't block the actual click */
  
  /* A little mini-glassmorphism for the hint itself */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 3. Make it appear when the user hovers over the image container */
.project-display:hover::after {
  opacity: 1;
}

/* Mobile Device Fallback (Tablets and Phones) */
@media (max-width: 640px) {
  .project-display::after {
    /* Make it permanently visible */
    opacity: 0.85; 
    
    /* Tuck it tighter into the corner so it doesn't block the image */
    bottom: 10px;
    right: 10px;
    
    /* Shrink it slightly for smaller screens */
    font-size: 0.75rem; 
    padding: 6px 12px;
    
    /* Change the text to make sense for touchscreens */
    content: "🔍 Tap to enlarge"; 
  }
}

/* WIP Section Layout */
.wip-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.section-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* The Pulsing "Live" Dot */
.pulse-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #ff5252; /* A nice "recording/live" red */
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(255, 82, 82, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 82, 82, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 82, 82, 0); }
}

/* The Glass Card (Reusing your aesthetic) */
.wip-card {
  display: flex;
  flex-flow: row wrap; /* Wraps to column on smaller screens */
  gap: 30px;
  padding: 30px;
  border-radius: 15px;
  
  /* Apply your existing glassmorphism rules here! */
  background-color: rgba(40, 40, 40, 0.1);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  backdrop-filter: blur(10px) saturate(180%);
  box-shadow: 0 4px 15px rgba(0,0,0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.wip-content {
  flex: 1;
  min-width: 300px; /* Forces wrap on mobile */
}

.wip-features {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.wip-features li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Reusing your awesome terminal aesthetic for the visual */
.wip-visual {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
}

.mock-terminal {
  background: #1e1e1e;
  border-radius: 8px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.terminal-header {
  background: #2d2d2d;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
  margin-left: auto;
  margin-right: auto;
  color: #888;
  font-family: monospace;
  font-size: 0.8rem;
}

.mock-terminal pre {
  margin: 0;
  padding: 20px;
  color: #a6accd;
  font-family: monospace;
  font-size: 0.85rem;
  overflow-x: auto;
}


.utility-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.utility-grid {
  display: grid;
  /* This creates the responsive 2-column layout */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.utility-card {
  padding: 25px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  
  /* Your signature glass look */
  background-color: rgba(40, 40, 40, 0.1);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  backdrop-filter: blur(10px) saturate(180%);
  box-shadow: 0 4px 10px rgba(0,0,0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  
  transition: transform 0.2s ease, border-color 0.2s ease;
}

/* A subtle hover effect so they feel interactive */
.utility-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* Keeps it safe if the title gets too long */
  gap: 10px;
}

.card-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: black;
}

/* Little pill-shaped tags for the languages */
.tech-tag {
  background: rgba(255, 152, 0, 0.2); /* Your orange accent color */
  color: black;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-family: monospace;
  white-space: nowrap;
}

.utility-card p {
  margin: 0;
  font-size: 0.9rem;
  color: black;
  line-height: 1.5;
}
