/* ==========================================================================
   WOODEX V3 THEME SYSTEM — MODULAR PRELINE BLOCK TEMPLATES
   Palette: Preline Obsidian Dark (#050608 + #00b8db / #00d3f2 cyan accent)
   Typography: Inter / Local WOFF2
   ========================================================================== */

:root {
  --v3-bg: #050608;
  --v3-bg-card: rgba(18, 20, 26, 0.85);
  --v3-fg: #f9fafb;
  --v3-fg-muted: #9ca3af;
  --v3-primary: #007595;
  --v3-primary-hover: #00b8db;
  --v3-accent: #00d3f2;
  --v3-accent-soft: rgba(0, 211, 242, 0.12);
  --v3-border: rgba(255, 255, 255, 0.09);
  --v3-border-cyan: rgba(0, 211, 242, 0.35);
  --v3-radius-xl: 24px;
  --v3-radius-lg: 16px;
  --v3-radius-md: 10px;
  --v3-radius-full: 9999px;
  --v3-shadow-glow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1), -1px 0 25px rgba(0, 184, 219, 0.15);
  --v3-font: "Inter", sans-serif;
  --v3-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset for v3 Blocks */
.v3-theme {
  background-color: var(--v3-bg);
  color: var(--v3-fg);
  font-family: var(--v3-font);
  line-height: 1.6;
}

.v3-wrap {
  width: min(1280px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- 1. BLK-HERO-01: Luxury Architectural Hero ---------- */
.v3-blk-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: radial-gradient(circle at 60% 40%, rgba(0, 184, 219, 0.12) 0%, rgba(5, 6, 8, 0.95) 60%, var(--v3-bg) 100%);
}
.v3-blk-hero-glow {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 211, 242, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.v3-blk-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.v3-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--v3-radius-full);
  background: var(--v3-accent-soft);
  border: 1px solid var(--v3-border-cyan);
  color: var(--v3-accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.v3-hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 20px;
}
.v3-hero-title span {
  background: linear-gradient(135deg, #ffffff 40%, var(--v3-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.v3-hero-desc {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--v3-fg-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 560px;
}
.v3-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.v3-btn-pill-pri {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  border-radius: var(--v3-radius-full);
  background: var(--v3-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--v3-accent);
  transition: all 0.25s var(--v3-ease);
  box-shadow: 0 4px 20px rgba(0, 184, 219, 0.25);
}
.v3-btn-pill-pri:hover {
  background: var(--v3-primary-hover);
  color: #04222b;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 184, 219, 0.45);
}
.v3-btn-pill-sec {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: var(--v3-radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--v3-border);
  transition: all 0.25s var(--v3-ease);
}
.v3-btn-pill-sec:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  color: #ffffff;
}
.v3-hero-media-card {
  position: relative;
  background: var(--v3-bg-card);
  backdrop-filter: blur(24px);
  border: 1px solid var(--v3-border);
  border-left: 1px solid var(--v3-border-cyan);
  border-radius: var(--v3-radius-xl);
  overflow: hidden;
  box-shadow: var(--v3-shadow-glow);
}
.v3-hero-media-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.v3-hero-card-floating {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  padding: 16px 20px;
  border-radius: var(--v3-radius-lg);
  background: rgba(18, 20, 26, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid var(--v3-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------- 2. BLK-SRV-02: 3-Column Joinery & Architecture Grid ---------- */
.v3-blk-services {
  padding: 90px 0;
  background: #07080c;
  position: relative;
}
.v3-sec-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 54px;
}
.v3-sec-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--v3-accent);
  margin-bottom: 8px;
}
.v3-sec-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.v3-sec-sub {
  font-size: 14px;
  color: var(--v3-fg-muted);
}
.v3-srv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.v3-srv-card {
  background: var(--v3-bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-xl);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--v3-ease);
  position: relative;
  overflow: hidden;
}
.v3-srv-card:hover {
  transform: translateY(-4px);
  border-color: var(--v3-border-cyan);
  box-shadow: var(--v3-shadow-glow);
}
.v3-srv-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--v3-radius-lg);
  background: var(--v3-accent-soft);
  border: 1px solid var(--v3-border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v3-accent);
  font-size: 22px;
  margin-bottom: 22px;
}
.v3-srv-card h3 {
  font-size: 19px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}
.v3-srv-card p {
  font-size: 13.5px;
  color: var(--v3-fg-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  flex: 1;
}
.v3-srv-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--v3-accent);
  text-decoration: none;
  transition: gap 0.2s;
}
.v3-srv-link:hover {
  gap: 10px;
}

/* ---------- 3. BLK-PROJ-03: Masonry Project Showcase ---------- */
.v3-blk-projects {
  padding: 90px 0;
  background: var(--v3-bg);
}
.v3-proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.v3-proj-card {
  position: relative;
  border-radius: var(--v3-radius-xl);
  overflow: hidden;
  background: var(--v3-bg-card);
  border: 1px solid var(--v3-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--v3-ease);
}
.v3-proj-card:hover {
  transform: translateY(-4px);
  border-color: var(--v3-border-cyan);
  box-shadow: var(--v3-shadow-glow);
}
.v3-proj-thumb {
  height: 280px;
  position: relative;
  overflow: hidden;
}
.v3-proj-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--v3-ease);
}
.v3-proj-card:hover .v3-proj-thumb img {
  transform: scale(1.06);
}
.v3-proj-body {
  padding: 22px;
  background: var(--v3-bg-card);
}
.v3-proj-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.v3-proj-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--v3-accent);
  letter-spacing: 0.06em;
}
.v3-proj-loc {
  font-size: 11.5px;
  color: var(--v3-fg-muted);
}
.v3-proj-title {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

/* ---------- 4. BLK-STEP-06: 4-Stage Architectural Process Stepper ---------- */
.v3-blk-process {
  padding: 90px 0;
  background: #07080c;
}
.v3-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.v3-step-card {
  background: var(--v3-bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-xl);
  padding: 28px 24px;
  position: relative;
}
.v3-step-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--v3-accent);
  opacity: 0.8;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.v3-step-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px;
}
.v3-step-card p {
  font-size: 13px;
  color: var(--v3-fg-muted);
  line-height: 1.55;
  margin: 0;
}

/* ---------- 5. BLK-CTA-09: Glassmorphic Lead Capture Banner ---------- */
.v3-blk-cta {
  padding: 90px 0;
  background: radial-gradient(circle at center, rgba(0, 184, 219, 0.15) 0%, rgba(5, 6, 8, 0.95) 60%, var(--v3-bg) 100%);
  position: relative;
}
.v3-cta-card {
  background: var(--v3-bg-card);
  backdrop-filter: blur(30px);
  border: 1px solid var(--v3-border);
  border-left: 1px solid var(--v3-border-cyan);
  border-radius: var(--v3-radius-xl);
  padding: 48px 36px;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  box-shadow: var(--v3-shadow-glow);
}
.v3-cta-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}
.v3-cta-sub {
  font-size: 14.5px;
  color: var(--v3-fg-muted);
  max-width: 580px;
  margin: 0 auto 30px;
}
.v3-cta-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.v3-input-pill {
  flex: 1;
  min-width: 220px;
  height: 48px;
  border-radius: var(--v3-radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--v3-border);
  padding: 0 20px;
  color: #ffffff;
  font-size: 13.5px;
}
.v3-input-pill:focus {
  outline: none;
  border-color: var(--v3-accent);
  box-shadow: 0 0 0 3px rgba(0, 211, 242, 0.2);
}

/* Responsive adjustments */
@media (max-width: 860px) {
  .v3-blk-hero-grid { grid-template-columns: 1fr; }
  .v3-hero-media-card img { height: 340px; }
  .v3-cta-card { padding: 34px 20px; }
}

/* ---------- 6. BLK-EST-04: Interactive Construction & Interior Estimator ---------- */
.v3-blk-estimator {
  padding: 90px 0;
  background: radial-gradient(circle at top right, rgba(0, 184, 219, 0.12) 0%, #050608 60%);
}
.v3-est-card {
  background: var(--v3-bg-card);
  backdrop-filter: blur(25px);
  border: 1px solid var(--v3-border);
  border-left: 1px solid var(--v3-border-cyan);
  border-radius: var(--v3-radius-xl);
  padding: 38px 32px;
  box-shadow: var(--v3-shadow-glow);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
}
.v3-est-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.v3-est-result-box {
  background: rgba(0, 184, 219, 0.05);
  border: 1px solid var(--v3-border-cyan);
  border-radius: var(--v3-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.v3-est-price-tag {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--v3-accent);
  letter-spacing: -0.02em;
}

/* ---------- 7. BLK-RES-01: Residential Villa Architectural Specs (1-Kanal / 10-Marla) ---------- */
.v3-blk-res-specs {
  padding: 90px 0;
  background: #08090d;
}
.v3-res-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.v3-res-card {
  background: var(--v3-bg-card);
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-xl);
  padding: 24px;
  transition: all 0.25s var(--v3-ease);
}
.v3-res-card:hover {
  border-color: var(--v3-border-cyan);
  box-shadow: var(--v3-shadow-glow);
}
.v3-res-stat {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.v3-res-label {
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--v3-accent);
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ---------- 8. BLK-KITCHEN-01: Custom Cabinetry & Materials Matrix ---------- */
.v3-blk-kitchen-mat {
  padding: 90px 0;
  background: var(--v3-bg);
}
.v3-mat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.v3-mat-card {
  background: var(--v3-bg-card);
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.v3-mat-thumb {
  height: 180px;
  position: relative;
}
.v3-mat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v3-mat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
