@font-face {
  font-family: 'Macintosh';
  src: url('/fonts/mac.ttf');
}

body {
  background: linear-gradient(135deg, #e6f3ff 0%, #e6e6fa 100%);
  min-height: 100vh;
  font-family: 'Roboto Condensed', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Typography System - Roboto Condensed + IBM Plex Mono */

/* Force Roboto Condensed for all headings and main content */
h1, h2, h3, h4, h5, h6, .heading, .name, .bio, .navbar-brand, .nav-link, .btn {
  font-family: 'Roboto Condensed', sans-serif !important;
  font-weight: 400;
}

/* IBM Plex Mono for technical content */
code, pre, .code, .technical, .monospace {
  font-family: 'IBM Plex Mono', monospace !important;
}

/* Override any serif fonts */
.serif {
  font-family: 'Roboto Condensed', sans-serif !important;
}

/* Apple Bomb Icon Logo Styling */
.navbar-brand img {
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.navbar-brand:hover img {
  transform: scale(1.1);
}

/* Organized Chaos Layout */
.row.row-cols-1.g-4 {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  grid-auto-rows: minmax(auto, max-content);
}

/* Some cards escape the grid with subtle rotation */
.col:nth-child(2n) .card {
  transform: rotate(-0.375deg);
  margin-top: 2.5px;
}

.col:nth-child(3n) .card {
  transform: rotate(0.25deg);
  margin-top: -1.25px;
}

.col:nth-child(5n) .card {
  transform: rotate(-0.2deg);
  margin-left: 2px;
}

/* Maintain hover effects on rotated cards */
.col:nth-child(2n) .card:hover,
.col:nth-child(3n) .card:hover,
.col:nth-child(5n) .card:hover {
  transform: rotate(0deg) translateY(-2px);
  transition: all 0.3s ease;
}

/* System 7 Desktop Footer */
.system7-desktop-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.desktop-bar {
  background: #c0c0c0;
  border-top: 2px solid black;
  border-bottom: 1px solid #999;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  box-shadow: 0 -2px 4px rgba(0,0,0,.1);
}

.desktop-items {
  display: flex;
  align-items: center;
  gap: 16px;
}

.desktop-file {
  font-size: 11px;
  color: black;
  font-family: 'Roboto Condensed', sans-serif;
}

.desktop-icon {
  color: black;
  text-decoration: none;
  font-size: 14px;
  padding: 4px;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.desktop-icon:hover {
  background-color: #0066cc;
  color: white;
}

.trash-icon {
  font-size: 16px;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.trash-icon:hover {
  background-color: #0066cc;
}

/* Add bottom margin to content to account for fixed footer */
body {
  margin-bottom: 32px;
}

.garden-list-page .container {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.garden-list-page .card-body {
  padding: 14px;
}

.card {
  border: 2px solid black;
  box-shadow: 5px 5px rgba(0,0,0,.2);
  background: white;
  border-radius: 0 !important;
  margin-bottom: 20px;
}

/* Enhanced drop shadow for floating effect */
.card:hover {
  box-shadow: 8px 8px rgba(0,0,0,.3);
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

.card-body {
  padding: 0;
}

.card-header {
  background: repeating-linear-gradient(white, white 4px, #ddd 4px, #ddd 6px);
  border-bottom: 2px solid black;
  padding: 4px 8px;
  font-size: 13px;
}

/* Style the entire card body top section as title bar */
.card-body .row:first-child {
  background: repeating-linear-gradient(white, white 4px, #ddd 4px, #ddd 6px);
  border-bottom: 1px solid black;
  padding: 8px;
  margin: 0 0 0.5rem 0;
  align-items: center;
  min-height: 24px;
  position: relative;
}

/* Add close box to title bar */
.card-body .row:first-child::before {
  content: "□";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: black;
  font-family: monospace;
}

/* Content below title bar */
.card-content {
  padding: 8px;
}

.card-content .card-title {
  font-size: 14px;
  margin: 0 0 4px 0;
  background: none;
  font-weight: bold;
}

.card-content .card-date {
  font-size: 11px;
  margin: 0;
  color: #666;
}
