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

* {
    margin: 0;
    padding: 0;

}
html{
    scroll-behavior: smooth;
}
body{
  font-family: 'Poppins',sans-serif;
}
p{
    color: rgb(85, 85, 85);
}

/* TRANSITION*/

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

/* NAVIGATION*/

nav, .nav-links{
    display: flex;
}

nav{
    justify-content: space-around;
    align-items: center;
    height: 17vb;
}
.nav-links{
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}

a{
    color: black;
    text-decoration: none;
    text-decoration-color: white;
}
a:hover{
    color: grey;
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: rgb(181, 181, 181);
}

.logo{
    font-size: 2rem;
}
.logo:hover{
    cursor: default;
}
/* HAMBURGER MENU*/

#hamburger-nav{
    display: none;
}
.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.3 ease-in-out;
}

.menu-links{
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
}

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

.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);
}
.hamburger-icon span:first-child{
    transform: none;
}.hamburger-icon span:first-child{
   opacity: 1;
}
.hamburger-icon span:first-child{
    transform: none;
}

/*SECTIONS*/
section{
    padding-top: 4vh;
    padding-bottom: 4vh;
    min-height: 96vh;
    margin: 0 10rem;
    box-sizing: border-box;
}
.section-container
{
    display: flex;
}
/*PROFILE SECTION*/
#profile{
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 80vh;
}
.section_pic-container{
    display: flex;
    height: 400px;
    width: 400px;
    margin: auto 0;

}
img{
    
    border-radius: 50%;
    object-fit: cover;

}

#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;
    font-weight: 500;
    margin-bottom: 1rem;
    margin-left: 2rem;
}

.title{
    font-size: 3rem;
    text-align: center;
}
#socials-container{
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
}
.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: rgb(53, 53, 53);
    color: white;
  }
  
  .btn-color-1:hover {
    background: rgb(0, 0, 0);
  }
  
  .btn-color-2 {
    background: none;
    color:  rgb(0, 0, 0);
  }
  
  .btn-color-2:hover {
    border: rgb(255, 255, 255) 0.1rem solid;
  }
  
  .btn-container {
    gap: 1rem;
  }

  /*ABOUT SECTION*/

  #about {
    position: relative;
  }
  
  .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;
  }
  
  .about-pic {
    border-radius: 2rem;
  }
  
  .arrow {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
  }
  
  .details-container {
    padding: 1.5rem;
    flex: 1;
    background: white;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    text-align: center;
  }
  
  .section-container {
    gap: 4rem;
    align-items: center;
  }
  
  .section__pic-container {
    height: 400px;
    width: 400px;
    margin: auto 0;
  }
  

  /*EXPERIENCE SECTION*/

  #experience {
    position: relative;
  }
  
  .experience-sub-title {
    color: rgb(85, 85, 85);
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }
  
  .experience-details-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  
  .article-container {
    display: flex;
    text-align: initial;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: space-around;
  }
  
  article {
    display: flex;
    width: 10rem;
    justify-content: space-around;
    gap: 0.5rem;
  }
  
  article .icon {
    cursor: default;
  }

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.reveal-left {
  transform: translateX(-48px);
}
.reveal.reveal-right {
  transform: translateX(48px);
}
.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* PRIVATE REPO MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-card {
  background: white;
  border-radius: 1.75rem;
  padding: 2.75rem 3rem;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.18);
  transform: translateY(28px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}
.modal-lock {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  display: block;
}
.modal-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: rgb(30, 30, 30);
  margin-bottom: 0.6rem;
}
.modal-card p {
  color: rgb(100, 100, 100);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.modal-close-btn {
  padding: 0.75rem 2.75rem;
  border-radius: 2rem;
  border: none;
  background: rgb(30, 30, 30);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.modal-close-btn:hover {
  background: black;
  transform: scale(1.04);
}



#projects {
  position: relative;
}

#projects .about-containers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.color-container {
  border-color: rgb(220, 220, 220);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.color-container:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.13);
}

.project-img-wrapper {
  width: 100%;
  height: 180px;
  border-radius: 1.25rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 0;
  display: block;
  transition: transform 0.5s ease;
}

.color-container:hover .project-img {
  transform: scale(1.06);
}

.project-title {
  margin: 1rem;
  color: black;
}

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

/* PROJECT IMAGE CLICKABLE */
.project-img-wrapper {
  cursor: pointer;
  position: relative;
}
.project-img-wrapper::after {
  content: '🖼 View Gallery';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.project-img-wrapper:hover::after {
  opacity: 1;
}

/* LIGHTBOX */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-header {
  width: 90%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.lightbox-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.lightbox-counter {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.lightbox-close {
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.25);
}
.lightbox-stage {
  position: relative;
  width: 90%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.lightbox-img {
  max-width: calc(100% - 8rem);
  max-height: 70vh;
  border-radius: 1.25rem;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.lightbox-img.switching {
  opacity: 0;
  transform: scale(0.96);
}
.lightbox-nav {
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.28);
  transform: scale(1.1);
}
.lightbox-nav:disabled {
  opacity: 0.25;
  cursor: default;
  transform: none;
}
.lightbox-thumbnails {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
  overflow-x: auto;
  max-width: 90%;
  padding-bottom: 0.3rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.lightbox-thumb {
  width: 68px;
  height: 46px;
  object-fit: cover;
  border-radius: 0.5rem;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.lightbox-thumb.active,
.lightbox-thumb:hover {
  opacity: 1;
  border-color: white;
}

/* CONTACT */

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
}

.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: (250, 250, 250);
  margin: 2rem auto;
  padding: 0.5rem;
}

.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;
}

.email-icon {
  height: 2.5rem;
}

/* FOOTER SECTION */

footer {
  height: 26vh;
  margin: 0 1rem;
}

footer p {
  text-align: center;
}
  