* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

/* HEADER */
header {
  background: #0a3d62;
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #0a3d62;
  padding: 10px 30px;
}

/* grup logo + teks */
.brand {
  display: flex;
  align-items: center;
}

/* logo */
.logo {
  height: 40px;
  margin-right: 15px; 
}

/* teks merek */
.brand-name {
  color: white;
  font-size: 20px;
  font-weight: 600;
}

/* menu navigasi */
nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0,3s;
}

nav ul li a:hover {
  color: #74b9ff;
}


/* HERO */
.hero {
  background: linear-gradient(rgba(10, 61, 98, 0.8), rgba(56, 173, 169, 0.8)), 
              url('spanduk.jpeg') center center / contain no-repeat;
  background-color: #0a3d62; 
  color: white;
  text-align: center;
  padding: 100px 50px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero-content p{
  margin-bottom: 30px;
}

.wa {
  background-color: #ffffff;
  color: #000000;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease-in-out;

}

.wa:hover {
  background-color: #000000;
  color: white;
}

.btn {
  background-color: #ffffff;
  color: #000000;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  
}

.btn:hover {
  background-color: #000000;
  color: white;
}

/* SECTIONS */
.section {
  text-align: center;
  padding: 60px 20px;
}

.section h2 {
  color: #0a3d62;
  margin-bottom: 30px;
}

/* KATALOG */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.product-card {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-25px);
}

.product-card img {
  width: 50%;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* KONTAK */
a{
  text-decoration: none;
  color: green;
  transition: transform 0,1s ease;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin: 5px 0;
}

ul li a {
  color: #0a3d62;
  text-decoration: none;
}

ul li a:hover {
  text-decoration: none;
}

/* FOOTER */
footer {
  background: #0a3d62;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav {
    display: none;
    width: 100%;
  }

  nav.active{
    display: block;
  }

  .nav-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .menu-toggle{
    display: block;
    position: absolute;
    top: 20px;
    right: 20px; 
    z-index: 999; ;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 50px;
    right: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 150px;
    padding: 10px 0;
  }

  nav ul li a{
    color: black;
  }

  nav ul li a:hover{
    color: red;
  }

  nav.active ul{
    display: flex;
  }

  .brand-name {
    font-size: 18px;
  }

  /* hero */
  .hero {
    padding: 60px 15px;
    background-size: cover;
    min-height: 60vh;
  }

  .hero-content h1 {
    font-size: 22px;
    line-height: 1.4;
  }

  .hero-content p {
    font-size: 14px;
  }

  .btn, .wa {
    font-size: 14px;
    padding: 8px 12px;
  }

  /* katalog */
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
  }

  .product-card img {
    width: 100%;
    height: auto;
  }

  .product-card {
    padding: 10px;
  }

  /* section spacing */
  .section {
    padding: 40px 10px;
  }

  /* footer */
  footer {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 18px;
  }

  .brand-name {
    font-size: 16px;
  }

  .btn, .wa {
    font-size: 12px;
  }
}