/* GENERAL */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

p {
  color: rgb(85, 85, 85);
}

/* DESKTOP NAVIGATION */
#desktop-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 15vh;
  background-color: white;
  z-index: 10;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 1.2rem;
}

.nav-links a {
  color: black;
  text-decoration: none;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: grey;
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  text-decoration-color: rgb(181, 181, 181);
}

/* LOGO */
.logo {
  font-size: 1.8rem;
  font-weight: bold;
  z-index: 1002;
  position: relative;
  color:black;
}

/* HAMBURGER NAV DEFAULT HIDDEN */
#hamburger-nav {
  display: none;
}

/* HAMBURGER MENU */
.hamburger-menu {
  position: relative;
  display: inline-block;
  z-index: 1001;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
  position: relative;
  z-index: 1002;
}

.hamburger-icon span {
  width: 100%;
  height: 3px;
  background-color:white;
  transition: all 0.3s ease-in-out;
}

/* TOGGLE ANIMATION */
.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* MENU LINKS OVERLAY */
.menu-links {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.95);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  text-align: center;
  padding-top: 5rem;
  z-index: 1000;
}

.menu-links.open {
  max-height: 100vh;
}

.menu-links ul {
  list-style: none;
}

.menu-links li {
  margin: 1.5rem 0;
}

.menu-links a {
  color: white;
  font-size: 1.6rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu-links a:hover {
  color: #ffcc00;
}

/* RESPONSIVE VIEW */

/* SECTIONS */
section {
  padding-top: 4vh;
  padding-left: 5rem;
  padding-right: 5rem;
  box-sizing: border-box;
  min-height: fit-content;
}

/* PROFILE SECTION */
#profile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  padding: 4rem 2rem;
  flex-wrap: wrap;
  min-height: 76vh;
}

/* Profile Image */
.section_pic-container img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 40% 10%; /* show head and shift left */
  border: 3px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Text Column */
.section__text {
  max-width: 400px;
  text-align: left;
}

.section__text p {
  font-weight: 600;
}

.section__text__p1 {
  font-size: 1.2rem;
  color: grey;
  margin-bottom: 0.5rem;
}

.section__text__p2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #555;
}

.title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* SOCIAL ICONS */
#socials-container {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: flex-start;
}

.icon {
  cursor: pointer;
  height: 2rem;
}

/* BUTTONS */
.btn-container {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  font-size: 1rem;
  border: rgb(53, 53, 53) 0.1rem solid;
}

.btn:hover {
  cursor: pointer;
  background: rgb(53, 53, 53);
  color: white;
}

.btn-color-1 {
  background: white;
  color: black;
}

.btn-color-1:hover {
  background: black;
}

.btn-color-2 {
  background: black;
  color: white;
}

.btn-color-2:hover {
  background: white;
  color: black;
  border: rgb(53, 53, 53) 0.1rem solid;
}
#about {
  min-height: 60vh;
  padding: 2rem 2rem;
  background-color: #f5f5f5; 
  margin: 0;
}

#about .section__text {
  max-width: 800px;
  margin: 10px auto;
  font-size: 1.1rem;
  line-height: 1.8rem;
  color: #333;
}

#about .title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #111;
}

#about p {
  margin-bottom: 1.5rem; /* or try 2rem for more space */
}


#about strong{
  
  color: black;
  font-weight: bold;
  font-size: 1.2rem;
  
}
/* ===================== */
/* SKILLS SECTION */
/* ===================== */

#Skills {
  padding: 4rem 2rem;
  background-color: #ffffff;
}

#Skills .header {
  text-align: center;
  margin-bottom: 3rem;
}

#Skills .header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111;
}

/* Responsive Grid */
#Skills .container {
  display: grid;
  grid-template-columns:repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

/* Skill Card */
.skill-box {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.skill-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Skill Image Circle */
.skill-img {
  width: 85px;
  height: 85px;
  margin: auto;
  border-radius: 50%;
  background: #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  transition: 0.3s ease;
}

.skill-box:hover .skill-img {
  background: #000;
}

.skill-icon {
  width: 50px;
  transition: 0.3s ease;
}

.skill-box:hover .skill-icon {
  filter: invert(1);
}

/* Skill Name */
.skill-title h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #222;
}

/* Skill Level Text */
.skill-level {
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
  margin-bottom: 0.8rem;
  display: block;
}

/* Skill Bar */
.skill-bar {
  width: 100%;
  height: 8px;
  background-color: #eee;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.skill-bar::before {
  content: "";
  position: absolute;
  height: 100%;
  width: var(--level);
  background-color: #000;
  border-radius: 5px;
  transition: width 0.6s ease;
}

/* Project Section */
/* Project Section */
#projects {
  padding: 4rem 2rem;
  background-color: #f5f5f5;
}

#projects .title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

/* Responsive Grid Layout */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

/* Project Card */
.project-card {
  background: white;
  border: 2px solid black;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #111;
}

.project-description {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.5rem;
}

.project-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  color: black;
  border-radius: 2rem;
  border: 2px solid black;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
  background-color: white;
}

.project-btn:hover {
  background-color: black;
  color: white;
}
#contact {
  padding: 4rem 2rem;
  background-color: #fff;
  text-align: center;
}

.contact-container {
  max-width: 600px;
  margin: auto;
}

#contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #222;
}

#contact p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 1.1rem;
  color: #333;
  margin: 0.5rem 0;
}

.contact-info a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #007bff;
}

footer {
  background-color: #000;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-container {
  max-width: 900px;
  margin: auto;
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  color: #fff;
  margin: 0 0.75rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ddd;
}
