/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    background-color: #fff;
}

/* Navbar Styling */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 15px 20px;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .navbar-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
  }
  
  .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
  }
  
  .logo-img {
    max-width: 200px;  /* Ukuran gambar logo */
    height: auto;
    margin-right: 10px;  /* Memberikan ruang antara gambar dan teks */
  }
  
  /* Default Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
  }
  
  .nav-links a {
    text-decoration: none;
    font-size: 16px;
    color: #333;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: #d2a547;
  }
  
  /* Menu Toggle for Small Screens */
  .menu-toggle {
    display: none; /* Default: hidden on large screens */
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  /* Show the menu in a column layout when toggled */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 60px; /* Adjust based on your navbar height */
    right: 20px;
    border: 1px solid #eaeaea;
    padding: 10px;
    gap: 10px;
    z-index: 1001;
  }
  
  /* Media Query for Small Screens (Mobile) */
  @media (max-width: 768px) {
    /* Hide the nav-links by default on small screens */
    .nav-links {
      display: none; /* Initially hidden */
      flex-direction: column;
      gap: 15px;
    }
  
    /* Show the hamburger menu */
    .menu-toggle {
      display: block; /* Visible only on small screens */
    }
  
    /* Adjust navbar container for space between */
    .navbar-container {
      justify-content: space-between;
      align-items: center;
    }
  
    /* Show nav-links when active */
    .nav-links.active {
      display: flex; /* Show the menu when active */
    }
  }

/* Banner Styling */
.banner {
    width: 100%;
    height: auto; /* Sesuaikan tinggi banner dengan tinggi konten */
    padding: 0;
    background-color: #fef6e4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Hilangkan overflow jika ada elemen melampaui container */
}

/* Image container */
.image-container {
    display: flex;
    flex-direction: column; /* Tata letak gambar vertikal */
    gap: 10px; /* Jarak antar gambar */
    align-items: center; /* Tengahkan gambar secara horizontal */
    width: 100%; /* Gunakan seluruh lebar */
}

/* Styling for individual images */
.banner-image {
    width: 100%; /* Gunakan seluruh lebar container */
    height: auto; /* Jaga rasio aspek gambar */
    object-fit: contain; /* Pastikan gambar tidak terpotong */
    max-width: 100%; /* Maksimalkan lebar */
    max-height: 100%; /* Sesuaikan tinggi */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Opsional: Tambahkan bayangan */
    border-radius: 10px; /* Opsional: Tambahkan radius untuk sudut melengkung */
}

/* Responsif untuk layar kecil (mobile) */
@media (max-width: 768px) {
    .banner {
        height: auto; /* Sesuaikan tinggi banner di layar kecil */
        padding-top: 50px; /* Beri jarak dari navbar */
    }

    .image-container {
        gap: 5px; /* Kurangi jarak antar gambar */
    }

    .banner-image {
        max-height: 80vh; /* Batasi tinggi gambar di layar kecil */
    }
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0px;
}

.text-content {
    max-width: 50%;
}

.subtitle {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 10px;
}

.title {
    font-size: 36px;
    color: #d2a547;
    margin-bottom: 20px;
}

.description {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #d2a547;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #bf933f;
}

.image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Our Product Section */
.our-product {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

/* Title and Description Styling */
.product-header {
    max-width: 800px;  /* Restrict the width for better readability */
    margin: 0 auto;  /* Center the header horizontally */
}

.product-header h1 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.product-header .product-description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
}

.product-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.product-title h1 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.product-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}


/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

/* Product Image */
.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    display: block;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: red;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
}

.badge.new {
    background: teal;
}

/* Product Info */
.product-info {
    padding: 15px;
    text-align: center;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.product-info p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #666;
}

.product-info .price {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.product-info .price .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-left: 5px;
}

/* Responsive Design for Smaller Screens */

/* Layout for screens with max width of 768px (Tablets and smaller) */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr; /* Stack products vertically for smaller screens */
    }

    .product-info h3 {
        font-size: 16px; /* Adjust product name font size */
    }

    .product-info p {
        font-size: 12px; /* Adjust product description font size */
    }

    .product-info .price {
        font-size: 14px; /* Adjust price font size */
    }
}

/* Layout for screens with max width of 480px (Very small screens, e.g., phones) */
@media (max-width: 480px) {
    .product-info h3 {
        font-size: 14px; /* Smaller font size for product name */
    }

    .product-info p {
        font-size: 10px; /* Smaller font size for product description */
    }

    .product-info .price {
        font-size: 12px; /* Adjust price font size */
    }

    .product-info .old-price {
        font-size: 12px; /* Adjust old price font size */
    }
}

/* General Styles */
.our-product {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
}

.product-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.product-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

/* General Styles for Product Section */
.our-product {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.product-container {
    max-width: 1200px; /* Set a max-width for better alignment */
    margin: 0 auto;
}

.product-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.product-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

/* Grid Layout for Product Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
    gap: 20px; /* Space between products */
    align-items: stretch;
}

.product-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-item img {
    width: 100%; /* Ensures image fits within the container */
    height: auto;
    margin-bottom: 10px;
}

.product-name {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin: 0;
}

/* Responsive Design for Tablets and Smaller Screens */
@media screen and (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* Two products per row */
        gap: 10px; /* Reduce gap for smaller screens */
        padding: 0 10px; /* Prevent overflow by reducing container padding */
    }

    .product-title {
        font-size: 24px; /* Title font size for smaller screens */
    }

    .product-description {
        font-size: 14px; /* Smaller description text */
    }

    .product-item {
        padding: 10px; /* Reduce padding */
    }

    .product-name {
        font-size: 16px; /* Adjust product name size */
    }

    .product-item img {
        max-width: 100%; /* Ensure image doesn't exceed container width */
        height: auto; /* Maintain aspect ratio */
    }
}

/* Responsive Design for Very Small Screens (Phones) */
@media screen and (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* Two products per row */
        gap: 10px; /* Reduce gap for very small screens */
        padding: 0 5px; /* Reduce padding to ensure no horizontal scrolling */
    }

    .product-title {
        font-size: 20px; /* Smaller title text */
    }

    .product-description {
        font-size: 12px; /* Smallest description text */
    }

    .product-item {
        padding: 8px; /* Reduce padding for small screens */
    }

    .product-item img {
        max-width: 100%; /* Ensure image scales down with screen size */
        margin-bottom: 8px; /* Adjust spacing below images */
    }

    .product-name {
        font-size: 14px; /* Smaller product name */
    }
}

/* Gallery Section */
.gallery-section {
    position: relative;
    width: 100%;
    padding: 2rem;
    background-image: url('assets/dashboard1.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    color: #fff;
}

.gallery-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
}

/* Bubble Grid */
.bubble-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.bubble {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #333;
    text-align: left;
}

.bubble h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #c5a568;
}

.bubble p {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bubble-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns */
    }

    .content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .bubble-grid {
        grid-template-columns: 1fr; /* One column */
    }

    .bubble {
        padding: 1rem;
    }

    .bubble h2 {
        font-size: 1.2rem;
    }

    .bubble p {
        font-size: 0.9rem;
    }
}

/* Clean and Modern Footer */
.bright-footer {
    background-color: #f8f9fa;
    color: #6c757d; /* Gray font for text */
    font-family: 'Roboto', sans-serif; /* Modern font */
    padding: 2rem 1rem;
    border-top: 2px solid #e9ecef;
    text-align: center; /* Center the content */
}

.footer-container {
    display: flex;
    justify-content: space-between; /* Distribute space evenly between sections */
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo, .footer-contact, .footer-social {
    flex: 1;
    min-width: 300px;
    margin: 0 1rem;
    text-align: left; /* Align the content left */
}

.footer-logo h2, .footer-contact h2, .footer-social h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #495057; /* Darker gray for titles */
}

.footer-logo p, .footer-contact p, .footer-social p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6c757d; /* Lighter gray for text */
    margin-bottom: 0.8rem;
}

/* Remove space before list items */
.footer-contact .footer-list, .footer-social .footer-list {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0; /* Remove left margin for list */
}

.footer-contact .footer-list p, .footer-social .footer-list p {
    margin-bottom: 0.5rem;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 2rem;
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
    color: #6c757d; /* Gray font for footer bottom text */
}

/* Ensure Footer Bottom stays centered and doesn't move to the side */
.footer-bottom p {
    margin: 0;
    text-align: center;
}

/* Ensure Footer sections have appropriate space */
.footer-social {
    margin-bottom: 2rem; /* Add space between "Follow Us" and footer bottom */
}

/* Responsiveness */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center; /* Center everything in smaller screens */
    }

    .footer-logo, .footer-contact, .footer-social {
        margin: 1rem 0;
        text-align: center; /* Ensure text is centered for small screens */
    }

    /* Ensures the footer-bottom stays at the bottom */
    .footer-bottom {
        margin-top: 2rem;
        text-align: center;
        padding-top: 1rem;
    }
}

/* WhatsApp Button */
#whatsapp-container {
    position: fixed;
    bottom: 20px; /* Jarak dari bawah */
    right: 20px; /* Jarak dari kanan */
    z-index: 1000; /* Pastikan tombol berada di atas elemen lain */
    display: flex;
    flex-direction: column; /* Mengatur elemen dalam kolom */
    align-items: center; /* Mengatur elemen agar berada di tengah */
}

#whatsapp-button {
    margin-bottom: 5px; /* Jarak antara tombol dan teks */
}

#whatsapp-button img {
    width: 60px; /* Ukuran tombol */
    height: 60px; /* Ukuran tombol */
}

#whatsapp-text {
    font-size: 14px; /* Ukuran font */
    color: #000; /* Warna teks */
    text-align: center; /* Rata tengah */
}