body {
  font-family: "Cormorant Garamond", serif;
}


.under-construction {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  background-color: #fff3cd; /* light yellow */
  color: #856404; /* dark yellow/brown text */
  border: 1px solid #ffeeba;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
}


.btn {
  font-family: "Cormorant Garamond", serif;
  text-decoration: none;
  color: #000;
  border: 1px solid #000;
  background-color: transparent;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: #000;
  color: #fff;
}

.back-home .btn {
    font-size: 20px;
    padding: 0.75rem 1.5rem;
    width: 200px;
}

.back-home {
    max-width: 1300px;
    margin: 3rem auto 1rem auto;
    text-align: left;
}

.toggle-details {
  font-size: 16px;
  padding: 0.4rem 0.8rem;
  width: 150px;
}




/* Accordion project card */
.project-card {
  background-color: #fff;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-header h3 {
  margin: 0;
  font-size: 28px;
}

.project-details {
  max-height: 0;           /* start collapsed */
  overflow: hidden;        /* hide content outside box */
  transition: max-height 0.4s ease, padding 0.4s ease;
  margin-top: 0;
  padding: 0 0;            /* padding animates too */
  font-size: 18px;
  color: #333;
}

/* When expanded */
.project-details.expanded {
  max-height: 1000px;      /* large enough to fit content */
  padding: 1rem 0;         /* restore vertical padding */
  margin-top: 1rem;
}


/* Tools text smaller and muted */
.project-tools {
  font-size: 18px;
  color: #555;
}


.project-card h3 {
  font-size: 28px;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.project-card p {
  font-size: 20px;
  margin-bottom: 1rem;
}

.project-icon img {
  width: 60px; /* placeholder size */
  display: block;
  margin-bottom: 1rem;
}

.projects-page {
  max-width: 1300px;
  margin: 0 auto;
}



/* Projects page intro section */
.projects-intro {
  max-width: 1300px;
  margin: 1rem auto 2rem auto; /* top + bottom spacing */
  padding: 0 3rem;
  text-align: center; /* center title + subtitle */
}

.projects-intro h1 {
  font-size: 72px;   /* main heading size */
  margin: 0;         /* remove default extra spacing */
}

.projects-intro .projects-subtitle {
  font-size: 20px;         /* readable, smaller than h1 */
  color: #555;             /* subtle gray for secondary text */
  margin-top: 1.5rem;      /* small space below heading */
  line-height: 1.5;        /* better readability */
}



.projects-section h2 {
  font-size: 36px;
  margin-top: 0;
  margin-bottom: 2rem;
}

.projects-section {
  scroll-margin-top: 4rem;
  margin-bottom: 5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 0.5rem;
}

.accordion-btn {
  font-size: 18px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  margin-top: 0.5rem;
  border: 1px solid #000;
  background-color: transparent;
  border-radius: 6px;
}

/* Box styling (same style as homepage sections) */
.section-box {
  background-color: #f6f6f6;
  border-radius: 16px;
  padding: 2.5rem 3rem;
  margin-bottom: 3rem;
}

/* Section title centered */
.section-title {
  font-size: 36px;
  text-align: center;
  margin-top: 0;
  margin-bottom: 2rem;
}

/* Optional: accordion container spacing inside box */
.projects-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
