/* =============================================
   PAGES — Home and marketing pages
   ============================================= */

/* ── Hero Section ─────────────────────────────────────────────────── */
.page-hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1rem;
  background: var(--art-gold-soft);
  color: var(--art-terracotta);
  border-radius: var(--art-radius-pill);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-badge i {
  font-size: 14px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--art-charcoal);
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  font-style: italic;
  color: var(--art-terracotta);
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--art-muted);
  max-width: 36rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-img-container {
  position: relative;
  padding-bottom: 3rem;
}

/* ── How It Works Section ─────────────────────────────────────────── */
.how-it-works {
  padding: 3rem 1rem;
  background: var(--art-gold-soft);
}

.how-it-works__title {
  text-align: center;
  margin-bottom: 3rem;
}

.how-it-works__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--art-charcoal);
  margin-bottom: 1.5rem;
}

.how-it-works__divider {
  width: 96px;
  height: 4px;
  background: var(--art-terracotta);
  border-radius: var(--art-radius-pill);
  margin: 0 auto;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--art-border);
  border-radius: 50%;
  box-shadow: var(--art-shadow-soft);
  margin-bottom: 2rem;
  transition: transform 0.5s ease;
}

.step:hover .step__icon {
  transform: translateY(-8px);
}

.step__icon i {
  font-size: 1.875rem;
  color: var(--art-terracotta);
}

.step__title {
  font-weight: 700;
  color: var(--art-charcoal);
  margin-bottom: 1rem;
}

.step__description {
  font-size: 0.875rem;
  color: var(--art-muted);
  line-height: 1.6;
}

/* ── Value Cards Section ──────────────────────────────────────────── */
.value-section {
  padding: 3rem 1rem;
  background: #fff;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--art-border);
  border-radius: var(--art-radius-md);
  box-shadow: var(--art-shadow-soft);
  display: flex;
  flex-direction: column;
}

.value-card__icon {
  font-size: 2.5rem;
  color: var(--art-terracotta);
  margin-bottom: 1.5rem;
}

.value-card__title {
  font-weight: 700;
  color: var(--art-charcoal);
  margin-bottom: 1.5rem;
}

.value-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.value-list__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.value-list__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--art-terracotta);
  margin-top: 2px;
}

.value-list__text {
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--art-muted);
  line-height: 1.6;
}

/* ── Pricing Section ──────────────────────────────────────────────── */
.pricing-section {
  padding: 3rem 1rem;
  background: var(--art-bg-cream);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-header__title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--art-charcoal);
  margin-bottom: 3rem;
}

/* ── Benefits Section ─────────────────────────────────────────────── */
.benefits-section {
  padding: 3rem 1rem;
  background: #fff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  padding: 2rem;
  background: var(--art-gold-soft);
  border: 1px solid rgba(220, 211, 201, 0.4);
  border-radius: var(--art-radius-md);
  transition: background 0.5s ease;
}

.benefit-card:hover {
  background: #ede8d8;
}

.benefit-card__title {
  font-weight: 700;
  color: var(--art-charcoal);
  margin-bottom: 1rem;
}

.benefit-card__description {
  font-size: 0.875rem;
  color: var(--art-muted);
  line-height: 1.6;
}

/* ── Trust Bar ────────────────────────────────────────────────────── */
.trust-bar {
  padding: 2rem 1rem;
  background: rgba(245, 240, 224, 0.5);
  border-top: 1px solid rgba(220, 211, 201, 0.4);
  border-bottom: 1px solid rgba(220, 211, 201, 0.4);
}

/* ── Artworks Container ───────────────────────────────────────────── */
.artworks-container {
  padding-top: 80px;
  min-height: 100vh;
  background: var(--art-bg-cream);
}

/* ── Artwork Card — image area on index ──────────────────────────── */

/* Fixed 4:3 ratio container — consistent regardless of what the user uploads. */
.artwork-card__image-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--art-bg-cream);
  /* Match Bootstrap card-img-top border-radius */
  border-radius: calc(0.375rem - 1px) calc(0.375rem - 1px) 0 0;
}

/* Placeholder when no images exist */
.artwork-card__image-wrapper--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Every image fills the wrapper exactly, regardless of source dimensions */
.artwork-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* "1 / 3" counter badge — top-right corner of carousel */
.artwork-card__counter {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 0.75rem;
  pointer-events: none;
  line-height: 1.4;
}

/* Tighten carousel arrow buttons on small cards */
.artwork-card__image-wrapper .carousel-control-prev,
.artwork-card__image-wrapper .carousel-control-next {
  width: 2rem;
}

/* ── Artwork Image Tile — images section on show page ────────────── */
.artwork-image-tile__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.artwork-image-tile__placeholder {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--art-bg-cream);
}

/* ── Upload preview — appears below file picker, not as a grid column */
.artwork-upload-preview__img {
  height: 120px;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 0.375rem;
  border: 1px solid var(--art-border);
}
