/* RESET + BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Sour Gummy", sans-serif;
  background-color: #10141C;
  color: white;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 80px;
}

/* 🔙 BACK BAR */
.back-bar {
  position: sticky;
  top: 0;
  background-color: #E2B4EF;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.back-container {
  display: flex;
  align-items: center;
  padding: 1rem 80px;
}
.back-link {
  color: #10141C;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}
.back-link i {
  margin-right: 8px;
}

/* 🖼️ HERO IMAGE */
.hero-project {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.hero-project img {
  width: 100%;
  max-width: 960px;
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  object-fit: cover;
}

/* 📌 TITLE */
.project-title h1 {
  font-size: 3rem;
  color: #FFE3BB;
  margin-top: 24px;
  text-align: center;
}

/* 📄 INFO SECTION */
.project-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  align-items: stretch; /* Ensures both columns align in height */
}

.left-column,
.right-column {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 🧩 Ensure info cards fill height and align content */
.info-card {
  background-color: #272727;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* Ensures full stretch inside column */
}

.info-card p {
  color: white;
}

/* 🛠️ Tools Icons Layout */
.tools-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 16px;
  justify-items: center;
  align-items: center;
  flex-grow: 1; /* Helps fill height if needed */
}

.tools-icons img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.tools-icons img:hover {
  transform: scale(1.1);
}

/* 🧷 Optional: make Read More button stay bottom in right column */
.read-more {
  text-align: center;
  margin-top: auto;
  display: inline-block;
  color: #8FE8F0;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #8FE8F0;
  padding: 10px 20px;
  border-radius: 20px;
  transition: background 0.3s;
}

.read-more:hover {
  background-color: #8FE8F0;
  color: #10141C;
}

/* TIMELINE */
.timeline-date {
  font-size: 1.25rem;
  font-weight: bold;
  color: #E2B4EF;
}

/* 🔗 READ MORE BUTTON */
.read-more {
  text-align: center;
  color: #8FE8F0;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #8FE8F0;
  padding: 10px 20px;
  border-radius: 20px;
  transition: background 0.3s;
  margin-top: 8px;
  display: inline-block;
}
.read-more:hover {
  background-color: #8FE8F0;
  color: #10141C;
}

/* ✍️ ABOUT SECTION */
.about-section {
  margin-top: 40px;
}
.about-section h2 {
  color: #E2B4EF;
  margin-bottom: 16px;
}
.about-section p {
  margin-bottom: 16px;
}

/* 🔡 TYPOGRAPHY + 🎨 COLOR PALETTE */
.typography-color {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.typography-card,
.color-card {
  flex: 1;
  min-width: 300px;
  background-color: #272727;
  padding: 24px;
  border-radius: 12px;
}
.typography-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}
.color-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.color-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 4px;
}

/* 🖼️ GALLERY SECTION */
.gallery-section {
  margin-top: 40px;
}
.gallery-section h2 {
  color: #E2B4EF;
  margin-bottom: 16px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
}

/* 📩 FOOTER */
.footer {
  background-color: #FFE3BB;
  color: #10141C;
  padding: 24px;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 80px;
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  .container {
    padding: 24px;
  }
  .project-info {
    flex-direction: column;
  }
  .tools-icons {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .typography-color {
    flex-direction: column;
  }
}