/* =============================================
   product-page.css
   Shared styles untuk semua halaman produk:
   indoor-kiosk, outdoor-kiosk, self-service-kiosk,
   payment-kiosk, digital-signage, mesin-antrian
   ============================================= */

/* Page Hero */
.page-hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    border-bottom: 1px solid #333;
}

.page-hero .breadcrumb {
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 1rem;
}

.page-hero .breadcrumb a {
    color: var(--primary-gold);
    text-decoration: none;
}

.page-hero .breadcrumb a:hover {
    text-decoration: underline;
}

.page-hero .breadcrumb span {
    margin: 0 0.5rem;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero h1 span {
    color: var(--primary-gold);
}

.page-hero p {
    color: #aaa;
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.page-hero .hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Product Detail */
.product-detail {
    padding: 5rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-img-wrap {
    background: #1e1e1e;
    border-radius: 20px;
    border: 1px solid #333;
    padding: 2rem;
    text-align: center;
    position: sticky;
    top: 100px;
}

.product-img-wrap img {
    width: 100%;
    max-width: 420px;
    height: 380px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-img-wrap:hover img {
    transform: scale(1.04);
}

.product-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-info p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Spec List */
.spec-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.spec-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #ccc;
}

.spec-list li i {
    color: var(--primary-gold);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Tag List */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tag {
    background: #2a2a2a;
    border: 1px solid #444;
    color: #aaa;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.tag:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

/* Use Cases Section */
.use-cases {
    padding: 4rem 0;
    background: #0f0f0f;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.use-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 14px;
    padding: 1.8rem;
    text-align: center;
    transition: all 0.3s ease;
}

.use-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.use-card i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    display: block;
}

.use-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.use-card p {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    text-align: center;
    border-top: 1px solid #333;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #aaa;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Related Products Grid */
.related-products {
    padding: 4rem 0;
    background: #1a1a1a;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.related-card {
    background: #0f0f0f;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    display: block;
}

.related-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
    color: var(--primary-gold);
}

.related-card i {
    color: var(--primary-gold);
    font-size: 2rem;
    display: block;
    margin-bottom: 0.7rem;
}

.related-card strong {
    font-size: 0.9rem;
}

/* Simple Page Footer */
.page-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #333;
}

.page-footer-contact {
    color: #888;
    font-size: 0.9rem;
}

.page-footer-contact a {
    color: var(--primary-gold);
    text-decoration: none;
}

.page-footer-contact a:hover {
    text-decoration: underline;
}

.page-footer-copy {
    text-align: center;
    color: #555;
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-img-wrap {
        position: static;
    }

    .spec-list {
        grid-template-columns: 1fr;
    }

    .use-cases-grid {
        grid-template-columns: 1fr 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-hero h1 {
        font-size: 1.7rem;
    }
}

/* === TAMBAHAN MOBILE FIX === */
@media (max-width: 768px) {
    .page-hero {
        padding: 2.5rem 0;
    }
    .page-hero p {
        font-size: 0.9rem;
    }
    .hero-cta {
        flex-direction: column;
        gap: 0.7rem;
    }
    .hero-cta a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .product-info h2 {
        font-size: 1.4rem;
    }
    .product-info p {
        font-size: 0.9rem;
    }
    .spec-list li {
        font-size: 0.88rem;
    }
    .product-info .btn-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .cta-section h2 {
        font-size: 1.5rem;
    }
    .cta-section p {
        font-size: 0.9rem;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 0.7rem;
        align-items: stretch;
    }
    .cta-buttons a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .use-cases-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .use-card {
        padding: 1.2rem 1rem;
    }
    .use-card i {
        font-size: 1.8rem;
    }
    .use-card h3 {
        font-size: 0.95rem;
    }
    .use-card p {
        font-size: 0.82rem;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.7rem;
    }
    .related-card {
        padding: 1rem 0.7rem;
        font-size: 0.85rem;
    }
    .tag-list {
        gap: 0.4rem;
    }
    .tag {
        font-size: 0.78rem;
        padding: 0.3rem 0.7rem;
    }
    .floating-wa {
        bottom: 20px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-hero h1 {
        font-size: 1.6rem;
    }
    .page-hero .breadcrumb {
        font-size: 0.82rem;
    }
}
