/* 
* VIVI - Global Styles
* Theme: Dark, Cinematic, High Fashion
*/

:root {
    /* Colors */
    --bg-primary: #080808;
    --bg-secondary: #111111;
    --accent-purple: #3D1659;
    --highlight-purple: #7B3FA0;
    --accent-amber: #C8893A;
    --text-main: #F0EBE3;
    --text-muted: #8A8078;
    --surface-black: #1A1A1A;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'DM Sans', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 300;
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-style: italic;
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.text-amber {
    color: var(--accent-amber);
}

.text-purple {
    color: var(--highlight-purple);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    /* Hidden initially until moved */
    pointer-events: none;
}

/* Navbar Fix */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s;
    background: linear-gradient(to bottom, rgba(8, 8, 8, 0.9), transparent);
}

.navbar.scrolled {
    background-color: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(10px);
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--highlight-purple);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--highlight-purple);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    opacity: 1;
}

/* Hover States for Cursor */
body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(61, 22, 89, 0.2);
    border-color: var(--accent-amber);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--highlight-purple);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--accent-purple);
    color: var(--text-main);
}

.btn-primary:hover {
    background-color: var(--accent-amber);
    border-color: var(--accent-amber);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
}