<script setup lang="ts">
defineProps<{
  title: string
  description: string
  aspectRatio: number
}>()
</script>

<template>
  <div class="card">
    <div class="card-inner">
      <div class="accent-bar" />
      <h3>{{ title }}</h3>
      <p>{{ description }}</p>
    </div>
  </div>
</template>

<style scoped>
.card {
  border-radius: 12px;
  background: linear-gradient(145deg, #efe9de 0%, #e8e0d2 40%, #f5f0e8 100%);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: flex-start;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(20, 20, 19, 0.07);
}

.card-inner {
  padding: 28px 24px;
}

.accent-bar {
  width: 28px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-bottom: 16px;
}

.card-inner h3 {
  color: var(--color-ink);
  font-family: "Times New Roman", Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.card-inner p {
  color: var(--color-muted);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.75;
  margin: 0;
}
</style>
