/* ═══════════════════════════════════════════════════════
   CUSTOM STYLES — PT. Altara Sukses Sejahtera
   ═══════════════════════════════════════════════════════ */

/* ───── FONT FACE (Self-hosted, faster than Google Fonts) ───── */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-var.woff2') format('woff2-variations');
}

@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url('../fonts/sora-var.woff2') format('woff2-variations');
}

/* ───── GLOW EFFECTS ───── */
.glow-gold {
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.3);
    transition: box-shadow 0.3s ease;
}

.glow-gold:hover {
    box-shadow: 0 0 25px rgba(201, 162, 39, 0.6);
}

.glow-blue {
    box-shadow: 0 0 15px rgba(30, 79, 163, 0.35);
    transition: box-shadow 0.3s ease;
}

.glow-blue:hover {
    box-shadow: 0 0 25px rgba(30, 79, 163, 0.65);
}

/* ───── BACKGROUND GRID ───── */
.bg-grid {
    background-image:
        linear-gradient(to right, rgba(15, 42, 92, 0.15) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 42, 92, 0.15) 1px, transparent 1px);
    background-size: 3.5rem 3.5rem;
}

/* ───── GOLD TEXT GRADIENT ───── */
.text-gold-gradient {
    background: linear-gradient(135deg, #F5D77F 0%, #C9A227 50%, #9A721D 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ───── REVEAL ON SCROLL ───── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ───── PRODUCT CARD HOVER ───── */
.product-item {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* ───── BUTTONS ───── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #C9A227;
    color: #000;
    font-weight: 700;
    padding: 0.875rem 1.5rem;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #F5D77F;
    transform: translateY(-2px);
}

/* ───── WHATSAPP FLOAT PULSE ───── */
#waFloat {
    animation: pulse-ring 2.5s infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ───── SCROLLBAR CUSTOM ───── */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0e1a;
}

::-webkit-scrollbar-thumb {
    background: #1E4FA3;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C9A227;
}

/* ───── ACCESSIBILITY ───── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ───── REDUCED MOTION ───── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ───── PRINT STYLES ───── */
@media print {

    nav,
    footer,
    #waFloat,
    #backToTop,
    #configModal {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}