/* VARIABLES CSS (Design System) */
:root {
    --color-primary: #FF3B30; /* Vibrant premium red */
    --color-primary-glow: rgba(255, 59, 48, 0.4);
    --color-bg-base: #050505; /* Deep luxury dark */
    --color-bg-sec:  #121212; /* Secondary dark with more depth */
    --color-text-main: #FFFFFF; /* Crisp white */
    --color-text-sec: #A1A1AA; /* Elegant muted gray */
    
    --gradient-primary: linear-gradient(135deg, #FF3B30 0%, #FF2D55 100%);
    --gradient-hover: linear-gradient(135deg, #FF453A 0%, #FF375F 100%);
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    --padding-global: clamp(20px, 5vw, 80px);
}

/* RESET GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Selection */
::selection {
    background: var(--color-primary-glow);
    color: #fff;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
    cursor: none; 
}

button {
    cursor: none;
}

ul {
    list-style: none;
}

/* CUSTOM CURSOR JS */
body {
    cursor: none;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary-glow);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate3d(-50%, -50%, 0);
    transition: background-color 0.3s ease, width 0.3s ease, height 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.custom-cursor.link-hover {
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    width: 60px;
    height: 60px;
    mix-blend-mode: exclusion;
}

@media (pointer: coarse), (max-width: 768px) {
    .custom-cursor { 
        display: none !important; 
    }
    body, a, button, .filter-btn, .service-block, .work-card, .masonry-item { 
        cursor: auto !important; 
    }
}
