* {
   box-sizing: border-box;
   margin: 0;
   padding: 0;
   font-family: 'League Spartan', sans-serif;
}

.navbar {
   background: black;
   height: 80px;
   display: flex;
   justify-content: center;
   align-items: center;
   font-size: 1.2rem;
   position: sticky;
   top: 0;
   z-index: 999;
}

.navbar__container {
   display: flex;
   align-items: center;
   height: 80px;
   width: 100%;
   padding-right: 40px;
}

#navbar__logo {
   margin-right: auto;
   padding-left: 10px;
   cursor: pointer;
}

#navbar__logo img {
   padding-top: 10px;
   height: 80px;
   width: auto;
}

.navbar__menu {
   display: flex;
   align-items: center;
   list-style: none;
   text-align: center;
}

.navbar__item {
   height: 80px;
   width: auto;
}

.navbar__links {
   color: #fff;
   display: flex;
   align-items: center;
   justify-content: center;
   text-decoration: none;
   padding: 0 1rem;
   height: 100%;
   position: relative;
}

.navbar__links::after {
   content: '';
   position: absolute;
   bottom: 10px;
   left: 50%;
   width: 0;
   height: 2px;
   background: #fff;
   transition: all 0.3s ease;
   transform: translateX(-50%);
}

.navbar__links:hover::after {
   width: 60%;
}

 .navbar__links:hover {
  animation: glitch-text 0.4s steps(2);
}

@keyframes glitch-text {
  0% { text-shadow: 2px 0 black, -2px 0 white; }
  50% { text-shadow: -2px 0 black, 2px 0 white; }
  100% { text-shadow: none; }
}

@media screen and (max-width:960px) {
   .navbar__container {
      display: flex;
      justify-content: space-between;
      height: 80px;
      z-index: 1;
      width: 100%;
      max-width: 1300px;
      padding: 0;
   }

   .navbar__menu {
      display: grid;
      grid-template-columns: auto;
      margin: 0;
      width: 100%;
      position: absolute;
      top: -1000px;
      opacity: 1;
      transition: all 0.5s ease;
      height: 50vh;
      z-index: -1;
      background: black;
   }

   .navbar__menu.active {
      background: black;
      top: 100%;
      opacity: 1;
      transition: all 0.5s ease;
      z-index: 99;
      height: 50vh;
      font-size: 1.6rem;
      padding: 0 0 25rem;
   }

   .navbar__toggle .bar {
      width: 25px;
      height: 3px;
      margin: 5px auto;
      transition: all 0.3s ease-in-out;
      background: #fff
   }

   .navbar__item {
      width: 100%;
   }

   .navbar__links {
      text-align: center;
      padding: 2rem;
      width: 100%;
      display: table;
   }

   #mobile-menu {
      position: absolute;
      top: 20%;
      right: 5%;
      transform: translate(5%, 20%);
   }

   .navbar__toggle .bar {
      display: block;
      cursor: pointer;
   }

   #mobile-menu.is-active .bar:nth-child(2) {
      opacity: 0;
   }

   #mobile-menu.is-active .bar:nth-child(1) {
      transform: translateX(8px) rotate(45deg)
   }

   #mobile-menu.is-active .bar:nth-child(1) {
      transform: translateY(-8px) rotate(-45deg)
   }
}

/*Branding Section */
.branding {
   background-color: black;
   display: grid;
   grid-template-columns: 1fr 0.5fr 1fr;
   height: 65vh;
   min-height: 65vh;
   padding: 0 7.9rem;
   position: relative;
}

.words {
   color: #fff;
   padding-bottom: 5px;
}

.brand__left {
   display: flex;
   color: #fff;
   font-size: 2.55rem;
   padding-bottom: 0rem;
   align-items: center;
   justify-content: center;
   

}

.brand__right {
   color: #fff;
   font-size: 3rem;
   display: flex;
   justify-content: center;
   align-items: center;

}

.brand__center{
   position: relative;
   display: grid;
   place-items: center;
   width: 350px;
   height: 350px;
   animation: glitch 4.8s infinite steps(1);
   transform: translateX(-30px);
   margin-top: 100px;
   z-index: 1;
}


#main-logo{
   width: 100%;
   height: 100%;
   object-fit: cover;
}
@keyframes glitch {
   0%,56% { background: url('/images/inverted_logo.png'); background-size: cover; }
   50% { background: url('/images/glitch1.png'); background-size: cover; }
   52.5% { background: url('/images/glitch2.png'); background-size: cover; }
   55% { background: url('/images/glitch3.png'); background-size: cover; }
   
}

.name {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  gap: 0.3rem;
  position: relative;
  z-index: 2;
  color: white;
  font-size: 3rem;
  font-weight: 600;
}



.by-andre,
.lee-joe {
  white-space: nowrap;
  display: inline-block;
}

.brand__right {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 50px;
}

.brand__left,
.brand__right{
  overflow: hidden;
}

@media screen and (max-width: 1200px) {
.brand__left,
.brand__right{
  overflow: visible;
}

  .by-andre,
  .lee-joe {
    white-space: normal;   /* allow wrapping */
    font-size: 3.2rem;
  }

  .brand__left,
  .brand__right {
    font-size: 3rem;     /* slightly smaller for tablet */
  }

  .frame-stack {
  position: absolute;
  pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    width: 300px;
    height: 380px;
    left: 60%;
    top: 42%;
    right: auto;
    transform: translate(-50%, -50%);
  
}
}
/* About section*/
.about {
   background-color: black;
   display: grid;
   grid-template-columns: 1fr 1fr;
   position: relative;
   gap: 2rem;
}


.about::before {
    content: "";
    position: absolute;
    top: 0%;
    bottom: 0%;
    left: 50.5%;           
    width: 2px;          
    background-color: white; 
}
.frame-stack {
  position: absolute;
  right: 8%;
  top: 50%;
  width: 460px;
  height: 460px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.frame-stack span {
  position: absolute;
  inset: 0;
  border: 2px solid #1affc6;
  opacity: 0.4;
}

.frame-stack span:nth-child(1) { transform: translate(0, 0); }
.frame-stack span:nth-child(2) { transform: translate(20px, 20px); }
.frame-stack span:nth-child(3) { transform: translate(40px, 40px); }
.frame-stack span:nth-child(4) { transform: translate(60px, 60px); }


.about__left {
   color: #fff;
   font-size: 1.5rem;
   text-align: center;
   justify-content: center;
   padding-left: 9rem;
   margin-right: 8%;
}
.about__right{
   margin: -100px;
   display: flex;
   justify-content: center;
   align-items: center;
}

#headshot {
   width: 55% ;
   height: auto;
   position: relative;
   z-index: 2;
}

.youtube{
   background: black;
   padding: 6rem 4rem;
   color: white;
}
.youtube__title{
   text-align: center;
   font-size: 3rem;
   margin-bottom: 4rem;
}

.youtube__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 3.5rem 4rem;
  max-width: 1000px;
  margin: 0 auto;
}
.youtube__card {
  position: relative;
  max-width: 420px;
}
.youtube__card:nth-child(even) {
  transform: translateY(60px);
}


@media screen and (max-width:968px){
.youtube__grid{
   display:grid;
   grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
   gap: 3rem 0;
   max-width: 0px;
   transform: none;
   height: 180vh;
   min-height: 180vh;

  
}
@media screen and (max-width: 968px) {

  .youtube__grid {
    grid-template-columns: 1fr;   /* one column */

    max-width: 100%;
  }

  .youtube__card:nth-child(even) {
    transform: none;   /* remove stagger on mobile */
  }
  .youtube__grid {
    grid-template-columns: 1fr;
    gap: 1rem; /* smaller vertical spacing */
  }

  .youtube__card:nth-child(even) {
    transform: none; /* remove stagger */
  }
  .youtube__card:nth-child(even) {
  transform: translateY(-60px);
}
}


}


.youtube__card{
   position: relative;
   cursor: pointer;
   text-decoration: none;
   color:white;
   height: 40vh;
}
.youtube__thumb{
   position: relative;
   width: 100%;
   aspect-ratio: 16/9;
   background-size: cover;
   background-position: center;
   overflow: hidden;
}


.youtube__thumb {
  position: relative;
  overflow: hidden;
}

/* Base electric frame */
.youtube__thumb::before,
.youtube__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
}

/* Sharp electric outline */
.youtube__thumb::before {
  border: 2px solid #1affc6;
  filter: drop-shadow(0 0 6px #1affc6);
}

/* Blurred glow layer */
.youtube__thumb::after {
  border: 2px solid #1affc6;
  filter: blur(6px);
  opacity: 0.6;
}

/* Hover activation */
.youtube__card:hover .youtube__thumb::before,
.youtube__card:hover .youtube__thumb::after {
  opacity: 1;
  animation: electric-jitter 0.35s infinite steps(2);
}

/* Electric movement */
@keyframes electric-jitter {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(2px, -1px); }
  40%  { transform: translate(-2px, 1px); }
  60%  { transform: translate(1px, 2px); }
  80%  { transform: translate(-1px, -2px); }
  100% { transform: translate(0, 0); }
}
.youtube__thumb {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  transition: transform 0.35s ease;
}

.youtube__card:hover .youtube__thumb {
  transform: scale(1.03);
}

.youtube__title-text {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  line-height: 1.4;
  max-width: 90%;
  transition: opacity 0.3s ease, transform 0.3s ease;
}


@media screen and (max-width:960px) {

   .name {
  display: flex;
  flex-direction: column;
  align-items: center; 
  gap: 0.3rem;
}

.brand__center{
   position: relative;
   display: grid;
   place-items: center;
   background: url('/images/tran_logo.png');
   animation: glitch 5s infinite steps(1);
   transform: translatex(-30px);
   margin: 0;
   width: 15rem;
   height: 15rem;

}
   .branding {
      background-color: black;
      display: grid;
      grid-auto-rows: min-content;
      grid-template-columns: 1fr;
      gap: 0rem;
      justify-items: center;
      padding-top: 3rem;
      height: 90vh;
      min-height: 90vh;
   }

   .brand__left {
      text-align: center;
      font-size: 3rem;
   }

   .brand__right {
      text-align: center;
      font-size: 3rem;
      justify-content: center;
   }

  
      .brand__right{
         font-size: 1.5rem;
      }
  

      .branding{
         padding:0rem;    
         height: 67vh;
         min-height: 67vh;
      
  .brand__left,
  .brand__right {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    margin-left: 0px;
  }
  



  .name {
    align-items: center;
  }
}


   h1,
   h2 {
      margin: 0;
   }

   #main-logo {
      width: 300px;
      height: auto;
   }


   .about__left {
      font-size: 1rem;
      padding-left: 2rem;
      padding-top: 2rem;
      margin-right: 0;
   }



   .about__right {
      padding-top: 1rem;
      margin: 0;
   }

   #headshot {
      height: 110%;
      width: 110%;
   }

.frame-stack {
  position: absolute;
  pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    width: 320px;
    height: 380px;
    left: 34%;
    top: 35%;
    right: auto;
    transform: translate(-50%, -50%);
  
}

.frame-stack span:nth-child(1) { transform: translate(0, 0); }
.frame-stack span:nth-child(2) { transform: translate(20px, 20px); }
.frame-stack span:nth-child(3) { transform: translate(40px, 40px); }
.frame-stack span:nth-child(4) { transform: translate(60px, 60px); }

  .name,
  .brand__left {
    position: relative;
    z-index: 2;
  }

#headshot {
   width: 110% ;
   height: auto;
   padding-left: 1rem;
}

   .about {
      position: relative;
   }

   .about::before {
      content: "";
      position: absolute;
      left: 60%;
      top: 10%;
      height: 80%;
      width: 2px;
      background-color: white;
   }



}
/* Footer */
.footer__container{
   background-color: black;
   padding: 4rem 0;
   display: flex;
   flex-direction: column;
   align-items: center;
}

.footer__links{
   width: 100%;
   max-width: 1000px;
   display: flex;
   justify-content: center;
}

.footer__link--wrapper{
   display: flex;
}

.footer__link--items{
   display: flex;
   flex-direction: column;
   margin: 16px;
   width: 160px;
 
}

.footer__link--items h2{
   color: #fff;
   margin-bottom: 16px;
}

.footer__link--items a{
   color: #fff;
   text-decoration: none;
   margin-bottom: 0.5rem;
}

.footer__link a {
   color: #fff;
   display: flex;
   align-items: center;
   justify-content: center;
   text-decoration: none;
   padding: 0 1rem;
   height: 100%;
}

.footer__link a {
   position: relative;
}

.footer__link--items a {
  position: relative;
  color: #fff;
  text-decoration: none;
  width: fit-content;
  margin-bottom: 0.5rem;
}

/* underline */
.footer__link--items a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #fff;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

/* hover */
.footer__link--items a:hover::after {
  width: 100%;
}
/* Bottom row */
.social__media{
   width: 100%;
   max-width: 1000px;
}

.social__media--wrap{
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-top: 40px;
   gap: 40px;
}

/* Logo */
.footer__logo{
   display: flex;
   align-items: center;
   gap: 10px;
   color: #fff;
   text-decoration: none;
   font-size: 2rem;
}

.footer__logo img{
   width: 50px;
   height: auto;
}

/* Copyright */
.website__right{
   color: #fff;
   font-size: 0.9rem;
   white-space: nowrap;
}

/* Icons */
.social__icons{
   display: flex;
   gap: 16px;
}
.social__icons img{
   transition: transform 0.25s ease, opacity 0.25s ease;
}

.social__icons a:hover img{
   transform: scale(1.15);
   opacity: 0.85;
}

.social__icons img{
   width: 40px;
   height: 40px;
}

/* Mobile */
@media screen and (max-width: 820px){
   .social__media--wrap{
      flex-direction: column;
      text-align: center;
   }
}
