/* ========== VARIABLES & RESET ========== */
:root {
  --clr-primary: #004080;
  --clr-secondary: #0077b6;
  --clr-accent: #ff6600;
  --clr-bg: #f8f9fa;
  --clr-white: #ffffff;
  --clr-text: #2d3436;
  --radius: 8px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
}

/* ========== LAYOUT ========== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========== HEADER ========== */
.header {
  background: var(--clr-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
  top: 0;
  z-index: 1000;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo img {
  width: 40px;
  height: auto;
}
.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-primary);
}
.nav {
  display: flex;
  gap: 2rem;
  z-index: 999;
}
.nav a {
  text-decoration: none;
  color: var(--clr-primary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: background 0.3s, color 0.3s;
}
.nav a:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--clr-text);
}

/* ========== HERO SECTION ========== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 4rem 5% 6rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.hero__text h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero__brand {
  display: block;
  color: var(--clr-primary);
}
.hero__service {
  display: block;
  font-weight: 700;
  color: var(--clr-accent);
}
.hero__text p {
  margin-bottom: 2rem;
  color: #555;
  font-size: 1.1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}
.btn--primary {
  background: var(--clr-secondary);
  color: var(--clr-white);
  padding: 0.75rem 1.5rem;
}
.btn--primary:hover {
  background: var(--clr-primary);
  transform: translateY(-2px);
}
.hero__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ========== RESPONSIVE ========== */
/* Tambahkan styling untuk hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--primary-blue);
  transition: all 0.3s ease;
}

/* Animasi hamburger saat aktif */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    position: relative;
    z-index: 1001;
  }
  
  .nav {
    position: fixed; /* Ganti dari absolute ke fixed */
    top: 60px; /* Sesuaikan dengan tinggi header */
    left:0;
    right: 0;
    justify-content: center;
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-100%); /* Sembunyikan di awal */
    transition: transform 0.3s ease;

  }
  
  .nav.active {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(0);

  
  }
}



















/* @media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: var(--clr-white);
    position: absolute;
    top: 64px;
    right: 5%;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .nav.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
} */
