/* ==========================================================
   PURANO SURAJ SUN CHANDI PASAL — HERITAGE JEWELLERY
   Birendranagar-6, Surkhet | Established 1974
   Human-crafted, editorial luxury aesthetic
   ========================================================== */

:root {
    --gold-primary: #C5A059;
    --gold-light: #E6CA85;
    --gold-dark: #9A7B38;
    --gold-accent: #DFB76C;
    --bg-main: #0B0B0D;
    --bg-surface: #131317;
    --bg-elevated: #1A1A21;
    --border-subtle: rgba(197, 160, 89, 0.22);
    --border-strong: rgba(197, 160, 89, 0.45);
    --text-primary: #F4F4F6;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.font-cinzel {
    font-family: 'Cinzel', Georgia, serif;
    letter-spacing: 0.04em;
}

/* Refined Editorial Gold Text Gradient */
.gold-text {
    background: linear-gradient(135deg, #F4E2BB 0%, #C5A059 50%, #9A7B38 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Subtle Editorial Card Surface */
.luxury-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.luxury-card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 160, 89, 0.08);
    transform: translateY(-2px);
}

/* Primary Button — Tasteful Handcrafted Gold */
.btn-primary-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gold-primary);
    color: #0A0A0C;
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.25);
    border: 1px solid transparent;
}

.btn-primary-gold:hover {
    background-color: var(--gold-light);
    color: #000000;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
    transform: translateY(-1px);
}

/* Secondary Button — Minimal Outline */
.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--gold-light);
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    transition: all 0.25s ease;
}

.btn-secondary-outline:hover {
    border-color: var(--gold-primary);
    background: rgba(197, 160, 89, 0.08);
    color: #FFFFFF;
}

/* Crisp Clean Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0B0B0D;
}
::-webkit-scrollbar-thumb {
    background: #27272A;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Image Presentation */
.product-frame {
    position: relative;
    overflow: hidden;
    background-color: #070709;
}

.product-frame img {
    transition: transform 0.5s ease;
}

.product-frame:hover img {
    transform: scale(1.04);
}

/* Four Pillars Interactive Showcase */
.pillar-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.pillar-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(197, 160, 89, 0.08);
}

.pillar-card:hover::before {
    background: var(--gold-primary);
}

.pillar-card.active {
    border-color: var(--gold-primary);
    background: linear-gradient(180deg, #181820 0%, #121217 100%);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.8), 0 0 24px rgba(197, 160, 89, 0.15);
}

.pillar-card.active::before {
    background: linear-gradient(90deg, #C5A059, #E6CA85, #C5A059);
}

.pillar-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon-box,
.pillar-card.active .pillar-icon-box {
    background: rgba(197, 160, 89, 0.18);
    border-color: var(--gold-primary);
    transform: scale(1.05);
}

/* Calculator Visual Preview & Ratio Bar */
.calc-ratio-bar {
    height: 8px;
    border-radius: 4px;
    background: #1c1c24;
    overflow: hidden;
    display: flex;
}

.calc-ratio-metal {
    background: linear-gradient(90deg, #9A7B38, #C5A059);
    transition: width 0.35s ease;
}

.calc-ratio-making {
    background: linear-gradient(90deg, #E6CA85, #DFB76C);
    transition: width 0.35s ease;
}

/* Mobile Class & Utility Enhancements */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Tap Highlight & Touch Optimization */
* {
    -webkit-tap-highlight-color: rgba(197, 160, 89, 0.15);
}

/* Prevent iOS Safari Automatic Form Zoom while maintaining sleek design */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="number"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Luxury Mobile Navigation Drawer */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 360px;
    background: #0E0E13;
    border-left: 1px solid var(--border-subtle);
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.mobile-drawer-overlay.open .mobile-drawer-panel {
    transform: translateX(0);
}

/* Mobile Quick Concierge Bar */
.mobile-concierge-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(14, 14, 19, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(197, 160, 89, 0.25);
    z-index: 45;
    padding-top: 0.5rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
    .mobile-concierge-bar {
        display: none !important;
    }
}

