/* file: public/static/css/main.css */

/* public‐only hero banner */
@import url('components/hero.css');

.gallery-items {
  max-width: 1120px;
  margin: 2rem auto;
  padding: 0 1rem;
  text-align: left;
}

.gallery-items h2 {
  text-align: center;
}

.gallery-items .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  justify-content: center;
  gap: 1.25rem;
}

.gallery-items .card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: #fff8ea;
  border: 1px solid rgba(136, 86, 7, 0.25);
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(136, 86, 7, 0.14);
}

.gallery-items .card-img-top {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.gallery-items .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.gallery-items .card-title {
  margin: 0;
  color: #4a2e00;
  font-size: 1.05rem;
}

.gallery-items .card-text {
  margin: 0;
}

.gallery-items .btn {
  align-self: flex-start;
  margin-top: auto;
}

.bakery-intro,
.contact-details,
.social-updates,
.location-area,
.pickup-locations {
  width: min(1120px, calc(100% - 2rem));
  margin: 2rem auto;
}

.bakery-pickup-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgba(255, 248, 234, 0.96);
  border: 1px solid rgba(136, 86, 7, 0.25);
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(136, 86, 7, 0.14);
}

.bakery-pickup-note p {
  margin: 0;
}

.social-updates {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
  gap: 1rem;
  align-items: stretch;
  padding: 1rem;
  background: rgba(255, 248, 234, 0.96);
  border: 1px solid rgba(136, 86, 7, 0.25);
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(136, 86, 7, 0.14);
  text-align: left;
}

.social-updates h2 {
  margin: 0;
  color: #2f220e;
  font-family: var(--font-title);
  font-size: 2rem;
}

.social-updates-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.social-updates-copy p {
  margin: 0;
  color: #3f300f;
  line-height: 1.45;
}

.social-updates-copy .btn {
  align-self: flex-start;
}

.social-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.social-placeholder {
  padding: 0.8rem;
  border: 1px dashed rgba(136, 86, 7, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
}

.facebook-preview {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.facebook-preview iframe {
  display: block;
  width: 100%;
  max-width: 100%;
}

.pickup-locations {
  text-align: left;
}

.service-area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.service-area-card {
  min-width: 0;
  padding: 1rem;
  background: rgba(255, 248, 234, 0.96);
  border: 1px solid rgba(136, 86, 7, 0.25);
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(136, 86, 7, 0.14);
}

.service-area-card h3 {
  margin: 0 0 0.55rem;
  color: #4a2e00;
  font-size: 1.1rem;
}

.service-area-card p {
  margin: 0;
  color: #3f300f;
  line-height: 1.45;
}

.pickup-locations-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-eyebrow {
  margin: 0 0 0.25rem;
  color: #865507;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pickup-locations h2 {
  margin: 0;
  color: #2f220e;
  font-family: var(--font-title);
  font-size: 2rem;
}

.pickup-summary {
  max-width: 720px;
  margin: 0.45rem 0 0;
  color: #3f300f;
  line-height: 1.45;
}

.pickup-feature {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

.pickup-feature img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(136, 86, 7, 0.25);
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(136, 86, 7, 0.14);
}

.pickup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pickup-card {
  min-width: 0;
  padding: 1rem;
  background: rgba(255, 248, 234, 0.96);
  border: 1px solid rgba(136, 86, 7, 0.25);
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(136, 86, 7, 0.14);
}

.pickup-card.is-featured {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pickup-card h3 {
  margin: 0 0 0.65rem;
  color: #4a2e00;
  font-size: 1.15rem;
}

.pickup-card p {
  margin: 0;
  color: #3f300f;
  line-height: 1.45;
}

.pickup-card p + p {
  margin-top: 0.5rem;
}

.pickup-time {
  color: #865507;
  font-weight: 700;
}

@media (max-width: 900px) {
  .pickup-feature,
  .pickup-grid,
  .service-area-grid,
  .social-updates {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .pickup-locations-header,
  .bakery-pickup-note {
    align-items: stretch;
    flex-direction: column;
  }

  .gallery-items .row {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-items .card-img-top {
    height: 220px;
  }
}
