/*
© 2025 AltiBedrift – Levert av Haut Forvalting AS (Org.nr 926 873 954).
Dette materialet er beskyttet av åndsverkloven. Uautorisert bruk er forbudt.
*/

/* Global Reset adjustments */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C3B091;
}

/* 3D Perspective Utilities */
.perspective-1000 {
    perspective: 1000px;
}
.preserve-3d {
    transform-style: preserve-3d;
}
.transform-style-3d {
    transform-style: preserve-3d;
}

/* Utility Animations */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin-slow {
    animation: spin-slow 12s linear infinite;
}

@keyframes slow-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}
.animate-slow-zoom {
    animation: slow-zoom 20s alternate infinite ease-in-out;
}

/* --- Aurora Ambient Background (Warm Northern Lights) --- */
@keyframes aurora-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.aurora-ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 15% 50%, rgba(195, 176, 145, 0.08), transparent 25%), 
        radial-gradient(circle at 85% 30%, rgba(60, 50, 40, 0.15), transparent 25%), 
        linear-gradient(125deg, #0f0f0f 0%, #1a1816 50%, #0f0f0f 100%);
    background-size: 200% 200%;
    animation: aurora-flow 15s ease infinite;
    pointer-events: none;
}

/* --- Living Light Animation (Foreground Spotlight) --- */
@keyframes roam {
    0% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    33% { transform: translate(200px, -100px) scale(1.2); opacity: 0.6; }
    66% { transform: translate(-150px, 150px) scale(0.9); opacity: 0.5; }
    100% { transform: translate(100px, 50px) scale(1.1); opacity: 0.4; }
}

.living-light {
    position: absolute;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(195, 176, 145, 0.2) 0%, rgba(195, 176, 145, 0.05) 45%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    animation: roam 30s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen; /* Blend mode makes it look like light */
}

/* --- 3D Pop Button --- */
.btn-pop {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 0 #8c7355, 0 5px 10px rgba(0,0,0,0.3);
    transform: translateY(0);
}

.btn-pop:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #8c7355, 0 10px 20px rgba(0,0,0,0.4), 0 0 15px rgba(195, 176, 145, 0.4);
}

.btn-pop:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #8c7355, inset 0 2px 5px rgba(0,0,0,0.2);
}

/* --- Section Backgrounds --- */
.bg-radial-highlight {
    background: radial-gradient(circle at center, rgba(195, 176, 145, 0.08) 0%, rgba(10, 10, 10, 0) 70%);
}

.bg-gradient-overlay {
    background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.8) 50%, rgba(10,10,10,1) 100%);
}