/* Reset dan Styling Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    overflow: hidden; /* Mencegah scroll */
    height: 100vh;
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header dan Navigasi */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-shrink: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #6c5ce7;
    text-decoration: none;
}

.logo span {
    color: #fd79a8;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 15px;
    border-radius: 5px;
}

.nav-links a:hover {
    color: #6c5ce7;
    background-color: #f5f5f5;
}

.nav-links a.active {
    color: #6c5ce7;
    background-color: #f0edff;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* Konten Utama */
.main-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px 5%;
    overflow-y: auto;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.page.active {
    display: block;
    opacity: 1;
}

/* Home Page */
.home-content {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 50px;
}

.home-text {
    flex: 1;
}

.home-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #333;
}

.home-text p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.home-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-image img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn {
    display: inline-block;
    background-color: #6c5ce7;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #5b4bd4;
}

/* Produk Page */
.page h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.page > p {
    color: #777;
    max-width: 600px;
    margin-bottom: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    height: 200px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-info p {
    color: #777;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 700;
    color: #6c5ce7;
    font-size: 18px;
}

/* Testimoni Page */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    margin-right: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: #777;
}

/* Developer Page */
.developers-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding: 50px 20px;
  text-align: center;
}

.developer-card {
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.developer-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.developer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.developer-details h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #222;
}

.developer-details p {
  color: #555;
  margin-bottom: 12px;
  line-height: 1.5;
  font-size: 14px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
}

.social-links a {
  width: 35px;
  height: 35px;
  background-color: #6c5ce7;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
}

.social-links a:hover {
  background-color: #5b4bd4;
}

.social-links img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}


/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 20px 5%;
  text-align: center;
}

.footer-logo span {
  color: #fd79a8;
}