/* ======================================================
   SMART DOORBELL OVERRIDES
====================================================== */

/* ================= HERO GLOW ================= */

.project-hero-right::before {

  width: 520px;
  height: 520px;

  background:
    radial-gradient(
      circle,
      rgba(0,212,255,0.18),
      transparent 70%
    );
}




/* ======================================================
   PROJECT CONTENT SPACING
====================================================== */

.project-content {

  margin-top: 140px;
}




/* ======================================================
   SECTION TITLES
====================================================== */

.section-title {
  
  text-align: left;
  max-width: 850px;
}




/* ======================================================
   PROJECT TEXT CARD
====================================================== */

.project-text {

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.04),
      rgba(255,255,255,0.015)
    );

  border:
    1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(14px);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}




.project-text:hover {

  transform:
    translateY(-4px);

  border-color:
    rgba(0,212,255,0.18);

  box-shadow:
    0 0 18px rgba(0,212,255,0.08);
}




/* ======================================================
   ARCHITECTURE IMAGE
====================================================== */

.project-architecture {

  margin-top: 60px;
}




.project-architecture img {

  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}




.project-architecture img:hover {

  transform:
    translateY(-6px);

  border-color:
    rgba(0,212,255,0.18);

  box-shadow:
    0 0 22px rgba(0,212,255,0.10);
}




/* ======================================================
   FEATURE / STACK / CHALLENGE CARDS
====================================================== */

.feature-card,
.challenge-card,
.stack-card {

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.04),
      rgba(255,255,255,0.015)
    );

  border:
    1px solid rgba(255,255,255,0.08);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}




.feature-card:hover,
.challenge-card:hover,
.stack-card:hover {

  transform:
    translateY(-6px);

  border-color:
    rgba(0,212,255,0.18);

  box-shadow:
    0 0 22px rgba(0,212,255,0.10);
}




/* ======================================================
   GALLERY
====================================================== */

.gallery-grid {

  margin-top: 20px;
}




.gallery-item {

  background:
    rgba(255,255,255,0.02);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}




.gallery-item:hover {

  transform:
    translateY(-6px);

  border-color:
    rgba(0,212,255,0.18);

  box-shadow:
    0 0 18px rgba(0,212,255,0.08);
}




/* ======================================================
   UI SHOWCASE CARD
====================================================== */

/* ======================================================
   UI SHOWCASE CARD
====================================================== */

.ui-showcase-card {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 70px;

  padding: 60px;

  margin-top: 70px;

  border-radius: 28px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.04),
      rgba(255,255,255,0.015)
    );

  border:
    1px solid rgba(255,255,255,0.08);

  position: relative;

  overflow: hidden;
}




.ui-showcase-card::before {

  content: "";

  position: absolute;

  width: 320px;
  height: 320px;

  background:
    radial-gradient(
      circle,
      rgba(0,212,255,0.08),
      transparent 70%
    );

  top: -120px;
  left: -120px;
}




.ui-showcase-content {

  position: relative;

  z-index: 2;

  max-width: 520px;
}




/* ================= FIX VERTICAL UI IMAGE ================= */

.ui-showcase-card img {

  width: 240px;

  height: auto;

  max-height: 500px;

  object-fit: contain;

  border-radius: 28px;

  display: block;

  margin: auto;

  box-shadow:
    0 20px 40px rgba(0,0,0,0.45);

  position: relative;

  z-index: 2;
}




/* ======================================================
   VIDEO
====================================================== */

/* .project-video {

  background:
    rgba(255,255,255,0.02);

  border:
    1px solid rgba(255,255,255,0.08);
} */

.project-video video {

  width: 100%;

  max-width: 420px;

  height: auto;

  max-height: 75vh;

  object-fit: contain;

  border-radius: 24px;

  display: block;

  margin: auto;
}




/* ======================================================
   MODAL
====================================================== */

.gallery-modal {

  backdrop-filter: blur(8px);
}




.gallery-slider {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));

  gap: 24px;

  width: 100%;

  max-width: 1400px;

  margin: auto;

  padding: 80px 40px;

  overflow-y: auto;
}




.gallery-slider img:hover {

  transform:
    scale(1.02);

  border-color:
    rgba(0,212,255,0.22);
}




/* ======================================================
   FOOTER
====================================================== */

.footer {

  margin-top: 140px;
}




/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 900px) {

  .project-hero {

    gap: 70px;
  }

  .project-hero-right::before {

    width: 340px;
    height: 340px;
  }

  .ui-showcase-card {

    flex-direction: column;

    text-align: center;

    gap: 40px;

    padding: 40px 24px;
  }

  .ui-showcase-content {

    max-width: 100%;
  }

}




@media (max-width: 700px) {

  .project-hero h1 {

    font-size: 3rem;
  }

  .project-description {

    font-size: 1rem;
  }

  .gallery-grid {

    grid-template-columns: 1fr;
  }

  .ui-showcase-card img {

    width: 180px;
  }

}