/* ===== FONTS & RESET ===== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700&family=Schoolbell&family=Orbitron:wght@400;600;700&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: #fff0f5;
  color: #3a2a35;
  min-height: 100vh;
}

/* ===== HEADER ===== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #ff80ab, #f48fb1, #fce4ec);
  padding: 24px 40px;
  border-bottom: 4px solid #e91e8c;
  box-shadow: 0 4px 12px rgba(233, 30, 140, 0.2);
}

.header-text h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 2.8rem;
  color: #fff;
  text-shadow: 2px 2px 0 #c2185b;
  letter-spacing: 1px;
}

.header-text .subtitle {
  font-size: 1.1rem;
  color: #fce4ec;
  font-weight: 600;
  margin-top: 4px;
}

.logo {
  height: 140px;
  width: auto;
  border-radius: 12px;
  flex-shrink: 0;
}

/* ===== INTRO ===== */
.intro {
  max-width: 860px;
  margin: 36px auto 20px;
  padding: 0 24px;
  text-align: center;
  font-size: 1.15rem;
  color: #880e4f;
  font-weight: 600;
  line-height: 1.6;
}

/* ===== THREE COLUMNS ===== */
.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 24px;
}

/* ===== TIME BOXES ===== */
.time-box {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  border: 3px dashed #f48fb1;
  box-shadow: 0 6px 20px rgba(244, 143, 177, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.time-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(244, 143, 177, 0.4);
}

/* Different dashed colours per column */
.past {
  border-color: #ce93d8;
  box-shadow: 0 6px 20px rgba(206, 147, 216, 0.3);
}

.present {
  border-color: #f48fb1;
  box-shadow: 0 6px 20px rgba(244, 143, 177, 0.3);
}

.future {
  border-color: #80deea;
  box-shadow: 0 6px 20px rgba(128, 222, 234, 0.3);
}

.past:hover {
  box-shadow: 0 12px 28px rgba(206, 147, 216, 0.5);
}

.present:hover {
  box-shadow: 0 12px 28px rgba(244, 143, 177, 0.5);
}

.future:hover {
  box-shadow: 0 12px 28px rgba(128, 222, 234, 0.5);
}

.time-box h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.9rem;
  margin-bottom: 4px;
}

.past h2 {
  color: #8e24aa;
}

.present h2 {
  color: #d81b60;
}

.future h2 {
  color: #00838f;
}

.time-box h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #9e9e9e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Past box — chalky blackboard feel */
.past h2,
.past h3,
.past p,
.past li {
  font-family: 'Schoolbell', cursive;
}

.past h2 {
  font-size: 2.1rem;
}

.past h3 {
  font-size: 1.15rem;
  letter-spacing: 1px;
}

.past p,
.past li {
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Future box — sleek, futuristic, techy */
.future h2,
.future h3,
.future p,
.future li {
  font-family: 'Orbitron', sans-serif;
}

.future h2 {
  font-size: 1.6rem;
  letter-spacing: 2px;
}

.future h3 {
  font-size: 0.75rem;
  letter-spacing: 3px;
}

.future p,
.future li {
  font-size: 0.82rem;
  line-height: 1.8;
  letter-spacing: 0.4px;
}

/* ===== IMAGE PLACEHOLDER ===== */
.img-placeholder {
  width: 100%;
  height: 180px;
  border: 3px dashed #f8bbd0;
  border-radius: 12px;
  background: #fce4ec;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #c2185b;
  margin-bottom: 18px;
  line-height: 1.5;
  overflow: hidden;
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 9px;
}

/* ===== PARAGRAPH & LIST ===== */
.time-box p {
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 12px;
  color: #4a3045;
}

.time-box ul {
  margin: 0 0 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.time-box li {
  font-size: 0.93rem;
  line-height: 1.5;
  color: #4a3045;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #f48fb1, #ff80ab);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border-top: 4px solid #e91e8c;
}

/* ===== RESPONSIVE — stack columns on small screens ===== */
@media (max-width: 780px) {
  .columns {
    grid-template-columns: 1fr;
  }

  .header-text h1 {
    font-size: 1.9rem;
  }
}