/* Notes section on the index page */
.notes-section {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

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

.notes-heading {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  text-align: center;
  color: #ffd700;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.no-notes {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.note-card {
  display: block;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

.note-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.1);
}

.note-title {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: #fff;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.note-date {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 215, 0, 0.7);
  margin-bottom: 0.75rem;
}

.note-preview {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .notes-heading {
    font-size: 1.5rem;
  }
}
