
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  padding: 75px 0;
  /* background-color: var(--background-color); */
  background-color: #000;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/construction/showcase-5.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .hero-content {
  margin-bottom: 30px;
}

.hero .hero-content .subtitle {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  /* color: var(--accent-color); */
  color: #ff9e9e;
  margin-bottom: 15px;
  letter-spacing: 1px;
  position: relative;
  padding-left: 25px;
}

.hero .hero-content .subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 15px;
  height: 2px;
  background-color: var(--accent-color);
  transform: translateY(-50%);
}

.hero .hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--surface-color);
}

@media (max-width: 992px) {
  .hero .hero-content h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .hero .hero-content h1 {
    font-size: 32px;
  }
}

.hero .hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  /* color: color-mix(in srgb, var(--default-color), transparent 20%); */
  color: #eee3e3;
}

.hero .hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

@media (max-width: 576px) {
  .hero .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

.hero .hero-buttons .btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero .hero-buttons .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero .hero-buttons .btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background-color: transparent;
  /* color: var(--default-color); */
  color: #eee3e3;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 10%);
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero .hero-buttons .btn-secondary:hover {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  border-color: var(--default-color);
  transform: translateY(-3px);
}

.hero .trust-badges {
  display: flex;
  gap: 30px;
}

@media (max-width: 768px) {
  .hero .trust-badges {
    flex-wrap: wrap;
    gap: 20px;
  }
}

.hero .trust-badges .badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero .trust-badges .badge-item i {
  font-size: 32px;
  color: var(--accent-color);
}

.hero .trust-badges .badge-item .badge-text {
  display: flex;
  flex-direction: column;
}

.hero .trust-badges .badge-item .badge-text .count {
  font-size: 24px;
  font-weight: 700;
  /* color: var(--heading-color); */
  color: var(--surface-color);
  line-height: 1;
}

.hero .trust-badges .badge-item .badge-text .label {
  font-size: 14px;
  /* color: color-mix(in srgb, var(--default-color), transparent 30%); */
  color: #eee3e3;
}

.hero .hero-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.5s ease;
}

.hero .hero-image:hover img {
  transform: scale(1.05);
}

.hero .hero-image .image-badge {
  position: absolute;
  bottom: 6px;
  left: 3px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 5px 10px;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero .hero-image .image-badge span {
  display: block;
  font-weight: 700;
  font-size: 18px;
}

.hero .hero-image .image-badge p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

@media (max-width: 992px) {
  .hero {
    padding: 80px 0;
  }

  .hero .hero-content {
    margin-bottom: 50px;
  }
}


/* ====== Hero Elevator Animation ===== */
/* WRAPPER */
.elevator-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  perspective: 1500px;
}

/* SHAFT */
.elevator-shaft {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 500px;
  background: linear-gradient(135deg, #0a0e17 0%, #1a1f2e 50%, #0f131c 100%);
  border-radius: 1.5rem;
  border: 3px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow:
    inset 0 0 80px rgba(0,0,0,0.8),
    0 30px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.05);
  transform-style: preserve-3d;
}

/* Building Structure Lines */
.building-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 10%
    );
  pointer-events: none;
  z-index: 0;
}

/* GUIDE RAILS - Enhanced */
.elevator-shaft::before,
.elevator-shaft::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0.5%;
  background: linear-gradient(
    to bottom,
    rgba(200,200,200,0.15),
    rgba(150,150,150,0.25),
    rgba(200,200,200,0.15)
  );
  box-shadow:
    0 0 10px rgba(255,255,255,0.1),
    inset 0 0 2px rgba(255,255,255,0.2);
  z-index: 1;
}
.elevator-shaft::before { left: 48%; }
.elevator-shaft::after  { left: 52%; }

/* CABLE SYSTEM */
.cable-system {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  z-index: 2;
}

.cable-left { left: 48.5%; }
.cable-right { left: 51.5%; }

.cable {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(180,180,180,0.3),
    rgba(120,120,120,0.5),
    rgba(180,180,180,0.3)
  );
  box-shadow:
    0 0 3px rgba(255,255,255,0.2),
    inset 0 0 1px rgba(255,255,255,0.3);
  animation: cableVibration 3s ease-in-out infinite;
}

@keyframes cableVibration {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(1px); }
}

/* FLOORS - Enhanced */
.floors {
  position: absolute;
  top: 5%;
  bottom: 5%;
  width: 8%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  z-index: 3;
}

.floors-left  { left: 3%; }
.floors-right { right: 3%; }

.floors span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.02);
}

.floor-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: all 0.3s ease;
  box-shadow: inset 0 0 2px rgba(0,0,0,0.5);
}

.floors span.active {
  color: #ffb703;
  font-weight: bold;
  background: rgba(255,183,3,0.1);
  text-shadow: 0 0 10px rgba(255,183,3,0.8);
  animation: floorPulse 0.8s ease;
  border: 1px solid rgba(255,183,3,0.3);
}

.floors span.active .floor-indicator {
  background: #ffb703;
  box-shadow:
    0 0 10px rgba(255,183,3,0.8),
    0 0 20px rgba(255,183,3,0.5),
    inset 0 0 5px rgba(255,255,255,0.5);
  animation: indicatorGlow 1s ease infinite;
}

@keyframes floorPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@keyframes indicatorGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* CABIN BASE - Ultra Realistic */
.elevator-cabin {
  position: absolute;
  width: 18%;
  height: 32%;
  z-index: 10;
  transform-style: preserve-3d;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.9));
}

.cabin-interior {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2d3448 0%, #1e2332 100%);
  border-radius: 0.8rem;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 2px 8px rgba(255,255,255,0.1),
    inset 0 -2px 8px rgba(0,0,0,0.5),
    0 20px 40px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
}

/* CABIN CEILING */
.cabin-ceiling {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 15%;
  background: linear-gradient(to bottom, #3a4052, #2d3448);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 1;
}

/* CABIN FLOOR */
.cabin-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10%;
  background: linear-gradient(to top, #1a1e2b, #242936);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
  z-index: 1;
}

/* CABIN LIGHT */
.cabin-light {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 8%;
  background: radial-gradient(ellipse at center,
    rgba(255,240,200,0.8) 0%,
    rgba(255,230,150,0.4) 50%,
    transparent 100%);
  border-radius: 50%;
  filter: blur(3px);
  z-index: 2;
  animation: lightFlicker 4s ease-in-out infinite;
}

@keyframes lightFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* CABIN PANEL */
.cabin-panel {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 15%;
  height: 30%;
  background: linear-gradient(135deg, #1a1e2b, #0f1319);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  box-shadow:
    inset 0 0 10px rgba(0,0,0,0.8),
    0 2px 5px rgba(0,0,0,0.5);
  z-index: 3;
}

.panel-display {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 25%;
  background: linear-gradient(to bottom, #0a3d0f, #051a08);
  border: 1px solid rgba(100,255,100,0.3);
  border-radius: 2px;
  box-shadow:
    inset 0 0 10px rgba(0,255,0,0.2),
    0 0 5px rgba(0,255,0,0.3);
  animation: displayGlow 2s ease-in-out infinite;
}

@keyframes displayGlow {
  0%, 100% { box-shadow: inset 0 0 10px rgba(0,255,0,0.2), 0 0 5px rgba(0,255,0,0.3); }
  50% { box-shadow: inset 0 0 15px rgba(0,255,0,0.4), 0 0 10px rgba(0,255,0,0.5); }
}

/* DOORS - Realistic */
.door {
  position: absolute;
  top: 15%;
  bottom: 10%;
  width: 50%;
  background: linear-gradient(to right,
    #4a5366 0%,
    #353c52 15%,
    #2d3448 50%,
    #353c52 85%,
    #4a5366 100%);
  z-index: 5;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.door-left {
  left: 0;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.door-right {
  right: 0;
  border-left: 1px solid rgba(255,255,255,0.15);
}

/* Door handle details */
.door-left::before,
.door-right::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 50px;
  background: linear-gradient(to right, #666, #999, #666);
  border-radius: 2px;
  transform: translateY(-50%);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.5),
    inset 0 0 2px rgba(255,255,255,0.3);
}

.door-left::before { right: 8%; }
.door-right::before { left: 8%; }

/* Door opening animation */
.elevator-cabin.doors-opening .door-left {
  transform: translateX(-100%);
}

.elevator-cabin.doors-opening .door-right {
  transform: translateX(100%);
}

/* POSITIONS + MOTION - Smooth Realistic */
.elevator-up {
  left: 14%;
  animation: elevatorUpRealistic 12s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

.elevator-down {
  right: 10%;
  animation: elevatorDownRealistic 12s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

@keyframes elevatorUpRealistic {
  0% {
    top: 63%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8));
  }
  5% {
    top: 63%;
  }
  45% {
    top: 5%;
    filter: drop-shadow(0 40px 80px rgba(0,0,0,0.9));
  }
  55% {
    top: 5%;
  }
  95% {
    top: 63%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8));
  }
  100% {
    top: 63%;
  }
}

@keyframes elevatorDownRealistic {
  0% {
    top: 5%;
    filter: drop-shadow(0 40px 80px rgba(0,0,0,0.9));
  }
  5% {
    top: 5%;
  }
  45% {
    top: 63%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8));
  }
  55% {
    top: 63%;
  }
  95% {
    top: 5%;
    filter: drop-shadow(0 40px 80px rgba(0,0,0,0.9));
  }
  100% {
    top: 5%;
  }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .elevator-cabin {
    width: 28%;
    height: 30%;
  }
  .floors {
    font-size: 0.7rem;
    width: 10%;
  }
  .elevator-shaft {
    min-height: 420px;
  }
}

@media (max-width: 576px) {
  .elevator-down,
  .floors-right,
  .cable-right {
    display: none;
  }
  .elevator-up {
    left: 32%;
    width: 40%;
  }
  .floors-left {
    left: 2%;
  }
}
