/* Page-specific styles: hero, gallery, features, about, thank-you, admin, footer, page header. */

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, var(--accent-light) 0%, #f7faf7 60%, var(--bg) 100%);
  padding: 7rem 1.5rem 5rem;
  text-align: center;
}

.hero__tagline {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.hero__tagline em {
  font-style: normal;
  color: var(--accent);
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* ── Gallery grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: #d1d5db;
}

.gallery-card__placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d1fae5 0%, #bbf7d0 100%);
  color: var(--accent);
  font-size: 2.5rem;
}

.gallery-card__caption {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

/* ── Features / What we do ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.feature-card__icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.95rem; }
/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.contact-list { list-style: none; margin-top: 1rem; }
.contact-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.contact-list li:last-child { border-bottom: none; }
.contact-list a { color: var(--accent); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
/* ── Thank-you page ── */
.thankyou-card {
  text-align: center;
  max-width: 520px;
  margin: 5rem auto;
  padding: 3rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.thankyou-card__icon { font-size: 3rem; margin-bottom: 1rem; }
.order-id {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: monospace;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  margin: 1rem 0;
  word-break: break-all;
}

/* ── Admin table ── */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  font-weight: 700;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tr:hover td { background: #f9fafb; }

.badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin: 0.1rem;
}

/* ── Footer ── */
.footer {
  background: #f9fafb;
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: auto;
}

.footer a { color: var(--accent); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ── Page header banner ── */
.page-header {
  background: var(--accent-light);
  padding: 3rem 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-header p { margin-top: 0.5rem; font-size: 1.05rem; }
