/* ================= DETAIL PRODUK OMEVRA CSS ================= */

/* Global Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Montserrat', sans-serif;
    color: #111827;
    background-color: #ffffff;
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. Navbar */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}
.logo img {
    height: 50px;
    object-fit: contain;
}
.nav-menu {
    display: flex;
    gap: 25px;
}
.nav-menu a {
    text-decoration: none;
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: #16a34a;
}

/* Common Section Title */
.section-title {
    text-align: center;
    margin-bottom: 45px;
}
.section-title p {
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.section-title h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0d3824;
    margin-bottom: 12px;
}
.section-title span {
    display: block;
    width: 50px;
    height: 3px;
    background-color: #16a34a;
    margin: 0 auto;
    border-radius: 2px;
}

/* 2. Detail Hero Section */
.detail-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.detail-image {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.detail-content .detail-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}
.detail-content h1 {
    font-size: 32px;
    font-weight: 800;
    color: #0d3824;
    margin-bottom: 15px;
}
.detail-content p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 30px;
}
.detail-buttons {
    display: flex;
    gap: 15px;
}
.btn-primary, .btn-outline {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}
.btn-primary {
    background-color: #16a34a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}
.btn-primary:hover {
    background-color: #0d3824;
    transform: translateY(-2px);
}
.btn-outline {
    background-color: transparent;
    color: #0d3824;
    border: 2px solid #0d3824;
}
.btn-outline:hover {
    background-color: #0d3824;
    color: #ffffff;
    transform: translateY(-2px);
}

/* 3. Keunggulan Feature Section */
.detail-feature {
    padding: 80px 0;
    background-color: #ffffff;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.feature-card {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    font-size: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    border-color: #bbf7d0;
}
.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0d3824;
    margin: 15px 0 8px 0;
}
.feature-card p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

/* 4. Spesifikasi Section & Multi-Series Tables */
.detail-spec {
    padding: 80px 0;
    background-color: #f8fafc;
}
.spec-series {
    margin-bottom: 50px;
}
.spec-series:last-child {
    margin-bottom: 0;
}
.series-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
}
.series-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #16a34a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
}
.series-title h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0d3824;
}
.table-wrapper {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    overflow-x: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #cbd5e1;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 13px;
    border: 1px solid #cbd5e1;
}
.spec-table th, 
.spec-table td {
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
}
.spec-table thead th {
    background-color: #0d3824;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    border-color: #0d3824;
}
.spec-table tbody tr:hover {
    background-color: #f8fafc;
}
.spec-table tbody td:first-child {
    font-weight: 700;
    color: #16a34a;
    background-color: #fafaf9;
}

/* 5. Produk Terkait Section */
.related-product {
    padding: 80px 0;
    background-color: #ffffff;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1050px;
    margin: 0 auto;
}
.related-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(22, 163, 74, 0.1);
    border-color: #bbf7d0;
}
.related-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #f8fafc;
    padding: 15px;
}
.related-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0d3824;
    padding: 18px;
    text-align: center;
    margin: 0;
}

/* 6. Back Section */
.back-product {
    padding: 40px 0 80px 0;
    background-color: #ffffff;
    text-align: center;
}
.btn-back {
    display: inline-block;
    color: #16a34a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: color 0.3s ease;
}
.btn-back:hover {
    color: #0d3824;
    text-decoration: underline;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .feature-grid, .related-grid {
        grid-template-columns: 1fr;
    }
    .nav-menu {
        display: none;
    }
}