/* ===================================================
   1. RESET & VARIABLES
   =================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0d2b45;   /* Biru Tua Industri */
  --secondary-color: #0056b3; /* Biru Accent */
  --accent-color: #ff9f1c;    /* Oranye Highlight */
  --bg-light: #f8f9fa;        /* Latar Belakang Terang */
  --text-color: #333333;      /* Warna Teks Utama */
  --text-muted: #666666;      /* Warna Teks Deskripsi */
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================================
   2. HEADER & ANIMATED BRAND LOGO / NAV
   =================================================== */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

/* BRAND LOGO */
.animated-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
}

.logo-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(255, 159, 28, 0.6), transparent 30%);
  animation: rotateGlow 4s linear infinite;
  z-index: 1;
}

.brand-logo {
  position: relative;
  height: 45px;
  width: auto;
  object-fit: contain;
  z-index: 2;
  border-radius: 50%;
  padding: 2px;
  background: var(--white);
  transition: transform 0.5s ease;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #0d2b45 0%, #0056b3 40%, #ff9f1c 50%, #0056b3 60%, #0d2b45 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: textShine 5s linear infinite;
}

.animated-brand:hover .brand-logo {
  transform: rotate(360deg) scale(1.1);
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes textShine {
  to { background-position: 200% center; }
}

/* NAV MENU KOMPUTER */
nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

nav a {
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--secondary-color);
}

.lang-btn {
  padding: 5px 14px;
  border: 1.5px solid var(--primary-color);
  background-color: transparent;
  color: var(--primary-color);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* HAMBURGER BUTTON (Tersembunyi di Komputer) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ===================================================
   3. HERO SECTION & JUDUL SATU BARIS
   =================================================== */
.hero {
  background: linear-gradient(135deg, rgba(13, 43, 69, 0.88), rgba(32, 58, 67, 0.85)), 
              url('pltu-hero.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Judul Utama Diatur Rata Satu Baris di Komputer */
.hero h1 {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* Deskripsi / Sub-judul */
.hero p {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #f0f4f8;
  max-width: 720px;
  margin: 0 auto 35px auto;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.video-container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 35px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.2);
  background-color: #000000;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 28px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #e08b10;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* ===================================================
   4. GENERAL SECTIONS
   =================================================== */
section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ===================================================
   5. VISI & MISI
   =================================================== */
.visi-misi {
  background-color: var(--white);
}

.visi-misi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.visi-card, .misi-card {
  padding: 30px;
  border-radius: 8px;
  background-color: var(--bg-light);
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 4px 6px rgba(0,0,0,0.03);
}

.visi-card h3, .misi-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* ===================================================
   6. LAYANAN UTAMA
   =================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.service-card {
  background: var(--white);
  padding: 35px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary-color);
  text-align: left;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Styling Bungkus & Ikon Layanan */
.service-icon {
  width: 65px;
  height: 65px;
  background-color: rgba(13, 43, 69, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.service-icon i {
  font-size: 1.6rem;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

/* Efek Hover pada Kartu Layanan (Ikon berubah warna) */
.service-card:hover .service-icon {
  background-color: var(--accent-color);
}

.service-card:hover .service-icon i {
  color: var(--white);
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===================================================
   7. KLIEN (DI PERCAYA OLEH)
   =================================================== */
.klien-section {
  background-color: var(--white);
}

.klien-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.klien-card {
  padding: 25px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background-color: #fafafa;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.klien-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-5px);
}

.klien-logo-wrapper {
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.klien-logo {
  max-width: 85%;
  max-height: 50px;
  object-fit: contain;
}

.klien-card h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.klien-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===================================================
   8. FOOTER & KONTAK (LOGO DI BAWAH DIHAPUS)
   =================================================== */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

/* Menyembunyikan elemen logo footer */
.footer-logo {
  display: none;
}

.footer-info h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-info p {
  color: #cccccc;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Styling Kontak dengan Emoji */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #cccccc;
  font-size: 0.9rem;
}

.contact-icon {
  font-size: 1.1rem;
  line-height: 1.2;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: #aaaaaa;
}

/* FLOATING WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: white;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;
  transition: transform 0.3s, background-color 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  background-color: #20ba5a;
}

/* ===================================================
   9. MEDIA QUERIES (RESPONSIF KHUSUS HP & TABLET)
   =================================================== */
@media screen and (max-width: 900px) {
  
  .hero h1 {
    white-space: normal; 
    font-size: 1.65rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }

  nav.active {
    max-height: 400px;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    align-items: center;
  }

  .brand-name {
    font-size: 0.85rem;
  }

  .hero {
    padding: 50px 15px;
  }

  .hero p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  section {
    padding: 45px 0;
  }

  .visi-misi-grid,
  .services-grid,
  .klien-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}