/* ===== Base Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', serif;
  background-color: #eae2da; /* Light cream */
  color: #4d4a2f;            /* Dark olive */
  line-height: 1.6;
}

/* ===== HERO SECTION ===== */
.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hero-content {
  flex: 1 1 50%;
  max-width: 600px;
}


.container {
  max-width: 1200px;
  flex: 1;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Main heading */
.container h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: bold;
  color: #5b562a;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.container p {
  font-family: 'Arial', sans-serif;
  font-size: 1.125rem; /* Slightly bigger text */
  margin-bottom: 1.5rem;
}

/* ===== IMAGE ===== */
.hero-image {
  flex: 1 1 40%;
  max-width: 500px;
  width: 100%;
  height: auto;
  border: 20px solid #7a7a49;
  object-fit: cover;
  align-self: flex-start;
}

#welcome-text {
  display: inline-block;
  transition: opacity 0.5s ease-in-out;
}

#welcome-text::after {
  content: "|";
  animation: blink 0.8s steps(1) infinite;
  color: #4d4a2f;
  font-weight: normal;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}


/* ===== Button ===== */
.btn {
  display: inline-block;
  background-color: #4d2c11; /* Dark brown */
  color: #fff;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #3b200d;
}



/* ===== Responsive Tweaks ===== */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem;
  }

  .container {
    max-width: 100%;
  }

  .hero-image {
    max-width: 300px;
  }

  .container p {
    font-size: 1rem;
  }

  .btn {
    margin-top: 1rem;
  }
}

/* ===== NAVIGATION BAR ===== */
.main-header {
  background-color: #eae2da; /* Match background */
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #ccc;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Homemade Apple', serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #5b562a;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}

.homemade-apple-regular {
  font-family: "Homemade Apple", cursive;
  font-weight: 400;
  font-style: normal;
}


@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(2deg); }
  50% { transform: rotate(-2deg); }
  75% { transform: rotate(1deg); }
}

.logo:hover {
  animation: wiggle 0.3s ease-in-out;
  color: #4d2c11;
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #4d4a2f;
  font-family: 'Arial', sans-serif;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #4d2c11; /* Dark brown hover */
}

/* ===== Responsive Nav (basic fallback) ===== */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1rem;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Hamburger Button (Mobile) ===== */
/* ===== Hamburger Button ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001; /* make sure it's above nav */
}

.hamburger .bar {
  height: 3px;
  width: 100%;
  background-color: #4d4a2f;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

/* Animation to X */
.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ===== Mobile Nav Behavior ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 1rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Work Section ===== */
.work-section {
  padding: 6rem 2rem;
}

.work-section h2 {
  font-size: 2.5rem;
  color: #5b562a;
  margin-bottom: 2rem;
  font-family: 'Georgia', serif;
  /*text-align: center; /* center the heading */
}


/* ===== Project Card Layout ===== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* Project card styling (already defined) */
.project-card {
  background-color: #f8f5f1;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #4d2c11;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.project-card img,
.project-card .placeholder-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

/* Placeholder style */
.placeholder-image {
  background-color: #d6d2cb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-style: italic;
}

/* Project title */
.project-card h3 {
  margin: 1rem;
  font-family: 'Georgia', serif;
  font-size: 1.5rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

.project-card:hover h3 {
  border-color: #4d2c11;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}


.site-footer {
  background-color: #eae2da;
  border-top: 1px solid #ccc;
  padding: 2rem 0;
  margin-top: 4rem;
  font-family: 'Arial', sans-serif;
  color: #4d4a2f;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  margin-left: 2rem;
  text-decoration: none;
  color: #4d4a2f;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #4d2c11;
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links a {
    margin-left: 0;
    margin-right: 1.5rem;
  }
}



/*----------------------MY WORK----------------------------*/
/* ===== WORK GRID ===== */
.work-grid-section {
  background-color: #eae2da;
  padding: 4rem 2rem;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.grid-item .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(77, 42, 17, 0.7); /* dark transparent */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 1.25rem;
  font-family: 'Georgia', serif;
  text-align: center;
  padding: 1rem;
}

.grid-item:hover img {
  transform: scale(1.1);
}

.grid-item:hover .overlay {
  opacity: 1;
}


/*----------------------CONTACT----------------------------*/
/* ===== CONTACT PAGE ===== */
.contact-page-section {
  padding: 6rem 2rem;
  background-color: #eae2da;
  color: #4d4a2f;
  text-align: center;
}

.contact-page-section h1 {
  font-size: 2.5rem;
  font-family: 'Georgia', serif;
  margin-bottom: 1rem;
  color: #5b562a;
}

.contact-page-section p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  font-family: 'Arial', sans-serif;
}

.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #aaa;
  border-radius: 8px;
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
}

.contact-form button {
  background-color: #4d2c11;
  color: #fff;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #3b200d;
}


/*----------------------GRAD PROJECT----------------------------*/
.project-hero {
  margin-top: 4rem;
}

.project-header {
  /*background-color: #f5f1ea;*/
  padding: 5rem 2rem 3rem;
  font-family: 'Arial', sans-serif;
}

.project-header-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.project-intro {
  flex: 2;
  min-width: 300px;
}

.project-intro h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
  color: #2f2f1f;
}

.project-intro p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.project-tags span {
  border: 1px solid #2f2f1f;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  background-color: transparent;
  color: #2f2f1f;
}

.project-details {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-details .label {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.25rem;
}


.project-images {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.project-images img {
  width: 48%;
  max-width: 100%;
  height: auto;
  /*object-fit: cover;*/
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .project-images img {
    width: 100%;
  }
}


.project-summary {
  background-color: #f8f5f1;
  padding: 4rem 2rem;
  margin-top: 2rem;
  color: #4d4a2f;
}

.project-summary .container {
  max-width: 900px;
  margin: 0 auto; 
}

.project-summary h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-family: 'Georgia', serif;
  color: #5b562a;
}

.project-summary p {
  font-family: 'Arial', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
}

.project-process {
  padding: 4rem 2rem;
  color: #4d4a2f;
}

.project-process .container {
  max-width: 900px;
  margin: 0 auto;
}

.project-process h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-family: 'Georgia', serif;
  color: #5b562a;
}

.process-step {
  margin-bottom: 2rem;
}

.process-step h3 {
  font-size: 1.25rem;
  color: #4d2c11;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-family: 'Arial', sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
}

.project-process-timeline {
  padding: 4rem 2rem;
  color: #4d4a2f;
}

.project-process-timeline .container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.project-process-timeline h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  font-family: 'Georgia', serif;
  color: #5b562a;
}

/* Timeline vertical line */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 3px solid #ccc;
}

/* Each step */
.timeline-step {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
}

/* Dot marker */
.timeline-dot {
  position: absolute;
  left: -10px;
  top: 0.3rem;
  width: 16px;
  height: 16px;
  background-color: #5b562a;
  border-radius: 50%;
  border: 3px solid #eae2da;
}

/* Content styling */
.timeline-content h3 {
  font-size: 1.25rem;
  color: #4d2c11;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-family: 'Arial', sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
}

.project-personas {
  background-color: #f8f5f1;
  padding: 4rem 2rem;
  color: #4d4a2f;
}

.project-personas .container {
  max-width: 1100px;
  margin: 0 auto;
}

.project-personas h2 {
  font-size: 2rem;
  font-family: 'Georgia', serif;
  color: #5b562a;
  margin-bottom: 2rem;
  text-align: center;
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.persona-card {
  background-color: #4d4a2f;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

.persona-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.persona-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #dfdede;
}

.persona-card p {
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #dfdede;
}



.prototype-gallery h2 {
  font-size: 2rem;
  font-family: 'Georgia', serif;
  margin-bottom: 2rem;
  color: #5b562a;
  text-align: center;
  margin-top: 2rem;
}

.gallery-grid.two-per-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.gallery-grid.two-per-row img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

.gallery-grid.two-per-row img:hover {
  transform: scale(1.03);
}

/* Responsive fallback */
@media (max-width: 768px) {
  .gallery-grid.two-per-row {
    grid-template-columns: 1fr;
  }
}



/*--------------------ABOUT ME-------------*/

/* ===== RETRO PC STYLE ===== */
.about-retro {
  font-family: 'Courier New', monospace;
  background-color: #eae2da;
  display: flex;
  justify-content: center;
  padding: 4rem 1rem;
}

.retro-window {
  width: 100%;
  max-width: 800px;
  background-color: #fff;
  border: 3px solid #000;
  box-shadow: 8px 8px 0 #888;
}

.retro-title-bar {
  background-color: #5b562a;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  font-weight: bold;
}


.window-buttons {
  display: flex;
  gap: 0.3rem;
}


.window-buttons .btn {
  width: 12px;
  height: 12px;
  background-color: #fff;
  border: 1px solid #000;
  box-shadow: 1px 1px 0 #000;
}
  

.retro-tabs {
  display: flex;
  border-bottom: 2px solid #000;
}

.tab-button {
  flex: 1;
  padding: 0.75rem;
  background-color: #ccc;
  border: none;
  border-right: 2px solid #000;
  font-weight: bold;
  cursor: pointer;
  font-family: 'Courier New', monospace;
}

.tab-button:last-child {
  border-right: none;
}

.tab-button.active {
  background-color: #fff;
  border-bottom: 2px solid transparent;
}

.retro-content {
  padding: 2rem;
  background-color: #fff;
  border-top: none;
}

.retro-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.retro-content p {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.professional-columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.professional-columns .column {
  flex: 1;
  min-width: 250px;
}

.professional-columns h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.professional-columns p {
  margin-bottom: 1rem;
  line-height: 1.4;
}

.professional-columns ul {
  list-style: none;
  padding-left: 0;
}

.professional-columns li {
  margin-bottom: 0.5rem;
}

.personal-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.personal-text {
  flex: 1 1 55%;
  min-width: 280px;
}

.personal-image {
  flex: 1 1 40%;
  min-width: 250px;
  max-width: 350px;
}

.personal-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}







