/* Kitchen Garden Color Palette */
:root {
  --cream: #FAF6F1;
  --sage: #7D8B6A;
  --sage-dark: #5C6B4A;
  --terracotta: #C4704D;
  --terracotta-light: #E8A987;
  --squash: #E5A83B;
  --eggplant: #4A3B4A;
  --text: #3A3633;
  --text-light: #6B6560;
  --border: #E5DDD3;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

/* Layout */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

main {
  animation: fadeInUp 0.5s ease-out;
}

/* Header & Navigation */
header {
  border-bottom: 2px solid var(--sage);
  padding-bottom: 1.5rem;
  margin-bottom: 3rem;
}

.site-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--eggplant);
  margin-bottom: 0.25rem;
  font-optical-sizing: auto;
}

.site-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-title a:hover {
  color: var(--terracotta);
}

.tagline {
  color: var(--text-light);
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-family: 'Fraunces', Georgia, serif;
}

nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--sage-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

nav a:hover,
nav a.active {
  border-bottom-color: var(--terracotta);
  color: var(--terracotta);
}

/* Typography */
h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  color: var(--eggplant);
  line-height: 1.3;
  font-optical-sizing: auto;
}

h1 { font-size: 1.8rem; margin-bottom: 1rem; }
h2 {
  font-size: 1.3rem;
  margin: 2.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
h2::before {
  content: "//";
  color: var(--sage);
  font-weight: 400;
}
h3 { font-size: 1.1rem; margin: 1.5rem 0 0.75rem; }

p {
  margin-bottom: 1.25rem;
}

a {
  color: var(--terracotta);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--terracotta-light);
  transition: all 0.2s ease;
}

a:hover {
  color: var(--sage-dark);
  text-decoration-color: var(--sage);
}

/* Lists */
ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
}

li::marker {
  color: var(--sage);
}

/* Home intro */
.intro-section {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid var(--sage);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo:hover {
  transform: scale(1.02) rotate(2deg);
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.intro {
  font-size: 1.1rem;
}

.intro p {
  margin-bottom: 0;
}

.intro .highlight {
  background: linear-gradient(to top, var(--terracotta-light) 35%, transparent 35%);
  padding: 0 0.15em;
  transition: background 0.3s ease;
}

.intro .highlight:hover {
  background: linear-gradient(to top, var(--terracotta-light) 100%, transparent 0%);
}

@media (max-width: 500px) {
  .intro-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Section dividers - vegetable themed */
.divider {
  text-align: center;
  margin: 2rem 0;
  color: var(--sage);
  font-size: 1.4rem;
  letter-spacing: 0.75rem;
  user-select: none;
}

.divider:hover {
  animation: wiggle 0.5s ease-in-out;
}

/* Post list */
.post-list {
  list-style: none;
  padding-left: 0;
}

.post-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  transition: transform 0.2s ease;
}

.post-list li:hover {
  transform: translateX(4px);
}

.post-list li:last-child {
  border-bottom: none;
}

.post-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.post-title a {
  color: var(--eggplant);
  text-decoration: none;
}

.post-title a:hover {
  color: var(--terracotta);
}

.post-date {
  font-size: 0.8rem;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-excerpt {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Links section */
.links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.links a {
  font-size: 0.9rem;
}

/* Footer */
footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.85rem;
}

/* Recipes/Projects cards */
.card-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  padding: 1.25rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-color: var(--sage);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Tags */
.tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: var(--sage);
  color: white;
  border-radius: 20px;
  margin-right: 0.5rem;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Icon links */
.icon-link {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 0.25rem;
}

.icon-link svg {
  transition: all 0.2s ease;
}

/* Social icons in footer */
.social-icons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-icons a {
  color: var(--text-light);
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-icons a:hover {
  color: var(--terracotta);
  transform: translateY(-2px);
}

/* Map page */
.map-container {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--sage);
  margin: 1.5rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.spot-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.spot-item {
  padding: 1rem;
  background: white;
  border-radius: 8px;
  border-left: 4px solid var(--terracotta);
  transition: all 0.2s ease;
}

.spot-item:hover {
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.spot-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  color: var(--eggplant);
  margin-bottom: 0.25rem;
}

.spot-type {
  font-size: 0.75rem;
  color: var(--sage-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spot-note {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Book list */
.book-list {
  list-style: none;
  padding-left: 0;
}

.book-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}

.book-item:last-child {
  border-bottom: none;
}

.book-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  color: var(--eggplant);
}

.book-author {
  color: var(--text-light);
  font-size: 0.9rem;
}

.book-rating {
  color: var(--squash);
  font-size: 0.85rem;
  margin-left: auto;
}

.more-books {
  text-align: center;
  font-style: italic;
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 600px) {
  html {
    font-size: 16px;
  }

  .container {
    padding: 1.5rem 1rem;
  }

  nav {
    gap: 1rem;
  }

  .map-container {
    height: 350px;
  }
}
