/* =========================================================
   PORTFOLIO.CSS - Landing Page Styles
   ========================================================= */

/* -------------------------
   BASE STYLES
   ------------------------- */

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  background: #f9f9f9;
  color: #333;
}

/* -------------------------
   HERO SECTION
   ------------------------- */

.portfolio-hero {
  background: #2C3E50;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.portfolio-hero h1 {
  font-family: 'Gemunu Libre', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 10px;
  margin-top: 0;
}

.portfolio-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}

/* -------------------------
   PORTFOLIO GRID
   ------------------------- */

.portfolio-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

/* -------------------------
   PORTFOLIO CARDS
   ------------------------- */

.portfolio-card {
  background: white;
  border-radius: 10px;
  padding: 40px 30px;
  text-decoration: none;
  color: #2C3E50;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.portfolio-card h2 {
  font-family: 'Gemunu Libre', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 10px;
  margin-top: 0;
}

.portfolio-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

/* Hover effect for clickable cards */
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* -------------------------
   FEATURED CARD (Base Style)
   ------------------------- */

.portfolio-card.featured {
  background: linear-gradient(135deg, #0A0C0F 0%, #1A1E25 100%);
  color: white;
  border: 1px solid rgba(0, 212, 170, 0.3);
  position: relative;
  overflow: hidden;
}

.portfolio-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00D4AA, #8B5CF6);
}

.portfolio-card.featured::after {
  content: 'NEW';
  position: absolute;
  top: 15px;
  right: 15px;
  background: #00D4AA;
  color: #0A0C0F;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.portfolio-card.featured h2 {
  color: #00D4AA;
}

.portfolio-card.featured p {
  color: #94A3B8;
}

.portfolio-card.featured:hover {
  border-color: #00D4AA;
  box-shadow: 0 15px 40px rgba(0, 212, 170, 0.2);
}

/* -------------------------
   DEMANDBASE FEATURED CARD
   ------------------------- */

.portfolio-card.featured.demandbase {
  background: linear-gradient(135deg, #0D1846 0%, #1a2654 100%);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.portfolio-card.featured.demandbase::before {
  background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
}

.portfolio-card.featured.demandbase::after {
  content: 'NEW';
  background: #2563eb;
  color: white;
}

.portfolio-card.featured.demandbase h2 {
  color: #60a5fa;
}

.portfolio-card.featured.demandbase p {
  color: #94a3b8;
}

.portfolio-card.featured.demandbase:hover {
  border-color: #3b82f6;
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.25);
}

/* -------------------------
   PLACEHOLDER CARD
   ------------------------- */

.placeholder {
  opacity: 0.6;
  pointer-events: none;
  cursor: not-allowed;
  position: relative;
}

/* Remove hover effect from placeholder */
.placeholder:hover {
  transform: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Optional: Add "Coming Soon" badge */
.placeholder::after {
  content: "Coming Soon";
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F39C12;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* -------------------------
   RESPONSIVE DESIGN
   ------------------------- */

/* Tablets */
@media (max-width: 768px) {
  .portfolio-hero {
    padding: 60px 20px;
  }
  
  .portfolio-hero h1 {
    font-size: 2.2rem;
  }
  
  .portfolio-hero p {
    font-size: 1rem;
  }
  
  .portfolio-grid {
    padding: 40px 20px;
    gap: 30px;
  }
  
  .portfolio-card {
    padding: 30px 25px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .portfolio-hero {
    padding: 50px 15px;
  }
  
  .portfolio-hero h1 {
    font-size: 1.8rem;
  }
  
  .portfolio-hero p {
    font-size: 0.95rem;
  }
  
  .portfolio-grid {
    padding: 30px 15px;
    gap: 20px;
    grid-template-columns: 1fr;
  }
  
  .portfolio-card {
    padding: 25px 20px;
  }
  
  .portfolio-card h2 {
    font-size: 1.4rem;
  }
  
  .placeholder::after,
  .portfolio-card.featured::after {
    top: 15px;
    right: 15px;
    font-size: 0.7rem;
    padding: 5px 10px;
  }
}

/* -------------------------
   PRINT STYLES
   ------------------------- */

@media print {
  .portfolio-hero {
    background: white;
    color: #2C3E50;
    border-bottom: 2px solid #2C3E50;
  }
  
  .portfolio-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .portfolio-card.featured {
    background: white;
    color: #2C3E50;
  }
  
  .portfolio-card.featured h2 {
    color: #2C3E50;
  }
  
  .placeholder::after {
    display: none;
  }
}
