/* ============================================================
   AERO Lifts — Designer Series & Collections
   ============================================================ */

/* ── Designer Series ── */
#designer {
  background: var(--black);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.designer-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 100px 60px;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ── 3D Cabin Showcase ── */
.cabin-showcase {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  perspective: 800px;
}

.cabin-3d {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(-8deg) rotateX(4deg);
  position: relative;
}

.cabin-front-wall,
.cabin-left-wall,
.cabin-right-wall {
  position: absolute;
  backface-visibility: hidden;
}

.cabin-front-wall {
  inset: 0;
  background: linear-gradient(160deg, #2a1a0a 0%, #1a1005 100%);
  border: 1px solid rgba(200, 169, 110, 0.15);
  display: flex;
  flex-direction: column;
}

.cabin-left-wall {
  top: 0; bottom: 0; left: 0;
  width: 60px;
  transform: rotateY(90deg) translateZ(-60px);
  background: linear-gradient(to right, #1a1005, #2a1a0a);
  border-right: 1px solid rgba(200, 169, 110, 0.1);
}

.cabin-right-wall {
  top: 0; bottom: 0; right: 0;
  width: 60px;
  transform: rotateY(-90deg) translateZ(-60px);
  background: linear-gradient(to left, #1a1005, #2a1a0a);
}

.front-ceiling {
  height: 70px;
  background: rgba(255, 248, 230, 0.9);
  margin: 15px 20px 0;
  box-shadow: 0 0 40px rgba(255, 248, 230, 0.6), 0 15px 60px rgba(255, 248, 230, 0.3);
  border-radius: 2px;
}

.front-panels {
  flex: 1;
  display: flex;
  gap: 8px;
  padding: 15px 20px;
}

.front-panel {
  flex: 1;
  background: linear-gradient(180deg, #2a1a08 0%, #1e1205 100%);
  border: 1px solid rgba(200, 169, 110, 0.08);
  position: relative;
  overflow: hidden;
}

.front-panel::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(200, 169, 110, 0.06);
}

.front-rail {
  height: 10px;
  margin: 0 20px;
  background: linear-gradient(to bottom, var(--gold), #8a7045);
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(200, 169, 110, 0.3);
}

.front-floor-glow {
  height: 50px;
  background: linear-gradient(to top, rgba(200, 169, 110, 0.15), transparent);
}

/* ── Finish selector ── */
.finish-selector {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.finish-swatch {
  width: 50px;
  height: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s;
  position: relative;
}

.finish-swatch:hover,
.finish-swatch.active {
  border-color: var(--orange);
}

.finish-swatch::after {
  content: attr(data-name);
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--silver);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s;
}

.finish-swatch:hover::after {
  opacity: 1;
}

.swatch-dark   { background: linear-gradient(135deg, #1a1614, #0f0d0c); }
.swatch-steel  { background: linear-gradient(135deg, #3a3a3a, #2a2a2a); }
.swatch-copper { background: linear-gradient(135deg, #b87333, #8a5525); }
.swatch-gold   { background: linear-gradient(135deg, #c8a96e, #a07840); }
.swatch-wood   { background: linear-gradient(135deg, #8B6635, #5c4420); }

/* ── Collections section ── */
#collections {
  background: #090909;
  padding: 100px 0;
}

.collections-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 10;
}

/* ── Tabs ── */
.collections-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--steel);
  margin-bottom: 60px;
}

.tab-btn {
  padding: 16px 40px;
  background: transparent;
  border: none;
  color: var(--silver);
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: color .3s;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .3s;
}

.tab-btn.active   { color: var(--white); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-btn:hover    { color: var(--light); }

.tab-panel         { display: none; }
.tab-panel.active  { display: block; }

/* ── Cabin collection grid ── */
.cabin-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.collection-item {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  cursor: pointer;
}

.collection-bg {
  position: absolute;
  inset: 0;
  transition: transform .6s ease;
}

.collection-item:hover .collection-bg {
  transform: scale(1.04);
}

/* Theme backgrounds */
.theme-classic   .collection-bg { background: linear-gradient(160deg, #1e1a18, #0f0d0c); }
.theme-signature .collection-bg { background: linear-gradient(160deg, #252525, #141414); }
.theme-woodline  .collection-bg { background: linear-gradient(160deg, #2a1a08, #1a1005); }
.theme-space     .collection-bg { background: linear-gradient(160deg, #0e1218, #080c10); }
.theme-grandeur  .collection-bg { background: linear-gradient(160deg, #1e1810, #100e08); }
.theme-coop      .collection-bg { background: linear-gradient(160deg, #141414, #0a0a0a); }

/* Cabin mini inside collection card */
.collection-elev {
  position: absolute;
  bottom: 0; left: 15%; right: 15%;
  height: 75%;
}

.coll-ceiling {
  height: 14px;
  background: rgba(255, 248, 230, 0.85);
  margin: 10px 10px 0;
  box-shadow: 0 0 20px rgba(255, 248, 230, 0.5);
  border-radius: 1px;
}

.coll-panels {
  display: flex;
  gap: 3px;
  padding: 6px 8px;
  height: calc(100% - 70px);
}

.coll-panel {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.theme-classic   .coll-panel { background: linear-gradient(180deg, #1e1a18, #161210); }
.theme-signature .coll-panel { background: linear-gradient(180deg, #252525, #1c1c1c); }
.theme-woodline  .coll-panel { background: linear-gradient(180deg, #2a1a08, #1e1205); }
.theme-space     .coll-panel { background: rgba(180, 220, 255, 0.04); border-color: rgba(180, 220, 255, 0.08); }
.theme-grandeur  .coll-panel { background: linear-gradient(180deg, #2a2010, #1a1408); }
.theme-coop      .coll-panel { background: linear-gradient(180deg, #1c1c1c, #121212); }

.coll-glow { height: 20px; }
.theme-classic   .coll-glow { background: linear-gradient(to top, rgba(255, 77, 0, 0.2),    transparent); }
.theme-signature .coll-glow { background: linear-gradient(to top, rgba(200,200,200,0.1),    transparent); }
.theme-woodline  .coll-glow { background: linear-gradient(to top, rgba(200,169,110,0.2),    transparent); }
.theme-space     .coll-glow { background: linear-gradient(to top, rgba(100,180,255,0.15),   transparent); }
.theme-grandeur  .coll-glow { background: linear-gradient(to top, rgba(200,169,110,0.25),   transparent); }
.theme-coop      .coll-glow { background: linear-gradient(to top, rgba(150,150,150,0.1),    transparent); }

.collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  z-index: 5;
}

.collection-info {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  z-index: 10;
}

.coll-name {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 4px;
}

.coll-desc {
  font-size: 12px;
  color: var(--silver);
}

/* ── Door collection grid ── */
.door-collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.door-item {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.door-bg {
  position: absolute;
  inset: 0;
  transition: transform .5s ease;
}

.door-item:hover .door-bg {
  transform: scale(1.04);
}

/* Door finish backgrounds */
.door-silver-hairline  .door-bg { background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 50%, #3a3a3a 100%); }
.door-silver-mirror    .door-bg { background: linear-gradient(135deg, #4a4a4a 0%, #606060 30%, #3a3a3a 60%, #5a5a5a 100%); }
.door-rosegold-hairline .door-bg { background: linear-gradient(135deg, #c47a6a 0%, #b06858 50%, #c47a6a 100%); }
.door-rosegold-mirror  .door-bg { background: linear-gradient(135deg, #d4908a 0%, #e0a0a0 30%, #c07878 100%); }
.door-golden-hairline  .door-bg { background: linear-gradient(135deg, #c8a96e 0%, #a07840 50%, #c8a96e 100%); }
.door-golden-mirror    .door-bg { background: linear-gradient(135deg, #d4b878 0%, #e8d090 30%, #c4a860 100%); }
.door-black-hairline   .door-bg { background: linear-gradient(135deg, #1a1a1a 0%, #222 50%, #1a1a1a 100%); }
.door-black-mirror     .door-bg { background: linear-gradient(135deg, #222 0%, #2a2a2a 30%, #181818 60%, #242424 100%); }

.door-lines {
  position: absolute;
  inset: 0;
  display: flex;
}

.door-panel-l,
.door-panel-r {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.door-panel-l { border-right: none; }
.door-panel-r { border-left: 1px solid rgba(255, 255, 255, 0.04); }

.door-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  z-index: 5;
}

.door-info {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 10;
}

.door-finish-name {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 2px;
}

.door-finish-type {
  font-size: 11px;
  color: var(--silver);
  letter-spacing: 1px;
}
