@import url("https://fonts.googleapis.com/css2?family=Faculty+Glyphic&display=swap");

body {
  margin: 0;
  font-family: "Faculty Glyphic", sans-serif;
  background-color: rgba(0, 0, 0, 0.904);

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 15px 15px;
  color: white;
}

/* Landing Page */

.landing {
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.landing-content {
  opacity: 0;
  transform: translateY(-80px);
  animation: fallIn 1.1s ease-out forwards;
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Landing Animation */
@keyframes fallIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-me {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -310px;
}

.name {
  font-size: 26px;
}

.role {
  font-size: 46px;
  margin-top: -12px;
  color: #e8c39a;
  text-align: center;
}

@media (max-width: 600px) {
  .role {
    font-size: 36px;
    line-height: 1.1;
    max-width: 90vw;
  }
}

.socials {
  margin-top: -28px;
  display: flex;
  gap: 20px;
}

.icons {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.socials a:nth-child(2) .icons {
  transform: scale(1.55);
}

.socials a:not(:nth-child(2)):hover .icons {
  transform: scale(1.3);
}

.socials a:nth-child(2):hover .icons {
  transform: scale(1.95);
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1.8s infinite;
  cursor: pointer;
  transition: opacity 0.4s ease;
}

.scroll-indicator.hidden {
  opacity: 0;
}

.location-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  margin-top: 15px;
  opacity: 0.7;
}

.location-wrapper p {
  margin: 0;
}

.location {
  width: 25px;
  height: 25px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.arrow-img {
  width: 110px;
  opacity: 0.85;
  filter: drop-shadow(0 0 10px rgba(232, 195, 154, 0.4));
}

@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -18px);
  }
}

/* Projects */
.projects {
  padding: 100px 8vw;
  background-color: rgb(24, 24, 24);
  border-top: 5px solid #e8c39a;
  border-bottom: 5px solid #e8c39a;
  opacity: 0;
  transform: translateX(-100px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.projects.visible {
  opacity: 1;
  transform: translateX(0);
}

.section-title-projects {
  font-size: 36px;
  margin-bottom: 55px;
  color: #e8c39a;
  display: flex;
  justify-content: center;
}

.guess_which_img {
  background-image: url(assests/images/guess_which.PNG);
}

.muscle_mate_img {
  background-image: url(assests/images/muscle_mate.PNG);
}

.portfolio_img {
  background-image: url(assests/images/portfolio.PNG);
}

.lol_connections_img {
  background-image: url(assests/images/lol_connections.png);
}

.podcast_webapp_img {
  background-image: url(assests/images/podcast_webapp.png);
}

.concert_booking_service_img {
  background-image: url(assests/images/concert_booking_service.png);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1100px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 700px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .projects {
    padding: 80px 4vw;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .project-card {
    aspect-ratio: unset;
    min-height: 380px;
    width: 100%;
  }

  .project-image {
    flex: 0 0 160px;
  }
}

.project-card {
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.6s ease;
  border: #ffffff60 3px solid;
  display: flex;
  flex-direction: column;
  transform: translateX(-50px);
  max-height: 100%;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.project-card.visible {
  opacity: 1;
  transform: translateX(0);
}

.project-image {
  flex: 0 0 55%;
  background-size: cover;
  background-position: center;
}

.project-info {
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

.project-info::-webkit-scrollbar {
  width: 6px;
}

.project-info::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.project-info::-webkit-scrollbar-thumb {
  background: rgba(232, 195, 154, 0.4);
  border-radius: 10px;
}

.project-info::-webkit-scrollbar-thumb:hover {
  background: rgba(232, 195, 154, 0.6);
}

.project-info h3 {
  margin: 0;
  font-size: 20px;
  color: #e8c39a;
}

.project-info p {
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.4;
}

.tech-stack {
  margin-top: 0px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech {
  background-color: rgba(232, 195, 154, 0.2);
  color: #e8c39a;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  margin-top: 0px;
  margin-bottom: 6px;
}

.project-links {
  margin-top: auto;
  display: flex;
  gap: 22px;
  display: flex;
  justify-content: center;
}

.project-links a:hover {
  background-color: #e8c39a;
  color: #111;
}

.icon-button {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid rgba(232, 195, 154, 0.6);
  background-color: transparent;

  transition:
    background-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.icon-button img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.icon-button:hover {
  background-color: #e8c39a;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.icon-button:hover img {
  transform: scale(1.15);
  filter: brightness(0) saturate(100%);
}

.icon-button:active {
  transform: translateY(0);
}

/* Experience Section */
.experience {
  padding: 100px 8vw;
  background-color: transparent;
  opacity: 0;
  transform: translateX(-100px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.experience.visible {
  opacity: 1;
  transform: translateX(0);
}

.section-title-experience {
  font-size: 36px;
  margin-bottom: 55px;
  color: #e8c39a;
  display: flex;
  justify-content: center;
}

.experience-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.experience-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 28px 32px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    opacity 0.6s ease;
  opacity: 0;
  transform: translateX(-50px);
}

.experience-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.experience-item:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 195, 154, 0.4);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 12px;
}

.experience-header h3 {
  font-size: 22px;
  color: #e8c39a;
  margin: 0;
}

.experience-date {
  font-size: 14px;
  color: #a1a1aa;
  white-space: nowrap;
}

.company-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  color: #d4d4d8;
  margin: 0 0 16px 0;
  font-weight: 500;
}

.company-icon {
  width: 24px;
  height: auto;
  margin-right: 4px;
}

.guess-which-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.experience-description {
  margin: 0;
  padding-left: 20px;
  color: #e5e5e5;
}

.experience-description li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.experience-description li:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .experience {
    padding: 80px 4vw;
  }

  .experience-header {
    flex-direction: column;
    gap: 4px;
  }

  .experience-item {
    padding: 20px 24px;
  }
}

/* Skills Section */
.skills-wrapper {
  background-color: rgb(24, 24, 24);
  border-top: 5px solid #e8c39a;
  border-bottom: 5px solid #e8c39a;
}

.skills {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateX(-100px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.skills.visible {
  opacity: 1;
  transform: translateX(0);
}

.section-title-skills {
  font-size: 36px;
  margin-bottom: 5px;
  color: #e8c39a;
  display: flex;
  justify-content: center;
}

.skills-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  color: #a1a1aa;
  max-width: 600px;
  text-align: center;
}

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

.skill-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    transform 0.2s ease,
    border 0.2s ease,
    opacity 0.6s ease;
  opacity: 0;
  transform: translateX(-50px);
}

.skill-card.visible {
  opacity: 1;
  transform: translateX(0);
}

.skill-card img {
  width: 42px;
  height: auto;
}

.skill-card:nth-child(11) img,
.skill-card:nth-child(12) img {
  transform: scale(1.55);
}

.skill-card h3 {
  font-size: 1rem;
  margin: 0;
}

.skill-card p {
  margin: 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

.footer {
  /* background-color: rgb(24, 24, 24); */
  border-top: 0px solid #e8c39a;
  padding: 2.5rem 1.5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-text {
  font-size: 0.9rem;
  color: #a1a1aa;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-email {
  font-size: 0.9rem;
  color: #e8c39a;
  cursor: default;
  user-select: text;
}

.footer-links a {
  font-size: 0.9rem;
  color: #e8c39a;
  text-decoration: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}
