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

.portfolio-hero{
  padding:100px 0px 40px;
}

.portfolio-hero-container{
  max-width:1000px;
  margin:auto;

  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:80px;
  align-items:center;
}

.portfolio-label{
  display:inline-block;

  font-size:.85rem;
  font-weight:700;

  letter-spacing:4px;
  text-transform:uppercase;

  color: var(--primary) !important;

  margin-bottom:18px;
}

.portfolio-hero-content h1{
  font-size:3.5rem;
  line-height:1.05;
  margin-bottom:24px;
  color:var(--text);

  max-width:700px;
}

.portfolio-hero-content p{
  font-size:1.25rem;
  line-height:1.6;
  max-width:700px;

  color:var(--text-secondary);

  margin-bottom:40px;
}

.hero-buttons{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:18px 34px;

  border-radius:999px;

  text-decoration:none;
  font-weight:600;

  transition:.3s ease;
}

.hero-btn.primary{
  background:#111111;
  color:#ffffff;
}

.hero-btn.primary:hover{
  transform:translateY(-2px);
}

.hero-btn.secondary{
  border:1px solid var(--border);
  background:transparent;
  color:var(--text);
}

.hero-btn.secondary:hover{
  background:var(--bg-card);
}

.portfolio-hero-image{
  max-width:300px;
  width:100%;
  justify-self:end;
}

.portfolio-hero-image img{
  width:100%;
  display:block;

  border-radius:28px;

  aspect-ratio:4/5;
  object-fit:cover;

  box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.dark-theme .hero-btn.primary{
  background:#ffffff;
  color:#111111;
}

/* =========================
   SOCIAL PROOF
========================= */

.social-proof{
  padding:30px 20px 50px;
}

.social-proof-container{
  max-width:1200px;
  margin:auto;

  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.social-card{
  height:120px;

  display:flex;
  flex-direction:column;

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

  text-align:center;

  padding:35px 20px;

  border:1px solid var(--border);
  border-radius:24px;

  background:var(--bg-card);
}

.social-icon{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:16px;
  color:var(--text);
}

.social-icon svg{
  width:26px;
  height:26px;
}

.dark-theme .social-card{
  background:#ffffff;
  border:none;
}

.dark-theme .social-card h3{
  color:#111111;
}

.dark-theme .social-card p{
  color:#666666;
}

.dark-theme .social-icon{
  color:#111111;
}

.social-card h3{
  font-size:1.5rem;
  line-height:1;

  font-weight:700;

  color:var(--text);

  margin-bottom:12px;
}

.social-card p{
  font-size:1.25rem;
  color:var(--text-secondary);
}


/* =========================
   PORTFOLIO SECTIONS
========================= */

.portfolio-section{
  padding:60px 230px;
}

.portfolio-section h2{
  font-size:42px;
  line-height:1.1;
  color:var(--text);
  margin-bottom:30px;
}

/* =========================
   GRID
========================= */

.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}

/* =========================
   CARDS
========================= */

.portfolio-card{
  overflow:hidden;

  border-radius:24px;

  background:var(--card-bg);
  border:1px solid var(--border);

  transition:.3s ease;

    display:block;

    text-decoration:none;

    color:inherit;
}

.portfolio-card:hover{
  transform:translateY(-6px);
}

.portfolio-card img{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
}

.portfolio-content{
  padding:20px;
}

.portfolio-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:8px 14px;

  border-radius:999px;

  font-size:.8rem;
  font-weight:600;

  background:rgba(255,255,255,.08);

  margin-bottom:18px;
}

.portfolio-content h3{
  font-size:1.15rem;
  color:var(--text);
  margin-bottom:12px;
}

.portfolio-content p{
  color:var(--text-secondary);
  line-height:1.6;
}

/* =========================
   YOUTUBE VIDEO
========================= */

.youtube-video{
  width:100%;
  aspect-ratio:16 / 9;
  overflow:hidden;
  background:#000;
}

.youtube-video iframe{
  width:100%;
  height:100%;
  display:block;
  border:0;
}

/* =========================
   CTA
========================= */

.portfolio-cta{
  padding:120px 20px;
  text-align:center;
}

.portfolio-cta h2{
  font-size:64px;
  line-height:1.1;
  margin-bottom:20px;
  color:var(--text);
}

.portfolio-cta p{
  max-width:650px;
  margin:0 auto 40px;
  color:var(--text-secondary);
  line-height:1.8;
}

.cta-buttons{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}


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

@media (max-width:768px){

  .portfolio-hero{
    padding:80px 20px 30px;
  }

  .portfolio-hero-container{
    display:flex;
    flex-direction:column;
    grid-template-columns:1fr;
    gap:40px;
    text-align:center;
  }

  .portfolio-hero-image{
    order:2;
    justify-self:center;
    max-width:220px;
  }

  .portfolio-hero-content{

    order:1;

  }

  .portfolio-hero-content h1{
    font-size:2.5rem;
    max-width:none;
  }

  .portfolio-hero-content p{
    font-size:1.05rem;
    max-width:none;
    margin-bottom:30px;
  }

  .hero-buttons{
    justify-content:center;
  }

  .hero-btn{
    width:100%;
    max-width:280px;
  }

  .hero-btn.secondary{
    margin: 0;

 }

  .social-proof{

    padding:12px 16px 32px;

  }

  .social-proof-container{

    grid-template-columns:repeat(2,1fr);

    gap:10px;

  }

  .social-card{

    height:80px;

    padding:12px;

    border-radius:18px;

  }

  .social-icon{

    margin-bottom:8px;

  }

  .social-icon svg{

    width:20px;

    height:20px;

  }

  .social-card h3{

    font-size:1.1rem;

    line-height:1;

    margin-bottom:4px;

  }

  .social-card p{

    font-size:.75rem;

    line-height:1.3;

  }

  .social-card:last-child{

    grid-column:1 / -1;

    width:60%;

    max-width:none;

    margin:0 auto;

  }

}


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

@media (max-width:1100px) and (min-width:7px){

  .portfolio-hero{

    padding-left:40px;

    padding-right:40px;

  }

  .portfolio-section{
    padding:40px 16px;
  }

  .portfolio-section h2{
    font-size:2rem;
    margin-bottom:20px;
  }

  .portfolio-grid{
    grid-template-columns:1fr;
    gap:16px;
  }

  .portfolio-card{
    border-radius:20px;
  }

  .portfolio-card img{
    height:140px;
    object-fit:cover;
  }

  .portfolio-content{
    padding:18px;
  }

  .portfolio-tag{
    font-size:.75rem;
    padding:6px 12px;
    margin-bottom:12px;
  }

  .portfolio-content h3{
    font-size:1.1rem;
    margin-bottom:8px;
  }

  .portfolio-content p{
    font-size:.95rem;
    line-height:1.5;
  }

    .portfolio-cta{

    padding:60px 20px 80px;

  }

  .portfolio-cta h2{

    font-size:2rem;

  }

  .portfolio-cta p{

    font-size:1rem;

  }

}

/* =========================
   ANIMATIONS
========================= */

.fade-up{
  opacity:0;
  transform:translateY(40px);
  transition:all .8s ease;
}

.fade-up.show{
  opacity:1;
  transform:translateY(0);
}

.delay-1{
  transition-delay:.15s;
}

.delay-2{
  transition-delay:.3s;
}

/* CARD HOVER */

.social-card{
  transition:.3s ease;
}

.social-card:hover{
  transform:translateY(-5px);
}

.portfolio-card{
  transition:.35s ease;
}

.portfolio-card:hover{
  transform:translateY(-8px);
}

.portfolio-card img{
  transition:.4s ease;
}

.portfolio-card:hover img{
  transform:scale(1.04);
}
