/* ============================================================
   Piper's Bake Break — Main Stylesheet
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  color: #3d2b1f;
  background-color: #fdf8f3;
  line-height: 1.7;
}

/* --- Typography ------------------------------------------- */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

/* --- Site Header ------------------------------------------ */
.site-header {
  padding: 2rem 0 1.5rem;
}

.site-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.site-logo__image {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.site-logo__title {
  font-size: 1.75rem;
  color: #b5541b;
  letter-spacing: -0.01em;
}

/* --- Site Footer ------------------------------------------ */
.site-footer {
  padding: 2rem 0 0;
  font-size: 0.8rem;
  color: #a08070;
}

/* ============================================================
   Coming Soon Page
   ============================================================ */
body.coming-soon {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fdf8f3;
  background-image:
    radial-gradient(circle at 15% 85%, rgba(181, 84, 27, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(181, 84, 27, 0.06) 0%, transparent 50%);
}

.coming-soon__container {
  max-width: 640px;
  width: 90%;
  text-align: center;
  padding: 2rem;
}

.coming-soon__eyebrow {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b5541b;
  margin-bottom: 1rem;
}

.coming-soon__headline {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #3d2b1f;
  margin-bottom: 1.25rem;
}

.coming-soon__body {
  font-size: 1.05rem;
  color: #6b4f3a;
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* Decorative divider */
.coming-soon__content::after {
  content: '— \2665 —';
  display: block;
  margin-top: 2rem;
  color: #d4956a;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  background-color: #c9863a;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #ad6e27;
  transform: translateY(-2px);
}

.btn--outline {
  background-color: transparent;
  border: 2px solid #c9863a;
  color: #c9863a;
}

.btn--outline:hover {
  background-color: #c9863a;
  color: #fff;
}

/* ============================================================
   Downloads Page
   ============================================================ */
.downloads-page {
  background-color: #fdf8f3;
}

.page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.downloads-page .site-header {
  padding: 2rem 0;
  border-bottom: 1px solid #f0e6db;
  margin-bottom: 3rem;
}

.downloads-page .site-logo {
  flex-direction: row;
  justify-content: flex-start;
  gap: 0.75rem;
  text-decoration: none;
}

.downloads-page .site-logo__image {
  width: 56px;
  height: 56px;
}

.downloads-page .site-logo__title {
  font-size: 1.4rem;
}

.page-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: #3d2b1f;
  margin-bottom: 0.75rem;
}

.page-hero__body {
  font-size: 1.05rem;
  color: #6b4f3a;
}

.coloring-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.coloring-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(61, 43, 31, 0.08);
}

.coloring-card__preview-link {
  display: block;
  position: relative;
  overflow: hidden;
}

.coloring-card__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.coloring-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(181, 84, 27, 0.75);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.coloring-card__download-icon {
  font-size: 2rem;
}

.coloring-card__preview-link:hover .coloring-card__overlay {
  opacity: 1;
}

.coloring-card__preview-link:hover .coloring-card__image {
  transform: scale(1.03);
}

.coloring-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.coloring-card__title {
  font-size: 1.2rem;
  color: #3d2b1f;
}

.coloring-card__desc {
  font-size: 0.9rem;
  color: #6b4f3a;
  flex: 1;
}

/* ============================================================
   Recipe Index Page (future home page)
   ============================================================ */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.recipe-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(61, 43, 31, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(61, 43, 31, 0.14);
}

.recipe-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: #f0e6db;
}

.recipe-card__body {
  padding: 1.25rem;
}

.recipe-card__tag {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b5541b;
  margin-bottom: 0.4rem;
}

.recipe-card__title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.recipe-card__description {
  font-size: 0.9rem;
  color: #6b4f3a;
}

/* ============================================================
   Recipe Detail Page (future)
   ============================================================ */
.recipe-detail {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.recipe-detail__header {
  margin-bottom: 2rem;
}

.recipe-detail__tag {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b5541b;
  margin-bottom: 0.5rem;
}

.recipe-detail__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.recipe-detail__meta {
  font-size: 0.85rem;
  color: #a08070;
}

.recipe-detail__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 2rem;
  background-color: #f0e6db;
}

.recipe-detail__intro {
  font-size: 1.05rem;
  color: #6b4f3a;
  margin-bottom: 2rem;
}

.recipe-section {
  margin-bottom: 2rem;
}

.recipe-section__title {
  font-size: 1.3rem;
  border-bottom: 2px solid #f0e6db;
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

.ingredients-list {
  list-style: none;
  padding: 0;
}

.ingredients-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #f5ede6;
  font-size: 0.95rem;
}

.steps-list {
  list-style: none;
  padding: 0;
  counter-reset: steps;
}

.steps-list li {
  counter-increment: steps;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.steps-list li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #b5541b;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
