/* GENERAL */

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

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 50%, #d1d1d1 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}

.white {
  color: white;
  display: none; /* Hidden spacing elements */
}

/* TRANSITION */

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

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

a:hover {
  color: #810d91;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  text-decoration-color: #810d91;
}

/* HAMBURGER NAVIGATION */

#hamburger-nav {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
}

/* HAMBURGER MENU STYLES */

.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: black;
  transition: all 0.3s ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  width: fit-content;
  min-width: 150px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  margin-top: 0.5rem;
}

.menu-links a {
  display: block;
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 1.1rem;
  color: black;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.menu-links a:hover {
  color: black;
  background: #f0f0f0;
}

.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: 3rem 0;
  margin: 0 auto;
  max-width: 1200px;
  box-sizing: border-box;
  min-height: auto;
}

section:first-of-type {
  padding-top: 2rem;
}

section:last-of-type {
  padding-bottom: 2rem;
}

.section-container {
  display: flex;
}

.paragraph{
  color: whitesmoke;
}

.paragraph2{
  color: whitesmoke;
}

/* PROFILE SECTION */

#profile {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem 5%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  gap: 3rem;
  min-height: 60vh;
  padding: 2rem 0;
}

.section__pic-container {
  display: flex;
  height: 300px;
  width: 300px;
  margin: auto 0;
  flex-shrink: 0;
}

.section__pic-container img {
  border-radius: 50%;
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}



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

.section__text p {
  font-weight: 600;
}

.section__text__p1 {
  text-align: center;
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.title {
  font-size: 2.5rem;
  text-align: center;
}

.title1 {
  font-size: 2.5rem;
  text-align: center;
  color: black;
}

.title2 {
  font-size: 2.5rem;
  text-align: center;
  color: black;
}


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

#socials-container .icon {
  transition: all 0.3s ease;
}

#socials-container .icon:hover {
  transform: translateY(-5px) scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(129, 13, 145, 0.4));
}

/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
}

/* BUTTONS */

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

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}

.btn-color-1,
.btn-color-2 {
  border: rgb(53, 53, 53) 0.1rem solid;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1,
.btn-color-2:hover {
  background: linear-gradient(135deg, #810d91 0%, #6a0a7a 100%);
  color: white;
  border-color: transparent;
}

.btn-color-1:hover {
  background: linear-gradient(135deg, #6a0a7a 0%, #51095f 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(129, 13, 145, 0.4);
}

.btn-color-2 {
  background: none;
}

.btn-color-2:hover {
  border: #810d91 0.1rem solid;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(129, 13, 145, 0.3);
}

.btn-container {
  gap: 1rem;
}

/* ABOUT SECTION */

#about {
  position: relative;
}

.about-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.about-card-large {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(163, 163, 163, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.about-card-large:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: rgba(129, 13, 145, 0.5);
}

.about-header-wrapper {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(129, 13, 145, 0.15);
}

.about-image-wrapper {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
}

.about-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.about-card-large:hover .about-pic {
  transform: scale(1.05);
}

.about-text-wrapper {
  display: flex;
  flex-direction: column;
}

.about-sub-title {
  color: black;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0;
}

.about-paragraph {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: justify;
  margin: 0.5rem 0 0 0;
}

.about-cards-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.about-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(163, 163, 163, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: rgba(129, 13, 145, 0.5);
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(129, 13, 145, 0.2);
}

.about-card-icon {
  width: 2rem;
  height: 2rem;
  cursor: default;
}

.about-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-detail-text {
  color: #666;
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
}

/* Legacy support */
.about-containers {
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

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

.about-containers,
.about-details-container {
  display: flex;
}

.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.arrow:hover {
  transform: translateX(5px) scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: linear-gradient(135deg, #810d91 0%, #6a0a7a 100%);
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  text-align: left;
  box-shadow: 0 4px 12px rgba(129, 13, 145, 0.3);
  transition: all 0.3s ease;
}

.details-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(129, 13, 145, 0.4);
}

.details-container2 {
  padding: 1.5rem;
  flex: 1;
  background: linear-gradient(135deg, #810d91 0%, #6a0a7a 100%);
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  text-align: left;
  box-shadow: 0 4px 12px rgba(129, 13, 145, 0.3);
  transition: all 0.3s ease;
}

.details-container2:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(129, 13, 145, 0.4);
}

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

/* EXPERIENCE SECTION */

#experience {
  position: relative;
}

.experience-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.experience-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(163, 163, 163, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.experience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: rgba(129, 13, 145, 0.5);
}

.experience-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(129, 13, 145, 0.2);
}

.experience-sub-title {
  color: black;
  font-weight: 600;
  font-size: 1.75rem;
  margin: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  flex: 1;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(129, 13, 145, 0.05);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(129, 13, 145, 0.1);
}

.skill-item:hover {
  background: rgba(129, 13, 145, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(129, 13, 145, 0.2);
}

.skill-icon {
  width: 1.5rem;
  height: 1.5rem;
  cursor: default;
  filter: drop-shadow(0 2px 4px rgba(129, 13, 145, 0.3));
}

.skill-content h3 {
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.skill-level {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

/* Legacy support for old classes */
.article-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  text-align: initial;
  gap: 1.5rem;
  justify-content: center;
  align-items: start;
}

article {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

article:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

article .icon {
  cursor: default;
}

/* PROJECTS SECTION */

#projects {
  position: relative;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.project-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(163, 163, 163, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: rgba(129, 13, 145, 0.5);
}

.project-image-container {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  position: relative;
}

.project-img {
  border-radius: 1rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  min-height: 200px;
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-title {
  margin: 1rem 0;
  color: #000000;
  font-size: 1.5rem;
}

.project-btn {
  color: black;
  border-color: rgb(163, 163, 163);
  margin-top: auto;
}

/* Legacy support for old classes */
.color-container {
  border-color: rgb(163, 163, 163);
  background: rgb(250, 250, 250);
}

/* CONTACT */

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 40vh;
  padding: 2rem 0;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  margin: 2rem auto;
  padding: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-info-upper-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

.contact-icon {
  cursor: default;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.contact-link {
  color: #810d91;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: #6a0a7a;
  text-decoration: none;
}
.email-icon {
  width: 2.6rem;
  height: 2.6rem;
}

/* Minimal footer */
.mini-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
  text-align: center;
}
.mini-footer p {
  color: #666;
  font-size: 0.9rem;
}
