/* VIZORA GLOBAL DESIGN SYSTEM */
:root {
    /* Light Theme (Premium Material Studio) */
    --bg-primary: #F7F5F0;
    --bg-surface: #FFFFFF;
    --bg-elevated: #FFFFFF;
    
    --text-primary: #111827;
    --text-secondary: #6B7280;
    
    --accent-primary: #2563EB;
    --accent-bright: #3B82F6;
    --accent-soft: #DBEAFE;
    --accent-copper: #C98B5B;
    
    --border-color: #E5E7EB;
    --border-soft: rgba(229, 231, 235, 0.5);
    
    --shadow-sm: 0 2px 4px rgba(17, 24, 39, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(17, 24, 39, 0.05), 0 4px 6px -4px rgba(17, 24, 39, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(17, 24, 39, 0.05), 0 8px 10px -6px rgba(17, 24, 39, 0.05);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --nav-bg: rgba(247, 245, 240, 0.85);
}

[data-theme="dark"] {
    /* Dark Theme (Luxury Creative Studio) */
    --bg-primary: #080C12;
    --bg-surface: #111827;
    --bg-elevated: #172033;
    
    --text-primary: #F9FAFB;
    --text-secondary: #9CA3AF;
    
    --accent-primary: #3B82F6;
    --accent-bright: #60A5FA;
    --accent-soft: rgba(59, 130, 246, 0.15);
    --accent-copper: #C98B5B;
    
    --border-color: #334155;
    --border-soft: rgba(51, 65, 85, 0.5);
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    
    --nav-bg: rgba(8, 12, 18, 0.85);
}

/* Base Reset & Typography */
body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-weight: 800; font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }

a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: 1rem; color: var(--text-secondary); }

/* Custom Utilities */
.text-copper { color: var(--accent-copper) !important; }
.text-blue { color: var(--accent-primary) !important; }
.text-muted-custom { color: var(--text-secondary) !important; }

/* Buttons */
.v-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.5rem; padding: 0.75rem 1.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600; font-size: 0.9375rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    cursor: pointer; border: 1px solid transparent;
    text-decoration: none;
}
.v-btn:focus { outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }

.v-btn-primary {
    background-color: var(--accent-primary);
    color: #FFFFFF !important;
}
.v-btn-primary:hover {
    background-color: var(--accent-bright);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--accent-soft);
}

.v-btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--border-color);
}
.v-btn-secondary:hover {
    background-color: var(--bg-primary);
    border-color: var(--text-secondary);
}

.v-btn-copper {
    background-color: var(--accent-copper);
    color: #FFFFFF !important;
}
.v-btn-copper:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Cards & Surfaces */
.v-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.v-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-soft);
}

/* Form Elements */
.v-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s ease;
}
.v-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-soft);
    background-color: var(--bg-surface);
}

/* Badges & Micro UI */
.v-badge {
    display: inline-flex; align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.v-badge-blue { background-color: var(--accent-soft); color: var(--accent-primary); }
.v-badge-copper { background-color: rgba(201, 139, 91, 0.15); color: var(--accent-copper); }

/* Theme Toggle Component */
.theme-switch {
    background: transparent; border: none;
    color: var(--text-primary); font-size: 1.25rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; transition: background-color 0.2s ease;
}
.theme-switch:hover { background-color: var(--bg-primary); }

/* Layout Spacing */
.py-section { padding-top: 6rem; padding-bottom: 6rem; }

/* Custom Bootstrap Overrides */
.modal-content {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.modal-header { border-bottom: 1px solid var(--border-color); }
.modal-footer { border-top: 1px solid var(--border-color); }
.btn-close { filter: invert(var(--close-invert, 0)); }
[data-theme="dark"] .btn-close { --close-invert: 1; }

.offcanvas { background-color: var(--bg-surface); color: var(--text-primary); }
.offcanvas-header { border-bottom: 1px solid var(--border-color); }

/* Accordion Custom */
.v-accordion .accordion-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm) !important;
    margin-bottom: 1rem; overflow: hidden;
}
.v-accordion .accordion-button {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600; font-size: 1.125rem;
    box-shadow: none !important;
}
.v-accordion .accordion-button:not(.collapsed) {
    color: var(--accent-primary);
    background-color: var(--bg-primary);
}
.v-accordion .accordion-button::after {
    filter: invert(var(--icon-invert, 0));
}
[data-theme="dark"] .v-accordion .accordion-button::after { --icon-invert: 1; }
.v-accordion .accordion-body {
    background-color: var(--bg-surface); color: var(--text-secondary);
}

/* Scroll Progress Bar at the top of the viewport */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 1050;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-primary);
    background-image: linear-gradient(90deg, var(--accent-primary), var(--accent-bright));
    box-shadow: 0 0 8px var(--accent-soft);
    transition: width 0.08s cubic-bezier(0.25, 1, 0.5, 1);
}

