/* Shared CSS for Boston Robot Hackers Website
 * Common styles for the website
 * Generated by: Claude Code
 */

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Telex&display=swap');

:root{
  --radius: 16px;
  --space-1: 8px; --space-2: 12px; --space-3: 16px; --space-4: 24px; --space-5: 32px;
  --border: #9ca3af;
  --bg: #f6f7fb;
  --text: #111;
  --primary: #2563eb;
}
body { background: var(--bg); color: var(--text); }
.card { border-radius: var(--radius) !important; border: 1px solid var(--border); }
.btn { background: var(--primary); border-radius: 10px; }

/* Custom skill badges - replaces Bootstrap .badge for better text wrapping */
.skill-badge {
  display: inline-block;
  padding: 0.125rem 0.375rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  font-size: 5px;
  font-weight: 600;
  line-height: 1;
  color: rgb(28, 6, 6);
  background-color: #c9d4e6;
  border: none;
  border-radius: 5px;
  word-break: break-word;
  white-space: normal;
  text-align: center;
  vertical-align: baseline;
}

/* Member skills container */
.member-skills {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

body { font-size: 18px; line-height: 1.6; }
h1 { font-size: clamp(2rem, 3vw + 1rem, 3rem); }
h2 { font-size: clamp(1.5rem, 1.6vw + 1rem, 2rem); }

/* Base Typography and Layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body { 
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
}

/* Fixed footer at bottom of screen */
footer {
    position: static !important;
    width: 100% !important;
    padding: 1rem 0 !important;
    margin: 2rem 0 0 !important;
}

/* Telex font for UI elements and headings */
h1, h2, h3, h4, h5, h6,
.nav-link,
.card-title,
.hero-title,
.section-title,
.banner h1,
.banner p {
    font-family: 'Telex', sans-serif;
}

/* Navigation typography */
.nav-link { 
    font-weight: 600; 
    font-size: 0.9rem; 
    line-height: 1;
}

/* Heading hierarchy */
h1, .banner h1 { 
    font-size: 3rem; 
}

h2 { 
    font-size: 2rem; 
}

h3 { 
    font-size: 1.5rem; 
}

.banner p { 
    font-size: 1.5rem; 
}

/* Body text maintains system fonts for readability */
p, li, blockquote {
    font-size: 1rem;
    line-height: 1.5;
}


/* Base image styling - shared by all image types */
.image-base {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  overflow: hidden;
  background-size: cover, contain;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

/* Image sizing and gradients */
.image-square {
  background: none;
}

.image-rectangle {
  background: 
    linear-gradient(135deg, rgba(220, 53, 69, 0.4), rgba(255, 193, 7, 0.4)),
    url('images/placeholder.png');
}

/* Default image sizes */
.image-square {
  height: 160px;
  width: 100%;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.image-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Open to work banner for member cards */
.card.open-to-work {
  position: relative;
}

.card.open-to-work::after {
  content: "OPEN TO WORK";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: red;
  color: white;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  line-height: 20px;
  letter-spacing: 0.5px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.image-rectangle {
  height: 80px;
  width: 120px;
}

/* Common responsive adjustments */
@media (max-width: 767px) {
  .image-rectangle {
    width: 100%;
    height: 120px;
  }
}

/* Performance optimizations */
.image-base {
  will-change: transform;
  backface-visibility: hidden;
}

/* Accessibility improvements */
.image-base[role="img"] {
  background-color: #f8f9fa;
}

.image-base[role="img"]:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

