﻿/* =============================================
   DESIGNERS & ARCHITECTS PAGE
   ============================================= */

/* ---- Video Hero ---- */
.da-video-hero {
  width: 100%;
  background: #111;
  overflow: hidden;
  line-height: 0;
}

.da-video-wrap {
  width: 100%;
  height: 92vh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
  position: relative;
}
@media (max-width: 768px) {
  .da-video-wrap {
    height: auto;
    min-height: unset;
    max-height: unset;
    aspect-ratio: 16 / 9;
  }
}

.da-hero-video {
  position: absolute;
  top: -7%;
  left: 0;
  width: 100%;
  height: 107%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
@media (max-width: 768px) {
  .da-hero-video { object-fit: contain; }
}

/* ---- Legacy Hero (unused) ---- */
.da-hero {
  position: relative;
  height: 90vh;
  min-height: 520px;
  margin-top: 90px;
  background: linear-gradient(135deg, #1e2a2a 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.da-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/service-architects.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.da-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.da-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 820px;
  padding: 0 6vw;
}

.da-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}

.da-hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.da-hero-sub {
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.75;
}

/* ---- Hero Text Block ---- */
.da-hero-text-section {
  background: #FAF7F2;
  padding: 72px 12px;
  border-bottom: 1px solid #E0D8CE;
}

.da-hero-text-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.da-hero-text-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 0;
}

.da-hero-text-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
  text-align: left;
}

.da-hero-text-body p {
  font-size: 0.95rem;
  color: #5A5048;
  line-height: 1.85;
}

.da-hero-text-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-dark {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: #2C2520;
  border: 1.5px solid #2C2520;
  transition: background 0.25s, color 0.25s;
}
.btn-outline-dark:hover { background: #2C2520; color: #fff; }

@media (max-width: 768px) {
  .da-hero-text-body { grid-template-columns: 1fr; gap: 16px; text-align: center; }
}

/* ---- Intro ---- */
.da-intro-section { background: #fafaf8; padding: 64px 12px; }

.da-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.da-intro-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
}

/* ---- Benefits ---- */
.da-benefits-section { background: #fff; }

.da-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.da-benefits-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 1280px;
}

.da-benefits-grid--two .da-tile-img {
  height: 420px;
}

.da-benefit-tile {
  border: 1px solid #e0dbd4;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.da-benefit-tile:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }

.da-tile-img {
  height: 260px;
  overflow: hidden;
  background: #d4c9b8;
}
.da-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.da-benefit-tile:hover .da-tile-img img { transform: scale(1.05); }

.da-tile-body { padding: 20px 20px 28px; }

.da-tile-body h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.da-tile-body p {
  font-size: 0.87rem;
  color: #555;
  line-height: 1.65;
}

/* ---- How It Works ---- */
.da-how-section { background: #fafaf8; }

.da-how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.da-how-step { text-align: center; }

.da-how-step .step-num {
  display: block;
  margin: 0 auto 12px;
}

.da-how-step h4 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
}

.da-how-step p {
  font-size: 0.87rem;
  color: #555;
  line-height: 1.65;
}

/* ---- Projects ---- */
.da-projects-section { background: #fff; }

.da-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.da-project-item {
  overflow: hidden;
  height: 340px;
  background: #c8c0b5;
}
.da-project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.da-project-item:hover img { transform: scale(1.04); }

.da-project-wide { grid-column: span 2; }

/* ---- Form ---- */
.da-form-section { background: #fafaf8; }

.da-form-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.da-form-intro {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 40px;
}

.da-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.da-form fieldset {
  border: 1px solid #e0dbd4;
  padding: 28px 28px 24px;
}

.da-form legend {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 10px;
  color: #1a1a1a;
}

.da-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

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

.da-form-field--full { grid-column: 1 / -1; }

.da-form-field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1a1a1a;
  text-transform: uppercase;
}

.da-form-field input,
.da-form-field select,
.da-form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #d8d4ce;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.da-form-field input:focus,
.da-form-field select:focus,
.da-form-field textarea:focus { border-color: #1a1a1a; }

.da-form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1a1a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.da-form-terms {
  display: flex;
  align-items: flex-start;
}

.da-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #444;
  cursor: pointer;
  line-height: 1.55;
}

.da-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #1a1a1a;
  cursor: pointer;
}

.da-checkbox a { color: #1a1a1a; text-decoration: underline; text-underline-offset: 3px; }

.da-form-submit { text-align: center; }

.da-form-success {
  text-align: center;
  font-size: 0.9rem;
  color: #2a6e3c;
  min-height: 1.4em;
  font-weight: 700;
}

/* ---- Terms ---- */
.da-terms-section { background: #fff; }

.da-terms-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.da-terms-list {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.da-terms-list li {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.7;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .da-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .da-how-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .da-projects-grid { grid-template-columns: repeat(2, 1fr); }
  .da-project-wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .da-form fieldset { padding: 20px 16px 18px; }
  .da-form-grid { grid-template-columns: 1fr; }
  .da-form-field--full { grid-column: 1; }
}

@media (max-width: 540px) {
  .da-benefits-grid { grid-template-columns: 1fr; }
  .da-how-steps { grid-template-columns: 1fr; }
  .da-projects-grid { grid-template-columns: 1fr; }
  .da-project-wide { grid-column: span 1; }
  .da-hero-content h1 { font-size: 2.2rem; }
}


/* ---- Zoomable images ---- */
.da-zoomable {
  cursor: zoom-in;
  transition: transform 0.3s, opacity 0.3s;
}
.da-zoomable:hover { opacity: 0.92; transform: scale(1.02); }

/* ---- Lightbox ---- */
.da-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.da-lightbox--open {
  opacity: 1;
  pointer-events: auto;
}

/* Backdrop sits at bottom of lightbox stack */
.da-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 0;
}

/* Image wrapper above backdrop */
.da-lightbox-img-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 90vh;
  transform: scale(0.94);
  transition: transform 0.25s ease;
}
.da-lightbox--open .da-lightbox-img-wrap {
  transform: scale(1);
}

.da-lightbox-img-wrap img {
  display: block;
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 32px 96px rgba(0,0,0,0.7);
}

/* Close button – absolutely positioned inside the lightbox (shares stacking context) */
.da-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.da-lightbox-close:hover {
  background: rgba(255,255,255,0.28);
  transform: rotate(90deg);
}