/* FurryTreatCraft - Custom Styles */
:root {
  --cream: #F5F0E6;
  --bark: #4A3728;
  --sage: #7D8B6F;
  --terracotta: #B85C38;
  --sand: #D4C4A8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  color: var(--bark);
  background-color: var(--cream);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
}

/* Bento / asymmetric grid */
.bento-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(140px, auto);
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

.bento-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.bento-card-link:hover {
  color: inherit;
}

.bento-card-link:hover .bento-item {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 55, 40, 0.08);
}

.bento-card-link .bento-cta {
  color: var(--terracotta);
  font-weight: 600;
  font-size: 0.875rem;
}

.bento-card-link:hover .bento-cta {
  text-decoration: underline;
}

.bento-item {
  background: white;
  border: 1px solid var(--sand);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

/* Section styling */
.section-alt {
  background-color: white;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

/* Links */
a {
  color: var(--terracotta);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--bark);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--terracotta);
  color: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--bark);
  color: white;
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--bark);
  border: 2px solid var(--bark);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background-color: var(--bark);
  color: white;
}

/* Recipe cards */
.recipe-card {
  background: white;
  border: 1px solid var(--sand);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(74, 55, 40, 0.1);
}

.recipe-card .thumb {
  aspect-ratio: 16 / 10;
  background-color: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bark);
  font-size: 2.5rem;
  font-weight: 300;
}

.recipe-card .body {
  padding: 1.25rem 1.5rem;
}

/* Footer */
.site-footer {
  background-color: var(--bark);
  color: var(--cream);
  padding: 3rem 1.5rem 2rem;
}

.site-footer a {
  color: var(--sand);
}

.site-footer a:hover {
  color: white;
}

/* Header / Nav */
.site-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--sand);
  background: var(--cream);
}

.nav-link {
  color: var(--bark);
  font-weight: 500;
  padding: 0.25rem 0.5rem;
}

.nav-link:hover {
  color: var(--terracotta);
}

/* Utility */
.text-terracotta { color: var(--terracotta); }
.text-sage { color: var(--sage); }
.bg-sand { background-color: var(--sand); }

/* Accordion for recipe steps */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.active {
  max-height: 2000px;
}

.accordion-trigger {
  cursor: pointer;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--sand);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.accordion-trigger:hover {
  color: var(--terracotta);
}

.accordion-trigger .chevron {
  transition: transform 0.3s ease;
}

.accordion-trigger.active .chevron {
  transform: rotate(180deg);
}

/* Legal pages */
.legal-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 1rem 0 1rem 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Contact form */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--sand);
  background: white;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.email-display {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--terracotta);
  word-break: break-all;
}

/* Guide detail pages */
.guide-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.guide-content h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.guide-content .guide-meta {
  color: var(--sage);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.guide-content h2 {
  font-size: 1.35rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.guide-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.guide-content p {
  margin-bottom: 1rem;
  color: rgba(74, 55, 40, 0.9);
}

.guide-content ul {
  margin: 1rem 0 1rem 1.5rem;
}

.guide-content li {
  margin-bottom: 0.5rem;
}

.guide-content .back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--terracotta);
}

.guide-content .back-link:hover {
  color: var(--bark);
}

.related-guides {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sand);
}

.related-guides h2 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.related-guides ul {
  list-style: none;
  margin-left: 0;
}

.related-guides li {
  margin-bottom: 0.5rem;
}

.related-guides a {
  font-weight: 500;
}
