@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: black;
}
html {
  scroll-behavior: smooth;
}

/* ------------------- Navbar munu -------------------- */

nav {
  position: sticky;
  top: 50px;
}
.NavBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgb(33, 33, 33);
  padding: 16px 20px;
  border-radius: 100px;
  margin: 0 100px;
  z-index: 2;
}
.menu-bar {
  display: none;
  color: white;
}
.menu-bar::before {
  content: "☰";
  font-size: 20px;
}

.menu-bar.active::before {
  content: "✕";
}
.menu-links {
  display: flex;
}
.menu-links ul {
  display: none;
}

.menu-links ul.open {
  display: flex;
}

ul {
  display: flex;
  padding: 8px 16px;
  justify-content: space-between;
  align-items: center;
  width: 360px;
  font-family: "Fredoka", sans-serif;
  letter-spacing: 0.3px;
  font-size: 14px;
}
.menu-links li {
  list-style: none;
}
.menu-links a {
  text-decoration: none;
  color: #3bc1a8;
  transition: color 0.3s ease;
}
.menu-links a:hover {
  color: white;
}
.primary-btn {
  background-color: yellow;
  padding: 8px 32px;
  border-radius: 60px;
}
.primary-btn a {
  font-family: "Fredoka", sans-serif;
  font-size: 14px;
  text-decoration: none;
  color: black;
}
/* ------------------- resposive Tablet -------------------- */
@media (min-width: 501px) and (max-width: 1080px) {
  .NavBar {
    margin: 0 50px;
    padding: 16px 20px;
  }
  .menu-bar {
    display: flex;
    color: white;
    padding: 8px 16px;
  }
  .menu-links {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgb(33, 33, 33);
    position: absolute;
    top: 80px;
    left: 0;
    border-radius: 10px;
  }
  .menu-links li {
    padding: 12px 0;
    width: 100%;
  }
}

/* ------------------- resposive mobile -------------------- */

@media (min-width: 320px) and (max-width: 500px) {
  nav {
    position: sticky;
    top: 30px;
  }
  .NavBar {
    margin: 0 20px;
    padding: 10px 10px;
  }
  .menu-bar {
    display: flex;
    color: white;
    padding: 8px 16px;
  }
  .menu-links {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgb(33, 33, 33);
    position: absolute;
    top: 70px;
    left: 0;
    border-radius: 10px;
  }
  .menu-links li {
    padding: 12px 0;
    width: 100%;
  }
}

/* Force desktop menu visible */
@media (min-width: 1080px) {
  .menu-links ul {
    display: flex !important;
    position: static;
    flex-direction: row;
  }
}

/* ===========================  About Page =========================== */

.main-container {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 100px;
}
.left {
  width: auto;
  margin: 50px 0;
  padding-right: 30px;
}
.right {
  width: auto;
}
.right img {
  width: 450px;
  height: auto;
  border-radius: 20px;
}

.left h1 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  line-height: 38px;
  font-weight: 300;
  color: white;
  padding-bottom: 40px;
}
.left p {
  color: #959696;
  font-family: "Fredoka", sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 300;
}

/* ---------- Tablet resposive ---------- */

@media (min-width: 501px) and (max-width: 1080px) {
  .main-container {
    flex-direction: column;
    align-items: flex-start;
    margin: 50px;
  }
  .right img {
    width: 250px;
  }
  .left h1 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    line-height: 24px;
    padding-bottom: 20px;
  }
  .left p {
    font-family: "Fredoka", sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
  }
}

/* ---------- Mobile resposive ---------- */

@media (min-width: 320px) and (max-width: 500px) {
  .main-container {
    flex-direction: column;
    align-items: flex-start;
    margin: 60px 20px;
  }
  .right img {
    width: 200px;
  }

  .left h1 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    line-height: 24px;
    padding-bottom: 20px;
  }
  .left p {
    font-family: "Fredoka", sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
  }
}

/* ---------- Experience section ---------- */

.experience-container {
  height: auto;
  padding: 50px 100px;
}
.experience-container h1 {
  padding: 30px 0;
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 300;
  color: white;
}

.work-item-container {
  display: flex;
  padding: 20px 0;
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
}

.work-item-container.reveal {
  transform: translateX(-40px);
}

.work-item-container.reveal.show {
  transform: translateX(0);
}

.work-item-container p {
  font-family: "Fredoka", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 26px;
  color: #959696;
}
.dates {
  display: flex;
}
.dates h3 {
  width: 200px;
  font-family: "Fredoka", sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: #959696;
}

.dates p {
  width: 350px;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 300;
  color: white;
}

/* ---------- Tablet resposive ---------- */

@media (min-width: 501px) and (max-width: 1080px) {
  .experience-container {
    height: auto;
    padding: 50px;
  }
  .experience-container h1 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 300;
  }
  .work-item-container p {
    font-size: 18px;
    line-height: 24px;
    font-weight: 300;
  }
  .work-item-container {
    display: flex;
  }
  .dates {
    display: flex;
    flex-direction: column;
  }
  .dates h3 {
    font-weight: 400;
    font-size: 18px;
    width: 140px;
    padding-bottom: 10px;
  }
  .dates p {
    font-size: 18px;
    width: 270px;
  }
}

/* ---------- Mobile resposive ---------- */

@media (min-width: 320px) and (max-width: 500px) {
  .experience-container {
    height: auto;
    padding: 0 20px;
  }
  .experience-container h1 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    line-height: 24px;
    font-weight: 300;
    padding: 16px 0;
  }
  .work-item-container p {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
  }
  .work-item-container {
    display: flex;
    flex-direction: column;
  }
  .dates {
    display: flex;
    flex-direction: column;
  }
  .dates h3 {
    font-weight: 400;
    font-size: 16px;
    width: 140px;
    padding-bottom: 10px;
  }
  .dates p {
    font-size: 16px;
    width: 270px;
    padding-bottom: 16px;
  }
}

/* ------------------- Footer -------------------- */

.footer {
  height: auto;
  padding-bottom: 100px;
  background-color: rgb(33, 33, 33);
}
.Footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 100px;
  padding-top: 50px;
  position: relative;
}
.footer-item {
  display: flex;
  flex-direction: column;
}
.email {
  padding-bottom: 30px;
}
.footer-item p {
  font-family: "Fredoka", sans-serif;
  font-size: 16px;
  color: #3bc1a8;
  font-weight: 400;
  margin-bottom: 10px;
}
.footer-item h4 {
  font-family: "Playfair Display", serif;
  font-size: 14px;
  color: white;
  font-weight: 400;
  margin-bottom: 10px;
}
.footer-item a {
  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-size: 16px;
  color: white;
  font-weight: 400;
  margin-bottom: 10px;
  pointer-events: auto;
}
.footer-item a:hover {
  color: white;
  text-decoration: underline;
}

/* ---------- Tablet resposive ---------- */

@media (min-width: 501px) and (max-width: 1080px) {
  .footer {
    padding-bottom: 70px;
  }
  .Footer-container {
    margin: 0 50px;
  }
}
/* ---------- Mobile resposive ---------- */

@media (min-width: 320px) and (max-width: 500px) {
  .footer {
    padding-bottom: 10px;
  }
  .Footer-container {
    display: flex;
    flex-direction: column;
    margin: 0px 20px;
  }
  .footer-item {
    padding-bottom: 30px;
  }
  .footer-item p {
    font-size: 12px;
  }
  .footer-item h4 {
    font-size: 14px;
  }
  .footer-item a {
    font-size: 14px;
  }
}

/* ================= Scroll Reveal Animation ================= */

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* stagger support */
.reveal.delay-1 {
  transition-delay: 0.1s;
}
.reveal.delay-2 {
  transition-delay: 0.2s;
}
.reveal.delay-3 {
  transition-delay: 0.3s;
}
.reveal.delay-4 {
  transition-delay: 0.4s;
}
