/* Pillars area on homepage that lists 100 Years and Showroom Arrivals. */

/* Main container for the pillars section */
#agency-pillars {
  background-color: #000;
  padding: 100px 5%;
  color: #fff;
  font-family: "Inter", sans-serif;
}

/* Grid layout for pillar cards - two columns equal height */
.pillars-grid {
  display: grid;
  /* Grid handles equal height perfectly */
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Individual pillar card styling */
.pillar-card {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.4s ease;
  height: 100%; /* Ensure card fills grid height */
  box-sizing: border-box;
  border-radius: 25px;
}

/* Hover state for pillar cards */
.pillar-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: #0d0d0d;
}

/* Bold Headline Styling */
.pillar-card h3 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  margin: 40px 0;
  letter-spacing: -2px;
  /* Bright white for immediate impact */
  color: #ffffff;
  font-family: "Lora";
}

/* Card tag label with colored dot indicator */
.card-tag {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Colored dot before tag - default orange for card-1 */
.card-tag::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ec8721;
}

/* Override tag dot color for card-2 - magenta */
.card-2 .card-tag::before {
  background: #b52164;
}

/* Card description text with flex-grow to push footer down */
.pillar-card p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #999;
  font-family: "Poppins";
  margin-bottom: 40px;
  flex-grow: 1; /* Pushes the footer down */
}

/* Footer Alignment - two column layout for data points */
.card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: auto;
}

/* Data point label styling */
.data-point .label {
  font-size: 0.65rem;
  color: #444;
  text-transform: uppercase;
  display: block;
  margin-bottom: 5px;
}

/* Data point value styling with monospace font */
.data-point .value {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: "Space Mono", monospace;
}

/* Card 1 value color - orange */
.card-1 .value {
  color: #ec8721;
}

/* Card 2 value color - magenta */
.card-2 .value {
  color: #b52164;
}

/* Responsive design for tablets and below */
@media (max-width: 1024px) {
  /* Stack cards vertically on smaller screens */
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  /* Adjust heading size for smaller screens */
  .pillar-card h3 {
    font-size: 2.8rem;
    margin: 20px 0;
  }
  /* Adjust padding for mobile display */
  .pillar-card {
    padding-left: 30px;
    padding-right: 15px;
    padding-top: 20px;
  }
}
