/**
 * Reusable Component Styles
 * Cards, buttons, badges, and other UI components
 */

/* Glass card effect - used extensively throughout */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
}

/* Skill tags */
.skill-tag {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Project cards */
.project-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Status badges */
.status-badges {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  max-width: 70%;
  z-index: 10;
}

.status-badge {
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.status-badge.new-case-study {
  background: rgba(34, 197, 94, 0.2);
  color: rgb(134, 239, 172);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.new-case-study:hover {
  background: rgba(34, 197, 94, 0.3);
  transform: translateY(-2px);
}

.status-badge.coming-soon {
  background: rgba(156, 163, 175, 0.2);
  color: rgb(209, 213, 219);
  border: 1px solid rgba(156, 163, 175, 0.3);
}

.status-badge.product {
  background: rgba(59, 130, 246, 0.2);
  color: rgb(147, 197, 253);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-badge.project {
  background: rgba(168, 85, 247, 0.2);
  color: rgb(196, 181, 253);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.status-badge.case-study {
  background: rgba(245, 158, 11, 0.2);
  color: rgb(252, 211, 77);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Greeting animation */
.greeting-text {
  display: inline-block;
  min-width: 120px;
}

/* Theme toggle button */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.theme-toggle:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.15);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

/* Placeholder image styles */
.placeholder-image {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

/* Phone mockup placeholder */
.phone-mockup-placeholder {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  aspect-ratio: 9/19.5;
  max-width: 280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

@media (max-height: 900px) {
  .phone-mockup-placeholder {
    max-width: 160px;
  }
}
