/* assets/css/content.css
    content section + featured projects */

/* Content section below headers */
#content {
  background-color: var(--sapphire-sky);
  min-height: 100vh;
  box-sizing: border-box;
  padding-top: calc(var(--safe-top) + 60px + 80px);
  padding-left: 1rem;
  padding-right: 1rem;
  color: #ffff00;
}
#content a {
  color: #fff;
}

#content a:hover {
  color: var(--spring-green);
}

/* Featured Projects Grid */
.featured-projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 80vw;   /* constrain to 80% viewport width */
  margin: 0 auto;    /* center horizontally */
  gap: 1rem;         /* spacing between thumbnails */
}

.featured-projects .project {
  flex: 1 1 30%;     /* roughly 3 per row */
  text-align: center;
}

.featured-projects img {
  width: 100%;
  height: auto;
  border: 2px solid var(--platinum);
  border-radius: 6px;
  transition: transform 0.2s ease;
}

.featured-projects img:hover {
  transform: scale(1.05);
}

.featured-projects figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--white);
}

.division-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.division-card {
  border: 1px solid #ccc;
  padding: 1rem;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  transition: box-shadow 0.3s;
}

.division-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.breadcrumb {
  font-size: 0.9rem;
  margin: 1rem 0;
  color: var(--graphite);
}
.breadcrumb a {
  color: var(--graphite);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

.projects-grid {
  color: #000; /* ensures all text inside grid is black */
}

.project-card {
  color: #000; /* ensures card text is black */
}

.project-card h3,
.project-card p {
  color: #000; /* explicitly set headings and paragraphs */
}

#faq {
  padding: 1rem;
}

#faq h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

#faq details {
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #ccc;
}

#faq summary {
  font-weight: bold;
  cursor: pointer;
  padding: 0.5rem 0;
}

#faq p {
  margin: 0.5rem 0 1rem 0;
}

#testimonials {
  padding: 1rem;
}

#testimonials h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.testimonial {
  background: #f9f9f9;
  border-left: 4px solid #0077cc;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.testimonial .quote {
  font-style: italic;
  margin-bottom: 0.5rem;
}

.testimonial .author {
  font-weight: bold;
  color: #333;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem; /* space between cards */
  margin-top: 2rem;
}

.service-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.5rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.service-icon {
  max-width: 300px;
  height: auto;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color, #333);
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #555;
}
