/* ------------------------------
   Base Reset
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ------------------------------
   Global Styles (Cacao Theme — Lora + Oxygen)
------------------------------ */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Oxygen", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  color: #592A3B;
  background-color: #FAF4F0;
  padding: 2rem;
}

/* ------------------------------
   Typography
------------------------------ */
h1, h2, h3 {
  font-family: "Oxygen", sans-serif;
  font-weight: 700;
  color: #592A3B;
  letter-spacing: 0.5px;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.45rem; }

/* ------------------------------
   Navigation
------------------------------ */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  font-family: "Oxygen", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #592A3B;
}

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

.nav-links a {
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: all 0.25s ease;
  color: #BF5B04;
  font-weight: 700;
}

.nav-links a:hover {
  background: rgba(191, 91, 4, 0.15);
  box-shadow: 0 4px 10px rgba(89, 42, 59, 0.2);
  transform: translateY(-2px);
  color: #592A3B;
}

.nav-separator {
  width: 100%;
  height: 2px;
  background: #BF6854;
  margin: 1rem 0 2rem 0;
}

/* ------------------------------
   AWS Word Cloud Banner
------------------------------ */
.aws-banner {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 3rem;
  overflow: hidden;
}

.banner-img-wrap {
  width: 100%;
  line-height: 0;
}

.banner-img {
  width: 100%;
  max-height: 280px ;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* ------------------------------
   Portfolio Title
------------------------------ */
.portfolio-title {
  text-align: center;
  margin-bottom: 3rem;
}

.subtitle {
  font-size: 1.6rem;
  color: #A63F03;
}

/* ------------------------------
   Fade-in Animation
------------------------------ */
.fade-in {
  opacity: 0;
  transform: translateY(6px);
  animation: fadeInUp 0.6s ease-out forwards;
}

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

/* ------------------------------
   Bio Section
------------------------------ */
.bio-section {
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

.bio-card p {
  margin-bottom: 1.2rem;
  font-size: 1.15rem;
}

.bio-card {
  max-width: 420px;
  text-align: left;
}

.bio-photo img {
  width: 300px;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  object-position: center 15%;
}

/* ------------------------------
   Skills Section
------------------------------ */
.skills-section {
  margin-bottom: 4rem;
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 0.75rem;
  row-gap: 1.25rem;
  margin-top: 2rem;
  justify-items: center;
}

.skill-block {
  max-width: 340px;
  width: 100%;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #73365D;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(89, 42, 59, 0.2);
}

.skill-block h3 {
  color: #FAF4F0;
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(250, 244, 240, 0.2);
}

.skill-block ul {
  list-style: none;
  padding-left: 0;
}

.skill-block li {
  display: inline-block;
  background: rgba(250, 244, 240, 0.12);
  border: 1px solid rgba(250, 244, 240, 0.25);
  padding: 0.3rem 0.6rem;
  margin: 0.3rem;
  border-radius: 12px;
  color: #FAF4F0;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ------------------------------
   Projects Section
------------------------------ */
.projects-section {
  margin-bottom: 4rem;
  text-align: center;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.project-card {
  width: 300px;
  height: 380px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 12px rgba(89, 42, 59, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(89, 42, 59, 0.35);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1rem;
  transition: background 0.4s ease;
}

.card-overlay h3 {
  color: #FAF4F0;
  transition: all 0.4s ease;
}

.project-card:hover .card-overlay {
  background: #73365D;
  align-items: center;
  justify-content: center;
}

.project-card:hover .card-overlay h3 {
  color: #FAF4F0;
  font-size: 1.8rem;
}

/* Card Images */
.salon-card {
  background-image: url("../pics/braided_hair.jpg");
}

.shelter-card {
  background-image: url("../pics/cat_window.jpg");
}

.placeholder-card {
  background-image: url("../images/project-placeholder.jpg");
}

/* ------------------------------
   Footer
------------------------------ */
.footer {
  background: #592A3B;
  color: #FAF4F0;
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 12px;

  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 580px;
  margin: 0 auto;
}

.footer-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #BF6854;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-icons a {
  color: #FAF4F0;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.footer-icons a:hover {
  color: #BF6854;
}

/* Contact Form Layout */
.contact-form {
  margin-top: 2rem;
  max-width: 450px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: "Oxygen", sans-serif;
}

/* Labels */
.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Inputs + Textarea */
.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: "Oxygen", sans-serif;
}

/* Submit Button */
.contact-btn {
  padding: 0.75rem 1rem;
  background: #BF6854;
  color: #592A3B;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-family: "Oxygen", sans-serif;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.3s ease,
              color 0.3s ease,
              box-shadow 0.3s ease,
              transform 0.2s ease;
}

.contact-btn:hover {
  background: #F7D3A0;
  color: #592A3B;
  box-shadow: 0 4px 10px rgba(89, 42, 59, 0.25);
  transform: translateY(-2px);
}

/* ------------------------------
   Responsive — Tablet (max 768px)
------------------------------ */
@media (max-width: 768px) {

  body {
    padding: 1rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .bio-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bio-card {
    max-width: 100%;
  }

  .bio-photo img {
    width: 100%;
    max-width: 340px;
    height: 420px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-container {
    flex-direction: column;
    align-items: center;
  }

  .project-card {
    width: 100%;
    max-width: 400px;
  }
}

/* ------------------------------
   Responsive — Mobile (max 480px)
------------------------------ */
@media (max-width: 480px) {

  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }

  .nav-left {
    font-size: 1.2rem;
  }

  .nav-links {
    gap: 0.5rem;
  }

  .nav-links a {
    padding: 0.3rem 0.5rem;
    font-size: 0.85rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .bio-photo img {
    width: 100%;
    max-width: 280px;
    height: 360px;
  }

  .footer {
    max-width: 100%;
    padding: 2rem 1rem;
  }
}
