/* Global styles */
body {
  margin: 0;
  font-family: "Playfair Display", serif;
  color: #222;
  background-color: #fafafa;
  line-height: 1.6;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #eee;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #555;
}

/* Hero */
.hero {
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  background: #f0f0f0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: #444;
}

/* About */
.about {
  padding: 4rem 2rem;
  background: #fff;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  color: #444;
}

.about-image img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Work */
.work {
  padding: 4rem 2rem;
  background: #fafafa;
  text-align: center;
}

.work h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.work-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.work-item:hover {
  transform: translateY(-5px);
}

.work-item img {
  width: 100%;
  display: block;
}

.work-item h3 {
  padding: 1rem;
  font-size: 1.1rem;
  color: #222;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    order: -1;
  }
}


/* Written Work Section */
.written-work {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}

.written-work h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.article-card {
  display: block;
  text-align: left;
  background: #fafafa;
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

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

.article-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.article-card p {
  font-size: 0.95rem;
  color: #555;
}


/* Sub-section inside Work */
.written-subsection {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.written-subsection h3 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: #222;
}

/* Articles grid (same as before, but slightly smaller scale) */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.article-card {
  display: block;
  text-align: left;
  background: #fff;
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

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

.article-card h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.article-card p {
  font-size: 0.9rem;
  color: #555;
}


/* Reset all links */
a {
  color: inherit;          /* inherit from parent, so default text color (black in your site) */
  text-decoration: none;   /* remove underline */
}

/* Hover state for links */
a:hover {
  color: #444;             /* subtle hover change (slightly darker gray/black) */
  text-decoration: underline; /* optional: add underline only on hover */
}

/* Navigation links specifically */
.nav-links a {
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #555;
  text-decoration: none; /* keeps nav clean (no underline) */
}

/* Resume page */
.resume {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.resume h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.resume-section {
  margin-bottom: 2rem;
}

.resume-section h2 {
  font-size: 1.4rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.resume-item {
  margin-bottom: 1.5rem;
}

.resume-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.resume-item p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #555;
}

.resume-item ul {
  padding-left: 1.2rem;
}

.resume-item ul li {
  margin-bottom: 0.4rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
}

.skills-list li {
  background: #f3f3f3;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* Multimedia sub-section */
.multimedia-subsection {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.multimedia-subsection h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.multimedia-subsection p.subtle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2rem;
}

.embed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  justify-items: center;
}

.embed-item {
  width: 100%;
  max-width: 540px;
}

/* About section buttons */
.about-buttons {
  flex-direction: column;
  display: flex;
  gap: 0.8rem;
}

.about-buttons a {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 120px;
}

/* LinkedIn button */
.btn-linkedin {
  background-color: #0a66c2;
  color: #fff;
}

.btn-linkedin:hover {
  background-color: #004182;
}

/* Email button */
.btn-email {
  background-color: #f3f3f3;
  color: #111;
  border: 1px solid #ddd;
}

.btn-email:hover {
  background-color: #eaeaea;
}

/* Right side: image + buttons aligned horizontally */
.about-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;   /* space between image and buttons */
}

@media (max-width: 768px) {
  .about-right {
    flex-direction: column;
    align-items: center;
  }

  .about-buttons {
    flex-direction: row; /* buttons side by side on mobile under image */
  }
}

.radio-subsection {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  text-align: center;
}

.radio-subsection h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.radio-subsection p.subtle {
  color: #666;
  margin-bottom: 2rem;
}





