/*
 * Monea - Custom Luxury Gold Theme
 * Overrides for policy pages
 */

/* ===========================
   Custom Color Palette - Luxury Gold
   =========================== */
:root {
    /* Override Light Theme with Warm Cream Gold */
    --bg-primary: #f8f5ef;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f5f0e4;
    --bg-accent: #f0e8d4;

    --text-primary: #1a1610;
    --text-secondary: #6b5f4e;
    --text-tertiary: #9b8e7a;
    --text-link: #D4A847;
    --text-link-hover: #b8922e;

    --border-color: #e5dcc8;
    --border-light: #f0e8d4;

    --accent-primary: #D4A847;
    --accent-secondary: #10B981;
    --accent-success: #10B981;
    --accent-warning: #f6a192;
    --accent-danger: #e56b7a;
}

/* Dark Theme with Monea Gold Accents */
[data-theme="dark"] {
    --bg-primary: #0A0A0F;
    --bg-secondary: #141420;
    --bg-tertiary: #1c1c2e;
    --bg-accent: #24203a;

    --text-primary: #f5f0e4;
    --text-secondary: #c4baa0;
    --text-tertiary: #8b8270;
    --text-link: #D4A847;
    --text-link-hover: #e8c06a;

    --border-color: #2a2640;
    --border-light: #1e1a30;

    --accent-primary: #D4A847;
    --accent-secondary: #10B981;
    --accent-success: #10B981;
    --accent-warning: #f6b3a8;
    --accent-danger: #ee8996;
}

/* ===========================
   Custom Highlight Boxes
   =========================== */
.highlight-box {
    background: linear-gradient(135deg, var(--bg-accent) 0%, #faf6ed 100%);
    border-left-color: var(--accent-primary);
}

[data-theme="dark"] .highlight-box {
    background: linear-gradient(135deg, var(--bg-accent) 0%, #1a1628 100%);
}

.highlight-box.warning {
    background: linear-gradient(135deg, rgba(212, 168, 71, 0.15) 0%, rgba(212, 168, 71, 0.05) 100%);
    border-left-color: var(--accent-warning);
}

/* ===========================
   Custom App Badge
   =========================== */
.app-badge {
    background: linear-gradient(135deg, #fff 0%, #faf6ed 100%);
    border: 2px solid var(--border-light);
}

[data-theme="dark"] .app-badge {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #1a1628 100%);
}

/* ===========================
   Custom Section Headers
   =========================== */
.policy-section h2 {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-bottom-color: var(--accent-primary);
}

/* ===========================
   Theme Toggle Custom Colors
   =========================== */
.theme-toggle {
    background: linear-gradient(135deg, #fff 0%, #faf6ed 100%);
    border-color: var(--accent-primary);
}

[data-theme="dark"] .theme-toggle {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #1a1628 100%);
}

.theme-toggle:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 16px rgba(212, 168, 71, 0.2);
}

/* ===========================
   Navigation Links
   =========================== */
.nav-link {
    background: var(--bg-accent);
}

.nav-link:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

/* ===========================
   Contact Card Custom Style
   =========================== */
.contact-card {
    background: linear-gradient(135deg, var(--bg-accent) 0%, #faf6ed 100%);
    border: 2px solid var(--border-light);
}

[data-theme="dark"] .contact-card {
    background: linear-gradient(135deg, var(--bg-accent) 0%, #1a1628 100%);
}

.contact-card h3 {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================
   TOC Active State
   =========================== */
.toc-list li:hover {
    border-left-color: var(--accent-primary);
}

.toc-list a:hover {
    color: var(--accent-primary);
}

/* ===========================
   Scrollbar Custom Colors
   =========================== */
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* ===========================
   Selection Color
   =========================== */
::selection {
    background: var(--accent-primary);
    color: white;
}

::-moz-selection {
    background: var(--accent-primary);
    color: white;
}

/* ===========================
   Back to Top Button (from JS)
   =========================== */
.back-to-top {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%) !important;
}

.back-to-top:hover {
    background: var(--accent-primary) !important;
    box-shadow: 0 8px 24px rgba(212, 168, 71, 0.3) !important;
}

/* ===========================
   Custom Animations for Gold Theme
   =========================== */
@keyframes goldGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 168, 71, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(212, 168, 71, 0.2);
    }
}

.policy-header {
    animation: goldGlow 3s ease-in-out infinite;
}

/* ===========================
   Link Underline Effect
   =========================== */
.policy-section a {
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.2s ease;
}

.policy-section a:hover {
    border-bottom-color: var(--accent-primary);
}
