@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root{
  --g:#f2b400;
  --line:#242424;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:#030303;
  color:#f5f5f5;
  font-family:Inter,Arial,sans-serif;
}

a{
  color:inherit;
  text-decoration:none;
}


/* ================================
   HEADER
================================ */

header{
  height:76px;
  position:fixed;
  z-index:20;
  top:0;
  width:100%;
  background:#030303ef;
  border-bottom:1px solid #181818;
  padding:0 5vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

header img{
  width:65px;
  height:54px;
  object-fit:contain;
}

nav{
  display:flex;
  gap:25px;
  align-items:center;
}

nav a{
  font-size:10px;
  text-transform:uppercase;
  font-weight:700;
}

.course{
  border:1px solid #705400;
  padding:10px 15px;
  color:var(--g);
}

#menu{
  display:none;
  background:transparent;
  border:0;
  color:white;
  font-size:23px;
}


/* ================================
   HERO
================================ */

.hero{
  height:700px;
  min-height:600px;
  display:grid;
  place-items:center;
  text-align:center;
  position:relative;
  overflow:hidden;
}

.heroBg{
  position:absolute;
  inset:0;
  background:url('../images/hero.png') center/cover;
  filter:blur(6px) brightness(.58) saturate(.75);
  transform:scale(1.055);
}

.shade{
  position:absolute;
  inset:0;
  background:linear-gradient(
    #000a,
    #0005 45%,
    #030303
  );
}

.heroText{
  z-index:2;
}

.heroText>img{
  width:230px;
}

.hero h1{
  font-size:clamp(22px,3vw,43px);
}

.hero h1 b,
small{
  color:var(--g);
}

.hero p{
  color:#ccc;
}


/* ================================
   BUTTONS
================================ */

.btn{
  display:inline-block;
  margin:15px 4px 0;
  background:var(--g);
  color:#050505;
  padding:14px 22px;
  font-size:10px;
  font-weight:800;
}

.outline{
  background:#050505aa;
  color:white;
  border:1px solid #765900;
}


/* ================================
   GENERAL SECTIONS
================================ */

section{
  padding:95px 6vw;
}

.dark{
  background:#080808;
}

.center{
  text-align:center;
}

.head{
  text-align:center;
  max-width:720px;
  margin:0 auto 40px;
}

.head small,
.start small{
  letter-spacing:2px;
  font-size:9px;
  font-weight:800;
}

.head h2,
.start h2{
  font-size:clamp(30px,4vw,48px);
  margin:7px;
}

.head p,
.start p{
  color:#999;
}


/* ================================
   SERVICES
================================ */

.services{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.services article{
  border:1px solid var(--line);
  background:#070707;
  padding-bottom:20px;
  overflow:hidden;
}

.services article>img{
  width:100%;
  height:220px;
  object-fit:cover;
}

.services h3,
.services p{
  margin-left:20px;
  margin-right:20px;
}

.services p{
  color:#999;
  font-size:12px;
  line-height:1.6;
}


/* ================================
   WORKED WITH
================================ */

.worked{
  max-width:1100px;
  margin:5px auto 70px;
  text-align:center;
  padding:24px 0 30px;
  border-top:1px solid #1d1d1d;
  border-bottom:1px solid #1d1d1d;
}

.worked>small{
  letter-spacing:2.5px;
  font-size:9px;
  font-weight:800;
  color:var(--g);
}

.client-strip{
  display:grid;
  grid-template-columns:repeat(9,1fr);
  gap:14px;
  margin-top:22px;
}

.client{
  aspect-ratio:1;
  border:1px solid #292929;
  border-radius:7px;
  overflow:hidden;
  background:#111;
}

.client img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:grayscale(45%) brightness(.8);
  transition:.25s;
}

.client:hover img{
  filter:grayscale(0) brightness(1);
  transform:scale(1.05);
}


/* ================================
   OUR WORKS / YOUTUBE
================================ */

.works-head{
  margin-bottom:28px;
}

.video-showcase{
  max-width:1100px;
  margin:auto;
}

.video-showcase .ytPlayer{
  padding:0;
  margin-bottom:18px;
}

.ytPlayer iframe,
.video-showcase .ytPlayer iframe{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  border:1px solid #242424;
  background:#000;
}

.thumb-list{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
}

.yt-thumb{
  padding:0;
  border:1px solid #292929;
  background:#080808;
  cursor:pointer;
  aspect-ratio:16/9;
  overflow:hidden;
  position:relative;
}

.yt-thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  opacity:.7;
  transition:.2s;
}

.yt-thumb:hover img,
.yt-thumb.active img{
  opacity:1;
}

.yt-thumb.active{
  border:2px solid var(--g);
}

.yt-thumb.empty{
  cursor:default;
  display:grid;
  place-items:center;
  color:#555;
  font-size:8px;
  letter-spacing:1.5px;
}

#ytList button.disabled{
  opacity:.42;
  cursor:default;
}


/* ================================
   INSIDE EQ STUDIO GALLERY

   IMPORTANT:
   object-fit:contain means the
   COMPLETE photo is always shown.

   Empty space becomes BLACK.
================================ */

.modern-slider{
  max-width:1100px;
  margin:auto;
  position:relative;
}

.slide-frame{
  width:100%;
  height:520px;

  /* Black empty area */
  background:#000;

  overflow:hidden;
  border:1px solid #292929;
  position:relative;
  box-shadow:0 25px 70px #000;
}


/* MAIN GALLERY IMAGE */

.slide-frame>img{
  display:block;

  width:100%;
  height:100%;

  /*
  VERY IMPORTANT:
  Shows complete photo without cropping
  */
  object-fit:contain;

  object-position:center center;

  background:#000;

  transition:opacity .35s ease;
}


/* Change animation - no zoom,
   because zoom can crop the image */

.slide-frame>img.changing{
  opacity:.25;
}


/* Bottom information overlay */

.slide-glass{
  position:absolute;
  left:0;
  right:0;
  bottom:0;

  padding:45px 28px 22px;

  background:linear-gradient(
    transparent,
    rgba(0,0,0,.85)
  );

  display:flex;
  justify-content:space-between;
  align-items:end;

  pointer-events:none;
}

.slide-glass span{
  font-size:10px;
  letter-spacing:3px;
  color:var(--g);
  font-weight:800;
}

.slide-glass b{
  font-size:10px;
  color:#ddd;
  letter-spacing:2px;
}


/* Gallery arrows */

.slide-nav{
  position:absolute;
  z-index:4;
  top:50%;

  transform:translateY(-50%);

  width:48px;
  height:48px;

  border-radius:50%;
  border:1px solid #8d6900;

  background:#050505c7;
  color:var(--g);

  font-size:27px;
  cursor:pointer;

  backdrop-filter:blur(8px);

  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.slide-nav.prev{
  left:18px;
}

.slide-nav.next{
  right:18px;
}

.slide-nav:hover{
  background:var(--g);
  color:#050505;
}


/* Gallery progress */

.slide-progress{
  max-width:1100px;
  height:2px;
  background:#222;
  margin:14px auto 0;
}

.slide-progress i{
  display:block;
  height:100%;
  background:var(--g);
  transition:width .35s;
}


/* ================================
   START PROJECT
================================ */

.start{
  padding:65px 20px;
  background:radial-gradient(
    ellipse,
    #2b1d00,
    #060606 65%
  );
  text-align:center;
}

.start h2{
  color:var(--g);
}


/* ================================
   CONTACT
================================ */

.email{
  font-size:clamp(22px,4vw,42px);
  color:var(--g);
  font-weight:800;
}

#contact .email{
  font-size:clamp(17px,2.2vw,27px);
  font-weight:700;
  display:inline-block;
  margin-top:7px;
}

.contact-wa{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;

  width:max-content;
  max-width:90%;

  margin:0 auto 12px;

  padding:13px 23px;

  background:#25D366;
  color:#ffffff;

  font-size:12px;
  font-weight:800;
  letter-spacing:.7px;

  border-radius:8px;

  transition:.2s;

  box-shadow:0 10px 30px #25d36622;
}

.contact-wa img{
  width:31px;
  height:31px;
  object-fit:contain;
}

.contact-wa:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 35px #25d36645;
}

.contact-email-label{
  margin-top:25px;
  color:#666;
  font-size:8px;
  font-weight:800;
  letter-spacing:2px;
}


/* ================================
   SOCIAL ICONS
================================ */

.social{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  margin:30px;
}

.social .social-icon{
  width:58px;
  height:58px;

  padding:0;

  border:0;
  border-radius:0;

  background:transparent;

  display:block;
  overflow:visible;

  transition:
    transform .22s ease,
    filter .22s ease;
}

.social .social-icon img{
  width:58px;
  height:58px;
  object-fit:contain;
  display:block;
}

.social .social-icon:hover{
  transform:translateY(-4px) scale(1.06);
  filter:drop-shadow(
    0 0 8px rgba(242,180,0,.75)
  );
}

.note{
  color:#777;
  font-size:10px;
}


/* ================================
   FLOATING WHATSAPP
================================ */

.wa{
  position:fixed;
  z-index:30;

  right:22px;
  bottom:22px;

  width:62px;
  height:62px;

  border-radius:50%;
  overflow:hidden;

  background:#25D366;

  box-shadow:0 8px 25px #0009;

  animation:waShake 3.2s ease-in-out infinite;
}

.wa img{
  width:100%;
  height:100%;

  object-fit:cover;

  border-radius:50%;
}

@keyframes waShake{

  0%,
  82%,
  100%{
    transform:rotate(0) scale(1);
  }

  85%{
    transform:rotate(-9deg) scale(1.03);
  }

  88%{
    transform:rotate(9deg) scale(1.03);
  }

  91%{
    transform:rotate(-7deg) scale(1.03);
  }

  94%{
    transform:rotate(7deg) scale(1.03);
  }

  97%{
    transform:rotate(0) scale(1);
  }
}


/* ================================
   FOOTER
================================ */

footer{
  padding:28px 6vw;

  border-top:1px solid var(--line);

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

  color:#777;
  font-size:10px;
}

footer img{
  width:50px;
  height:40px;
  object-fit:contain;
}


/* ================================
   TABLET
================================ */

@media(max-width:850px){

  #menu{
    display:block;
  }

  nav{
    display:none;

    position:absolute;

    top:75px;
    left:4vw;
    right:4vw;

    background:#080808;

    padding:24px;

    flex-direction:column;
    align-items:flex-start;
  }

  nav.open{
    display:flex;
  }

  .services{
    grid-template-columns:1fr 1fr;
  }

  .client-strip{
    grid-template-columns:repeat(5,1fr);
  }

  .thumb-list{
    grid-template-columns:repeat(3,1fr);
  }


  /* Gallery tablet */

  .slide-frame{
    height:380px;
  }

}


/* ================================
   MOBILE
================================ */

@media(max-width:520px){

  section{
    padding:75px 5vw;
  }

  .services{
    grid-template-columns:1fr;
  }

  .heroText{
    padding:20px;
  }

  .btn{
    display:block;
  }

  .client-strip{
    grid-template-columns:repeat(3,1fr);
    gap:7px;
  }

  .thumb-list{
    grid-template-columns:repeat(2,1fr);
  }


  /* Gallery mobile */

  .slide-frame{
    height:270px;
    background:#000;
  }

  .slide-nav{
    width:38px;
    height:38px;
  }

  .slide-nav.prev{
    left:8px;
  }

  .slide-nav.next{
    right:8px;
  }

  .slide-glass{
    padding:
      35px
      15px
      15px;
  }


  /* Footer */

  footer{
    flex-direction:column;
    gap:15px;
  }

}