/* Menu Landing Page Styles - Kautschur Theme */

:root {
  --brand-teal: #7BCCC4;
  --brand-teal-hover: #6bb3ad;
  --brand-teal-light: rgba(123, 204, 196, 0.1);
  --brand-teal-border: rgba(123, 204, 196, 0.3);
}

body {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-family);
  margin: 0;
  padding: 1.5rem;
  min-height: 100vh;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

/* Page Header */
.page-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-header h1 {
  margin: 0;
  padding: 0;
  color: var(--text-primary);
  font-size: 1.75rem;
  font-weight: 600;
  background: none;
  box-shadow: none;
}

.logo {
  background: var(--brand-teal);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  flex-shrink: 0;
}

/* Info Banner */
.info-banner {
  background: var(--brand-teal-light);
  border: 1px solid var(--brand-teal-border);
  border-left: 4px solid var(--brand-teal);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  box-shadow: var(--shadow);
}

.info-banner strong {
  color: var(--brand-teal);
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Tool Cards */
.tool-card {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-teal);
  outline: none;
}

.tool-card:focus-visible {
  box-shadow: 0 0 0 3px var(--brand-teal-light), var(--shadow-lg);
}

/* Tool Icon */
.tool-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.jira-icon {
  background: var(--brand-teal-light);
  border: 1px solid var(--brand-teal-border);
}

.grocy-icon {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
}

/* Tool Content */
.tool-content {
  flex: 1;
}

.tool-title {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tool-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Tool Footer */
.tool-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-color);
}

.tool-action {
  color: var(--brand-teal);
  font-weight: 500;
  font-size: 0.875rem;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

/* Disabled State */
.tool-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.tool-card.disabled .tool-action {
  color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 640px) {
  body {
    padding: 1rem;
  }
  
  .page-header {
    padding: 1rem;
  }
  
  .page-header h1 {
    font-size: 1.5rem;
  }
  
  .logo {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .tool-card {
    padding: 1.25rem;
  }
  
  .tool-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}

/* Animation for card entrance (optional) */
@media (prefers-reduced-motion: no-preference) {
  .tool-card {
    animation: fadeIn 0.3s ease-out;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
