/* ======================================================
   GLOBAL.CSS - DUANAFIS (ALL CSS COMBINED INTO ONE FILE)
   Semua file CSS digabung menjadi satu tanpa menghilangkan fungsi apapun.
   Urutan: Global Root → Header → Index → Detail → Contact → Invoice
   Catatan: Style invoice ditempatkan di akhir dan override body dihapus 
   agar tidak konflik dengan tema dark utama situs. Invoice tetap tampil 
   dengan background putih pada .invoice-box sesuai desain asli.
   ====================================================== */

/* ====================== ROOT & RESET ====================== */
:root {
    --gold: #f4d06f;
    --dark-green: #072213;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --studio-bg: rgba(2, 13, 8, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background: url('../img/background/backround.png') no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden;
    min-height: 100vh;
    padding-top: 0;
    padding-left: 278px;
    transition: padding-left 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

body.sidebar-collapsed {
    padding-left: 92px;
}

@media (max-width: 768px) {
    body {
        padding-left: 0 !important;
        padding-top: 80px;
        transition: none;
    }
}

/* ====================== HEADER STYLES (LEFT SIDEBAR) ====================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    z-index: 2000;
    padding: 18px 14px;
    transition: width 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Sidebar Toggle Handle ---------- */
.sidebar-toggle {
    position: absolute;
    top: 50%;
    right: -16px;
    transform: translateY(-50%);
    width: 16px;
    height: 52px;
    background: linear-gradient(175deg, rgba(4, 20, 12, 0.98), rgba(7, 34, 19, 0.97));
    border: 1px solid rgba(244, 208, 111, 0.32);
    border-left: none;
    border-radius: 0 10px 10px 0;
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
    font-size: 0.58rem;
    box-shadow: 3px 0 12px rgba(0, 0, 0, 0.45);
    transition: background 0.25s, box-shadow 0.25s;
    padding: 0;
    outline: none;
}

.sidebar-toggle:hover {
    background: rgba(7, 34, 19, 1);
    box-shadow: 4px 0 18px rgba(244, 208, 111, 0.2);
}

.sidebar-toggle i {
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Collapsed State ---------- */
.main-header.sidebar-collapsed {
    width: 70px;
}

.main-header.sidebar-collapsed .sidebar-toggle i {
    transform: rotate(180deg);
}

.main-header.sidebar-collapsed .header-bar {
    padding: 26px 10px 20px;
    overflow: hidden;
}

.main-header.sidebar-collapsed .header-logo-section {
    flex-direction: column;
    gap: 0;
    padding-bottom: 16px;
    margin-bottom: 10px;
}

.main-header.sidebar-collapsed .header-logo-section img {
    height: 38px;
}

.main-header.sidebar-collapsed .logo-text {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.main-header.sidebar-collapsed .header-nav li a {
    justify-content: center;
    padding: 10px 0;
    gap: 0;
}

.main-header.sidebar-collapsed .header-nav li a span,
.main-header.sidebar-collapsed .icon-label {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    pointer-events: none;
}

.main-header.sidebar-collapsed .header-nav li a:hover {
    padding-left: 0;
}

.main-header.sidebar-collapsed .header-icons a {
    justify-content: center;
    padding: 9px 0;
    gap: 0;
}

.main-header.sidebar-collapsed .header-icons a:hover {
    padding-left: 0;
}

.main-header.sidebar-collapsed .cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    margin-left: 0;
}

.header-bar {
    background: linear-gradient(175deg, rgba(4, 20, 12, 0.98) 0%, rgba(7, 34, 19, 0.97) 50%, rgba(3, 16, 9, 0.99) 100%);
    border: 1px solid rgba(244, 208, 111, 0.32);
    border-radius: 20px;
    padding: 26px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    box-shadow: 4px 0 35px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(244, 208, 111, 0.12), inset 1px 0 0 rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

/* Top shimmer line */
.header-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.7;
}

/* Right glow separator */
.header-bar::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent 5%, rgba(244, 208, 111, 0.25) 30%, rgba(244, 208, 111, 0.25) 70%, transparent 95%);
}

/* ---------- Logo Area ---------- */
.header-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(244, 208, 111, 0.16);
    margin-bottom: 16px;
    transition: gap 0.38s, padding-bottom 0.38s;
}

.header-logo-section img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(244, 208, 111, 0.3));
    transition: filter 0.3s;
}

.header-logo-section:hover img {
    filter: drop-shadow(0 0 18px rgba(244, 208, 111, 0.55));
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    transition: opacity 0.25s ease, max-height 0.38s ease;
    max-height: 60px;
    overflow: hidden;
}

.brand-name {
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 2.5px;
}

.brand-tagline {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.47rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 3px;
}

/* ---------- Navigation ---------- */
.header-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.header-nav li a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    gap: 11px;
    transition: all 0.28s ease, justify-content 0s;
    border: 1px solid transparent;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
}

.header-nav li a i {
    width: 16px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(244, 208, 111, 0.45);
    transition: color 0.28s, transform 0.28s;
    flex-shrink: 0;
}

.header-nav li a:hover,
.header-nav li a.active-nav {
    color: #fff;
    background: rgba(244, 208, 111, 0.08);
    border-color: rgba(244, 208, 111, 0.22);
    padding-left: 18px;
}

.header-nav li a:hover i,
.header-nav li a.active-nav i {
    color: var(--gold);
    transform: scale(1.1);
}

.header-nav li a span {
    flex: 1;
    transition: opacity 0.2s ease, max-width 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 200px;
    overflow: hidden;
    white-space: nowrap;
}

/* ---------- Action Icons ---------- */
.header-icons {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 16px;
    border-top: 1px solid rgba(244, 208, 111, 0.16);
}

.header-icons a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
    text-decoration: none;
    position: relative;
    transition: all 0.28s ease;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 14px;
    border-radius: 11px;
    border: 1px solid transparent;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.header-icons a i {
    width: 16px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(244, 208, 111, 0.45);
    transition: color 0.28s, transform 0.28s;
    flex-shrink: 0;
}

.header-icons a:hover {
    color: #fff;
    background: rgba(244, 208, 111, 0.08);
    border-color: rgba(244, 208, 111, 0.22);
    padding-left: 18px;
}

.header-icons a:hover i {
    color: var(--gold);
    transform: scale(1.1);
}

.icon-label {
    pointer-events: none;
    transition: opacity 0.2s ease, max-width 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 200px;
    overflow: hidden;
    white-space: nowrap;
}

.cart-badge {
    margin-left: auto;
    background-color: var(--gold);
    color: #000;
    font-size: 0.58rem;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 50%;
    min-width: 16px;
    text-align: center;
    line-height: 1.4;
}

.mobile-toggle {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    padding: 8px;
}

/* ---- Mobile: sidebar collapses to top bar + drawer state ---- */
@media (max-width: 768px) {
    .sidebar-toggle {
        display: none;
    }

    .main-header {
        height: auto;
        width: 100% !important;
        padding: 10px 15px;
        transition: none;
    }

    .header-bar {
        flex-direction: row;
        align-items: center;
        border-radius: 50px;
        padding: 8px 20px;
        height: auto;
    }

    .header-bar::after {
        display: none;
    }

    .header-logo-section {
        flex-direction: row;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
        gap: 10px;
    }

    .header-logo-section img {
        height: 36px;
        filter: none;
    }

    .brand-tagline {
        display: none;
    }

    .header-nav {
        display: none;
    }

    .header-icons {
        flex-direction: row;
        border-top: none;
        padding-top: 0;
        margin-left: auto;
        gap: 14px;
    }

    .header-icons a {
        padding: 0;
        border: none !important;
        background: none !important;
    }

    .header-icons a:hover {
        padding-left: 0;
    }

    .icon-label {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .cart-badge {
        position: absolute;
        top: -6px;
        right: -8px;
        margin-left: 0;
    }

    /* Mobile nav drawer (slide down when .mobile-open) */
    .main-header.mobile-open .header-bar {
        border-radius: 20px;
        flex-direction: column;
        align-items: stretch;
        height: auto;
        padding: 16px 18px;
    }

    .main-header.mobile-open .header-logo-section {
        flex-direction: row;
        border-bottom: 1px solid rgba(244, 208, 111, 0.16);
        padding-bottom: 12px;
        margin-bottom: 10px;
    }

    .main-header.mobile-open .header-nav {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .main-header.mobile-open .icon-label {
        display: inline;
    }

    .main-header.mobile-open .header-icons {
        flex-direction: column;
        border-top: 1px solid rgba(244, 208, 111, 0.16);
        padding-top: 10px;
        margin-left: 0;
        gap: 3px;
    }

    .main-header.mobile-open .header-icons a {
        padding: 9px 14px;
        border-radius: 11px;
    }

    .main-header.mobile-open .cart-badge {
        position: static;
        margin-left: auto;
    }
}

/* ====================== INDEX (HOME) STYLES ====================== */
.container {
    padding: 0 5% 50px;
}

.section-title {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.collections-wrapper {
    position: relative;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.collections-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 180px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(244, 208, 111, 0.3);
    border-radius: 50px;
    z-index: 1;
}

.collections-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    z-index: 2;
    position: relative;
}

.card {
    background: rgba(7, 34, 19, 0.9);
    border: 2px solid var(--gold);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    width: 220px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(244, 208, 111, 0.2);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #fff;
    box-shadow: 0 0 30px rgba(244, 208, 111, 0.6);
}

.card h3 {
    font-size: 14px;
    color: var(--gold);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.card-img {
    width: 100%;
    border-radius: 10px;
    height: 120px;
    object-fit: cover;
}

.card-btn {
    display: inline-block;
    margin-top: 15px;
    background: var(--gold);
    color: #000;
    padding: 8px 15px;
    border-radius: 50%;
    text-decoration: none;
}

.products-grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.product-card {
    background: rgba(15, 15, 15, 0.85);
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.product-img-container {
    width: 100%;
    height: 250px;
    background: #000;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 15px;
    text-align: center;
}

.product-title {
    font-size: 15px;
    color: #fff;
    height: 40px;
    overflow: hidden;
    margin-bottom: 8px;
}

.product-price {
    color: var(--gold);
    font-weight: bold;
    font-size: 1.1rem;
}

.btn-detail {
    display: block;
    margin-top: 10px;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .collections-grid {
        flex-direction: column;
        gap: 40px;
    }

    .collections-wrapper::before {
        display: none;
    }
}

/* ====================== DETAIL & PAYMENT STYLES ====================== */
.detail-studio-wrapper {
    padding-top: 20px;
    min-height: 100vh;
    backdrop-filter: blur(3px);
}

.studio-layout {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
    min-height: calc(100vh - 120px);
    gap: 20px;
    padding: 10px;
    align-items: flex-start;
}

.canvas-panel {
    flex: 1.6;
    display: flex;
    position: sticky;
    top: 20px;
    height: calc(100vh - 40px);
}

.canvas-container-box {
    width: 100%;
    flex: 1;
    background: rgba(51, 51, 51, 0.4);
    border: 2px solid var(--gold);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.canvas-container {
    margin: auto !important;
}

.canvas-container canvas {
    filter: grayscale(100%) contrast(1.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.form-panel {
    flex: 1;
    background: var(--dark-green);
    border: 1px solid rgba(244, 208, 111, 0.3);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.smart-form-box {
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.form-header {
    border-bottom: 1px solid rgba(244, 208, 111, 0.2);
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.form-header h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
}

.inputs-scroll {
    overflow-y: visible;
    padding-right: 10px;
}

.input-group-wrapper {
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
}

.input-label {
    display: block;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.custom-input {
    width: 100%;
    background: #fff;
    border: none;
    color: #000;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
}

.btn-pesan-studio {
    background: var(--gold);
    color: #072213;
    font-weight: 800;
    padding: 15px;
    width: 100%;
    border: none;
    border-radius: 10px;
    margin-top: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-pesan-studio:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.zoom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50px;
    padding: 8px 15px;
    display: flex;
    gap: 15px;
    border: 1px solid var(--gold);
}

.zoom-btn {
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
}

@media (max-width: 991px) {
    .studio-layout {
        flex-direction: column;
        height: auto;
    }

    .form-panel {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        height: 75vh;
        z-index: 2000;
        transition: 0.4s;
    }

    .form-panel.active {
        bottom: 0;
    }
}

.d-none {
    display: none !important;
}

.payment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 5000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.luxury-payment-box {
    background: #121212;
    width: 100%;
    max-width: 900px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    border: 1px solid #333;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.order-details-side {
    flex: 0.7;
    background: #1a1a1a;
    padding: 25px;
    position: relative;
    color: #fff;
    border-right: none;
}

.order-details-side::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    box-shadow: 0 0 10px rgba(244, 208, 111, 0.3);
}

.btn-close-pay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #333;
    border: none;
    color: #ff6b6b;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.btn-close-pay:hover {
    background: #ff6b6b;
    color: #fff;
}

.product-header-pay {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

.thumb-wrapper {
    width: 60px;
    height: 80px;
    background: #fff;
    padding: 2px;
    border-radius: 4px;
}

.thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
}

.prod-info-pay h4 {
    font-size: 1rem;
    margin: 0;
    color: #fff;
}

.prod-info-pay p {
    font-size: 1.1rem;
    margin: 5px 0 0;
    color: #fff;
    font-weight: bold;
}

.order-summary-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.summ-label {
    color: #00d2a1;
    font-weight: 500;
}

.summ-value {
    color: #fff;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.payment-info-side {
    flex: 1;
    padding: 25px 40px;
    background: #121212;
    color: #fff;
}

.pay-title {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.pay-icons-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.pay-icons-row img {
    height: 30px;
    border-radius: 4px;
}

.pay-contact-box {
    text-align: center;
    margin-bottom: 15px;
}

.pay-phone {
    color: var(--gold);
    font-weight: bold;
    font-size: 1.1rem;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.qr-img {
    width: 180px;
    height: 180px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    border: 3px solid #ff3d3d;
}

.dark-input-group label {
    display: block;
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.dark-input-group input {
    width: 100%;
    background: #222;
    border: 1px solid #444;
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    outline: none;
}

.dark-input-group input:focus {
    border-color: var(--gold);
}

.dark-input-group input[type="file"] {
    padding: 8px;
    font-size: 0.85rem;
}

.pay-footer-area {
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.total-pay-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.text-gold {
    color: var(--gold) !important;
    font-size: 1.5rem;
}

.pay-note {
    text-align: right;
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 20px;
}

.btn-bayar-sekarang {
    width: 100%;
    background: var(--gold);
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-bayar-sekarang:hover {
    filter: brightness(1.1);
}

.disabled-btn {
    opacity: 0.4;
    pointer-events: none;
    filter: grayscale(1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .luxury-payment-box {
        flex-direction: column;
        height: 100%;
        border-radius: 0;
    }

    .order-details-side {
        flex: none;
        border-right: none;
        border-bottom: 1px solid #333;
    }

    .payment-overlay {
        padding: 0;
        align-items: flex-start;
    }
}

/* ====================== CONTACT STYLES ====================== */
.contact-hero {
    text-align: center;
    padding: 40px 5% 40px;
    animation: fadeIn 1.2s ease;
}

.contact-hero h1 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 3rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-hero p {
    color: #fff;
    font-size: 1rem;
    letter-spacing: 2px;
    opacity: 0.7;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.contact-card {
    background: rgba(7, 34, 19, 0.9);
    border: 1px solid rgba(244, 208, 111, 0.3);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    transform: translateY(-15px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(244, 208, 111, 0.2);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 25px;
    display: block;
}

.contact-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.contact-card p {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
}

.admin-portal-section {
    text-align: center;
    margin-bottom: 120px;
}

.btn-admin-toggle {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 8px 25px;
    font-size: 0.7rem;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.4s;
    opacity: 0.4;
}

.btn-admin-toggle:hover {
    opacity: 1;
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 20px rgba(244, 208, 111, 0.3);
}

#adminAuthBox {
    display: none;
    max-width: 400px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid var(--gold);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    animation: slideDown 0.6s ease-out;
}

.auth-title {
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(244, 208, 111, 0.2);
    padding-bottom: 10px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    color: var(--gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: #fff;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-login:hover {
    background: #fff;
    transform: scale(1.02);
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 0 10%;
    }

    .contact-hero h1 {
        font-size: 2.2rem;
    }
}

/* ====================== INVOICE STYLES ====================== */
/* Override body dihapus agar tidak konflik dengan tema dark utama */
/* .invoice-box tetap berbackground putih sesuai desain asli */
.invoice-box {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #333;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    margin: 0;
    color: #2d5a27;
}

.logo span {
    color: #d4af37;
}

.info h1 {
    margin: 0;
    font-size: 24px;
    color: #2c3e50;
}

.details {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.title {
    color: #7f8c8d;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.status-menunggu {
    color: #f39c12;
}

.status-lunas {
    color: #27ae60;
}

.item-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.item-table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #eee;
}

.item-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.text-right {
    text-align: right;
}

.total {
    font-size: 18px;
    font-weight: bold;
    color: #2d5a27;
}

.action-buttons {
    margin-top: 30px;
}

.btn-print {
    padding: 10px 20px;
    background: #2d5a27;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.btn-back {
    padding: 10px 20px;
    background: #95a5a6;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

@media print {

    .action-buttons,
    body {
        background: none;
        padding: 0;
    }

    .invoice-box {
        box-shadow: none;
        border: none;
    }
}