/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Gothic A1', 'Arial', sans-serif;
  background: white;
  overflow-x: hidden;
}

/* Main Portfolio Container */
.portfolio-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  min-height: 100vh;
  position: relative;
  width: 100%;
  max-width: 1222px;
  margin: 0 auto;
}

/* ===== HEADER NAVIGATION ===== */
.header-nav {
  display: grid;
  grid-template-columns: auto 1fr ;
  grid-template-areas: "logo buttons nav-icon";
  align-items: center;
  position: relative; 
  padding: 60px;
  z-index: 100;
}

.header-bg {
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  margin: auto; 
  height: 88px; 
  background: #eaddff; 
  border-radius: 40px; 
  box-shadow: 0px 4px 12.2px 7px #000000; 
  z-index: -1;
}

.header-logo {
  grid-area: logo;
  width: 54px;
  height: 54px;
  z-index: 10;
}

.header-buttons {
  grid-area: buttons;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  padding-right: 150px;
}

.nav-button {
  font-family: 'JMH Typewriter', monospace;
  font-weight: bold;
  font-size: 15px;
  padding: 8px 20px;
  background: #eaddff;
  border: 4px solid black;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background: transparent;
  color: white;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.page-nav-icon {
  grid-area: nav-icon;
  width: 40px;
  height: 42px;
  position: absolute;
  right: 40px;
  top: 150px;
  transform: rotate(180deg);
  background: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  grid-template-areas: 
    "title identity";
  min-height: 916px;
  position: relative;
  padding: 0 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: rgb(0, 0, 0);
  filter: blur(1px);
  z-index: 0;
}

.hero-circle-large {
  position: absolute;
  left: 8.33%;
  top: 216px;
  width: 647px;
  height: 599px;
  background: radial-gradient(ellipse, #ad86bc, rgba(173, 134, 188, 0.5));
  border-radius: 50%;
  filter: drop-shadow(0 4px 15.2px #ad86bc);
  z-index: 1;
}

.hero-circle-small {
  position: absolute;
  right: 15%;
  top: 408px;
  width: 423px;
  height: 407px;
  background: radial-gradient(ellipse, #ad86bc, rgba(173, 134, 188, 0.5));
  border-radius: 50%;
  filter: drop-shadow(0 4px 15.2px #ad86bc);
  z-index: 1;
}

.hero-title {
  grid-area: title;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: 'JMH Typewriter', monospace;
  font-weight: 100;
  font-size: 250px;
  line-height: 222px;
  color: white;
  letter-spacing: 0.5px;
  z-index: 10;
  padding-left: 60px;
}

.hero-portfolio,
.hero-folio {
  display: block;
}

.hero-identity {
  grid-area: identity;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 200px;
  z-index: 10;
}

.hero-name {
  font-family: 'JMH Typewriter', monospace;
  font-weight: 400;
  font-size: 55px;
  line-height: 56px;
  color: white;
  letter-spacing: 0.5px;
  margin-bottom: 140px;
}

.hero-name span {
  display: block;
}

.hero-role {
  font-family: 'Gothic A1', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 45px;
  line-height: 39px;
  color: white;
  letter-spacing: 0.5px;
  text-align: right;
}

.hero-role span {
  display: block;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  padding: 60px 120px;
  gap: 20px;
}

.about-title {
  font-family: 'JMH Typewriter', monospace;
  font-weight: 400;
  font-size: 70px;
  line-height: 56px;
  color: black;
  letter-spacing: 0.5px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-text {
  font-family: 'JMH Typewriter', monospace;
  font-weight: 100;
  font-size: 30px;
  line-height: 56px;
  color: black;
  letter-spacing: 0.5px;
}

.about-image {
  justify-self: normal;
}

.about-image img {
  width: 395px;
  height: 425px;
  border-radius: 197.5px;
  object-fit: cover;
  box-shadow: 0px 4px 34.7px 10px #ad86bc;
}

/* ===== SKILLS & EDUCATION SECTION ===== */

.skills-education-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "expertise education";
  padding: 100px 120px;
  position: relative;
  gap: 100px;
}

.section-bg {
  position: absolute;
  inset: 0;
  background: black;
  z-index: -1;
}

.expertise-column {
  grid-area: expertise;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.education-column {
  grid-area: education;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-heading {
  font-family: 'JMH Typewriter', monospace;
  font-weight: bold;
  font-size: 40px;
  line-height: 56px;
  color: white;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.skill-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-group.microsoft {
  margin-left: auto;
  text-align: right;
}

.skill-category {
  font-family: 'Gothic A1', 'Arial', sans-serif;
  font-weight: bold;
  font-size: 20px;
  color: #ad86bc;
  margin-bottom: 8px;
}

.skill-list {
  list-style: none;
  font-family: 'Gothic A1', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: white;
}

.skill-list li {
  margin-bottom: 6px;
}

.education-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.education-school {
  font-family: 'JMH Typewriter', monospace;
  font-weight: bold;
  font-size: 25px;
  line-height: 31px;
  color: white;
  letter-spacing: 0.5px;
}

.education-program {
  font-family: 'Gothic A1', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 31px;
  color: white;
  letter-spacing: 0.5px;
}

.education-years {
  font-family: 'Gothic A1', 'Arial', sans-serif;
  font-weight: bold;
  font-size: 20px;
  line-height: 31px;
  color: white;
  letter-spacing: 0.5px;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
  padding: 60px 60px 100px;
}

.projects-title {
  font-family: 'JMH Typewriter', monospace;
  font-weight: bold;
  font-size: 96px;
  line-height: 99px;
  color: black;
  letter-spacing: 0.5px;
  margin-bottom: 50px;
}

.projects-scroll-container {
  overflow-x: scroll;
  overflow-y: hidden;
  padding-bottom: 40px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 480px);
  gap: 40px;
  width: max-content;
}

.project-card {
  display: grid;
  grid-template-rows: 250px 1fr auto;
  background: black;
  border-radius: 85px;
  padding: 30px;
  box-shadow: 0px 0px 11px 10px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.project-image {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
}

.project-red .project-image {
  background: #ec2224;
  box-shadow: 0px 2px 13px 12px rgba(0, 0, 0, 0.25);
}

.project-purple .project-image {
  background: #ad86bc;
  box-shadow: 0px 2px 13px 12px rgba(0, 0, 0, 0.25);
}

.project-green .project-image {
  background: #c2dad1;
  box-shadow: 0px 2px 13px 12px rgba(0, 0, 0, 0.25);
}

.project-white .project-image {
  background: white;
  box-shadow: 0px 2px 13px 12px rgba(0, 0, 0, 0.25);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
}

.project-reflection {
  width: 100%;
  height: 100%;
  position: relative;
}

.project-reflection img {
  width: 80%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.project-info {
  padding: 30px 20px;
  color: white;
}

.project-title {
  font-family: 'Gothic A1', 'Arial', sans-serif;
  font-weight: 900;
  font-size: 29px;
  line-height: 48px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.project-subtitle {
  font-family: 'Gothic A1', 'Arial', sans-serif;
  font-weight: 600;
  font-size: 23px;
  line-height: 48px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.project-description {
  font-family: 'Gothic A1', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 21px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.project-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-family: 'Gothic A1', 'Arial', sans-serif;
  font-weight: bold;
  font-size: 15px;
  line-height: 21px;
  letter-spacing: 0.5px;
}

.project-button {
  font-family: 'JMH Typewriter', monospace;
  font-weight: bold;
  font-size: 16px;
  padding: 12px 24px;
  background: white;
  border: none;
  border-radius: 26px;
  cursor: pointer;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.23), 0px 16px 48px 0px rgba(0, 0, 0, 0.35);
  margin: 0 auto 20px;
  width: fit-content;
  transition: all 0.3s ease;
}

.project-button:hover {
  transform: translateY(-2px);
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.23), 0px 20px 56px 0px rgba(0, 0, 0, 0.45);
}

/* ===== FOOTER CONTACT ===== */
.footer-contact {
  position: relative;
  padding: 100px 120px 80px;
  margin-top: 100px;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #ad86bc 3.365%, #3b2762 86.538%);
  box-shadow: 0px 4px 21.5px 22px #ad86bc;
  z-index: -1;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 100px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-title {
  font-family: 'JMH Typewriter', monospace;
  font-weight: 400;
  font-size: 48px;
  line-height: 99px;
  color: white;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.footer-email,
.footer-phone {
  font-family: 'Gothic A1', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 35px;
  line-height: 39px;
  color: white;
  letter-spacing: 0.5px;
}


.footer-logo {
  width: 148px;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

/* Scrollbar Styling */
.projects-scroll-container::-webkit-scrollbar {
  height: 12px;
}

.projects-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.projects-scroll-container::-webkit-scrollbar-thumb {
  background: #ad86bc;
  border-radius: 10px;
}

.projects-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #9366a3;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 180px;
    line-height: 160px;
  }
  
  .projects-grid {
    grid-template-columns: repeat(4, 400px);
  }
}

@media (max-width: 768px) {
  .header-nav {
    grid-template-columns: auto 1fr;
    grid-template-areas: 
      "logo buttons"
      "nav-icon nav-icon";
    padding: 30px 20px;
  }
  
  .header-buttons {
    flex-direction: column;
    gap: 10px;
    padding-right: 20px;
  }
  
  .page-nav-icon {
    position: sticky;
    right: auto;
    top: auto;
    margin: 20px auto 0;
  }
  
  .hero-section {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "title"
      "identity";
    padding: 20px;
    min-height: 600px;
  }
  
  .hero-circle-large {
    width: 400px;
    height: 370px;
    left: 5%;
    top: 150px;
  }
  
  .hero-circle-small {
    width: 250px;
    height: 240px;
    right: 5%;
    top: 300px;
  }
  
  .hero-title {
    font-size: 120px;
    line-height: 100px;
    padding-left: 20px;
  }
  
  .hero-identity {
    padding-top: 80px;
  }
  
  .hero-name {
    font-size: 40px;
    line-height: 45px;
    margin-bottom: 80px;
  }
  
  .hero-role {
    font-size: 32px;
    line-height: 35px;
  }
  
  .about-section {
    padding: 40px 20px;
  }
  
  .about-title {
    font-size: 50px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-text {
    font-size: 24px;
    line-height: 42px;
  }
  
  .about-image {
    justify-self: center;
  }
  
  .about-image img {
    width: 300px;
    height: 323px;
  }
  
  .skills-education-section {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "expertise"
      "education";
    padding: 60px 40px;
    gap: 60px;
  }
  
  .skill-group.microsoft {
    margin-left: 0;
    text-align: left;
  }
  
  .projects-section {
    padding: 40px 20px 60px;
  }
  
  .projects-title {
    font-size: 60px;
    line-height: 60px;
  }
  
  .projects-grid {
    grid-template-columns: repeat(4, 320px);
  }
  
  .project-card {
    grid-template-rows: 280px 1fr auto;
    padding: 20px;
  }
  
  .footer-contact {
    padding: 60px 40px 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .footer-title {
    font-size: 36px;
  }
  
  .footer-email,
  .footer-phone {
    font-size: 24px;
  }
  
  .footer-logo {
    justify-self: center;
    width: 100px;
  }
}