/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a;
    color: #dadada;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Hero Section */
.hero {
    position: relative;
    height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.cta-button {
    display: inline-block;
    color: #dadada;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid rgb(77, 77, 77);
}

.cta-button:hover {
    background-color: #555;
    transform: translateY(-2px);
}

/* About Section */
.about {
    background-color: #fff;
    color: #333;
    padding: 80px 0;
    text-align: center;
}

/* Untuk layout super lega */
.about-content {
    max-width: 1000px; /* Sama dengan container utama */
    margin: 0 auto;
    font-size: 1.0rem;
    line-height: 1.8;
}

/* Products Section */
.products {
    background-color: #1a1a1a;
    padding: 50px 0;
    text-align: center;
}

.section-title-text {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #272727;
    font-weight: bold;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 50px;
    color: #dadada;
    font-weight: bold;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 15px;
    padding: 25px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.product-card.recommended {
    border-color: #666;
    
    transform: scale(1.02);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #666;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.product-image {
    margin-bottom: 20px;
}

.product-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.product-title {
    font-size: 1rem; /* Dikurangi dari 1.2rem ke 1rem */
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-rating {
    margin-bottom:2px;
}

.star {
    color: #ffd700;
    font-size: 1.2rem;
    margin: 0 2px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 2px 0;
    text-align: left;
}

.product-features li {
    color: #dadada;
    margin-bottom: 5px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.product-features li:before {
    content: "";
    margin-right: 8px;
}

.product-btn {
    background-color: #444;
    color: #dadada;
    border: 1px solid #666;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.product-btn:hover {
    background-color: #555;
    border-color: #777;
    transform: translateY(-2px);
}

/* Modal CSS dipindahkan ke modals/css/ */
/* Uncomment jika ingin tetap menggunakan CSS modal di sini */

/* Responsive */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card.recommended {
        transform: none;
    }
    
    .product-features li {
        font-size: 0.85rem;
    }
}

.view-all-btn {
    display: inline-block;
    background-color: #333;
    color: #dadada;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid rgb(77, 77, 77);
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background-color: #555;
}

/* Testimonials Section */
.testimonials {
    background-color: #2a2a2a;
    padding: 40px 0;
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-item {
   
    margin: 0 10px;
    
}

/* Customers Section */
.customers {
    background-color: #1a1a1a;
    padding: 20px 0;
    text-align: center;
}

.customer-image {
    max-width: 100%;
    height: auto;
    
}

/* Footer Styles */
.footer {
    background-color: #000;
    padding: 40px 0;
    text-align: center;
}

.footer-menu-desktop {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-menu-desktop li {
    margin: 0 20px;
}

.footer-menu-desktop a {
    color: #dadada;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu-desktop a:hover {
    color: #fff;
}

.footer-copyright {
    color: #888;
    font-size: 0.9rem;
}

/* Mobile Footer Menu */
.footer-menu {
    display: none;
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    background-color: #000;
    border-top: 1px solid rgb(77, 77, 77);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    padding: 15px 0;
    justify-content: space-around;
    align-items: center;
}

.footer-item {
    flex: 1;
    text-align: center;
    max-width: calc(100% / 6); /* Untuk 6 menu items */
}

.footer-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #dadada;
    text-decoration: none;
    padding: 5px 2px;
    transition: color 0.3s ease;
}

.footer-item img, .mobile-menu-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 3px;
    filter: brightness(0.8);
    object-fit: contain;
}

.footer-item span {
    font-size: 0.6rem;
    line-height: 1.2;
    word-wrap: break-word;
}

.footer-item a:hover {
    color: #fff;
}

.footer-item a:hover img,
.footer-item a:hover .mobile-menu-icon {
    filter: brightness(1);
}

/* Mobile Menu Item untuk King */
.mobile-menu-item {
    flex: 1;
    text-align: center;
    max-width: calc(100% / 6);
}

.mobile-menu-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #dadada;
    text-decoration: none;
    padding: 5px 2px;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: #fff;
}

.mobile-menu-link:hover .mobile-menu-icon {
    filter: brightness(1);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .footer-menu-desktop {
        display: none;
    }
    
    .footer-menu {
        display: flex;
    }
    
    /* Sembunyikan copyright di mobile */
    .footer-copyright {
        display: none;
    }
    
    /* Buat customers section rapat dengan footer mobile */
    .customers {
        padding: 20px 0 0 0;
    }

    .hero {
        height: 100vh;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-item span {
        font-size: 0.55rem;
    }
    
    .footer-item img, .mobile-menu-icon {
        width: 18px;
        height: 18px;
    }
    
    .footer-menu {
        padding: 10px 0;
    }
}

