/*
Theme Name: Intergy Classic Theme
Theme URI: https://www.intergy.co.id
Author: Sulaiman Ricardo Marbun
Description: Custom WordPress Classic PHP Theme untuk PT Intergy Indonesia.
Version: 2.0.1
Requires at least: 6.0
Tested up to: 6.8
Text Domain: intergycoid
*/
/* --- Sticky Header & Color Customization --- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #0B192C; /* Warna latar belakang header disesuaikan menjadi biru gelap (navy) senada tema */
    border-bottom: 1px solid #1E293B; /* Garis bawah tipis dengan nuansa gelap */
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Kiri: Brand Wrapper (Logo + Kotak Teks) */
.header-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo Styling */
.site-logo img {
    max-height: 70px;
    width: auto;
    display: block;
}

/* Kotak Title & Tagline dengan Garis Pembatas Atas & Bawah */
.site-title-tagline-box {
    border-top: 1px solid #334155;   /* Garis pembatas atas (disesuaikan agar terlihat kontras di background gelap) */
    border-bottom: 1px solid #334155; /* Garis pembatas bawah */
    padding: 4px 12px;
}

.site-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.site-title a {
    text-decoration: none;
    color: #FFFFFF; /* Diubah menjadi putih agar kontras dengan background gelap */
}

.site-tagline {
    font-size: 12px;
    color: #94A3B8; /* Warna abu-abu terang untuk teks tagline */
    margin: 2px 0 0 0;
    line-height: 1.2;
}

/* Navigasi / Menu Styling */
.site-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.site-navigation ul li a {
    text-decoration: none;
    color: #E2E8F0; /* Warna teks menu putih/terang */
    font-weight: 700;
    font-size: 14px;
    transition: color 0.2s;
}

.site-navigation ul li a:hover {
    color: #38BDF8; /* Warna berubah menjadi biru cerah saat kursor diarahkan (hover) */
}
/* =================================================================
   INTERGY HERO SECTION - GAMBAR BERHENTI DI BAWAH 6 BOX
   ================================================================ */
.intergy-hero {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1581092160607-ee22621dd758?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  padding: 60px 0 70px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

/* Latar Belakang Gradien Transparan Mulus di Sisi Kiri */
.intergy-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, 
    #0A2540 0%, 
    #0A2540 42%, 
    rgba(10, 37, 64, 0.85) 70%, 
    rgba(10, 37, 64, 0.3) 90%, 
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Konten Sisi Kiri (Teks & 6 Box) */
.intergy-hero .hero-left-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 0 40px 0 80px;
  display: flex;
  flex-direction: column;
}

.intergy-hero .hero-subtitle {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 45px; /* Diubah agar lebih proporsional di berbagai layar */
  color: #38BDF8;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
/* Ukuran khusus saat dibuka di Handphone (Layar di bawah 768px) */
@media (max-width: 768px) {
  .intergy-hero .hero-subtitle {
    font-size: 16px; /* Ukuran diperkecil khusus untuk handphone */
    letter-spacing: 1px;
  }
}
.intergy-hero h1 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
@media (max-width: 768px) {
  .intergy-hero h1 {
    font-size: 13px; /* Ukuran diperkecil khusus untuk handphone */
    letter-spacing: 1px;
  }
}
.intergy-hero p {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* Grid 2 Kolom untuk 6 Kotak */
.hero-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px; 
  max-width: 680px;
  width: 100%;
  margin-top: 5px;
  box-sizing: border-box;
}

.service-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid #0284C7;
  padding: 16px 18px;
  border-radius: 6px;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-box:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(2, 132, 199, 0.6);
  transform: translateY(-2px);
}

.service-box h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #F8FAFC;
  line-height: 1.3;
}

.service-box p {
  font-size: 14px;
  color: #94A3B8;
  margin: 0;
  line-height: 1.5;
}

/* --- Hero CTA Button Styling (Proporsional) --- */
.hero-cta-wrapper {
    margin-top: 25px; /* Mengganti nilai minus agar posisi aman dan proporsional */
}

.btn-cta-services {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 24px;
    border: 2px solid #38BDF8;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-services:hover {
    background-color: #0284C7 !important;
    color: #FFFFFF !important;
    border-color: #0284C7 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

/* =================================================================
    BILAH STATISTIK SIDE-BY-SIDE
   ================================================================ */
.hero-stats-bar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: #0A2540;
  border: none;
  padding: 30px 100px;
  gap: 30px;
  width: 100%;
  box-sizing: border-box;
}

.stat-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.stat-number {
  font-size: 45px;
  font-weight: 700;
  color: #0284C7;
  line-height: 1;
  flex-shrink: 0;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 3px;
  line-height: 1.2;
}

.stat-desc {
  font-size: 16px;
  color: #94A3B8;
  line-height: 1.4;
  margin: 0;
}

/* Responsif untuk Layar Mobile / Tablet */
@media (max-width: 992px) {
  .intergy-hero {
    padding: 40px 0;
  }
  .intergy-hero::before {
    background: rgba(10, 37, 64, 0.92);
  }
  .intergy-hero .hero-left-content {
    padding: 0 20px;
  }
  .hero-services-grid {
    grid-template-columns: 1fr; /* Berubah menjadi 1 kolom penuh agar tidak terpotong */
  }
  .hero-stats-bar {
    grid-template-columns: 1fr;
    padding: 25px 20px;
    gap: 25px;
  }
}


/* =================================================================
   ABOUT US / BAPETEN SECTION (SPLIT LAYOUT: KIRI SERTIFIKAT, KANAN TEKS & GEDUNG)
   ================================================================ */
.intergy-about-bapeten {
  position: relative;
  width: 100%;
  background-color: #0A2540; /* Warna dasar navy solid di sisi kiri */
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

/* Background gedung pencakar langit yang hanya menonjol di sisi kanan */
.intergy-about-bapeten::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  /* Gradien agar sisi kiri menyatu mulus ke navy, dan sisi kanan gedung pencakar langit tampil terang */
  mask-image: linear-gradient(90deg, transparent 0%, black 40%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 40%);
  opacity: 0.85; /* Membuat gambar gedung di sisi kanan tampak terang dan jelas */
  z-index: 1;
}

.about-container-split {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr; /* Sisi kiri proporsional untuk sertifikat, sisi kanan luas untuk teks */
  align-items: center;
}

/* Kolom Kiri: Anugerah Bapeten & Sertifikat */
.about-col-left-award {
  padding: 80px 50px 80px 60px;
  background-color: #0A2540;
}

.award-pre-title {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: #38BDF8;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.about-col-left-award h2 {
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.award-desc {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Grid Kartu Sertifikat */
.award-certificates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cert-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: #38BDF8;
}

.cert-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 8px;
}

.cert-year {
  font-size: 12px;
  font-weight: 600;
  color: #E2E8F0;
  display: block;
}

/* =================================================================
   KOLOM KANAN TANPA BACKGROUND SOLID (LANGSUNG DI ATAS GAMBAR GEDUNG)
   ================================================================ */
.about-col-right-text {
  padding: 80px 60px 80px 40px;
  background: transparent !important; /* Menghilangkan latar belakang agar langsung transparan di atas foto gedung */
}

/* Penyesuaian agar teks tetap terbaca sangat kontras dan jelas di atas gambar */
.text-content-wrapper {
  background: rgba(10, 37, 64, 0.75); /* Memberikan efek card tipis semi-transparan hanya pada area teks agar tetap mudah dibaca */
  padding: 35px;
  border-radius: 8px;
  /*border: 1px solid rgba(255, 255, 255, 0.12);*/
  backdrop-filter: blur(6px);
}

.text-content-wrapper .section-subtitle {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: #38BDF8;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.text-content-wrapper h3 {
  font-size: 26px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.3;
}

.text-content-wrapper .about-lead {
  font-size: 14px;
  font-weight: 500;
  color: #E2E8F0;
  line-height: 1.6;
  margin-bottom: 14px;
}

.text-content-wrapper p {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.7;
  margin: 0 0 14px 0;
}

.about-ntsp-wrapper {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.about-ntsp-wrapper h4 {
  font-size: 15px;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 10px;
}

/* Responsif untuk Layar Mobile / Tablet */
@media (max-width: 1024px) {
  .about-container-split {
    grid-template-columns: 1fr;
  }
  .intergy-about-bapeten::before {
    width: 100%;
    opacity: 0.3;
  }
  .about-col-left-award, .about-col-right-text {
    padding: 50px 25px;
  }
  .award-certificates-grid {
    grid-template-columns: 1fr;
  }
}
/* =================================================================
   MOTION ANIMATION (MASUK DARI KIRI & KANAN SAAT DI-SCROLL)
   ================================================================ */
.intergy-about .about-col-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.intergy-about .about-col-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.15s;
}

.intergy-about .about-col-left.is-visible,
.intergy-about .about-col-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Responsif untuk Layar Mobile / Tablet */
@media (max-width: 992px) {
  .intergy-about {
    padding: 60px 0;
    background-attachment: scroll;
  }
  .intergy-about .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }
  .intergy-about h2 {
    font-size: 26px;
  }
  .intergy-about .about-col-left,
  .intergy-about .about-col-right {
    transform: none !important;
    opacity: 1 !important;
  }
}
/* =================================================================
   OUR TEAM SECTION STYLING
   ================================================================ */
.intergy-team {
  position: relative;
  background-color: #07192C; /* Warna latar belakang selaras dengan stat bar */
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  padding: 30px 0;
  width: 100%;
}

.intergy-team .team-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Bagian Judul Team */
.team-header-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 50px;
}

.team-header-left .section-subtitle {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 30px;
  color: #38BDF8;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.team-header-left h2 {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 12px 3px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.team-header-desc {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.6;
  margin: 0;
}

/* Tombol CTA "Lihat Tim Kami" di Kolom Kanan */
.team-header-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.intergy-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #0284C7;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 30px;
  margin:24px 80px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.intergy-cta-button:hover {
  background-color: #0369A1;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
}

.intergy-cta-button svg {
  transition: transform 0.3s ease;
}

.intergy-cta-button:hover svg {
  transform: translateX(4px); /* Efek panah bergeser ke kanan saat kotor diarahkan */
}

/* Grid 3 Kolom untuk Kartu Tim */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top:-30px;
}

.team-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(2, 132, 199, 0.5);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.team-image-wrapper {
  width: 100%;
  height: 360px; /* Sedikit ditambah tingginya agar lebih lapang */
  overflow: hidden;
  background-color: #0A2540; /* Warna latar cadangan jika foto belum termuat */
}

.team-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* Memastikan fokus pemotongan selalu dimulai dari bagian atas (wajah) */
  transition: transform 0.5s ease;
}

.team-card:hover .team-image-wrapper img {
  transform: scale(1.05);
}
.team-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 4px;
}

.team-role {
  font-size: 12px;
  font-weight: 600;
  color: #38BDF8;
  display: block;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.team-info p {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.5;
  margin: 0;
}

/* Responsif untuk Layar Mobile / Tablet */
@media (max-width: 992px) {
  .intergy-team {
    padding: 60px 0;
  }
  .intergy-team .team-container {
    padding: 0 20px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .team-header h2 {
    font-size: 26px;
  }
}
/* =================================================================
   OUR CLIENTS MODERN SECTION (BACKGROUND IMAGE DENGAN SMOOTH OVERLAY)
   ================================================================ */
.intergy-clients-modern {
  position: relative;
  /* Menggunakan latar belakang gambar gedung kantor korporat yang senada */
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Efek paralaks halus saat di-scroll */
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  padding: 100px 0;
  width: 100%;
  overflow: hidden;
}

/* Lapisan overlay gradien gelap yang smooth dan menyatu */
.intergy-clients-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.88); /* Navy gelap elegan yang transparan dan menyatu */
  z-index: 1;
}

.intergy-clients-modern .clients-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

/* Quote Header Styling */
.clients-single-header {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  width: 100%;
}

.clients-quote-center {
  margin: 0;
  padding: 18px 30px;
  max-width: 900px;
  text-align: center;
  border-left: 4px solid #38BDF8;
  border-right: 4px solid #38BDF8;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.clients-quote-center p {
  font-size: 15px;
  font-style: italic;
  color: #E2E8F0;
  margin: 0;
  line-height: 1.6;
}

/* Grid Kartu Klien 2 Baris x 6 Kolom */
.clients-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.client-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  cursor: pointer;
}

/* Kotak Kartu Logo dengan Sudut Melengkung (Rounded) */
.client-card-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 105px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 15px;
  box-sizing: border-box;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.client-card-box:hover {
  transform: translateY(-5px);
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.4);
  border-color: #38BDF8;
}

.client-logo-img {
  max-width: 100%;
  max-height: 45px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

/* Label Teks di Bawah Kartu */
.client-label {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #94A3B8;
  text-align: center;
  letter-spacing: -0.2px;
  transition: color 0.3s ease;
}

.client-tile:hover .client-label {
  color: #FFFFFF;
  font-weight: 600;
}

/* Responsif untuk Layar Tablet & Mobile */
@media (max-width: 1024px) {
  .clients-dashboard-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .clients-dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .intergy-clients-modern .clients-container {
    padding: 0 20px;
  }
}