/* styles.css — optimized, dark theme, accent #d5733f */
:root {
  --bg: #0c0c0c;
  --fg: #e9e9e9;
  --muted: #9a9a9a;
  --accent: #d5733f;
  /* accent */
  --container: 1100px;
  --radius: 10px;
  --glass: rgba(255, 255, 255, 0.02);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  --focus: 0 0 0 4px rgba(213, 115, 63, 0.12);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* Font inheritance for form elements */
button,
input,
textarea,
select {
  font-family: inherit;
}

/* container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px
}

/* NAV */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background .3s, box-shadow .3s;
  padding: 18px 0
}

.navbar.scrolled {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow)
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.brand {
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--fg);
  text-decoration: none;
  font-size: 18px
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  align-items: center
}

.nav-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 6px;
  border-radius: 6px
}

.nav-menu a:hover {
  color: var(--fg);
  box-shadow: var(--focus)
}

.nav-menu a[href="about.html"]::after {
  content: "↗";
  font-size: 1.2em;
  margin-left: 4px;
  opacity: 1;
  position: relative;
  top: -1px;
}

/* mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--fg);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px
}

.nav-toggle .bars {
  width: 22px;
  height: 2px;
  background: var(--fg);
  display: block;
  position: relative
}

.nav-toggle .bars::before {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  width: 22px;
  height: 2px;
  background: var(--fg)
}

.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 22px;
  height: 2px;
  background: var(--fg)
}

/* Active nav link styling */
.nav-menu a.active {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

/* HERO */
.masthead {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 100px
}

.masthead-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: center
}

/* .masthead-subheading{color:var(--muted);font-size:14px;margin-bottom:12px} */
/* old V */
.masthead-subheading {
  color: var(--fg);
  font-size: 28px;
  margin-bottom: 12px
}

.masthead-intro {
  color: var(--muted);
  max-width: 520px
}

.hero-image {
  width: 100%;
  max-width: 360px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow);
  background: var(--glass);
  padding: 8px
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}


/* Fox hover animation */
.hero-fox {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  vertical-align: middle;
  overflow: visible;
}

/* Bild sichtbar */
.hero-fox .aside-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
  z-index: 1;
  position: relative;
  opacity: 1
}

/* Overlay zentriert über dem Bild, flex-centering ist stabiler als translate offsets */
.hero-hover-text {
  position: absolute;
  inset: 0;
  /* top:0; right:0; bottom:0; left:0; */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--fg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
  transform: translateY(8px);
  font-style: normal;
  z-index: 3;
  /* über Bild */
  background: rgba(0, 0, 0, 0);
  /* transparent - kein blockierender Hintergrund */
}

/* Hover: Bild leicht hervorheben / fade */
.hero-fox:hover .aside-image {
  transform: scale(1.06);
  opacity: 0.20;
}

/* Hover: Overlay einblenden */
.hero-fox:hover .hero-hover-text {
  opacity: 1;
  transform: translateY(0);
}


/* SECTIONS */
.page-section {
  padding: 80px 0
}

.section-heading {
  font-size: 28px;
  margin: 0;
  color: var(--fg);
  text-align: center
}

.line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: 12px auto 24px;
  border: 0
}

/* grids & cards */
.grid {
  display: grid;
  gap: 22px
}

.process-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))
}

/* .portfolio-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))} */
/* three in row */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* one card per row */
  gap: 48px;
  /* vertical spacing */
}

.skills-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-radius: var(--radius);
  padding: 18px;
  transition: transform .28s, box-shadow .28s;
  overflow: hidden
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow)
}

.card .icon {
  height: 80px;
  display: block;
  margin: 0 auto 12px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.card .icon-skills {
  max-height: 208px;
  display: block;
  margin: 0 auto 12px;
  margin-top: 16px;
  margin-bottom: 16px;
}

/* portfolio thumbs */
.muted {
  color: var(--muted)
}

/* === Portfolio Cards === */
.portfolio-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

/* Thumbnail (image) */
.portfolio-thumb img {
  width: 100%;
  height: auto;
  max-height: 460px;
  /* nice large visuals */
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.4s ease;
}

.portfolio-thumb img:hover {
  transform: scale(1.02);
}

/* Caption below image */
.portfolio-thumb {
  text-decoration: none;
}

.caption {
  padding: 16px 10px 6px;
  text-align: left;
}

.caption .title {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.caption .sub {
  color: var(--muted);
  font-size: 1rem;
}

.caption .title-link-hint {
  font-size: 1.2em;
  margin-left: 4px;
  opacity: 1;
  position: relative;
  top: -1px;
}

/* === Responsive tweaks === */
@media (max-width: 768px) {
  .portfolio-grid {
    gap: 32px;
  }

  .caption .title {
    font-size: 1.1rem;
  }

  .caption .sub {
    font-size: 0.9rem;
  }
}


/* === Project Page === */
.project-hero {
  padding-top: 120px;
  text-align: center;
}

.project-hero img {
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius);
  margin: 32px auto 0;
  display: block;
  transition: transform 0.6s ease;
}

.project-hero img:hover {
  transform: scale(1.02);
}

.hero-intro h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.4rem;
}

.project-section {
  margin-top: 60px;
}

.meta-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.two-col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
}

.design-grid,
.test-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 36px;
  align-items: center;
}

.project-section img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.quote {
  margin-top: 16px;
  font-style: italic;
  opacity: 0.9;
}

.space-top-small {
  margin-top: 10px;
}

.test-img {
  border-radius: 10px;
  width: 100%;
}

/* === Design Grid: 3 images side-by-side === */
.design-grid-3row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  align-items: center;
}

.design-grid-3row img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Responsive behavior */
@media (max-width: 900px) {
  .design-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

/* Experience Section */
.experience-grid {
  display: flex;
  flex-direction: column;
  gap: 96px;
  position: relative;
}

#hiddenExperience {
  flex-direction: column;
  gap: 96px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.exp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  /* 4 columns total */
  align-items: center;
  position: relative;
}

.exp-img img {
  width: 100%;
  max-height: 250px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius);
  /* box-shadow: var(--shadow); */
  transition: transform .28s, box-shadow .28s;
  overflow: hidden;
}

.exp-img img:hover {
  box-shadow: var(--shadow)
}

.exp-img.left {
  grid-column: 1 / 2;
  justify-self: start;
  margin-right: 18px;
}

.exp-img.right {
  grid-column: 4 / 5;
  justify-self: end;
  margin-left: 18px;
}

.exp-details {
  grid-column: 2 / 4;
  min-height: 250px;
  /* min-height: 180px; */
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-left: 4px;
  margin-right: 4px;
  backdrop-filter: blur(4px);
  /* box-shadow: var(--shadow); */
  position: relative;
  z-index: 2;
  transition: transform .28s, box-shadow .28s;
  overflow: hidden;
}

.exp-details:hover {
  box-shadow: var(--shadow)
}

.exp-header {
  margin-bottom: 12px;
}

.exp-date {
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.exp-role {
  font-size: 1.1rem;
  margin-top: 4px;
}


/* Timeline Animation */
/* === Experience Timeline Line === */
.exp-section {
  position: relative;
  overflow: hidden;
}

.exp-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Vertical accent line */
.exp-timeline::before {
  content: "";
  position: absolute;
  top: 0.1%;
  bottom: 180px;
  left: 28%;
  width: 2px;
  background: rgba(70, 70, 70, 0.35);
  /* accent color line */
  transform: translateX(-50%);
  z-index: 1;
}

/* Glowing pulse traveling along the line */
/*
.exp-timeline::after {
  content: ""; position: absolute;
  top: 0; left: 28%; transform: translateX(-50%); width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle, var(--muted) 0%, rgba(213, 115, 63, 0.2) 70%);
  filter: blur(2px); animation: pulseMove 12s linear infinite; z-index: 2;
}
*/
/* Animation: glowing pulse moves down and fades */
/*
@keyframes pulseMove {
  0% {top: 0%; opacity: 1;}
  40% {opacity: 1; transform: translateX(-50%) scale(1.2);}
  70% {opacity: 0.7;}
  100% {top: 100%; opacity: 0; transform: translateX(-50%) scale(1);}
}
*/
/* end of timeline animation */


/* ABOUT page layout */
.about-page {
  padding: 8px 20px;
  max-width: var(--container);
  margin: 0 auto
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start
}

.about-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  padding: 28px;
  border-radius: 12px
}

.about-aside {
  text-align: center;
  padding: 18px
}

.aside-image {
  max-width: 220px;
  border-radius: 12px;
  margin: 0 auto 12px;
  /* centered horizontally + bottom margin */
  display: block;
  /* ensures margin: auto works */
}

/* form */
label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: transparent;
  color: var(--fg);
  outline: none
}

input:focus,
textarea:focus {
  box-shadow: var(--focus);
  border-color: rgba(213, 115, 63, 0.14)
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  font-size: 0.95rem;
  /* normalize font size */
  line-height: 1.5;
  /* normalize line height */
  color: var(--fg);
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  /* ensure button tag inherits font */
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted)
}

.btn-accent,
.btn-accent:focus,
.btn-accent:active {
  background: var(--accent);
  color: #111;
  font-weight: 700;
  border: 1px solid var(--accent);
  /* match border width of ghost btn */
}

.btn-accent:hover {
  background-color: var(--accent);
  filter: brightness(1.1);
  color: #111;
}

.btn-accent {
  transition: filter 0.25s ease, background-color 0.25s ease;
}

/* Marquee ----------------------------------------- */
.marquee-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  background: transparent;
  padding: 30px 0;
}

.marquee {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  gap: 24px;
  align-items: center;
}

/* normal (smaller) pictures in marquee: */
/* .marquee-track img { width: 300px;  height: 200px;  object-fit: cover;  border-radius: 14px;  flex-shrink: 0; } */
/* enlarged pictures in marquee: */
.marquee-track img {
  width: auto;
  height: 290px;
  object-fit: contain;
  border-radius: 14px;
  flex-shrink: 0;
}


/* "HI, I'M LISA!" header styling */
/* Optional: small fade-in animation when loaded */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#hello-title {
  text-align: center;
  color: var(--accent);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  margin-top: 160px;
  /* pushes below navbar */
  margin-bottom: 40px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.1;
  animation: fadeDown 0.8s ease-out both;
}

/* differentiator cards */
.differentiators .cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px
}

.differentiators .card {
  background: var(--glass);
  color: var(--fg);
  padding: 30px;
  border-radius: 14px;
  transition: transform .3s, box-shadow .25s
}

.differentiators .card.tilt-left {
  transform: rotate(-4deg);
  width: 360px
}

.differentiators .card.tilt-right {
  transform: rotate(4deg);
  width: 270px
}

.differentiators .card:hover {
  transform: rotate(0);
  box-shadow: var(--shadow)
}

/* footer accent */
/*.footer{padding:30px 0;border-top:1px solid rgba(255,255,255,0.03);margin-top:40px}*/
.footer {
  background: var(--accent);
  color: #111;
  padding: 2.5rem 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Extra space before footer */
footer.footer {
  margin-top: 100px;
  /* adds breathing room after last section */
}

.footer-accent {
  background: var(--accent);
  color: #000000
}

.footer-second {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03)
}

.footer-second-accent {
  background: var(--bg);
  color: var(--fg);
  text-align: center;
}

/*.footer-inner{display:flex;justify-content:space-between;align-items:center}*/
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 260px;
}

/* Column styling */
.footer-note {
  margin-top: 0.5rem;
}

.footer-note-links {
  margin-top: 0.94rem;
}

/* Copy icon button */
.copy-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.copy-btn:hover {
  transform: scale(1.1);
}

/*.copy-btn{background:transparent;border:0;font-size:18px;cursor:pointer;color:inherit;padding:6px 8px;border-radius:8px}
/* Responsive layout */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    flex: none;
  }

  .footer-right a {
    display: inline-block;
    margin: 0 8px;
  }
}


/* form success */
.form-success {
  display: none;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.02))
}

.form-success .success-icon {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 12px
}


/* Global link styles ----------------------------------------- */
a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  /* sorgt für etwas Abstand */
  transition: color 0.25s ease, text-underline-offset 0.25s ease;
}

a:hover,
a:focus {
  color: var(--accent);
  /* Akzentfarbe beim Hover */
  text-underline-offset: 6px;
  /* hebt die Linie leicht ab */
}

/* FOOTER link style override */
.footer a {
  color: #111;
  /* Schwarz auf dem orangenen Hintergrund */
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease, text-underline-offset 0.25s ease;
}

.footer a:hover,
.footer a:focus {
  color: #fff;
  /* Weiß beim Hover */
  text-underline-offset: 6px;
}

/* RESPONSIVE ----------------------------------------- */
@media (max-width:1000px) {
  .masthead-inner {
    grid-template-columns: 1fr 320px
  }

  .about-grid {
    grid-template-columns: 1fr
  }

  .nav-menu {
    display: none
  }

  .nav-toggle {
    display: block
  }

  .hero-right {
    display: flex;
    justify-content: center
  }

  .masthead {
    padding-top: 86px
  }

  .marquee-track img {
    width: 260px;
    height: 160px
  }
}

@media (max-width:720px) {
  .masthead-inner {
    grid-template-columns: 1fr
  }

  .hero-image {
    max-width: 260px
  }

  .process-grid,
  .portfolio-grid,
  .skills-grid {
    grid-template-columns: 1fr
  }

  .nav-menu.open {
    display: block;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;
    background: rgba(0, 0, 0, 0.5);
    padding: 12px;
    border-radius: 10px
  }

  .marquee-track img {
    width: 220px;
    height: 140px
  }
}

/* helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}