/* CSS khusus untuk halaman home/index.php */

/* Gunakan desktop-header-core.css untuk styling header PC */

.hero {
    position: relative;
    height: 100vh;
    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;
}

.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;
    color: white;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    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;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.0rem;
    line-height: 1.8;
}

/* Products Section */
.products-home {
    background-color: #1a1a1a;
    padding: 50px 0;
    text-align: center;
}

.section-title-text-home {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #bdbdbd;
    font-weight: bold;
}

.section-title-home {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #dadada;
    font-weight: bold;
    padding-top: 20px;
}



.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-home {
    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-home {
    font-size: 15px;
    padding-bottom:10px;
    padding-top:5px;
    color: #fff;
    margin-bottom: 15px;
       
}

.product-rating {
    margin-bottom: 2px;
}

.star {
    color: #ffd700;
    font-size: 1.2rem;
    margin: 0 2px;
}

.product-features-home {
    list-style: none;
    padding: 0;
    margin: 2px 0;
    text-align: left;
    
}

.product-features-home li {
    color: #dadada;
    margin-bottom: 5px;
    font-size: 0.9rem;
    line-height: 1.4;
    
}

.product-features-home 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);
}

.view-all-btn-home {
    display: inline-block;
    background-color: #333333;
    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-home:hover {
    background-color: #555;
}

/* Testimonials Section */
.testimonials-home {
    background-color: #2a2a2a;
    padding: 40px 0;
    text-align: center;
    color:#dadada;
    
}

.testimonial-slider-home {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

/* Testimonial Slider Animation */
.testimonial-item-home {
    margin: 0 10px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
    padding: 20px;
    text-align: center;
}

.testimonial-item-home.active {
    opacity: 1;
    display: block;
}

/* Tambahkan animasi fade yang lebih halus */
.testimonial-slider-home {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    min-height: 120px;
}

.testimonial-item-home {
    margin: 0 10px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.testimonial-item-home.active {
    opacity: 1;
    display: block;
}

.testimonial-item-home p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 15px;
    color: #dadada;
}

.testimonial-item-home cite {
    font-weight: bold;
    color: #FFD700;
    font-size: 1rem;
}

/* Customers Section */
.customers-home {
    background-color: #1a1a1a;
    padding: 10px 0;
    text-align: center;
}

.customer-image-home {
    max-width: 100%;
    height: auto;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    /* Header mobile menggunakan konfigurasi dari header-mobile.php */
    /* Semua styling header mobile telah dipindahkan ke mobile-header-core.css */
    
    .nav-menu li {
        margin: 4px 0;
    }
    
    /* Product table mobile - ubah ke layout vertikal */
    .product-table {
        display: block !important;
        width: 100% !important;
        border-spacing: 0 !important;
        margin: 20px auto !important;
        text-align: center !important;
    }
    
    .product-table tr {
        display: block !important;
        margin-bottom: 0 !important;
    }
    
    .product-table td {
        display: block !important;
        width: 100% !important;
        margin: 0 100px 20px auto !important;
        padding: 20px !important;
        box-sizing: border-box;
        text-align: center !important;
    }
    
    .recommended-badge-floating {
        position: static !important;
        transform: none !important;
        display: inline-block;
        margin-bottom: 15px;
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .product-features-home li {
        font-size: 0.85rem;
        margin-bottom: 3px;
    }
    
    .product-title-home {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
    }
    
    /* Hero section mobile */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero {
        height: 100vh;
    }
    
    /* Customers section mobile - perbaiki responsiveness */
    .customers-home {
        padding-top: 40px;
        padding-bottom: 60px;
    }
    
    .customer-image-home-home {
        max-width: 100%;
        height: auto;
        width: 100%;
        object-fit: contain;
    }
    
    /* Footer mobile - pastikan terlihat */
    .footer-menu {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #000;
        border-top: 1px solid #333;
        z-index: 1000;
        padding: 10px 0;
    }
    
    .footer-item {
        flex: 1;
        text-align: center;
    }
    
    .footer-item span {
        font-size: 0.6rem;
        line-height: 1.1;
    }
    
    .footer-item img {
        width: 18px;
        height: 18px;
        margin-bottom: 2px;
    }
    
    /* Tambahkan padding bottom untuk konten agar tidak tertutup footer mobile */
    body {
        padding-bottom: 70px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .nav-logo img {
        height: 35px;
    }
    
    .nav-container {
        padding: 12px 15px;
    }
    
    .product-table td {
        padding: 15px !important;
        margin-bottom: 15px !important;
    }
    
    .product-title-home {
        font-size: 1rem !important;
    }
    
    .product-features-home li {
        font-size: 0.8rem;
    }
    
    .footer-item span {
        font-size: 0.55rem;
    }
    
    .footer-item img {
        width: 16px;
        height: 16px;
    }
    
    .hamburger .bar {
        width: 20px;
        height: 2px;
    }
    
    .customer-image-home-home {
        padding: 0 10px;
    }
    
    body {
        padding-bottom: 65px;
    }
}

/* Recommended Badge */
.product-table-container {
    position: relative;
}

.recommended-badge-top {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 8px 20px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    z-index: 10;
}

.recommended-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    color: #000 !important;
    text-align: center;
    font-weight: bold;
    border-radius: 15px !important;
    padding: 8px 15px !important;
    margin-bottom: 15px !important;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.product-container {
    position: relative;
}

.recommended-badge-floating {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 6px 15px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    z-index: 10;
    white-space: nowrap;
  
}

.product-table {
    margin-top: 15px;
}

/* Solusi 3: Badge Tepat di Atas Kolom Tengah

Jika ingin badge tepat di atas kolom PHOTOBOX AI:
```css
.product-table-wrapper {
    position: relative;
}

.recommended-badge-center {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 6px 15px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    z-index: 10;
}
```