@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
    background-image:
      linear-gradient(
        rgba(0,0,0,.5),
        rgba(0,0,0,.5)
      ),
      url('../assets/images/Whiteroom.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: "Poppins", sans-serif;
    color: #fff;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-height: 100vh;   /* was height: 100vh */
    width: 100vw;
    overflow-x: hidden;
    background-color: #000000;
    font-size: 16px;
    line-height: 1.6;
}


.contact-info{
    min-height:100vh;
    display:flex;
    align-items:flex-start;   /* was center */
    width:100%;
}

.about-box{
    width: 100%;
    padding: 140px 50px 160px;  /* was 50px — top clears header, bottom clears scroll icon */
    margin-left:40px;  
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(4px);
    border-radius: 20px;
}


.about-box h1{
    font-size: 5rem;
    margin-bottom: 20px;
}

.about-box p{
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 650px;
}

/* ===== HEADER ===== */

header{
  z-index: 999;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 80px;
  transition: 0.5s ease;
}

header .brand{
  color: #fff;
  font-size: 1.5em;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.navigation-items {
  display: flex;
  gap: 30px;
}

.navigation-items a {
  position: relative;
  color: #fff;
  font-size: 1em;
  font-weight: 500;
  text-decoration: none;
  margin-left: 30px;
  transition: 0.3s ease;
}

.navigation-items a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #000;
  transition: 0.3s ease;
}

.navigation-items a:hover::after {
  width: 100%;
}


/* ===== MOBILE ===== */

@media (max-width:768px){

    .contact-info{
    margin-top:80px;
    padding:0 20px 100px;   /* add bottom padding */
    justify-content: center;
    align-items: flex-start;
    min-height: auto;
  }



    .about-box{
        background:none;
        backdrop-filter:none;
        padding:0;
        margin-left: 0;
        max-width: 90%;
        text-align: center;
    }

    .contact-info h1{
        font-size:2rem;
    }

    .contact-info p{
        font-size:1rem;
    }
}

/* ===== EMPHASIS ===== */
.emphasis {
  font-weight: 600;
}

.emphasis.fire {
  color: #fff;
  <!--color: #ff4d2e;-->

}

.emphasis.blue {
  color: #fff;
 <!-- color: #2e86ff;-->

}

.emphasis.brown {
  color: #fff;
  <!--color: #8b5a2b;-->

}

/* ===== MEDIA ICONS (Right Side Fixed Like Homepage) ===== */

.media-icons {
  position: fixed;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 999;
}

.media-icons a {
  color: #fff;
  font-size: 1.6em;
  margin-bottom: 20px;
  transition: 0.3s ease;
}

.media-icons a:hover {
  transform: scale(1.3);
}



  @media (max-width: 1040px){
    header{
      padding: 12px 20px;
    }

    section{
      padding: 100px 20px;
    }

    .home .media-icons{
      right: 15px;
    }

    header .navigation{
      display: none;
    }

    header .navigation.active{
      position: fixed;
      width: 100%;
      height: 100vh;
      top: 0;
      left: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      background: rgba(1, 1, 1, 0.5);
    }

    header .navigation .navigation-items a{
      color: #222;
      font-size: 1.2em;
      margin: 20px;
    }

    header .navigation .navigation-items a:before{
      background: #222;
      height: 5px;
    }

    header .navigation.active .navigation-items{
      background: #fff;
      width: 600px;
      max-width: 600px;
      margin: 20px;
      padding: 40px;
      display: flex;
      flex-direction: column;
      align-items: center;
      border-radius: 5px;
      box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
    }

    .menu-btn{
      background: url(../assets/images/menu.png)no-repeat;
      background-size: 30px;
      background-position: center;
      width: 40px;
      height: 40px;
      cursor: pointer;
      transition: 0.3s ease;
    }

    .menu-btn.active{
      z-index: 999;
      background: url(../assets/images/close.png)no-repeat;
      background-size: 25px;
      background-position: center;
      transition: 0.3s ease;
    }
  }

  @media (max-width: 560px){
    .home .content h1{
      font-size: 3em;
      line-height: 60px;
    }


    .section-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin: 24px 0;
  width: 100%;
}

.about-box p {
  margin-bottom: 0; /* dividers handle spacing now */
}

.bio-meta {
  opacity: 0.75;
  margin-bottom: 20px;
}

/* ===== SCROLL ICON (matches pricing page) ===== */
.scroll-toggle {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  -webkit-transform: translateX(-50%) translateZ(0);
  will-change: transform;
  z-index: 998;
}

.scroll-icon {
  width: 50px;
  height: auto;
  cursor: pointer;
}

.scroll-icon:hover {
  transform: translateY(-4px);
  opacity: 0.7;
}

@media (max-width: 768px) {
  .section-divider {
    margin: 18px 0;
  }
}

    
.bio-photo {
  width: 200px;        /* adjust to whatever size you want */
  max-width: 100%;
  height: auto;
  border-radius: 8px;  /* optional, if you want rounded corners */
  display: block;
  margin: 0 auto 20px;  /* centers it, adds spacing below */
}

@media (max-width: 768px) {
  .bio-photo {
    float: none;
    display: block;
    width: 140px;
    margin: 0 auto 30px;
  }
}



/* ===== PAGE TRANSITION ===== */
.page-transition{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 99999;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.page-transition.fade-in{
    opacity: 0;
}

.page-transition.fade-out{
    opacity: 1;
    pointer-events: all;
}
