/* ==========================================================================
   1. VARIABEL WARNA & STYLING DASAR
   ========================================================================== */
:root {
  --primary: #0066cc;
  --primary-dark: #003366;
  --secondary: #00aaff;
  --bg-light: #f4f7f9;
  --text-dark: #333333;
  --card-bg: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   2. NAVBAR & PENGUNCI UKURAN LOGO MUTLAK
   ========================================================================== */
.topbar {
  display: none !important;
}

.navbar {
  background: var(--primary-dark) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  max-width: 320px;
}

/* KUNCI MUTLAK UNTUK LOGO NAV BAR (Mencegah Meluap Membesar) */
.site-logo {
  height: 42px !important;
  max-height: 42px !important;
  width: auto !important;
  max-width: 250px !important;
  object-fit: contain !important;
  display: block !important;
}

.company-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: #e0e6ed;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

/* Navigasi Menu & Indikator Aktif */
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 10px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 3px;
  bottom: -2px;
  left: 0;
  background-color: var(--secondary) !important;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary) !important;
  font-weight: 700;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

/* Menu Kontak Tanpa Background */
.btn-kontak {
  background: transparent !important;
  color: #ffffff !important;
  padding: 6px 10px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.btn-kontak:hover,
.btn-kontak.active {
  background: transparent !important;
  color: var(--secondary) !important;
}

/* ==========================================================================
   3. LAYOUT GRID UTAMA & SIDEBAR
   ========================================================================== */
.main-layout {
  display: grid;
  grid-template-columns: 2.7fr 1fr;
  gap: 25px;
  margin-top: 25px;
  margin-bottom: 40px;
}

.hero-banner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 25px;
}

.card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}

/* Styling Ikon Project */
.index-project-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.index-card-icon {
  width: 100%;
  height: 90px;
  background-color: #eef5fc;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.index-card-icon i {
  font-size: 2.2rem !important;
  color: var(--primary);
}

/* ==========================================================================
   4. RESPONSIF HP
   ========================================================================== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #ffffff;
  padding: 5px;
}

@media (max-width: 991px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-logo {
    height: 34px !important;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #002244;
    padding: 15px 0;
    margin-top: 10px;
  }
  .nav-links.active {
    display: flex;
  }
}