/*
 * Jackie Jean Photography — Landing Pages
 * Shared Stylesheet
 * Brand: warm cream bg (#f0ede5), dark brown text (#2d1f14), muted brown accent (#8b6f5e)
 * Typography: Playfair Display (headlines), Lato (body)
 */

/* =========================================================
   Reset & Base
   ========================================================= */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #f0ede5;
  color: #2d1f14;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.page-wrap {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px 80px;
}

.content-block {
  width: 100%;
  max-width: 580px;
}

/* =========================================================
   Typography
   ========================================================= */

.eyebrow {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8b6f5e;
  margin-bottom: 16px;
}

h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #2d1f14;
  margin-bottom: 20px;
}

h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  color: #2d1f14;
  margin-bottom: 16px;
}

.subhead {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: #5a3f30;
  line-height: 1.55;
  margin-bottom: 32px;
}

p {
  font-size: 1rem;
  color: #3d2a1e;
  line-height: 1.65;
  margin-bottom: 16px;
}

/* =========================================================
   Image Placeholder
   ========================================================= */

.guide-image-wrap {
  width: 100%;
  margin: 0 auto 32px;
  max-width: 320px;
}

.guide-image-wrap img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(45, 31, 20, 0.12);
}

/* Placeholder shown when image file doesn't exist */
.guide-image-placeholder {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(145deg, #e8e0d4 0%, #d9cfc2 100%);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(45, 31, 20, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  position: relative;
  overflow: hidden;
}

.guide-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(45, 31, 20, 0.03) 20px,
    rgba(45, 31, 20, 0.03) 40px
  );
}

.guide-image-placeholder .placeholder-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.85rem;
  color: #8b6f5e;
  text-align: center;
  padding: 24px;
  position: relative;
  z-index: 1;
  line-height: 1.5;
}

.guide-image-placeholder .placeholder-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: #2d1f14;
  margin-top: 8px;
}

/* =========================================================
   Benefit List
   ========================================================= */

.benefit-list {
  list-style: none;
  margin-bottom: 36px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  color: #3d2a1e;
  padding: 10px 0;
  border-bottom: 1px solid rgba(45, 31, 20, 0.08);
  line-height: 1.5;
}

.benefit-list li:first-child {
  border-top: 1px solid rgba(45, 31, 20, 0.08);
}

.benefit-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-color: #2d1f14;
  color: #f0ede5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  margin-top: 1px;
}

/* =========================================================
   Form
   ========================================================= */

.optin-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b6f5e;
}

.form-field input {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: #2d1f14;
  background: #fff;
  border: 1.5px solid rgba(45, 31, 20, 0.2);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-field input::placeholder {
  color: #b8a898;
}

.form-field input:focus {
  border-color: #2d1f14;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn-primary {
  display: inline-block;
  width: 100%;
  padding: 17px 24px;
  background-color: #2d1f14;
  color: #f0ede5;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1;
}

.btn-primary:hover {
  background-color: #1a1109;
}

.btn-primary:active {
  opacity: 0.85;
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Download button variant — slightly larger, more prominent */
.btn-download {
  padding: 19px 28px;
  font-size: 1rem;
}

/* Upsell button variant */
.btn-upsell {
  background-color: #8b6f5e;
}

.btn-upsell:hover {
  background-color: #6e5548;
}

/* =========================================================
   Privacy / Fine Print
   ========================================================= */

.privacy-note {
  font-size: 0.78rem;
  color: #a08878;
  text-align: center;
  margin-top: 12px;
}

.fine-print {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.82rem;
  color: #a08878;
  text-align: center;
  margin-top: 10px;
}

/* =========================================================
   Error State
   ========================================================= */

.form-error {
  display: none;
  font-size: 0.875rem;
  color: #8b2a2a;
  background: rgba(139, 42, 42, 0.07);
  border: 1px solid rgba(139, 42, 42, 0.2);
  border-radius: 4px;
  padding: 12px 14px;
  text-align: center;
}

.form-error.visible {
  display: block;
}

/* =========================================================
   Thank You Page — Download Section
   ========================================================= */

.thankyou-header {
  text-align: center;
  margin-bottom: 36px;
}

.download-block {
  text-align: center;
  margin-bottom: 16px;
}

.email-note {
  font-size: 0.85rem;
  color: #8b6f5e;
  text-align: center;
  margin-top: 14px;
}

/* =========================================================
   Divider
   ========================================================= */

.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 52px 0 48px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(45, 31, 20, 0.15);
}

.divider-ornament {
  font-family: 'Playfair Display', Georgia, serif;
  color: #8b6f5e;
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  user-select: none;
}

/* =========================================================
   Upsell Section
   ========================================================= */

.upsell-section {
  text-align: center;
}

.guide-name-list {
  list-style: none;
  margin: 24px 0 28px;
  text-align: left;
  display: inline-block;
}

.guide-name-list li {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #2d1f14;
  padding: 8px 0 8px 28px;
  position: relative;
  line-height: 1.4;
}

.guide-name-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #8b6f5e;
  font-style: normal;
}

.upsell-desc {
  font-size: 0.95rem;
  color: #5a3f30;
  line-height: 1.65;
  margin-bottom: 28px;
  text-align: center;
}

/* =========================================================
   Utility
   ========================================================= */

.text-center {
  text-align: center;
}

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

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

@media (max-width: 480px) {
  .page-wrap {
    padding: 36px 16px 64px;
  }

  h1 {
    font-size: 1.85rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .guide-image-placeholder {
    max-width: 260px;
  }
}

/* =========================================================
   Legal Footer
   ========================================================= */

.legal-footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.legal-footer a,
.legal-footer span {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  color: #c9b8ae;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.legal-footer a:hover {
  color: #a08878;
  text-decoration: underline;
}
