/* site/assets/css/premium.css */

@font-face {
    font-family: 'Alteix Sans';
    src: url('../fonts/AlteixSans-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand-dark: #0B0C10;
    --brand-gray: #1F2833;
    --brand-light: #C5C6C7;
    --brand-blue: #66FCF1;
    --brand-teal: #45A29E;

    /* Theme-aware Text Colors */
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6B7280;
    --text-accent: #2563EB;

    /* Light mode active branding */
    --active-text: #2563EB;
    --active-bg: rgba(37, 99, 235, 0.1);

    /* Light mode glass defaults */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    --card-bg-start: rgba(255, 255, 255, 0.9);
    --card-bg-end: rgba(255, 255, 255, 0.5);
    --card-border: rgba(0, 0, 0, 0.05);
    --shadow-color: rgba(0, 0, 0, 0.05);
    --shadow-color: rgba(0, 0, 0, 0.05);
    /* Sidebar & Navigation */
    --sidebar-bg: #FFFFFF;
    --sidebar-text: #111827;
    --sidebar-border: rgba(0, 0, 0, 0.05);
    --nav-hover: rgba(0, 0, 0, 0.04);
}

.dark {
    /* Theme-aware Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #C5C6C7;
    --text-muted: #9CA3AF;
    --text-accent: #66FCF1;

    /* Dark mode active branding */
    --active-text: var(--brand-blue);
    --active-bg: rgba(102, 252, 241, 0.1);

    /* Dark mode glass defaults */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg-start: rgba(255, 255, 255, 0.05);
    --card-bg-end: rgba(255, 255, 255, 0);
    --card-border: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.37);
    --shadow-color: rgba(0, 0, 0, 0.37);
    /* Sidebar & Navigation */
    --sidebar-bg: #0B0C10;
    --sidebar-text: #C5C6C7;
    --sidebar-border: rgba(255, 255, 255, 0.05);
    --nav-hover: rgba(255, 255, 255, 0.04);
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: linear-gradient(135deg, var(--card-bg-start) 0%, var(--card-bg-end) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 32px 0 var(--shadow-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--brand-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-gray);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-teal);
}

/* Selection */
::selection {
    background: var(--brand-blue);
    color: var(--brand-dark);
}

/* Animations */
.gsap-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Glow Effects */
.glow-blue {
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.2);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(102, 252, 241, 0.4);
    border-color: var(--brand-blue);
    transition: all 0.3s ease;
}

/* Smooth Navigation */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Alteix Sans', 'Outfit', sans-serif;
}

.theme-transition * {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease !important;
}

/* Admin Sidebar Glass */
.admin-sidebar {
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--sidebar-border);
    transition: transform 0.3s ease-in-out, background-color 0.3s ease;
}

/* Mobile Menu Logic */
@media (max-width: 1023px) {
    .admin-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 1000;
        transform: translateX(-100%);
    }

    .admin-sidebar.mobile-open {
        transform: translateX(0);
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    }
}

/* Theme Utilities */
.text-primary {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

.text-accent {
    color: var(--text-accent);
}

.bg-active {
    background-color: var(--active-bg);
}

.text-active {
    color: var(--active-text);
}