/* Preserved client styling extracted from HTML.
 * Load after style.css. Classes are reusable across pages.
 * Repeated class selectors intentionally retain precedence over the existing
 * component, hover, and responsive rules, as the original inline styles did.
 */

/* Originally embedded in index.html */
.dv-hero-media {
  overflow: hidden;
}

/* Originally embedded in thank-you.html */
.dv-thankyou {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}
.dv-thankyou-inner {
  max-width: 560px;
}
.dv-thankyou-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}
.dv-thankyou h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.dv-thankyou p {
  color: var(--color-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.dv-image-fill.dv-image-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dv-heading-centered-spaced.dv-heading-centered-spaced {
  text-align: center;
  margin-bottom: 3rem;
}

.dv-text-center-white.dv-text-center-white {
  text-align: center;
  color: white;
}

.dv-mission-label.dv-mission-label {
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.dv-mission-heading.dv-mission-heading {
  font-size: 2rem;
  line-height: 1.4;
  color: white;
}

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

.dv-footer-contact.dv-footer-contact {
  margin-top: 1rem;
}

.dv-gallery-hero.dv-gallery-hero {
  background: linear-gradient(135deg, var(--color-bg) 0%, rgba(193, 122, 71, 0.05) 100%);
}

.dv-gallery-title.dv-gallery-title {
  color: var(--color-dark);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.dv-gallery-intro.dv-gallery-intro {
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 600px;
}

.dv-gallery-section-heading.dv-gallery-section-heading {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-dark);
}

.dv-shoot-cover.dv-shoot-cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.dv-gallery-card-title.dv-gallery-card-title {
  color: var(--color-dark);
  margin-top: 1rem;
}

.dv-shoot-description.dv-shoot-description {
  color: var(--color-muted);
  margin: 0.5rem 0 1rem;
}

.dv-background-paper.dv-background-paper {
  background-color: var(--color-bg);
}

.dv-album-cover.dv-album-cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.dv-album-description.dv-album-description {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

.dv-album-category.dv-album-category {
  color: var(--color-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.dv-testimonial-copy.dv-testimonial-copy {
  margin: 1rem 0;
  font-style: italic;
  color: var(--color-text);
}

.dv-testimonial-credit.dv-testimonial-credit {
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.dv-gallery-cta.dv-gallery-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, rgba(193, 122, 71, 0.9) 100%);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}

.dv-gallery-cta-heading.dv-gallery-cta-heading {
  color: white;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.dv-gallery-cta-copy.dv-gallery-cta-copy {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.dv-gallery-cta-button.dv-gallery-cta-button {
  background: white;
  color: var(--color-primary);
  font-weight: 600;
  border: 2px solid white;
  padding: 0.75rem 2rem;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dv-form-error.dv-form-error {
  display: none;
  background: #fff0f0;
  border-left: 3px solid #c0392b;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: #c0392b;
  font-size: 0.95rem;
}

.dv-form-error-link.dv-form-error-link {
  color: #c0392b;
}

.dv-honeypot.dv-honeypot {
  display: none;
}

.dv-button-full.dv-button-full {
  width: 100%;
}

.dv-contact-image.dv-contact-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  margin-bottom: 1.5rem;
}

.dv-background-dark.dv-background-dark {
  background-color: var(--color-dark);
  color: white;
}

.dv-intro-lead.dv-intro-lead {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.dv-intro-detail.dv-intro-detail {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.dv-centered-action.dv-centered-action {
  text-align: center;
  margin-top: 2rem;
}

.dv-background-primary.dv-background-primary {
  background-color: var(--color-primary);
  color: white;
}

.dv-cta-heading.dv-cta-heading {
  color: white;
  margin-bottom: 1.5rem;
}

.dv-cta-button-white.dv-cta-button-white {
  background-color: white;
  color: var(--color-primary);
  border-color: white;
}

.dv-portrait-tall.dv-portrait-tall {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.dv-space-top-lg.dv-space-top-lg {
  margin-top: 2rem;
}

.dv-space-top-md.dv-space-top-md {
  margin-top: 1.5rem;
}

.dv-portfolio-cover.dv-portfolio-cover {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.dv-space-top-xl.dv-space-top-xl {
  margin-top: 3rem;
}

.dv-video-placeholder-short.dv-video-placeholder-short {
  min-height: 300px;
}

.dv-project-placeholder-short.dv-project-placeholder-short {
  min-height: 200px;
}

.dv-service-image.dv-service-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.dv-thankyou-actions.dv-thankyou-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* JS toggles a class instead of writing inline styles. */
#form-error.is-visible {
  display: block;
}

/* Preserve the former h2 appearance while giving the portfolio a main heading. */
.dv-portfolio-heading {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

/* Real work fills the same 280px slots used by the former featured placeholders. */
.dv-featured-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.dv-featured-image {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* Keep linked sections visible beneath the sticky header. */
[id] {
  scroll-margin-top: 9rem;
}

/* Keep the subject's face in view in the featured portrait slot. */
.dv-featured-image-top {
  object-position: center top;
}

/* Shared, independently labeled owner/client sign-out controls. */
.dv-account-controls { display:flex; justify-content:flex-end; align-items:center; flex-wrap:wrap; gap:10px; padding:12px max(20px,calc((100% - 1136px)/2)); background:#eee6dc; border-bottom:1px solid #e2d7cc; }
.dv-account-controls[hidden], .dv-account-controls [hidden] { display:none!important; }
.dv-account-controls button { font:inherit; font-size:13px; padding:9px 14px; min-height:42px; color:#2a2420; background:#fff; border:1px solid #bbaa99; cursor:pointer; }
.dv-account-controls button:hover { border-color:#a96130; }
.dv-account-controls button:disabled { opacity:.6; cursor:wait; }
.dv-account-controls [role="status"] { font-size:13px; color:#2a2420; }
@media(max-width:650px) { .dv-account-controls { justify-content:flex-start; } }
