/* ===============================
   THEME PABX BANJARBARU
   Kuning - Hitam Industrial
================================ */

:root {
  --primary: #FFC400;
  --dark: #111111;
  --dark-soft: #1e1e1e;
  --gray: #3a3a3a;
  --light: #f5f5f5;
  --white: #ffffff;
}

/* Reset ringan */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: var(--light);
  color: #333;
}

/* Header */
.site-header {
  background: var(--dark);
  color: var(--white);
  padding: 15px 0;
}

.site-header h1 {
  margin: 0;
  font-size: 22px;
  color: var(--primary);
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Hero Section */
.hero {
  width: 100%;
  background-color: #000; /* biar sisi kosong rapi */



  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;

  /* tinggi ngikut rasio gambar */
  aspect-ratio: 2048 / 839;

  display: flex;
  align-items: center;
}
.hero .container {
  text-align: center;
}
@media (max-width: 768px) {
  .hero {
    aspect-ratio: 16 / 9; /* mobile lebih enak */
  }
}
.hero-inner {
  width: 100%;
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 520px;
  color: #fff;

  /* posisi ke kiri */
  margin-left: 5%;
}

.hero-text h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 25px;
}
.hero {
  width: 100%;
  aspect-ratio: 2048 / 839;

  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url('/pabx/assets/img/hero.webp') center center / contain no-repeat;

  background-color: #000;
}


.hero h2 {
  font-size: 42px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  margin-bottom: 25px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 500px;
    padding: 40px 0;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 2048 / 839;

  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url('/pabx/assets/img/hero.webp') center center / contain no-repeat;

  background-color: #000;
}

/* INI KUNCI POSISI TEKS */
.hero-overlay-text {
  position: absolute;

  /* geser ke kiri & atas (LINGKARAN MERAH) */
  top: 12%;
  left: 1%;

  max-width: 520px;
  color: #fff;
}

.hero-overlay-text h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-overlay-text p {
  font-size: 18px;
  margin-bottom: 25px;
}


/* Button */
.btn-primary {
  background: var(--primary);
  color: #000;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.btn-primary:hover {
  background: #e6b000;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 30px 0;
  margin-top: 50px;
  text-align: center;
}


/* Header layout */
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary);
}

.main-nav a {
  color: var(--white);
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--primary);
}


.services {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.service-box {
  background: var(--white);
  padding: 30px;
  flex: 1;
  min-width: 250px;
  border-left: 5px solid var(--primary);
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.service-box h3 {
  margin-top: 0;
}
.logo-wrap {
  position: relative;
  padding: 10px 16px;

  /* OVERLAY HALUS */
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.45),
    rgba(0,0,0,0)
  );

  border-radius: 6px;
}
.section {
  padding: 80px 0;
}

.section-dark {
  background: #111;
  color: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.contact-box {
  text-align: center;
}
html {
  scroll-behavior: smooth;
}

/* WHY PABX SECTION */
.why-pabx {
  background: #fff;
}

.section-subtitle {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
  color: #555;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.why-item h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.why-item p {
  color: #555;
  line-height: 1.6;
}

.why-cta {
  text-align: center;
  margin-top: 50px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
.why-item {
  text-align: center;
}

.why-icon {
  font-size: 40px;
  color: #FFC400;
  margin-bottom: 15px;
}
/* Hover Animation Why PABX */
.why-item {
  transition: transform 0.3s ease;
}

.why-icon {
  font-size: 40px;
  color: #FFC400;
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
  transform: translateY(-6px);
}

.why-item:hover .why-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(255,196,0,0.35);
}
.why-item:hover .why-icon {
  transform: translateY(-4px);
}
.why-item {
  border-top: 3px solid transparent;
  padding-top: 20px;
}

.why-item:hover {
  border-top-color: #FFC400;
}
@media (hover: none) {
  .why-item:hover {
    transform: none;
  }
}
/* Diagram PABX */
.diagram-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.diagram-img {
  width: 100%;
  max-width: 1000px;   /* BATAS AMAN */
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .diagram-img {
    max-width: 100%;
  }
}
.diagram-img {
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  border-radius: 8px;
}
/* PABX Components */
.pabx-components {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  text-align: center;
}

.pabx-icon {
  font-size: 36px;
  color: #FFC400;
  margin-bottom: 12px;
}

.pabx-item h4 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}

.pabx-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}
@media (max-width: 992px) {
  .pabx-components {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .pabx-components {
    grid-template-columns: 1fr;
  }
}
.pabx-item {
  transition: transform 0.3s ease;
}

.pabx-item:hover {
  transform: translateY(-5px);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  text-align: center;
}

.process-item i {
  font-size: 40px;
  color: #FFC400;
  margin-bottom: 15px;
}

.process-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}
.section-soft {
  background: #fffde8;
}

.segment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.segment-item i {
  font-size: 36px;
  color: #FFC400;
  margin-bottom: 10px;
}

.segment-item p {
  font-weight: 600;
  font-size: 14px;
}

@media (max-width: 992px) {
  .segment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .segment-grid {
    grid-template-columns: 1fr;
  }
}


/* CTA SECTION */
.cta-section {
  position: relative;
  background: url('../img/cta-bg.jpg') center/cover no-repeat;
  padding: 100px 0;
  color: #fff;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(200, 0, 0, 0.65); /* merah overlay */
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.cta-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.cta-phone {
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-image img {
  max-width: 320px;
  border-radius: 20px;
  margin: 20px auto 30px;
  display: block;
}

/* CTA BUTTON */
.btn-cta {
  display: inline-block;
  background: #1f8f3a;
  color: #fff;
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-cta:hover {
  background: #166c2c;
}
/* CTA SECTION - PARALLAX */
.cta-section {
  position: relative;
  background-image: url('../img/cta-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* INI KUNCINYA */

  padding: 100px 0;
  color: #fff;
}
@media (max-width: 768px) {
  .cta-section {
    background-attachment: scroll;
  }
}
/* FOOTER */
.footer {
  background: #3a3a3a;
  color: #fff;
  padding: 70px 0 0;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.footer-logo {
  height: 150px;
  margin-bottom: 20px;
}

.footer-left p {
  line-height: 1.7;
  font-size: 14px;
  color: #e0e0e0;
}

.footer-social {
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  margin-right: 10px;
  font-size: 18px;
  color: #fff;
}

.footer-social a:first-child {
  background: #1877f2;
}

.footer-social a:last-child {
  background: #caa24d;
}

/* RIGHT CARD */
.footer-right {
  background: #ffd21f;
  padding: 35px;
  border-radius: 10px;
  color: #000;
}

.footer-right h4 {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 700;
}

.footer-info p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-wa {
  color: #d40000;
}

/* MAP */
.footer-map iframe {
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: 6px;
}

/* BOTTOM *
/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #0f0f0f;
  z-index: 999;
  padding: 14px 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo a {
  color: #fbc400;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #fbc400;
}

/* tombol kontak */
.btn-nav {
  background: #fbc400;
  color: #000 !important;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
}
section {
  scroll-margin-top: 80px;
}
html {
  scroll-behavior: smooth;
}
/* =========================
TECH SERVICES
========================= */
.tech-services {
    background: linear-gradient(120deg, #ffffff, #faf7f0);
    position: relative;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
}

.tech-card {
    background: rgba(255,255,255,0.95);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 55px rgba(0,0,0,.12);
}

.tech-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 18px;
}

.tech-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tech-card p {
    font-size: 15px;
    color: #4B5563;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .tech-card img {
        height: 160px;
    }
}
/* =========================
TECH CARD – INTERACTIVE SCALE
========================= */

.tech-card {
    background: rgba(255,255,255,0.95);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
    transition:
        transform .28s ease,
        box-shadow .28s ease;
    transform-origin: center;
    will-change: transform;
}

/* HOVER DESKTOP */
.tech-card:hover {
    transform: scale(1.045);
    box-shadow: 0 30px 65px rgba(0,0,0,.14);
}

/* IMAGE IKUT HIDUP */
.tech-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 18px;
    transition: transform .35s ease;
}

.tech-card:hover img {
    transform: scale(1.06);
}
@media (hover: none) {
    .tech-card:hover {
        transform: none;
        box-shadow: 0 18px 40px rgba(0,0,0,.08);
    }
}
.tech-card:hover {
    box-shadow:
        0 30px 65px rgba(0,0,0,.14),
        0 0 0 1px rgba(224,184,78,.18);
}
/* =========================
MINI TECH CTA CARD
========================= */

.tech-cta-card{
    background: linear-gradient(
        135deg,
        #111827,
        #1F2937
    );
    color: #F9FAFB;
    border-radius: 24px;
    padding: 48px 36px;
    height: 100%;

    box-shadow: 0 30px 70px rgba(0,0,0,.25);
    position: relative;
    overflow: hidden;

    transition: transform .35s ease, box-shadow .35s ease;
}

/* GOLD GLOW */
.tech-cta-card::before{
    content:"";
    position:absolute;
    inset:-40%;
    background: radial-gradient(
        circle at top right,
        rgba(224,184,78,.35),
        transparent 60%
    );
    opacity:.6;
    pointer-events:none;
}

.tech-cta-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 45px 90px rgba(0,0,0,.35);
}

/* TITLE */
.tech-cta-card h3{
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #F3D37A;
}

/* DESC */
.tech-cta-card p{
    font-size: 15px;
    line-height: 1.7;
    color: #E5E7EB;
    margin-bottom: 26px;
}

/* LIST */
.tech-cta-list{
    list-style: none;
    padding: 0;
    margin-bottom: 34px;
}

.tech-cta-list li{
    margin-bottom: 10px;
    font-weight: 500;
    color: #FEF3C7;
}

/* BUTTON */
.btn-tech-cta{
    display: inline-block;
    background: linear-gradient(
        135deg,
        #F3D37A,
        #E0B84E,
        #C79A2E
    );
    color: #1F2937;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 14px 35px rgba(224,184,78,.45);
    transition: all .3s ease;
}

.btn-tech-cta:hover{
    transform: translateY(-2px);
    box-shadow: 0 22px 55px rgba(224,184,78,.65);
    filter: brightness(1.05);
}
@media (max-width: 768px){
    .tech-cta-card{
        padding: 36px 28px;
        margin-top: 20px;
    }

    .tech-cta-card h3{
        font-size: 1.5rem;
    }
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tech-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.tech-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
}
.tech-cta {
  background: linear-gradient(135deg, #0f172a, #1f2937);
  color: #fff;
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tech-cta h3 {
  color: #facc15;
  margin-bottom: 12px;
}

.tech-cta ul {
  margin: 16px 0;
  padding-left: 0;
  list-style: none;
}

.tech-cta ul li {
  margin-bottom: 8px;
}
@media (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .tech-card,
  .tech-cta {
    padding: 22px;
  }
}
.tech-cta {
  background:
    linear-gradient(135deg, #0f172a, #1e293b),
    radial-gradient(circle at top right, rgba(250,204,21,.15), transparent 60%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.tech-cta h3 {
  color: #facc15;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.tech-cta p {
  font-size: .95rem;
  line-height: 1.6;
  opacity: .9;
}

.tech-cta ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.tech-cta ul li {
  margin-bottom: 8px;
  font-size: .9rem;
}
.btn-cta {
  margin-top: auto;
  align-self: flex-start;
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #111827;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(250,204,21,.4);
  transition: all .3s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(250,204,21,.6);
}
.tech-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,.15);
}
.btn-wa {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: linear-gradient(135deg, #25D366, #1ebe5d);
  color: #ffffff;

  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;

  box-shadow:
    0 10px 30px rgba(37, 211, 102, .45),
    inset 0 0 0 1px rgba(255,255,255,.15);

  transition: all .3s ease;
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 45px rgba(37, 211, 102, .65),
    inset 0 0 0 1px rgba(255,255,255,.25);
}
/* =====================
STICKY NAVBAR
===================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: #0f0f0f;
  z-index: 9999;
  padding: 14px 0;
  transition: all 0.3s ease;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.nav-logo a {
  color: #fbc400;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
}

/* MENU */
.nav-menu ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #fbc400;
}

/* CTA MENU */
.btn-nav {
  background: #fbc400;
  color: #000 !important;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 600;
}
section {
  scroll-margin-top: 90px;
}

html {
  scroll-behavior: smooth;
}
/* LOGO HEADER */
.nav-logo-img {
  height: 72px;
  width: auto;
  display: block;
}
/* TESTIMONI */
.testimoni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.testimoni-item {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  text-align: center;
}

.testimoni-text {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimoni-item h4 {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 600;
}

.testimoni-item span {
  font-size: 13px;
  color: #777;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .testimoni-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .testimoni-grid {
    grid-template-columns: 1fr;
  }
}
