
*{
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  font-size: 16px;
  letter-spacing: 1px;
}

html, body {
  height: 100vh;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  background-color: var(--background-color-2);
  scroll-behavior: smooth;
}


.hero-container{
    background-color: rgb(0, 0, 0);
    height: auto;
}

.hero-container-content{
    width: 100%;
    max-width: 1500px;
    padding: 50px;
    margin: 0px auto;
    display: flex;
}


.hero-text{
  height: 100%;
  width: 40%;
  display: flex;
  flex-direction: column;

  padding: 40px;
  position: relative; /* needed for child absolute element */
  z-index: 2;
  gap: 50px;

  transform: translateX(-150%);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}

.hero-text.show{
   transform: translateX(0);
   opacity: 1;
}


.hero-image{
  position: relative;
  z-index: 1;
  width: 60%;
  padding: 40px;
  height: auto;

  transform: translateX(100%);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}

.hero-image.show{
   transform: translateX(0);
   opacity: 1;
}

.hero-image img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 40px;
}






.hero-heading{
  color: var(--text-color-1);
  font-family: var(--font-heading);
  letter-spacing: 1px;
  font-weight: 400;
  font-size: var(--font-xxl);
  position: static;
  z-index: 3;
}


.grand-word{
    position: absolute;
    z-index: 3;
    top: 190px;
    right: -250px;
    font-size: var(--font-xxl);
}


.hero-text p{
    margin-top: 100px;
    font-family: var(--font-body);
    font-size: var(--font-sm);
    font-weight: 100;
    color: white;
    line-height: 2;
}

.buttons{
  width: 100%;
  align-self: flex-start;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 760px;
}

.reusable-btn{
    flex: 1 1 700px;
    width: auto;
    letter-spacing: 1px;
    padding: 10px 15px;     /* same size for all */
    background-color: var(--background-color-2);

    font-family: var(--font-body);
    color: var(--text-color-3);
    font-size: var(--font-xsm);
    font-weight: 100;
    text-align: center;

    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;           /* ✅ keeps width consistent even if text differs */

    gap: 5px;
    justify-content: center;
    border: solid 0.5px;
    border-color: var(--button-color-3);

}

.reusable-btn:hover{
  color: var(--text-color-2);
  text-decoration: underline;
  background-color: var(--background-color-3);
  border: none;
}









@media (max-width: 768px) {

  .hero-container{
    height: auto;
    width: 100vw;
  }

  .hero-container-content{
    height: 100%;
    width: 100%;
    padding: 0px;
    margin: 0px;
    position: relative;
  }

  .hero-text{
    height: auto;
    width: 100%;
    margin: 0 auto;
    margin-top: 70px;
    text-align: center;
    gap: 30px;

    display: flex;
    flex-direction: column;
  }


  .hero-heading{
    font-size: var(--font-xxl-mobile);
  
  }

  .grand-word {
    display: block;     /* force it to a new line */
    position: static;   /* remove absolute positioning */
    margin: 0;          /* reset offsets */
  }

  .hero-text p{
    margin: 0px;
    font-size: var(--font-sm-mobile);
  }

  .buttons{
  }

  .reusable-btn{
    background-color: transparent;
    font-size: var(--font-xsm-mobile);
  }


  .hero-image{
    height: 100%;
    width: 100%;
    padding: 0;
    position: absolute;

    transform: translateX(0%);
    opacity: 1;
  }

  .hero-image img{
    border-radius: 0px;
      filter: brightness(50%); /* adjust % to control darkness */
  }



}

























/* SECTION WRAPPER BG */
.experience-wrapper{
  background-color: var(--background-color-2);
}

/** SECTION (EXPERIENCE) **/
.experience-section{
  width: 100%;
  max-width: 1200px;
  height: auto;
  padding: 60px 80px;
  margin: 0px auto;

}
.experience-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  grid-template-rows: 0.1fr 0.4fr 0.4fr;
  gap: 2rem;
  grid-template-areas: 
  "header header"
  "portrait image-1"
  "portrait image-2";

}

.header    { grid-area: header; }
.portrait  { grid-area: portrait; }
.image-1   { grid-area: image-1; }
.image-2   { grid-area: image-2; }

.header{
  font-size: var(--font-xl);
  font-family: var(--font-heading);
  color: var(--text-color-1);
}

.experience-image{
  position: relative;
  overflow: hidden;
}

/* image */
.experience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  position: relative;
  z-index: 0; /* ← just this line is what you needed */
}

/* overlay */
.experience-image .overlay {
  position: absolute;
  inset: 0;
  background:rgba(0, 0, 0, 0.2); /* Light by default */
  z-index: 1;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.experience-image:hover .overlay {
  background:rgba(0, 0, 0, 0.5); /* Darker on hover */
  cursor: pointer;
}



.info-div{
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1rem;
  margin: 10px 0px;
  width: 100%;
  box-sizing: border-box;
  color: rgb(255, 255, 255);
  z-index: 2;
}

.info-div h2{
  font-size: 2rem;
  font-family: var(--font-heading);
}

.info-div p{
  font-size: 1rem;
  font-family: var(--font-body);
  opacity: 0.8;
}

.experience-image {
  border-radius: 16px;

}


/* circle arrow inside the image */
.circle-arrow{
  position: absolute;
  height: 50px;
  width: 50px;
  background-color: white;
  z-index: 2;
  top: 3%;
  right: 5%;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}








