/* GLOBAL */
body {
  margin: 0;
  background: #faf7f2;
  font-family: "Inter", sans-serif;
  color: #3e3b32;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

section {
  padding: 0rem 6rem 0rem 12rem;
  min-height: 85vh;
  scroll-margin-top: 0rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 700;
  color: #4b5943;
  text-align: left;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-title .leaf-deco {
  font-size: 1.4rem;
  opacity: 0.7;
  transform: translateY(-2px);
}

/* Two-column divider */
.with-divider {
  position: relative;
}

/* Vertical line */
.with-divider::before {
  content: "";
  position: absolute;
  left: 320px;          /* aligns between the two columns */
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(150, 160, 145, 0.3),
    rgba(180, 190, 175, 0.15),
    rgba(150, 160, 145, 0.3)
  );
  opacity: 0.5;
}

/* ABOUT — Two column layout */

.about-grid {
  display: grid;
  grid-template-columns: 330px auto;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;        /* reduces vertical gap */
}

.about-left p {
  font-size: 1.2rem;
  margin: 0.6rem 0;
}

.label {
  font-weight: 700;
  color: #4b5943;
}

/* Buttons under details */
.about-buttons {
  margin-top: 1.2rem;
  display: flex;
  gap: 1.2rem;
}

.about-buttons .btn {
  padding: 0.9rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.05rem;
}

.about-right {
  margin-top: -4rem; /* Only shifts right column upward */
}

.about-right p {
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
  max-width: 750px;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

h1, h2 {
  font-family: "Playfair Display", serif;
  color: #4b5943;
}

/* HERO SECTION */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 4rem;
  padding-left: 12rem;
  padding-top: 2rem;
}

.hero-content {
  max-width: 45%;
}

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

#typed-name {
  color: #7a8f72;
}

.subtitle {
  font-size: 1.3rem;
  color: #6f6a5c;
  margin-bottom: 2.5rem;
}

/* BUTTONS */
.button-row {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.9rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.25s ease;
}

.icon-cloud {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.primary {
  background: #6f8f75;
  color: white;
  box-shadow: 0 4px 12px rgba(111,143,117,0.3);
}

.primary:hover {
  background: #5c7a62;
  transform: translateY(-4px);
}

.secondary {
  border: 2px solid #6f8f75;
  color: #6f8f75;
  background: transparent;
}

.secondary:hover {
  background: #6f8f7520;
  transform: translateY(-4px);
}

.btn:hover .icon-cloud {
  filter: brightness(1.1) drop-shadow(0px 0px 4px rgba(255,255,255,0.7));
}

/* PHOTO AREA */
.hero-photo {
  position: relative;
  margin-right: 5rem;
}

.hero-photo img {
  width: 320px;
  height: 420px;
  object-fit: cover;
  border-radius: 22px;
  z-index: 2;
  position: relative;
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* Background palette behind photo */
.photo-bg {
  width: 320px;
  height: 420px;
  background: linear-gradient(150deg, #dfe8d7, #bed2be);
  border-radius: 22px;
  position: absolute;
  top: 30px;
  left: -30px;
  z-index: 0;
  filter: blur(1px);
  opacity: 0.9;
}

/* LEFT NAVBAR */
.side-nav {
  position: fixed;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  z-index: 9999;
}

.side-nav .nav-item {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 135px;
  padding: 0.45rem 0.2rem;
  
  background: #e7ebdf;
  border-radius: 12px;

  font-size: 1.05rem;
  font-weight: 600;
  color: #47563c;
  text-decoration: none;

  border: 1px solid #d0d8c7;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);

  transition: 0.25s ease;
}

.side-nav .nav-item:hover {
  background: #d6ddcc;
  transform: translateX(6px);
}

/* Leaves canvas */
#leafCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none;
  z-index: -1;
}

/* Responsive behavior */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------
   EXPERIENCE (Option A)
---------------------------- */

.exp-block {
  margin-bottom: 3.2rem;
}

.exp-block-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.3rem;
}

.exp-icon {
  font-size: 1.4rem;
  opacity: 0.9;
}

.exp-block-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: #4b5943;
}

.exp-block-subtitle {
  margin: 0.2rem 0 1.4rem 0;
  color: #6f6a5c;
  font-size: 1.1rem;
  max-width: 900px;
}

/* Card */
.exp-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(208, 216, 199, 0.7);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  max-width: 980px;
  overflow: hidden;
}

.exp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.10);
}

/* Clickable header area */
.exp-toggle {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.55rem 1.7rem 1.25rem 1.7rem;
  cursor: pointer;
  color: inherit;
}

.exp-toggle:focus {
  outline: 2px solid rgba(111, 143, 117, 0.35);
  outline-offset: 4px;
  border-radius: 18px;
}

.exp-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: baseline;
}

.exp-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  white-space: nowrap;
}

.exp-role {
  margin: 0;
  font-size: 1.55rem;
  color: #4b5943;
  font-weight: 700;
}

.exp-org {
  margin-top: 0.35rem;
  color: #6f6a5c;
  font-size: 1.05rem;
}

.exp-date {
  color: #4b5943;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.9;
}

.exp-chevron {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(231, 235, 223, 0.9);
  border: 1px solid rgba(208, 216, 199, 0.8);
  color: #4b5943;
  transition: transform 0.2s ease;
}

/* Overview (visible before expand) */
.exp-overview {
  margin: 0.9rem 0 0 0;
  color: #3e3b32;
  line-height: 1.55;
  font-size: 1.05rem;
  max-width: 920px;
}

/* Expanded content */
.exp-details {
  padding: 0 1.7rem 1.55rem 1.7rem;
  border-top: 1px solid rgba(208, 216, 199, 0.6);
}

.exp-bullets {
  margin: 1.1rem 0 0 0;
  padding-left: 1.25rem;
  color: #3e3b32;
  line-height: 1.7;
  font-size: 1.06rem;
}

.exp-bullets li {
  margin: 0.6rem 0;
}

/* Open state */
.exp-accordion[data-open="true"] .exp-chevron {
  transform: rotate(180deg);
}

/* ----------------------------
   SKILLS
---------------------------- */

.skills-subtitle {
  margin: -1.4rem 0 2rem 0;
  color: #6f6a5c;
  font-size: 1.1rem;
  max-width: 900px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 2.2rem;
  max-width: 1100px;
}

.skills-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(208, 216, 199, 0.7);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  backdrop-filter: blur(6px);
  padding: 1.6rem 1.7rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.skills-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.10);
}

.skills-card-title {
  margin: 0 0 1.2rem 0;
  font-family: "Playfair Display", serif;
  font-size: 1.65rem;
  color: #4b5943;
}

.skills-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #3e3b32;
  line-height: 1.8;
  font-size: 1.05rem;
}

.skills-list li {
  margin: 0.35rem 0;
}

/* dim non-hovered skills (optional) */
.skills-card:hover .skills-list li {
  opacity: 0.75;
}

.skills-card:hover .skills-list li:hover {
  opacity: 1;
}

@media (max-width: 1100px) {
  .skills-grid {
    grid-template-columns: 1fr;
    max-width: 850px;
  }
}

/* ----------------------------
   PROJECTS
---------------------------- */
.projects-section {
  padding-top: 1rem;
  scroll-margin-top: 2rem;
}

.projects-subtitle {
  margin: -1.4rem 0 2rem 0;
  color: #6f6a5c;
  font-size: 1.1rem;
  max-width: 980px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 2.2rem;
  max-width: 1100px;
}

.proj-card {
  display: block;
  text-decoration: none;
  color: inherit;

  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(208, 216, 199, 0.7);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  backdrop-filter: blur(6px);
  overflow: hidden;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.proj-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.12);
}

/* Graphic header (not empty) */
.proj-media {
  height: 170px;
  position: relative;
  border-bottom: 1px solid rgba(208, 216, 199, 0.6);
}

/* Hover overlay with "View Project" */
.proj-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.proj-card:hover .proj-overlay {
  opacity: 1;
}

.proj-cta {
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(111, 143, 117, 0.92);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.14);
}

/* Body */
.proj-body {
  padding: 1.45rem 1.6rem 1.55rem 1.6rem;
}

.proj-title {
  margin: 0 0 0.35rem 0;
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  color: #4b5943;
}

.proj-desc {
  margin: 0 0 1rem 0;
  color: #6f6a5c;
  line-height: 1.55;
  font-size: 1.05rem;
  max-width: 900px;
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem 0;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(231, 235, 223, 0.9);
  border: 1px solid rgba(208, 216, 199, 0.75);
  color: #4b5943;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Make each skill/tag “pop” on hover too */
.tag:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.10);
}

.proj-metric {
  margin: 0.2rem 0 0 0;
  color: #3e3b32;
  line-height: 1.55;
  font-size: 1.02rem;
}

/* --- Project graphics (simple, cute gradients + icon stamp) --- */
.proj-media::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 14px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(208, 216, 199, 0.8);
  box-shadow: 0 10px 18px rgba(0,0,0,0.08);
}

.proj-media--puzzle {
  background: linear-gradient(140deg, rgba(199, 236, 210, 0.9), rgba(232, 246, 220, 0.9));
}
.proj-media--puzzle::before { content: "🧩"; }

.proj-media--trail {
  background: linear-gradient(140deg, rgba(205, 232, 250, 0.9), rgba(233, 247, 240, 0.9));
}
.proj-media--trail::before { content: "🌲"; }

.proj-media--threat {
  background: linear-gradient(140deg, rgba(230, 220, 255, 0.9), rgba(235, 246, 240, 0.9));
}
.proj-media--threat::before { content: "🛡️"; }

.proj-media--fidhacks {
  background: linear-gradient(140deg, rgba(255, 230, 210, 0.9), rgba(244, 248, 235, 0.9));
}
.proj-media--fidhacks::before { content: "🎨"; }

.proj-media--rental {
  background: linear-gradient(140deg, rgba(215, 242, 235, 0.9), rgba(245, 248, 240, 0.9));
}
.proj-media--rental::before { content: "🏡"; }

.proj-media--sheet {
  background: linear-gradient(140deg, rgba(255, 245, 200, 0.9), rgba(240, 248, 235, 0.9));
}
.proj-media--sheet::before { content: "📄"; }

/* icon stamp placement */
.proj-media::before {
  position: absolute;
  right: 24px;
  top: 22px;
  font-size: 22px;
  z-index: 2;
}

.proj-media--movie {
  background: linear-gradient(140deg, rgba(255, 220, 230, 0.9), rgba(244, 248, 235, 0.9));
}
.proj-media--movie::before { content: "🎟️"; }

.proj-media--ocr {
  background: linear-gradient(140deg, rgba(220, 235, 255, 0.9), rgba(235, 246, 240, 0.9));
}
.proj-media--ocr::before { content: "🔎"; }

.proj-media--sustain {
  background: linear-gradient(140deg, rgba(215, 255, 210, 0.9), rgba(240, 248, 235, 0.9));
}
.proj-media--sustain::before { content: "🌍"; }

/* Responsive */
@media (max-width: 1100px) {
  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 850px;
  }
}

/* ----------------------------
   CONTACT
---------------------------- */
.contact-section {
  padding-top: 0.8rem;          /* keeps title visible when nav-clicked */
  scroll-margin-top: 0rem;    /* reduces “gap” above when landing */
}

.contact-title {
  margin: 0 0 0.6rem 0;
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #2f2f2a;
}

.contact-subtitle {
  margin: 0 0 2.2rem 0;
  color: #6f6a5c;
  font-size: 1.2rem;
  max-width: 900px;
  line-height: 1.6;
}

.contact-links {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: rgba(231, 235, 223, 0.9);
  border: 1px solid rgba(208, 216, 199, 0.8);
  color: #47563c;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.10);
  background: rgba(214, 221, 204, 0.95);
}

.contact-form {
  max-width: 980px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  margin-bottom: 2.2rem;
}

.contact-input,
.contact-textarea {
  width: 100%;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(208, 216, 199, 0.85);
  border-radius: 0; /* screenshot look */
  padding: 1.2rem 1.1rem;
  font-size: 1.2rem;
  color: #3e3b32;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  outline: none;
}

.contact-input {
  height: 64px;
  margin-bottom: 2.2rem;
}

.contact-textarea {
  resize: vertical;
  min-height: 240px;
  margin-bottom: 2.2rem;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: #8c887e;
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: rgba(111, 143, 117, 0.7);
  box-shadow: 0 10px 26px rgba(0,0,0,0.09);
}

.contact-submit {
  display: block;
  margin: 0 auto;
  padding: 1.1rem 3.2rem;
  background: transparent;
  border: 1px solid rgba(120, 120, 120, 0.35);
  color: #3e3b32;
  font-size: 0.95rem;
  letter-spacing: 0.35rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-submit:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.6);
}

@media (max-width: 900px) {
  .contact-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}


