/* =====================================================================
   HOMEPAGE: CARD DESIGNS (Batch 01)
   File: /css/homepage-cards/batch-01.css
   ===================================================================== */

/* Global Text Settings for Homepage Cards */
.hp-postcard-canvas h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hp-postcard-canvas p {
  color: #a1a1aa; /* Soft gray for readability */
  line-height: 1.7;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* --- CARD 1: FEATURED PROJECT (Two Columns) --- */
.card-featured-project .project-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.card-featured-project .project-text {
  flex: 1;
}

.card-featured-project .project-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.card-featured-project .project-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hp-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #ffffff;
  color: #000000 !important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s ease;
  margin-top: 1rem;
}

.hp-button:hover {
  background: #e4e4e7;
}

/* Mobile Responsive adjustment for the two-column card */
@media (max-width: 768px) {
  .card-featured-project .project-layout {
    flex-direction: column;
  }
}


/* --- WIDE CARD LAYOUT TEST --- */
.card-wide-test .wide-layout {
  display: flex;
  gap: 3rem;
  height: 100%; /* Forces the columns to use the available vertical space */
}

.card-wide-test .wide-text {
  flex: 1.2; /* Takes up slightly more than half the width */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers text vertically */
}

.card-wide-test .wide-image {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Force mobile to stack so it doesn't squish */
@media (max-width: 768px) {
  .card-wide-test .wide-layout {
    flex-direction: column;
    height: auto;
  }
}