:root {
  --brand-pink: #ff69b4;
  --brand-pink-soft: #ff85c1;
  --brand-pink-deep: #d94d9d;
  --ink: #2a2a2a;
  --muted: #555;
  --panel: #fff;
  --panel-soft: #f9f5f8;
  --shadow: 0 12px 28px rgba(39, 22, 30, 0.12);
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #fff 0%, #fffafc 100%);
  color: var(--ink);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}


header {
  background: #f8f8f8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #f8f8f8;
  flex-wrap: wrap;
}

.left-icon, .right-icon { 
  display: none; 
}

.logo {
  font-weight: bold;
  font-size: 2.5rem;
  color: var(--brand-pink);
  text-shadow: 2px 2px 4px #000;
  margin-left: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 22px;
  font-weight: 800;
  position: relative; transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--brand-pink-soft);
}

.nav-links a::after { 
    content: ""; 
    position: absolute; 
    width: 0%; 
    height: 2px; 
    bottom: -4px; 
    left: 0; 
    background-color: var(--brand-pink-soft); 
    transition: 
    width 0.3s ease; 
} 
.nav-links a:hover::after { 
    width: 100%; 

}
.home-icon {
    width: 100px;
    margin: 8px 10px 0 0;
}

@media (max-width: 600px) {
  .nav-links {
    display: none; 
  }

  .left-icon, .right-icon { 
    display: block; 
   }

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    text-align: center;
    flex: 1;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--brand-pink);
    margin: 0;
  }

  .left-icon img, .right-icon img { 
    width: 35px; 
    height: 35px; }

  .home-icon {
     display: none;
}
}


.intro {
  display: flex;
  flex-wrap: wrap;
  padding: 2rem;
  gap: 2rem;
}

.intro-left {
  flex: 2;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding-top: 2rem;
}

@media (max-width: 600px) {
  .intro-left {
    padding-top: 0;
  }
}

.avatar {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
}

.buttons {
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  background: var(--brand-pink);
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
}

.btn:hover { 
  background-color: rgb(71, 23, 59); 
}

.intro-right {
  flex: 2;
  min-width: 300px;
}

section h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1rem 0;
}

.card-link {
  display: block;
  color: inherit;
}

.card {
  background: var(--panel); 
  border-radius: 16px; 
  box-shadow: var(--shadow);
  padding: 1rem; 
  text-align: center;
  border: 1px solid rgba(255, 105, 180, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(39, 22, 30, 0.15);
}

.card-img { 
    width: 100%; 
    height: 140px; 
    object-fit: cover; 
    border-radius: 12px; 
    margin-bottom: 0.75rem; 
    background: #f6f6f6;
} 

.card-title { 
    font-size: 1rem; 
    font-weight: bold; 
    color: var(--brand-pink-deep);
    margin: 0;
}

.card-date {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.content-error {
  padding: 1rem;
  border-radius: 12px;
  background: #fff3f8;
  color: var(--muted);
  border: 1px solid rgba(255, 105, 180, 0.2);
  text-align: center;
}

.view-more-container { 
    display: flex; 
    justify-content: center;
    margin-top: 1rem; 
}

.view-more {
  display: inline-block; 
  margin: 1rem auto; 
  padding: 0.6rem 1.2rem; 
  background: var(--brand-pink-soft); 
  color: #fff; 
  font-weight: bold; 
  text-decoration: none; 
  border-radius: 25px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
  transition: all 0.3s ease; 
  text-align: center;
}

.view-more:hover { 
    background: #ff69b4; 
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

footer {
  padding: 1rem;
  background: #f0f0f0;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 5rem; 
}

.social-icons img {
  width: 35px;
}

/********************************************************* PROJECTS PAGE ********************************************/
.projects-section {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

.projects-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #ff69b4;
  margin-bottom: 2rem;
}

.projects-list,
.experience-list {
  display: grid;
  gap: 1.5rem;
}

.project-card {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #fff9fc 100%);
  box-shadow: var(--shadow);
  padding: 1rem;
  border-radius: 16px;
  align-items: center;
  border: 1px solid rgba(255, 105, 180, 0.1);
}

.project-visual { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
}

.project-image {
  width: 200px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.project-title {
  text-align: center;
  background: var(--brand-pink);   /* pink branding */
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px; /* rounded bottom corners */
  margin-top: -8px; /* overlap slightly with image */
}

.project-title h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

/* 📱 Mobile responsiveness */
@media (max-width: 600px) {
  .project-title {
    font-size: 1rem;
    padding: 0.4rem;
  }
}

.project-content {
  flex: 1;
}
.github-icon img { 
  width: 32px; 
  height: 32px; 
  transition: transform 0.3s ease; 
} 

.github-icon img:hover { 
  transform: scale(1.1); 
}
.project-description {
  margin-bottom: 1rem;
  color: #333;
  line-height: 1.5;
}
.project-meta { 
  display: flex; 
  justify-content: space-between; /* pushes tech stack left, GitHub icon right */ 
  align-items: center; 
  margin-top: 1rem; 
  gap: 1rem;
}

.tech-stack h4 {
  margin-bottom: 0.5rem;
  color: #000;
}

.tech-stack ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-stack li {
  background: #ff69b4;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* 📱 Mobile responsiveness */
@media (max-width: 600px) {
  .project-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .project-image {
    width: 100%;
    max-width: 300px;
  }

  .tech-stack ul {
    justify-content: center;
  }
  .project-meta { 
    flex-direction: column; 
    gap: 1rem; }

    .github-title {
       margin-top: 0.5rem; 
      }
}

/************************************************* EXPERIENCE PAGE ***************************************/

.experience-section {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

.experience-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #ff69b4;
  margin-bottom: 2rem;
}

.experience-card {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #fff9fc 100%);
  box-shadow: var(--shadow);
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 105, 180, 0.1);
}

.experience-image {
  width: 150px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.experience-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.experience-description {
  margin-bottom: 1rem;
  color: #333;
  line-height: 1.5;
}

.experience-date {
  font-size: 0.95rem;
  color: #555;
}

/* 📱 Mobile responsiveness */
@media (max-width: 600px) {
  .experience-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .experience-image {
    width: 100%;
    max-width: 300px;
  }

  .experience-content {
    align-items: center;
  }
}

.resume-section {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 30px;
}

.resume-section h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.resume-section p {
  font-size: 1em;
  color: #555;
  margin-bottom: 15px;
}

.resume-button {
  display: inline-block;
  padding: 10px 20px;
  background-color:  var(--brand-pink);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.resume-button:hover {
  background-color: rgb(71, 23, 59);
}

/******************* CONTACT PAGE ***************************************/

.contact-section {
  padding: 40px 20px;
  text-align: center;
}

.contact-section h1 {
  text-align: center;
  font-size: 2rem;
  color: #ff69b4;
  margin-bottom: 2rem;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 280px;
  text-align: center;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.contact-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 18px;
  margin: 0;
  color: #333;
}
