/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #fff;
  color: #2c3e50;
  line-height: 1.6;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  background: #e67e22;
  color: #fff;
}

.header .title a {
  text-decoration: none;
  color: white;
  font-size: 22px;
  font-weight: bold;
}

.header nav a {
  margin-left: 20px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.header nav a:hover {
  color: #f9e79f;
}

/* Hero Section */
#jumbotron {
  padding: 60px 10%;
  background: linear-gradient(135deg, #fbeed7, #f3e5ab);
}

.jumbotron {
  text-align: left;
}

.jumbotron-title {
  font-size: 36px;
  margin-bottom: 20px;
  color: #2c3e50;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.jumbotron-text {
  font-size: 20px;
  margin-bottom: 15px;
}

.mini-text {
  font-size: 16px;
  color: #555;
}

#jumbotron img {
  max-width: 380px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background: #e67e22;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #ca6f1e;
}

/* Categories */
#categories {
  text-align: center;
  padding: 50px 10%;
  background: #f9f9f9;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  color: #2c3e50;
}

.categories-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.category-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  transition: transform 0.3s;
}

.category-card:hover {
  transform: translateY(-8px);
}

.category-card h3 {
  margin: 15px 0;
  color: #e67e22;
}

/* Preview Produk */
.article {
  padding: 50px 10%;
}

.article-tittle {
  font-size: 26px;
  margin-bottom: 30px;
  text-align: center;
}

.project-container {
  margin-bottom: 30px;
}

.project {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.project img {
  border-radius: 8px;
}

.project h4 {
  margin-bottom: 10px;
  color: #e67e22;
}

.project-description {
  font-size: 15px;
  color: #444;
}

/* CTA */
#cta {
  text-align: center;
  background: #e67e22;
  color: white;
  padding: 60px 20px;
  margin-top: 40px;
}

#cta h2 {
  font-size: 30px;
  margin-bottom: 15px;
}

#cta p {
  margin-bottom: 20px;
  font-size: 18px;
}



/* Style the footer */
footer {
  background-color: #c0bac5;
  padding: 10px;
  text-align: center;
  color: rgb(35, 34, 34);
}

/* === GLOBAL STYLE === */
body {
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fdfdfd;
  color: #333;
}

/* Judul Section */
.jumbotron-title {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

/* === ABOUT US & PRODUCT === */
.jumbotron-about,
.jumbotron-product {
  display: flex;
  align-items: center; 
  justify-content: space-between;
  gap: 40px;
  padding: 60px 10%;
  border-bottom: 1px solid #eee; /* garis pemisah antar section */
  background-color: #e4cb8f;
}

/* Gaya teks */
.container-text {
  flex: 1;
  max-width: 50%;
}

.container-text h5 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #34495e;
}

.container-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  text-align: justify;
}

/* Gambar */
.container-img img {
  max-width: 450px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.container-img img:hover {
  transform: scale(1.05);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .jumbotron-about,
  .jumbotron-product {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .container-text {
    max-width: 100%;
  }

  .container-img img {
    max-width: 100%;
  }
}

/* Produk Section */
#product {
  padding: 50px 10%;
  background: #f9f9f9;
  text-align: center;
}

.product-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.product-card h3 {
  color: #e67e22;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

.price {
  display: block;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  color: #2c3e50;
}

/* Contact Section */
#contact {
  padding: 60px 10%;
  background: #fff;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  color: #e67e22;
  margin-bottom: 15px;
}

.contact-info p {
  margin: 8px 0;
  font-size: 15px;
  color: #444;
}

.social-icons a {
  font-size: 20px;
  margin-right: 12px;
  color: #e67e22;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #2c3e50;
}

.contact-form {
  display: flex;
  flex-direction: column; /* biar input dan textarea jadi ke bawah */
  gap: 10px; /* jarak antar elemen */
  max-width: 400px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.contact-form button {
  background-color: #e67e22;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #d35400;
}

/* === SPLASH === */
.splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #c9c4d0; /* warna abu background */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 1s ease forwards;
  animation-delay: 3s; /* hilang setelah 3 detik */
}

.splash-text {
  font-size: 2rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 20px;
  text-align: center;
}

.kartun {
  width: 120px;
  animation: bounce 2s infinite ease-in-out;
}

/* Animasi gambar */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}

/* Animasi hilang splash */
@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}

/* Kartun umum */
.kartun {
  width: 120px;
  margin: 10px;
}

/* Kartun 1: naik turun */
.bounce {
  animation: bounce 2s infinite ease-in-out;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Kartun 2: goyang kiri kanan */
.shake {
  animation: shake 1.5s infinite ease-in-out;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-15px); }
  75% { transform: translateX(15px); }
}