/* ===== Global Styles ===== */
body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFF7F6; /* soft neutral background */
  color: #333;
}

/* ===== Navigation Bar ===== */
header {
  background: linear-gradient(to right, #E02F50, #E0642F);
  color: white;
  padding: 5px 0; /* reduced from 10px to 5px */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}


nav {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
  color: white;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #FFEFEF; 
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ===== Section Titles ===== */
h2 {
  color: #E02F50; 
  border-bottom: 3px solid #E0642F;
  display: inline-block;
  padding-bottom: 5px;
}

/* ===== About Section ===== */
.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 60px 10%;
  background-color: #FFEFEF; 
  border-radius: 12px;
  margin: 40px auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.profile-photo {
  width: 280px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about-text {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
}

.about-text h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 0.8em;
  line-height: 1.6;
}

/* ===== Projects / Publications / Thoughts ===== */
.section-container {
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  background-color: #FFF3F2;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.project-card, .publication-card, article {
  background: white;
  margin: 15px 0;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}



.links-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.links-container a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #E02F50; /* primary accent */
  font-weight: 500;
  transition: color 0.3s, transform 0.2s;
}

.links-container a i {
  font-size: 1.2em;
}

.links-container a:hover {
  color: #E014B4; /* hover accent */
  transform: translateY(-2px);
}

/* Hyperlink color */
a {
  color: #E014B4;        /* your pink shade */
  text-decoration: none;  /* removes underline */
  transition: color 0.3s;
}

a:hover {
  color: #E02F50;        /* slightly darker pink on hover */
  text-decoration: underline; /* optional */
}


/* Stylized link as a soft button */
/* Stylized link as a soft button */
.button-link {
  display: inline-block;
  background: linear-gradient(to right, #E08579, #E0822F); /* light coral → soft orange */
  color: white;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.button-link:hover {
  background: linear-gradient(to right, #E0822F, #E0642F); /* gentle shift on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* --- Publications page --- */

.section-container {
  font-size: 0.9rem; /* smaller font overall */
}

.pub-nav {
  margin-bottom: 1.5em;
  text-align: center;
}

.pub-nav a {
  color: #E014B4;
  text-decoration: none;
  font-weight: 500;
  margin: 0 5px;
}

.pub-nav a:hover {
  text-decoration: underline;
  color: #E02F50;
}

.pub-section {
  margin-bottom: 2.5em;
}

.pub-section h3 {
  color: #E02F50;
  border-left: 5px solid #E0642F;
  padding-left: 10px;
  margin-bottom: 1em;
  font-size: 1.2rem;
  font-weight: 600;
}

.publication-card {
  background-color: #FFF5F5;
  padding: 10px 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.publication-card strong {
  color: #333;
  font-size: 0.95rem;
}

.publication-card .authors {
  font-style: italic;
  color: #555;
}

.publication-card em {
  color: #777;
}

.publication-card a {
  color: #E014B4;
  text-decoration: none;
  font-weight: 500;
}

.publication-card a:hover {
  color: #E02F50;
  text-decoration: underline;
}

/* --- Thoughts page --- */

.thoughts-list {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.thought-entry {
  text-align: left;
}

.thought-entry h3 {
  margin-top: 4px;
  margin-bottom: 10px;
  color: #E02F50;
}

.thought-date {
  display: inline-block;
  color: #777;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.thought-draft {
  border: 1px dashed #E08579;
  background: #FFF9F3;
}

.thought-placeholder {
  color: #777;
  font-style: italic;
}

.thought-archive {
  text-align: left;
}

.thought-archive summary {
  cursor: pointer;
  color: #E014B4;
  font-weight: 600;
  margin: 8px 0;
}

.thought-archive summary:hover {
  color: #E02F50;
}

.thought-archive article {
  margin-top: 12px;
}

/* --- Proverb Section --- */

#proverb-section {
  margin-top: 2em;
  text-align: center;
}

.proverb-card {
  display: flex;
  flex-direction: column; /* stack items vertically */
  align-items: flex-start; /* keep them aligned to the left */
  background-color: #fdfdfd;
  padding: 1.5em;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-top: 1.5em;
}


.proverb-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.2em; /* 👈 adds space below the proverb */
}

.poll p {
  font-size: 0.9rem;
  margin-bottom: 0.5em;
}

.vote-btn {
  background: linear-gradient(to right, #E08579, #E0822F);
  color: white;
  border: none;
  padding: 8px 14px;
  margin: 5px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.vote-btn:hover {
  background: linear-gradient(to right, #E0822F, #E0642F);
  transform: translateY(-2px);
}

.poll-results {
  margin-top: 1em;
  font-size: 0.9rem;
  color: #555;
}

.blog-image {
  display: block;
  width: 250px;      /* 👈 sets a fixed width */
  height: auto;      /* keeps proportions */
  margin: 1em auto;  /* centers it */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 20px;
  background: #E0442F;
  color: white;
  font-size: 0.9em;
}
