/* Add you CSS here */

/* Set a background color and font for the whole page */
body {
  background-color: #FFF9E5; /* soft cream background */
  font-family: Arial, sans-serif; /* simple font */
  margin: 0;
  padding: 0;
}

/* Style for each section */
section {
  background-color: #FDF6E3; /* cream color for text boxes */
  margin: 32px auto;
  padding: 20px;
  max-width: 600px;
  border-radius: 16px;
  border: 1px solid rgba(44, 44, 44, 0.13); /* feint black border */
  /* Add a soft shadow for a "floating card" effect */
  box-shadow: 0 4px 16px rgba(44,44,44,0.10), 0 1.5px 6px rgba(45,52,54,0.07);
}

/* About and Contact sections: use pale yellow for contrast */
.about-me,
.contact-info {
  background-color: #FDF6E3; /* match all cards to cream */
}

/* Hero section: make it stand out */
.hero {
  text-align: center; /* center text */
  background-color: #e0f7fa; /* light blue background */
}

/* Section headings */
h1, h2 {
  font-family: 'Poppins', Arial, sans-serif; /* fun Google font for headings */
  text-align: center;
  color: #333; /* dark gray color */
}

/* Skills list */
.skills ul {
  list-style-type: disc; /* bullet points */
  padding-left: 20px; /* indent list */
}

/* Contact info */
.contact-info p {
  margin: 8px 0;
  text-align: center; /* center the contact paragraph */
}

/* Center the contact logos under Contact Info */
.contact-logos {
  text-align: center; /* center the logos horizontally */
  margin-top: 12px;   /* add a little space above */
}

/* Bounce/zoom effect for contact logos */
.contact-logos img:hover {
  transform: scale(1.15); /* slightly larger on hover */
  transition: transform 0.2s ease;
}

/* Add more space between the LinkedIn and GitHub logos */
.contact-logos a {
  margin-right: 24px; /* space to the right of each logo */
}

.contact-logos a:last-child {
  margin-right: 0; /* no extra space after the last logo */
}

/* Skills section: display skills in a row and center them */
.skills-row {
  display: flex; /* put items in a row */
  justify-content: center; /* center the row */
  gap: 32px; /* space between each skill */
  margin-top: 16px;
}

/* Each skill item: center content */
.skill-item {
  display: flex;
  flex-direction: column; /* stack image and text vertically */
  align-items: center; /* center horizontally */
  font-size: 20px; /* increased from 16px */
}

/* Blend skill and contact logos with their card background using opacity */
.skill-logo,
.contact-logos img {
  opacity: 0.45; /* makes the logos softly blend with the cream background */
  width: 65px;
  height: 65px;
  margin-bottom: 16px;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(116,185,255,0.10);
  /* Remove border and background so there is no box around the logo */
  border: none;
  background: none;
}

/* When you hover over a skill item (logo or name), both zoom/bounce */
.skill-item:hover .skill-logo,
.skill-item:hover div {
  transform: scale(1.15); /* slightly larger on hover */
  transition: transform 0.2s ease;
}
.skill-item div:hover {
  transform: scale(1.15); /* slightly larger on hover */
  transition: transform 0.2s ease;
}

/* Simple footer styling */
footer {
  text-align: center;
  font-family: 'Poppins', Arial, sans-serif; /* match headings font */
  color: #333; /* match section heading color */
  font-size: 15px;
  margin: 32px 0 8px 0;
  background-color: #e0f7fa; /* match hero/nav background */
  padding: 16px 0;
  border-radius: 16px;
  /* Remove max-width and centering so it stretches full width */
  /* max-width: 600px;
  margin-left: auto;
  margin-right: auto; */
  box-shadow: 0 2px 8px rgba(116,185,255,0.10);
  border-top: 2px solid #74B9FF; /* blue top border */
  margin-top: 16px;
}

/* Simple navigation bar styles */
.navbar {
  background-color: #e0f7fa; /* light blue */
  text-align: center;
  padding: 10px 0;
  border-bottom: 2px solid #74B9FF;
  margin-bottom: 16px;
}
.navbar a {
  color: #2D3436;
  text-decoration: none;
  margin: 0 18px;
  font-size: 18px;
  font-family: 'Poppins', Arial, sans-serif;
  transition: color 0.2s;
}
.navbar a:hover {
  color: #FF6B6B; /* coral on hover */
  /* Removed background color, border-radius, and extra padding for a simpler hover */
  transition: color 0.2s;
}

/* Fun quote style in hero */
.quote {
  font-style: italic;
  color: #74B9FF;
  margin-top: 10px;
}

/* Back to Top link style */
.back-to-top {
  text-align: center;
  margin: 24px 0 0 0;
}
.back-to-top a {
  color: #74B9FF;
  text-decoration: none;
  font-size: 16px;
  font-family: 'Poppins', Arial, sans-serif;
  transition: color 0.2s;
}
.back-to-top a:hover {
  color: #FF6B6B;
}

/* Togepi triangle pattern for backgrounds */
.with-pattern {
  position: relative;
  isolation: isolate;
  /* Add a repeating SVG triangle pattern as the background */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><rect width='180' height='180' fill='%23FDF6E3'/><polygon points='20,20 55,20 37.5,50' fill='%2374B9FF' fill-opacity='0.22'/><polygon points='110,30 145,30 127.5,60' fill='%23FF6B6B' fill-opacity='0.18'/><polygon points='60,100 95,100 77.5,130' fill='%2374B9FF' fill-opacity='0.16'/><polygon points='15,140 50,140 32.5,170' fill='%23FF6B6B' fill-opacity='0.16'/><polygon points='120,120 155,120 137.5,150' fill='%2374B9FF' fill-opacity='0.18'/></svg>");
  background-size: 180px 180px;
  background-repeat: repeat;
}

/* Optional overlay to soften the pattern */
.with-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.55); /* soft white overlay */
  z-index: -1;
}

/* Project inner box style for Projects section */
.project-box {
  background-color: #e0f7fa; /* match the blue used in other boxes */
  color: #222; /* dark text for readability */
   /* fun, readable font */
  border: 1px solid rgba(44, 44, 44, 0.13); /* feint black border to match other boxes */
  border-radius: 12px; /* slightly rounded corners */
  box-shadow: 0 2px 8px rgba(44,44,44,0.07);
  padding: 16px;
  margin: 32px 0 0 0; /* more space above the box */
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.2s ease; /* smooth zoom effect */
}

.project-box a {
  text-decoration: none;
  color: black;
  display: flex;
  justify-content: center;
  font-size: 1.7rem;
  background-color: #FDF6E3;
  border: 1px solid black;
  padding: .5rem 2rem;
  border-radius: 15px;

}

.project-box a:hover {
  background-color: #e0f7fa;
  border: 3px solid white;
  transition: background-color .5s ease, border-color .5s ease;
}

.project-box li {
  margin-bottom: 1rem;
}

.project-box h3 {
  display: flex;
  justify-content: center;
  font-size: 1.7rem;
  padding: .5rem 2rem;
  border-radius: 15px;
}

/* Make the paragraph text inside the project box simple black text */
.project-box p {
  color: #222; /* simple black text */
  font-weight: 500; /* not bold */
}

/* Bounce/zoom effect for project box on hover */
.project-box:hover {
  transform: scale(1.05); /* slightly larger on hover */
}

.project-box h3 {
  text-align: center; /* center the Portfolio Website heading */
}
