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

/* Typography & layout */
body {
  font-family: Georgia, serif;
  background: #faf9f6;
  color: #2c2c2c;
  line-height: 1.6;
}

/* Header */
header {
  background: #ffffff;
  border-bottom: 3px solid #b78a3c;
  padding: 0.5rem 2rem;
}
header .brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
header .brand-logo {
  height: 104px;
  width: auto;
  display: block;
}

/* Main content wrapper */
main {
  max-width: 720px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Headings */
h1 { font-size: 1.8rem; margin-bottom: 1rem; color: #1a1a2e; }
h2 { font-size: 1.3rem; margin: 1.5rem 0 0.75rem; color: #3a3a5e; }
p { margin-bottom: 0.75rem; }

/* Form elements */
label {
  display: block;
  margin-top: 0.75rem;
  font-weight: bold;
  font-size: 0.9rem;
}
input, select {
  display: block;
  width: 100%;
  padding: 0.6rem 0.5rem;
  margin-top: 0.25rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  /* Prevent iOS zoom on focus */
  font-size: max(1rem, 16px);
}

/* Button */
.btn {
  display: inline-block;
  background: #1a1a2e;
  color: #f0e6d3;
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  margin-top: 1rem;
}
.btn:hover { background: #2e2e5e; }

/* Notice / alert box */
.notice {
  background: #f5f0e8;
  border-left: 4px solid #c8a96e;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  border-radius: 0 4px 4px 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #888;
  font-size: 0.85rem;
  margin-top: 3rem;
  border-top: 1px solid #e0e0e0;
}

/* ------------------------------------------------------------------ */
/* Landing page                                                        */
/* ------------------------------------------------------------------ */

.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: #f5f0e8;
  border-radius: 8px;
  margin-bottom: 2rem;
}
.hero h1 { font-size: 2.4rem; margin-bottom: 0.75rem; }
.tagline {
  font-size: 1.15rem;
  color: #555;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}
.btn-hero { font-size: 1.1rem; padding: 1rem 2.5rem; }

.how-it-works { margin-bottom: 2rem; }
.steps { padding-left: 1.5rem; }
.steps li { margin-bottom: 0.5rem; }

/* Gallery */
.gallery { margin-bottom: 2rem; }
.gallery-grid {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.gallery-item {
  flex: 1 1 140px;
  min-width: 140px;
  text-align: center;
}
.gallery-placeholder {
  background: #e8e0d0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.5rem;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.gallery-placeholder .placeholder-icon {
  font-size: 2rem;
  color: #888;
}
/* Real-photo examples: ornate gold frame + warm renaissance tone */
.gallery-placeholder.framed {
  background: #f5edd8;
  border: 6px solid #b78a3c;
  outline: 1px solid #8a6526;
  outline-offset: -9px;
  border-radius: 4px;
  padding: 6px;
  box-shadow: 0 4px 14px rgba(60, 40, 10, 0.25);
}
.gallery-placeholder.framed img {
  border-radius: 2px;
  filter: sepia(0.28) saturate(1.05) contrast(1.04) brightness(0.99);
}
.gallery-item p {
  font-style: italic;
  color: #8a6526;
  letter-spacing: 1px;
}

/* Pricing table */
.pricing { margin-bottom: 2rem; }
.pricing-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  min-width: 260px;
}
.pricing-table th,
.pricing-table td {
  border: 1px solid #ddd;
  padding: 0.6rem 1rem;
  text-align: left;
  white-space: nowrap;
}
.pricing-table th { background: #1a1a2e; color: #f0e6d3; }
.pricing-table tr:nth-child(even) { background: #f9f6f0; }

/* ------------------------------------------------------------------ */
/* Responsive breakpoints                                              */
/* ------------------------------------------------------------------ */

@media (max-width: 480px) {
  header { padding: 0.75rem 1rem; }
  header a { font-size: 1.2rem; }

  main { margin: 1rem auto; }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }

  .hero { padding: 2rem 0.75rem; border-radius: 4px; }
  .hero h1 { font-size: 1.8rem; }
  .tagline { font-size: 1rem; }
  .btn-hero { font-size: 1rem; padding: 0.85rem 1.75rem; width: 100%; text-align: center; }

  .btn { width: 100%; text-align: center; }

  /* Gallery: two-column grid on small screens */
  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .gallery-item { min-width: unset; }

  /* Wrap long form sections */
  input, select { font-size: 16px; }
}
