/* =========================================
   GROW TECH PORTFOLIO - FULL & UPDATED CSS
   ========================================= */

:root {
  --gt-bg: #0d102a;
  --gt-gold: #c9a86a;
  --gt-cyan: #00ffff;
  --gt-muted: #8892b0;
  --gt-glass: rgba(255, 255, 255, 0.03);
  --gt-border: rgba(201, 168, 106, 0.15);
}

.gt-clean-app-universe {
  background-color: var(--gt-bg);
  padding: 50px 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
}

.gt-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Hero Section --- */
.gt-portfolio-hero {
  text-align: center;
  margin-bottom: 80px;
}

.gt-portfolio-main-title {
  color: var(--gt-gold);
  font-family: "Bungee", cursive;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 15px 0;
}

.gt-portfolio-main-title span {
  color: var(--gt-cyan);
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.gt-portfolio-subtitle {
  color: var(--gt-gold);
  font-weight: 600;
  letter-spacing: 3px;
}

.gt-gold-divider {
  width: 80px;
  height: 4px;
  background: var(--gt-gold);
  margin: 20px auto;
  border-radius: 2px;
}

/* --- App Grid --- */
.gt-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
  justify-content: start; /* কার্ডগুলোকে বাম দিক থেকে সাজাতে সাহায্য করবে */
}

/* --- The Clean Card --- */
.gt-app-card {
  background: var(--gt-glass);
  border: 1px solid var(--gt-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  position: relative;
}

/* ডেক্সটপ হোভার ইফেক্ট */
@media (min-width: 769px) {
  .gt-app-card:hover {
    border-color: var(--gt-cyan);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.05);
  }

  .gt-app-card:hover .gt-glass-overlay {
    opacity: 1;
    pointer-events: auto;
  }
}

/* মোবাইল/ট্যাবলেট ক্লিক ইফেক্ট (is-active ক্লাসের মাধ্যমে) */
.gt-app-card.is-active .gt-glass-overlay {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.gt-card-visual {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #1a223f;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.gt-card-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  transition: transform 3s ease-in-out;
}

/* Glass Overlay & Buttons */
.gt-glass-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 16, 42, 0.9);
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 10;
  pointer-events: none;
}

.gt-action-group {
  display: flex;
  gap: 15px;
  width: 90%;
  justify-content: center;
}

.gt-btn {
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: 0.3s;
  text-align: center;
  width: 45%;
}

.gt-view-btn {
  background: var(--gt-cyan);
  color: #000;
}

.gt-view-btn:hover {
  box-shadow: 0 0 15px var(--gt-cyan);
}

.gt-download-btn {
  background: transparent;
  border: 2px solid var(--gt-gold);
  color: var(--gt-gold);
}

.gt-download-btn:hover {
  background: var(--gt-gold);
  color: #000;
}

/* --- Tech Tags --- */
.gt-tech-stack {
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gt-tag-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gt-muted);
  font-weight: 700;
}

.gt-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gt-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 106, 0.3);
  color: var(--gt-gold);
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.gt-tag:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--gt-cyan);
  color: var(--gt-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 255, 0.15);
}

/* --- App Features (Premium Dots) --- */
.gt-app-features {
  margin: 15px 0;
  padding: 10px 0;
}

.gt-feature-label {
  font-size: 11px;
  color: var(--gt-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  display: block;
  margin-bottom: 12px;
}

.gt-app-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gt-app-features li {
  color: var(--gt-muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: 0.3s ease;
  position: relative;
}

.gt-app-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: var(--gt-gold);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 0 6px rgba(201, 168, 106, 0.4);
}

/* হোভার বা একটিভ কার্ডে ডট সায়ান হবে */
.gt-app-card:hover .gt-app-features li::before,
.gt-app-card.is-active .gt-app-features li::before {
  background-color: var(--gt-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
  transform: scale(1.3);
}

.gt-app-card:hover .gt-app-features li,
.gt-app-card.is-active .gt-app-features li {
  color: #fff;
}

/* --- Details & Info --- */
.gt-app-details {
  padding: 25px;
}

.gt-app-details h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.travello-highlight {
  color: #ff3952;
}
.chat-highlight {
  color: #48cc62;
}
.fruzz-highlight {
  color: #00ccc5;
}

/* --- Modal & Android Device --- */
.gt-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.gt-modal-blur-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.gt-modal-content {
  position: relative;
  z-index: 10000;
  animation: popUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popUp {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gt-close-x {
  position: absolute;
  top: -50px;
  right: -50px;
  background: none;
  border: none;
  color: var(--gt-cyan);
  font-size: 45px;
  cursor: pointer;
  transition: 0.3s;
}

.gt-close-x:hover {
  transform: rotate(90deg);
  color: #fff;
}

.android-device {
  width: 280px;
  height: 580px;
  background: #000;
  border: 10px solid #1e2235;
  border-radius: 35px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
}

.android-punch-hole {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #222;
  border-radius: 50%;
  z-index: 5;
}

.android-screen,
.android-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gt-section-title-container {
  margin: 40px 0 25px 0;
}

.gt-status-title {
  font-family: "Inter", sans-serif;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1px;
}

.completed-icon {
  color: var(--gt-cyan);
  font-size: 1.8rem;
}

.progress-icon {
  color: #ffb834; /* একটু ওয়ার্ম গোল্ডেন/অরেঞ্জ ভাইব ইন-প্রগ্রেসের জন্য */
  font-size: 1.8rem;
  animation: spin 4s linear infinite; /* প্রগ্রেস লোগোটা আস্তে আস্তে ঘুরবে */
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.gt-section-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--gt-border),
    transparent
  );
  margin: 60px 0;
}

/* In Progress Card Styling (Optional) */
.gt-project-in-progress {
  border-style: dashed; /* দেখতে আলাদা লাগবে যে এটা তৈরি হচ্ছে */
  border-color: rgba(255, 184, 52, 0.3);
}

/* --- Media Queries --- */
@media (max-width: 1200px) {
  .gt-app-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  .gt-container {
    padding: 0 40px;
  }
}

@media (max-width: 992px) {
  .gt-portfolio-main-title {
    font-size: 3rem;
  }
  .gt-app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gt-clean-app-universe {
    padding: 40px 0;
  }
  .gt-portfolio-main-title {
    font-size: 2.5rem;
  }
  .gt-app-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .gt-glass-overlay {
    opacity: 0;
    pointer-events: none;
    backdrop-filter: none;
    justify-content: flex-end;
    padding-bottom: 30px;
  }

  /* মোবাইলে হোভার লজিক বন্ধ রাখতে হবে যাতে ক্লিকে বাধা না দেয় */
  .gt-app-card:hover .gt-glass-overlay {
    opacity: 0;
    pointer-events: none;
  }

  .gt-action-group {
    width: 100%;
  }
  .gt-btn {
    padding: 10px;
    font-size: 13px;
  }
  .android-device {
    width: 240px;
    height: 500px;
    border-width: 8px;
  }
  .gt-close-x {
    top: -40px;
    right: 0;
    font-size: 35px;
  }
  .gt-card-visual {
    height: auto;
  }
}

@media (max-width: 480px) {
  .gt-container {
    padding: 0 20px;
  }
  .gt-portfolio-main-title {
    font-size: 2rem;
  }
  .gt-portfolio-subtitle {
    font-size: 12px;
    letter-spacing: 2px;
  }
  .gt-app-details {
    padding: 20px;
  }
  .gt-app-details h3 {
    font-size: 1.1rem;
  }
  .gt-tag {
    padding: 4px 10px;
    font-size: 11px;
  }
  .gt-app-features li {
    font-size: 0.8rem;
    gap: 10px;
  }
  .android-device {
    width: 250px;
    height: 500px;
  }
}
