@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --ds-black: #0a0a0a;
    --ds-white: #f5f5f2;
    /* Warm Light Gray / Greige */
    --ds-white-alt: #f1f0ed;
    /* Subtle variant for section contrast */

    /* Inrerio Style Palette */
    --ds-gold: #b3a469;
    /* New Brand Gold */
    --in-bg: #1c1a19;
    --in-accent: #b3a469;
    --in-text-dim: rgba(255, 255, 255, 0.4);
    --in-hero-text: #d1cfcb;
    /* Light Gray-Beige for Hero paragraphs */

    --ds-gray-50: #ebeae7;
    /* Subtle Warm Gray */
    --ds-gray-100: #e1dfdb;
    /* Medium Warm Gray */
    --ds-gray-200: #d1cfcb;
    --ds-gray-400: #a8a5a0;
    --ds-gray-500: #7a7772;
    --ds-gray-600: #5c5a56;
    --ds-gray-800: #383633;
    --ds-gray-900: #242321;

    --ds-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ds-ease-slow: cubic-bezier(0.25, 1, 0.5, 1);
    --ds-radius-sm: 8px;
    --ds-radius-md: 8px;
    --ds-radius-lg: 8px;
    /* Uniform 8px radius for a modern, balanced look */
    --ds-radius-xl: 8px;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    color: var(--ds-black);
    background-color: var(--ds-white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Luksusowe, powolne animacje ładowania */
@keyframes fadeY {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slowScale {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

/* Animacje sekwencyjne dla elementów ładujących się od razu */
.anim-1,
.anim-2,
.anim-3,
.anim-4,
.anim-5 {
    opacity: 0;
    animation: fadeY 1s var(--ds-ease-slow) forwards;
}

.anim-1 {
    animation-delay: 0.1s;
}

.anim-2 {
    animation-delay: 0.2s;
}

.anim-3 {
    animation-delay: 0.3s;
}

.anim-4 {
    animation-delay: 0.4s;
}

.anim-5 {
    animation-delay: 0.5s;
}

.anim-img {
    opacity: 0;
    animation: fadeY 1.2s var(--ds-ease-slow) forwards;
}

/* Globalnie zmienione scrollbary dla estetyki premium */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--ds-gray-50);
}

::-webkit-scrollbar-thumb {
    background: var(--ds-gray-200);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ds-gray-400);
}

/* --- UI COMPONENTS --- */

#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    background: var(--ds-black);
    color: white;
    padding: 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s var(--ds-ease);
    pointer-events: none;
    border: none;
    cursor: pointer;
}

#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#back-to-top:hover {
    background: var(--ds-gray-800);
    transform: translateY(-5px);
}

/* #page-transition is no longer used */

/* --- HELPERS --- */

.selection-black::selection {
    background-color: var(--ds-gray-200);
    color: var(--ds-black);
}

/* Animacja pulsowania dla wskaźnika aktywności */
@keyframes statusPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
    }
}

.status-pulse {
    animation: statusPulse 2s infinite;
}

/* --- INRERIO CUSTOM STYLES --- */
/* --- GLOBAL OVERRIDE --- */
body {
    font-family: 'Montserrat', sans-serif;
}

.font-serif-luxury {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.in-circle {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.in-button {
    background-color: var(--in-accent);
    color: white;
    padding: 1.25rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s var(--ds-ease);
    border: none;
    cursor: pointer;
}

.in-button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.in-glass-nav {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.in-nav-link {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: white;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.in-nav-link:hover,
.in-nav-link.active {
    opacity: 1;
}

.in-nav-link.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: white;
    margin-top: 4px;
}