/* Clean, minimal styling */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

h1 {
  font-weight: 600;
  margin-bottom: 1.5em;
}

a {
  color: #d946ef;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
/* about page name styling */
.quarto-container h1 {
  font-size: 2.6rem;          /* adjust to taste */
  line-height: 1;
  margin-top: 0.4rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 700;
}

/* make first name extra heavy */
.quarto-container h1 strong {
  font-weight: 900;
}
/* Hide Quarto's default title block for this page layout (if present) */
.quarto-title-block.default { display: none; }

/* Name styling in the right column */
.quarto-container h1 {
  font-size: 3rem;         /* adjust to match the look you want */
  line-height: 1;
  margin: 0 0 0.4rem 0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 800;
}

/* extra emphasis for first name (bold) */
.quarto-container h1 strong {
  font-weight: 800;
}

/* smaller lead paragraph spacing for the right column */
.quarto-container .lead {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

/* contact link style spacing */
.contact-links { margin-top: 0.4rem; }
/* add to mysite/styles.css (or docs/styles.css if you prefer) */
.profile-name {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0;
}
/* Hide the navbar title on About page only */
body.about-page .navbar-brand {
  display: none;
}
/* hide the site title / brand in the navbar on the About page only */
.about-page .navbar-brand,
.about-page .quarto-site-title {
  display: none !important;
}

/* optional: move navbar links slightly left when title hidden */
.about-page .navbar-container .navbar-nav {
  margin-left: 0.5rem;
}
img[src*="#icon"] {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}
a > img {
  vertical-align: middle;
  margin-right: 10px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

a > img:hover {
  transform: scale(1.15);
  filter: brightness(1.3);
}
/* Light mode background */
body[data-bs-theme="light"] {
  background-color: #f2edf9; /* soft grayish purple – easy on eyes */
}

/* Optional – add a smooth color transition */
body {
  transition: background-color 0.3s ease, color 0.3s ease;
}
/* Light / dark selectors that match Quarto output */
body.quarto-light,
html.quarto-light,
body[data-theme="light"],
html[data-theme="light"] {
  background-color: #f2edf9 !important; /* light lavender — change to any hex you prefer */
  color: #222;                           /* optional: darker text for contrast */
}

body.quarto-dark,
html.quarto-dark,
body[data-theme="dark"],
html[data-theme="dark"] {
  background-color: #121212 !important; /* dark background */
  color: #e6e6e6;                       /* lighter text for dark bg */
}

/* Ensure full-page background (cover any containers) */
.quarto-container,
.quarto-container .page {
  background-color: transparent;
}

/* smooth transition when switching theme */
body, html {
  transition: background-color 0.25s ease, color 0.25s ease;
}
:root[data-bs-theme="dark"] .navbar-brand img {
  filter: invert(1);
}
/* Light-mode background and text colors */
body.quarto-light {
  background-color: #eeeeee !important;   /* soft gray */
  color: #222222;                         /* dark text for readability */
}

/* Link color */
body.quarto-light a {
  color: #0070cc;                         /* blue links */
}
body.quarto-light a:hover {
  color: #005fa3;
  text-decoration: underline;
}

/* Dark-mode background (optional) */
body.quarto-dark {
  background-color: #121212 !important;
  color: #e6e6e6;
}

/* Transition for smooth mode switch */
body, html {
  transition: background-color 0.25s ease, color 0.25s ease;
}
/* HERO two-column card */
.project-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin: 1rem 0 3rem 0;
}

.hero-left img {
  width: 100%;
  height: calc(60vh);
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* text side */
.hero-right h2 {
  font-size: 2.2rem;
  margin: 0 0 0.7rem 0;
}
.hero-right .lead {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 42rem;
}

/* buttons */
.hero-buttons {
  margin-top: 1.1rem;
  display: flex;
  gap: 0.8rem;
}
.btn {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 6px;
  background: #0b66c3;
  color: white;
  text-decoration: none;
  font-weight: 600;
}
.btn.outline {
  background: transparent;
  color: #0b66c3;
  border: 1px solid #0b66c3;
}

/* Responsive: stack on small screens */
@media (max-width: 900px) {
  .project-hero {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .hero-left img {
    height: 40vh;
  }
}
/* Two-column project hero layout */
.project-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  margin: 2rem 0;
}

.hero-left img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.hero-right h2 {
  font-size: 1.8rem;
  margin-top: 0;
}

.hero-right .lead {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 40rem;
}

.hero-buttons {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  background: #0078d4;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover {
  background: #005fa3;
}

.btn.outline {
  background: transparent;
  color: #0078d4;
  border: 2px solid #0078d4;
}

.btn.outline:hover {
  background: #0078d4;
  color: white;
}

/* Mobile view: stack image above text */
@media (max-width: 900px) {
  .project-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-right {
    margin-top: 1rem;
  }
  .hero-buttons {
    justify-content: center;
  }
}
.project-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  margin: 2rem 0;
}
.hero-left img { width: 100%; height: auto; border-radius: 10px; object-fit: cover; }
.hero-right h2, .hero-right h3, .project-hero .hero-right h2 { margin-top: 0; font-size: 1.8rem; }
.hero-right .lead { color:#555; font-size:1.05rem; line-height:1.6; max-width:40rem; }
.hero-buttons, .project-hero .hero-right > .btn {
  margin-top: 1rem;
}
.btn { background: #0078d4; color: white; padding: .6rem 1.2rem; border-radius: 6px; text-decoration:none; font-weight:600; }
.btn.outline { background: transparent; color: #0078d4; border: 2px solid #0078d4; }
@media (max-width: 900px) {
  .project-hero { grid-template-columns: 1fr; text-align: center; }
  .hero-left img { height: 40vh; }
}
.project-text h2 {
  font-weight: 700;        /* bold */
  font-style: italic;      /* curved look */
  font-family: "Georgia", serif;  /* elegant serif font */
  color: #b000b5;          /* purple accent color */
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.project-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  margin: 0 0 1rem 0;
}
/* Space between image and text column */
.column + .column {
  padding-left: 2rem;   /* adjust spacing */
}

.project-text h2 {
  font-weight: 700;
  font-style: italic;
  font-family: "Georgia", serif;
  color: #003366;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
/* --- Projects layout tweaks --- */

/* Space between image column and text column */
.column + .column {
  padding-left: 3rem;        /* increase as needed */
}

/* Project heading: bold, italic, dark blue, larger and with small bottom spacing */
.project-text h2 {
  font-weight: 800;          /* bold */
  font-style: italic;
  font-family: "Georgia", serif;
  color: #003366;            /* dark blue */
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: 1.05;
  letter-spacing: 0.2px;
}

/* Project paragraph styling (optional: slightly larger & softer color) */
.project-text p {
  font-size: 1.05rem;
  color: #333a3f;
  margin-bottom: 1rem;
}

/* Button vertical spacing */
.project-text .btn {
  display: inline-block;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
}
/* stronger, high-specificity project heading & spacing */
div.project-text > h2,
.section .project-text h2,
.project-hero .project-text h2 {
  font-weight: 800 !important;       /* bold */
  font-style: italic !important;
  font-family: "Georgia", serif !important;
  color: #b34700 !important;         /* dark blue */
  margin-top: 0 !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.05 !important;
  letter-spacing: 0.2px !important;
}

/* spacing between the two columns */
div.column + div.column,
.column + .column {
  padding-left: 3rem !important;
}

/* paragraph */
.project-text p {
  font-size: 1.05rem !important;
  color: #333a3f !important;
  margin-bottom: 1rem !important;
}

/* keep your buttons tidy */
.project-text .btn { margin-right: 0.75rem !important; margin-bottom: 0.5rem !important; }

/* ===== ORANGE THEME UPDATE ===== */

/* Headings and text highlights */
.project-text h2,
h1, h2, h3, h4, h5, h6 {
  color: #b34700 !important;      /* warm orange */
}

/* Buttons (solid and outline) */
.btn {
  background: #d46a1f !important;
  color: #fff !important;
  border: 2px solid #d46a1f !important;
}

.btn:hover {
  background: #b84e09 !important; /* darker orange on hover */
  border-color: #b84e09 !important;
  color: #fff !important;
}

/* Outline button style */
.btn.outline {
  background: transparent !important;
  color: #d46a1f !important;
  border: 2px solid #d46a1f !important;
}

.btn.outline:hover {
  background: #d46a1f !important;
  color: #fff !important;
}

/* Link color (navbar, hyperlinks, etc.) */
a,
.navbar a,
a:link,
a:visited {
  color: #d46a1f !important;
  text-decoration: none;
}

a:hover {
  color: #b84e09 !important;
  text-decoration: underline;
}

/* Navbar active link */
.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: #b84e09 !important;
  font-weight: 600;
}

/* Search or icon colors if used */
.icon,
svg {
  fill: #d46a1f !important;
  color: #d46a1f !important;
}

/* Lines, borders, horizontal rules in orange tone */
hr, .border-color, .underline {
  border-color: #d46a1f !important;
}

.cv-icon img {
  width: 40px;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.cv-icon img:hover {
  transform: scale(1.05);
  filter: hue-rotate(330deg) brightness(1.1); /* shifts blue→orange tone */
}

