@import "../variables.css";

/* =========================
   PHOTOS – sección recuerdos
========================= */

.photos {
  padding: 4rem 1rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.photos__container {
  max-width: 1200px;
  margin: auto;
}

/* Tipografía */
.photos__tag {
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 600;
}

.photos__title {
  font-size: 2.5rem;
  margin: 1rem 0;
}

.photos__subtitle {
  color: var(--color-primary);
  margin-top: 0.5rem;
}

/* =========================
   Layout
========================= */

.photos__content {
  margin-top: 3rem;
  display: grid;
  justify-items: center;
}

/* =========================
   Card
========================= */

.photos-card {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.photos-card__title {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.photos-card__description {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

/* QR */

.photos-card__qr {
  margin: 1.5rem 0 1rem;
  display: flex;
  justify-content: center;
}

.photos-card__qr img,
.photos-card__qr canvas {
  width: 180px;
  height: 180px;
  background: #fff;
  padding: 0.5rem;
  border-radius: var(--radius);
}

/* Acciones */

.photos-card__actions {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 1.8rem; /* separación clara del QR */
}

.photos-card__actions a {
  text-decoration: none;
  width: 100%;
  display: block;
}

/* =========================
   Responsive
========================= */

@media (max-width: 767px) {
  .photos__title {
    font-size: 2rem;
  }

  .photos__tag {
    font-size: 1.2rem;
  }

  .photos-card__qr img,
  .photos-card__qr canvas {
    width: 140px;
    height: 140px;
  }

  /* En mobile centramos el botón */
  .photos-card__actions {
    justify-content: center;
  }
}
