/* GENERAL */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

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

body {
  font-family: "Poppins", sans-serif;
  background-color: #000000;
  color: #ffffff;
}

html {
  scroll-behavior: smooth;
}

p {
  color: #e0e0e0;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.5px;
  word-spacing: 1px;
  margin-bottom: 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #ffffff;
}

/* Title Colors for About Section */
.about-title {
  color: #ffffff;
  font-weight: 700;
}

.about-subtitle {
  color: #ff6b9d;
  font-weight: 700;
}

/* TRANSITIONS */
a, .btn {
  transition: all 300ms ease;
}

/* DESKTOP NAV */
nav, .nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
  background-color: #000000;
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
}

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  color: #ff6b9d;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: #ff6b9d;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
}

.logo:hover {
  cursor: default;
}

/* HAMBURGER MENU */
#hamburger-nav {
  display: none;
  background: #000000;
  padding: 1rem;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #1a1a1a;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  border-radius: 10px;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.menu-links a:hover {
  color: #ff6b9d;
  background-color: #2a2a2a;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

/* SECTIONS */
section {
  padding-top: 4vh;
  height: 96vh;
  margin: 0 10rem;
  min-height: fit-content;
}

.section-container {
  display: flex;
}

/* PROFILE SECTION */
#profile {
  display: flex;
  justify-content: center;
  gap: 3rem;
  height: 70vh;
}

.section__pic-container {
  display: flex;
  height: 275px;
  width: 300px;
  margin: auto 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 107, 157, 0.3);
}

.section__text {
  align-self: center;
  text-align: center;
}

.section__text p {
  font-weight: 600;
  color: #ffffff;
}

.section__text__p1 {
  text-align: center;
  color: #e0e0e0;
}

.section__text__p2 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.title {
  font-size: 2.5rem;
  text-align: center;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1rem;
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

/* ICONS */
.icon {
  cursor: pointer;
  height: 2rem;
}

.icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(255, 107, 157, 0.6));
}

/* Social media icons - make them white except LinkedIn */
#socials-container .icon {
  filter: brightness(0) invert(1);
}

/* LinkedIn icon - keep its original color */
#socials-container .icon[alt*="LinkedIn"] {
  filter: none;
}

#socials-container .icon:hover {
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(290deg);
  transform: scale(1.1);
}

/* LinkedIn hover - keep it visible */
#socials-container .icon[alt*="LinkedIn"]:hover {
  filter: brightness(1.2);
  transform: scale(1.1);
}

/* Keep arrow icons white */
.arrow {
  filter: brightness(0) invert(1);
}

/* Keep article icons white */
article .icon {
  filter: brightness(0) invert(1);
}

/* BUTTONS */
.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem 2rem;
  width: auto;
  min-width: 10rem;
  border-radius: 2rem;
  font-size: 1rem;
  cursor: pointer;
}

.btn-color-1,
.btn-color-2 {
  border: #ffffff 0.1rem solid;
  color: #ffffff;
  background: transparent;
}

.btn-color-1:hover {
  background: #ff6b9d;
  border-color: #ff6b9d;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

.btn-color-2:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* ABOUT SECTION */
#about {
  position: relative;
}

#about .about-containers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  justify-items: center;
}

.about-details-container {
  justify-content: center;
  flex-direction: column;
}

.about-pic {
  border-radius: 2rem;
  box-shadow: 0 0 30px rgba(255, 107, 157, 0.3);
}

.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
  filter: brightness(0) invert(1);
}

.details-container {
  width: 260px;
  min-height: 360px;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  border: 1px solid #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 300ms ease;
}

.details-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
  border-color: #ff6b9d;
}

.details-container h3 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-container {
  gap: 4rem;
  height: 80%;
}

.section__pic-container {
  height: 250px;
  width: 250px;
  margin: auto 0;
}

/* EXPERIENCE SECTION */
#experience {
  position: relative;
}

.experience-sub-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

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

article {
  display: flex;
  width: 10rem;
  justify-content: space-around;
  gap: 0.5rem;
}

article .icon {
  cursor: default;
}

article h3 {
  font-weight: 700;
}

/* PROJECTS SECTION */
#projects {
  position: relative;
}

.about-containers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  justify-items: center;
}

.color-container {
  border: 1px solid #333333;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  transition: all 300ms ease;
  width: 100%;
  max-width: 280px;
}

.color-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.4);
  border-color: #ff6b9d;
}

.project-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 1.25rem 1.25rem 0 0;
}

.project-title {
  margin: 0.8rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
}

.project-btn {
  color: #ffffff;
  border-color: #ffffff;
  background: transparent;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.project-btn:hover {
  background: #ff6b9d;
  border-color: #ff6b9d;
  color: #000000;
}

/* CONTACT */
/* CONTACT */
#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 70vh;
  text-align: center;
}

#contact .title {
  margin-bottom: 2rem;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #ffffff, #ff6b9d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#contact p {
  font-size: 1.2rem;
  line-height: 2.5;
  margin: 0;
}

#contact a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border: 2px solid #ff6b9d;
  border-radius: 2rem;
  display: inline-block;
  margin: 0.5rem;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  transition: all 300ms ease;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

#contact a:hover {
  background: #ff6b9d;
  color: #000000;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.5);
  border-color: #ff6b9d;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: #ffffff 0.1rem solid;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  margin: 2rem auto;
  padding: 1.5rem;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

.contact-info-container p {
  font-size: larger;
  color: #ffffff;
}

.contact-icon {
  cursor: default;
  filter: brightness(0) invert(1);
}

.email-icon {
  height: 2.5rem;
}

/* FOOTER SECTION */
footer {
  height: 26vh;
  margin: 0 1rem;
  background-color: #000000;
}

footer p {
  text-align: center;
  color: #ffffff;
}

.about-image-container {
  overflow: hidden;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.skills-list {
  list-style-type: none;
  padding: 0;
  margin: 1rem 0;
}

.skills-list li {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Bounce animation keyframes */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.btn.btn-color-2 {
  animation: bounce 2s infinite;
}

.btn.btn-color-2:hover {
  animation: none;
}

/* Floating flowers */
.floating-flower {
  position: fixed;
  font-size: 40px;
  color: rgba(255, 107, 157, 0.7);
  opacity: 0.8;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.flower-top-left {
  top: 20px;
  left: 20px;
  animation: float 7s ease-in-out infinite;
}

.flower-top-right {
  top: 20px;
  right: 20px;
  animation: float 5s ease-in-out infinite;
}

.flower-bottom-left {
  bottom: 20px;
  left: 20px;
  animation: float 8s ease-in-out infinite;
}

.flower-bottom-right {
  bottom: 20px;
  right: 20px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) translateX(5px) rotate(5deg);
  }
  50% {
    transform: translateY(-5px) translateX(-5px) rotate(-5deg);
  }
  75% {
    transform: translateY(5px) translateX(5px) rotate(5deg);
  }
}

/* Minion popup */
.minion-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  opacity: 0;
  animation: minion-appear 5s ease-in-out 2s forwards;
}

.minion-image {
  width: 80px;
  height: auto;
}

.speech-bubble {
  background: #fff;
  border: 2px solid #ff6b9d;
  border-radius: 10px;
  padding: 5px 10px;
  margin-left: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #000;
  position: relative;
  display: none;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #ff6b9d;
}

@keyframes minion-appear {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(20px);
  }
  20% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(0.5) translateY(20px);
  }
}

/* Resume Button */
.btn-resume {
  border: #ff6b9d 0.1rem solid;
  color: #ff6b9d;
  background: transparent;
}

.btn-resume:hover {
  background: #ff6b9d;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  section {
    margin: 0 5rem;
  }
}

@media screen and (max-width: 768px) {
  section {
    margin: 0 2rem;
  }
  
  nav {
    display: none;
  }
  
  #hamburger-nav {
    display: flex;
  }
  
  .title {
    font-size: 2rem;
  }
}