/* ============================================
   ARTURA FURNITURE — Main Stylesheet
   Elegant · Modern · Professional
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* ── Brand Colors ── */
    --navy:        #1A2A55;   /* primary brand color */
    --navy-dark:   #111D3D;   /* darker navy for hover/footer */
    --navy-mid:    #253572;   /* mid navy for gradients */
    --navy-light:  #2E4080;   /* lighter navy accent */

    /* ── Supporting Colors ── */
    --cream:       #F0F4FA;   /* light navy-tinted cream */
    --cream-dark:  #DDE4F0;   /* slightly darker cream */
    --gold:        #C9A84C;   /* gold accent — unchanged */
    --gold-light:  #E8C97E;
    --gold-dim:    rgba(201,168,76,0.12);
    --sage:        #4A7A9B;   /* blue-sage replacing green */

    /* ── Text ── */
    --charcoal:    #1A2A55;   /* navy replaces charcoal */
    --warm-brown:  #2E4080;   /* navy-mid replaces warm brown */
    --text-main:   #1A2A55;
    --text-muted:  #5A6A8A;
    --white:       #FFFFFF;
    --border:      rgba(26,42,85,0.12);

    --font-display: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
    --font-body:    'Inter', 'Helvetica Neue', sans-serif;

    --shadow-sm:   0 2px 12px rgba(26,42,85,0.08);
    --shadow-md:   0 8px 30px rgba(26,42,85,0.12);
    --shadow-lg:   0 20px 60px rgba(26,42,85,0.18);
    --radius:      4px;
    --radius-lg:   12px;
    --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    font-size: 0.94rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern" 1, "liga" 1;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--charcoal);
}

a { color: inherit; text-decoration: none; transition: var(--transition); }

img { max-width: 100%; height: auto; }

/* --- Top Bar --- */
.topbar {
    background-color: var(--navy-dark);
    color: rgba(255,255,255,0.72);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    padding: 8px 0;
}
.topbar-text { display: flex; align-items: center; gap: 4px; }

/* --- Navbar --- */
.navbar-main {
    background-color: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    transition: var(--transition);
}
.navbar-main.scrolled {
    padding: 6px 0;
    box-shadow: var(--shadow-sm);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.navbar-main .nav-link {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-main) !important;
    padding: 8px 16px !important;
    position: relative;
}
.navbar-main .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 16px; right: 16px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after { transform: scaleX(1); }

.navbar-toggler {
    border: none;
    padding: 0;
    color: var(--charcoal);
}
.navbar-toggler:focus { box-shadow: none; }

/* Dropdown */
.dropdown-menu-custom {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    min-width: 200px;
    margin-top: 8px !important;
    animation: dropIn 0.2s ease;
}
@keyframes dropIn { from { opacity:0; transform:translateY(-6px) } to { opacity:1; transform:translateY(0) } }

.dropdown-menu-custom .dropdown-item {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    padding: 8px 18px;
    color: var(--text-main);
}
.dropdown-menu-custom .dropdown-item:hover {
    background-color: var(--cream);
    color: var(--warm-brown);
}

/* Buttons */
.btn-dark {
    background-color: var(--navy);
    border-color: var(--navy);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: var(--transition);
}
.btn-dark:hover {
    background-color: var(--navy-dark);
    border-color: var(--navy-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(26,42,85,0.4);
}
.btn-outline-dark {
    border-color: var(--navy);
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius);
}
.btn-outline-dark:hover {
    background-color: var(--navy);
    color: white;
}
.btn-gold {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--charcoal);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius);
}
.btn-gold:hover {
    background-color: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--charcoal);
    transform: translateY(-1px);
}

/* ============================================
   HOMEPAGE — HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--cream);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 85% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
        radial-gradient(circle at 15% 80%, rgba(122,158,126,0.07) 0%, transparent 50%);
    pointer-events: none;
}

.hero-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--gold);
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--charcoal);
    margin: 16px 0;
}
.hero-title em {
    font-style: italic;
    color: var(--warm-brown);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 460px;
    font-weight: 300;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}
.hero-stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-image-wrap {
    position: relative;
    height: 580px;
}
.hero-main-img {
    width: 85%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}
.hero-img-accent {
    position: absolute;
    width: 45%;
    height: 50%;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: var(--shadow-md);
    bottom: -40px;
    right: -20px;
    border: 6px solid white;
    z-index: 2;
}
.hero-badge {
    position: absolute;
    top: 40px;
    left: -20px;
    background: var(--charcoal);
    color: white;
    padding: 16px 20px;
    z-index: 3;
    text-align: center;
    border-radius: var(--radius);
}
.hero-badge-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    display: block;
    line-height: 1;
}
.hero-badge-text {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.section-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.15;
}
.section-title em { font-style: italic; font-weight: 400; color: var(--warm-brown); }

.section-divider {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--navy), var(--gold), transparent);
    margin: 20px 0;
}

/* ============================================
   CATEGORY GRID
   ============================================ */
.category-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
}
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--cream-dark);
    aspect-ratio: 4/3;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    isolation: isolate;
}
.category-card--lg {
    grid-row: span 2;
    aspect-ratio: auto;   /* height follows the two small rows, so edges line up */
}
.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,16,34,0.78) 0%, rgba(10,16,34,0.35) 35%, rgba(10,16,34,0) 65%);
    z-index: 1;
    transition: background 0.3s;
}
.category-card:hover::before {
    background: linear-gradient(to top, rgba(10,16,34,0.85) 0%, rgba(10,16,34,0.45) 45%, rgba(10,16,34,0.05) 75%);
}

.category-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.category-card:hover .category-card-img { transform: scale(1.05); }

.category-card-body {
    position: relative;
    z-index: 2;
    padding: 20px 22px;
    color: #fff;
    width: 100%;
}
.category-card--lg .category-card-body { padding: 32px; }

.category-card-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.25;
    text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}
.category-card--lg .category-card-name { font-size: 1.9rem; }

.category-card-count {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
}
.category-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.3s, max-height 0.3s;
}
.category-card:hover .category-card-arrow,
.category-card:focus-visible .category-card-arrow { max-height: 24px; opacity: 1; }
.category-card:hover .category-card-arrow i { transform: translateX(3px); }
.category-card-arrow i { transition: transform 0.3s; }

@media (max-width: 991.98px) {
    .category-grid { grid-template-columns: 1fr 1fr; }
    .category-card--lg { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16/9; }
}
@media (max-width: 575.98px) {
    .category-grid { gap: 12px; }
    .category-card-body { padding: 14px; }
    .category-card-name { font-size: 1rem; }
    .category-card--lg .category-card-body { padding: 20px; }
    .category-card--lg .category-card-name { font-size: 1.4rem; }
    .category-card-arrow { display: none; }
}

/* Category placeholder colors — navy tones */
.cat-bg-1 { background: linear-gradient(135deg, #1A2A55, #253572); }
.cat-bg-2 { background: linear-gradient(135deg, #111D3D, #1A2A55); }
.cat-bg-3 { background: linear-gradient(135deg, #0D1B3E, #253572); }
.cat-bg-4 { background: linear-gradient(135deg, #1E3060, #2E4080); }
.cat-bg-5 { background: linear-gradient(135deg, #253572, #3A4F8A); }

/* ============================================
   PRODUCT CARD
   ============================================ */
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--cream);
    aspect-ratio: 4/3;
}
.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-img { transform: scale(1.04); }

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
}
.badge-sale { background: var(--warm-brown); color: white; }
.badge-new  { background: var(--charcoal); color: white; }

.product-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category-tag {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 6px 0 4px;
    line-height: 1.3;
}
.product-name:hover { color: var(--warm-brown); }

.product-material {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.product-footer {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--charcoal);
}
.product-price-original {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    display: block;
    line-height: 1;
}

.btn-wa-product {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--charcoal);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 7px 14px;
    transition: var(--transition);
}
.btn-wa-product:hover {
    background: var(--charcoal);
    color: white;
    border-color: var(--charcoal);
}

/* ============================================
   FEATURED BANNER
   ============================================ */
.featured-banner {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    color: white;
}

/* Layer 1 — Dot pattern */
.featured-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

/* Layer 2 — Gold glow top-right, fade left */
.featured-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 90% 0%, rgba(201,168,76,0.25) 0%, transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(17,29,61,0.8) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Konten di atas pattern */
.featured-banner > * {
    position: relative;
    z-index: 1;
}

.featured-banner-label {
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-light);
}
.featured-banner-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    color: white;
    line-height: 1.15;
}
.featured-banner-text {
    color: rgba(255,255,255,0.65);
    font-weight: 300;
    max-width: 400px;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.feature-box {
    padding: 36px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: var(--white);
}
.feature-box::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 3px; height: 0;
    background: linear-gradient(to bottom, var(--gold), var(--navy-light));
    transition: height 0.3s ease;
}
.feature-box:hover::before { height: 100%; }
.feature-box:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--cream-dark);
}

.feature-icon {
    width: 64px; height: 64px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 22px;
    transition: var(--transition);
}
.feature-box:hover .feature-icon {
    background: var(--navy);
    color: var(--gold-light);
}

.feature-title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.feature-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.75;
    font-family: var(--font-body);
}

/* ============================================
   CATALOG PAGE SPECIFIC
   ============================================ */
.page-header {
    background: var(--cream);
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border);
}
.page-header-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
}
.breadcrumb {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

.filter-sidebar {
    position: static;
}
@media (min-width: 992px) {
    .filter-sidebar {
        position: sticky;
        top: 90px;
    }
}
.filter-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.filter-title {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
.filter-item:hover { color: var(--charcoal); }
.filter-item input[type="radio"],
.filter-item input[type="checkbox"] {
    accent-color: var(--charcoal);
    width: 15px;
    height: 15px;
}

/* Sort bar */
.sort-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--cream);
    border-radius: var(--radius);
    margin-bottom: 24px;
}
.sort-bar select {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 6px 12px;
    font-size: 0.82rem;
    font-family: var(--font-body);
    background: white;
    cursor: pointer;
    outline: none;
    max-width: 100%;
}
.result-count {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-left: auto;
}
@media (max-width: 575.98px) {
    .sort-bar { gap: 8px 12px; }
    .result-count { margin-left: 0; flex-basis: 100%; }
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--cream);
}
.product-detail-name {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.15;
}
.product-detail-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--charcoal);
}
.spec-table td { padding: 8px 0; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.spec-table td:first-child { color: var(--text-muted); width: 130px; }

/* ============================================
   ABOUT & CONTACT
   ============================================ */
.about-hero {
    background: var(--cream);
    padding: 80px 0;
}
.values-grid .col { margin-bottom: 24px; }

.contact-box {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 40px;
    height: 100%;
}
.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}
.contact-icon {
    width: 44px; height: 44px;
    background: var(--navy);
    color: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }
.contact-value { font-size: 0.95rem; color: var(--charcoal); font-weight: 500; }

.form-control, .form-select {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-label { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em; color: var(--text-main); margin-bottom: 6px; }

/* ============================================
   FOOTER
   ============================================ */
.footer-main {
    background-color: var(--navy-dark);
    color: rgba(255,255,255,0.75);
}
.footer-brand {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: white;
}
.footer-tagline {
    font-style: italic;
    font-family: var(--font-display);
    color: var(--gold-light);
    font-size: 1rem;
    margin: 4px 0 0;
}
.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.8; }

.social-links { display: flex; gap: 10px; }
.social-icon {
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}
.social-icon:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--charcoal);
}

.footer-heading {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    display: flex; gap: 12px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    align-items: flex-start;
}
.footer-contact i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 32px; right: 32px;
    width: 54px; height: 54px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse-wa 3s infinite;
}
.whatsapp-float:hover {
    background: #128C7E;
    color: white;
    transform: scale(1.08);
}
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.65); }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================
   UTILITIES
   ============================================ */
.bg-cream { background-color: var(--cream); }
.text-gold { color: var(--gold); }
.text-muted-custom { color: var(--text-muted); }
.border-custom { border-color: var(--border) !important; }

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}
.empty-state i { font-size: 3rem; opacity: 0.3; margin-bottom: 16px; }
.empty-state h5 { font-family: var(--font-display); font-weight: 400; }

/* Pagination */
.pagination .page-link {
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 8px 14px;
    font-size: 0.85rem;
    border-radius: var(--radius) !important;
    margin: 0 2px;
}
.pagination .page-item.active .page-link {
    background: var(--charcoal);
    border-color: var(--charcoal);
}
.pagination .page-link:hover {
    background: var(--cream);
    color: var(--charcoal);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero-image-wrap { height: 400px; margin-top: 40px; }
    .hero-badge { display: none; }
    .featured-banner { padding: 50px 30px; }
}
@media (max-width: 768px) {
    .topbar { display: none; }
    .hero-stats { gap: 24px; }
    .hero-stats .hero-stat-num { font-size: 1.5rem; }
}
@media (max-width: 991.98px) {
    .filter-sidebar { margin-bottom: 24px; }
}

/* ============================================
   HERO SLIDER
============================================ */
.hero-slider-section {
    position: relative;
}

/* Carousel override */
.carousel-fade .carousel-item { transition: opacity 0.8s ease; }

/* Each slide */
.hero-slide {
    height: 92vh;
    min-height: 560px;
    max-height: 900px;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Slide background colors (ganti dengan foto asli via background-image) */
.slide-1 { background: linear-gradient(135deg, #111D3D 0%, #1A2A55 50%, #253572 100%); }
.slide-2 { background: linear-gradient(135deg, #0D1B3E 0%, #1A2A55 40%, #2E4080 100%); }
.slide-3 { background: linear-gradient(135deg, #0A1428 0%, #111D3D 50%, #1A2A55 100%); }
.slide-4 { background: linear-gradient(135deg, #111D3D 0%, #1E3060 40%, #2A4090 100%); }

/* Jika pakai foto, tambahkan di sini:
.slide-1 { background-image: url('../img/slide1.jpg'); }
.slide-2 { background-image: url('../img/slide2.jpg'); }
.slide-3 { background-image: url('../img/slide3.jpg'); }
.slide-4 { background-image: url('../img/slide4.jpg'); }
*/

/* Overlay gradient */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,18,45,0.82) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.05) 100%);
    z-index: 1;
}
.slide-overlay-center {
    background: rgba(10,18,45,0.65);
}

/* Slide content */
.slide-content {
    position: relative;
    z-index: 2;
    animation: slideIn 0.9s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.slide-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(201,168,76,0.4);
}

.slide-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 20px;
}
.slide-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold-light);
}

.slide-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.72);
    font-weight: 300;
    line-height: 1.85;
    max-width: 480px;
    margin-bottom: 36px;
}

.slide-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-slide-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--charcoal);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 36px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
}
.btn-slide-primary:hover {
    background: var(--gold-light);
    color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,0.4);
}

.btn-slide-secondary {
    display: inline-block;
    background: transparent;
    color: rgba(255,255,255,0.9);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 36px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.35);
    text-decoration: none;
    transition: var(--transition);
}
.btn-slide-secondary:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

/* --- Prev / Next Buttons --- */
.hero-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(26,42,85,0.3);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.hero-carousel-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--charcoal);
    transform: translateY(-50%) scale(1.06);
}
.hero-prev { left: 28px; }
.hero-next { right: 28px; }

/* --- Dot Indicators --- */
.hero-indicators {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.hero-dot {
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.35s ease;
}
.hero-dot.active,
.hero-dot:hover {
    background: var(--gold);
    width: 44px;
}

/* --- Slide Counter --- */
.hero-counter {
    position: absolute;
    bottom: 105px;
    right: 36px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    color: rgba(255,255,255,0.55);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    font-family: var(--font-display);
}
#currentSlide {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}
.hero-counter-line {
    display: block;
    width: 28px;
    height: 1px;
    background: rgba(255,255,255,0.35);
}

/* --- Progress Bar --- */
.hero-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.1);
    z-index: 10;
}
.hero-progress-fill {
    height: 100%;
    background: var(--gold);
    width: 0%;
    transition: width 0.1s linear;
}

/* --- Stats Bar --- */
.hero-stats-bar {
    background: var(--navy-dark);
    padding: 0;
    position: relative;
    z-index: 5;
}
.hero-stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.hero-stat-item {
    padding: 22px 48px;
    text-align: center;
    flex: 1;
}
.hero-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold-light);
    line-height: 1;
}
.hero-stat-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-top: 6px;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

/* Responsive slider */
@media (max-width: 992px) {
    .hero-slide { height: 75vh; min-height: 480px; }
    .hero-stat-item { padding: 18px 20px; }
    .hero-counter { display: none; }
}
@media (max-width: 768px) {
    .hero-slide { height: 85vh; min-height: 520px; }
    .hero-carousel-btn { width: 40px; height: 40px; font-size: 0.9rem; }
    .hero-prev { left: 12px; }
    .hero-next { right: 12px; }
    .hero-stats-inner { flex-wrap: wrap; }
    .hero-stat-item { padding: 14px 16px; flex: 0 0 50%; }
    .hero-stat-divider { display: none; }
    .slide-title { font-size: 2rem; }
    .hero-indicators { bottom: 80px; }
}

/* ============================================
   PRODUCT DETAIL — GALLERY & ZOOM
============================================ */

/* ---- Main Gallery Container ---- */
.gallery-main-wrap {
    position: relative;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.gallery-zoom-container {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--cream);
    border: 1px solid var(--border);
    cursor: crosshair;
    line-height: 0;
    z-index: 10;
}

.gallery-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
    transition: opacity 0.2s ease;
    user-select: none;
    -webkit-user-drag: none;
}

/* Badge "hover untuk zoom" */
.gallery-main-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(26,42,85,0.65);
    color: rgba(255,255,255,0.85);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.3s;
}
.gallery-zoom-container:hover .gallery-main-badge { opacity: 0; }

/* Fullscreen button */
.gallery-fullscreen-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(26,42,85,0.55);
    border: none;
    border-radius: var(--radius);
    color: white;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.gallery-fullscreen-btn:hover {
    background: var(--gold);
    color: var(--charcoal);
}

/* ---- Zoom Lens ---- */
.zoom-lens {
    display: none;
    position: absolute;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    background: rgba(201,168,76,0.08);
    cursor: crosshair;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 0 0 1px rgba(201,168,76,0.3);
}

/* ---- Zoom Result Box ---- */
.zoom-result {
    display: none;
    /* Absolute di dalam .gallery-zoom-container */
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 220px;
    height: 200px;
    border-radius: var(--radius);
    border: 2px solid var(--gold);
    background-color: var(--cream);
    background-repeat: no-repeat;
    box-shadow: 0 4px 24px rgba(26,42,85,0.25);
    z-index: 20;
    overflow: hidden;
    pointer-events: none;
}

/* ---- Thumbnail Strip ---- */
.gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.gallery-thumb {
    width: 76px;
    height: 76px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    background: var(--cream);
    flex-shrink: 0;
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-thumb:hover { border-color: var(--gold-light); }
.gallery-thumb:hover img { transform: scale(1.08); }
.gallery-thumb.active {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201,168,76,0.25);
}

.gallery-counter {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 10px;
    letter-spacing: 0.05em;
}

.gallery-add-hint {
    margin-top: 16px;
    background: var(--cream);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.gallery-add-hint code {
    background: rgba(90,60,40,0.08);
    padding: 1px 5px;
    border-radius: 2px;
    font-size: 0.75rem;
}

/* ---- Lightbox ---- */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.gallery-lightbox.active { display: flex; }

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,18,45,0.95);
    cursor: pointer;
}

.lightbox-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 60px;
    max-width: 95vw;
    max-height: 92vh;
}

.lightbox-img {
    max-width: 80vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    transition: opacity 0.2s ease;
    display: block;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}
.lightbox-close:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(26,42,85,0.3);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}
.lightbox-nav:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    z-index: 2;
}

/* ============================================
   PRODUCT DETAIL — INFO SECTION
============================================ */
.product-code {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    margin-top: -4px;
}

.detail-divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

.product-desc-text {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.9;
}

/* Spec Card */
.spec-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 20px 24px;
    border: 1px solid var(--border);
}
.spec-card-title {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.spec-table td {
    padding: 10px 0;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child {
    color: var(--text-muted);
    width: 170px;
    white-space: nowrap;
}
.text-gold { color: var(--gold) !important; }

/* Status badges */
.status-available {
    color: #3d8c5e;
    font-weight: 500;
    font-size: 0.88rem;
}
.status-inquiry {
    color: var(--warm-brown);
    font-weight: 500;
    font-size: 0.88rem;
}

/* CTA area */
.detail-cta-wrap {
    background: var(--cream);
    border-left: 3px solid var(--navy);
    border-radius: var(--radius);
    padding: 20px 24px;
    border: 1px solid var(--border);
}
.cta-info-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Company info strip */
.company-info-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.company-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.78rem;
    color: var(--text-muted);
    transition: var(--transition);
}
.company-info-item i {
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}
.company-info-item:hover {
    background: var(--cream);
    color: var(--charcoal);
}

/* Product card — overlay & kode */
.product-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,42,85,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius) var(--radius) 0 0;
}
.product-img-wrap:hover .product-card-overlay { opacity: 1; }
.product-card-overlay-text {
    background: var(--gold);
    color: var(--charcoal);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 9px 20px;
    border-radius: var(--radius);
}
.badge-featured { background: var(--gold); color: var(--charcoal); }
.product-code-small {
    font-size: 0.7rem;
    font-family: monospace;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    background: var(--cream);
    padding: 3px 8px;
    border-radius: 3px;
}

/* Responsive gallery */
@media (max-width: 1200px) {
    .zoom-result { display: none !important; }
    .zoom-lens   { display: none !important; }
}
@media (max-width: 768px) {
    .gallery-main-img { height: 320px; }
    .gallery-thumb { width: 60px; height: 60px; }
    .lightbox-img { max-width: 95vw; }
    .lightbox-inner { padding: 0 20px; }
    .company-info-strip { grid-template-columns: 1fr; }
}

/* ============================================
   CERTIFICATION BADGES — Footer
============================================ */
.cert-badge {
    background: #ffffff;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-width: 90px;
    height: 60px;
}
.cert-badge:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35), 0 0 0 2px rgba(201,168,76,0.5);
    border-color: var(--gold);
}
.cert-badge img {
    height: 38px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    display: block;
    /* Hapus filter agar warna PNG asli tetap terjaga */
    filter: none;
}

/* Smooth scroll offset — agar tidak tertutup sticky navbar */
[id] { scroll-margin-top: 90px; }

/* ============================================
   CERTIFICATION CARDS — About Page
============================================ */
.cert-card-about {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    width: 130px;
    text-align: center;
    transition: var(--transition);
    cursor: default;
}
.cert-card-about:hover {
    border-color: var(--navy);
    box-shadow: 0 4px 20px rgba(26,42,85,0.12);
    transform: translateY(-3px);
}
.cert-card-about img {
    height: 44px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    display: block;
    filter: none;
}
.cert-card-about span {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    line-height: 1.4;
}

/* ============================================
   NAVBAR LOGO
============================================ */
.navbar-logo {
    height: 72px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
    transition: height 0.3s ease;
}
.navbar-main.scrolled .navbar-logo {
    height: 56px;
}
@media (max-width: 992px) {
    .navbar-logo { height: 56px; }
}
@media (max-width: 768px) {
    .navbar-logo { height: 48px; }
}